Font Size: a A A

The Design And Implementation Of Test Script Language For COS

Posted on:2014-02-11Degree:MasterType:Thesis
Country:ChinaCandidate:T T YanFull Text:PDF
GTID:2248330398977455Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
In recent years, with the rapid development and the popularization of information technology, the application market and fields of smart card are also growing, such as phone CARDS, bank CARDS, id card and social security card, ect. The use of smart card depends on its internal operating system (COS).COS controls the information exchange between smart card and the outside world, manages the memory and deals with various commands in the card. The reliability and stability of COS is directly related to the card’s quality of life. If COS becomes invalid, it may cause very serious consequences to the user or enterprise. Therefore, in order to guarantee the quality of COS, we need a formal, comprehensive and efficient testing method. This paper proposes a new scripted testing method for COS on the basis of the predecessors’ work.This paper first analyzes the software automated testing tools and test methods, which is a good method to learn and experience, then introduces the basics of software testing theory and analyzes the characteristics of embedded software, researches the test model and test species, which lay a solid theoretical foundation for the script test method of COS.This paper studies the software/hardware architecture of the smart card and the communication mechanism between smart card and the card reader as well as the terminal. According to the feature and function structure of COS, we use the scripted testing methods, and have set up a test platform for COS testing. At the same time we put forward a scripting language named UCSL for COS testing, and use EBNF to describe the main grammar definition of the UCSL scripting language, then elaborate the implementation mechanism of the UCSL interpreter.Using the test platform and UCSL scripting language, we design a set of test solution for Residents Health Card, test the COS from five aspects respectively, such as the command interpreter, application, security, anti-Plug and durability, etc. Test results show that the proposed UCSL scripting language and test method are good for testing out the potential mistakes and defects of the COS, and can guarantee the stability and reliability of the COS. In addition, UCSL script is easy to read and easy to develop, and has obvious advantages in complexity as well as speed.
Keywords/Search Tags:Smart Card Operating System (COS), test, UCSL script language, thescript interpreter, Resident Health Card
PDF Full Text Request
Related items