• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2014, Vol. 36 ›› Issue (10): 1943-1951.

• 论文 • Previous Articles     Next Articles

Modeling and development of multi-application
smart cards based on Event-B 

ZHANG Yue1,2,GUO Jian1,2,ZHU Xiaoran1,WANG Wenjun1,ZHU Jingyang1,TANG Jiahua3,CHEN Junnian3   

  1. (1.Software/Hardware Codesign Engineering Research Center,East China Normal University,Shanghai 200062;
    2.Key Lab of Information Network Security,Ministry of Public Security,Shanghai 201204;
    3.Shanghai Social Security Card Service Center,Shanghai 200233,China)
  • Received:2013-04-18 Revised:2013-06-17 Online:2014-10-25 Published:2014-10-25

Abstract:

Event-B is a formal modeling language based on set theory and predicate logic, within which hierarchical models can be established by refinement strategy. A method for applying Event-B to practical industry is proposed, which consists of rewriting requirement, establishing abstract model, and step-by-step refining. Firstly, requirements are rewritten from three different views: environmental view, functional view, and property view. During this phase, refinement strategy reflecting model hierarchy is identified. Secondly, formal methods are adopted to establish abstract model and validate the established model. Using well-proved abstract model, requirement appending, model refining and model validating are carried out at the following levels of the model hierarchy according to the refinement strategy. Finally, based on the whole established models corresponding to requirements, implementation codes can be automatically generated by the related tools. With refinement theory adopted in this method, requirements and properties of system under development can be identified in a refinement way and incrementally. Modeling and verification using formal methods guarantees the correctness of models. To illustrate the feasibility of the method, the development of multi-application smart cards is shown as a case study. Application example of the proposed method in practical modeling and validation is given based on Event-B and Rodin platform.

Key words: smart card;EventB;refinement;theory proof