CN102163149A - Visual development system and visual development method of Java-card application toolkit (CAT) - Google Patents
Visual development system and visual development method of Java-card application toolkit (CAT) Download PDFInfo
- Publication number
- CN102163149A CN102163149A CN2011100934898A CN201110093489A CN102163149A CN 102163149 A CN102163149 A CN 102163149A CN 2011100934898 A CN2011100934898 A CN 2011100934898A CN 201110093489 A CN201110093489 A CN 201110093489A CN 102163149 A CN102163149 A CN 102163149A
- Authority
- CN
- China
- Prior art keywords
- cat
- java
- module
- unit
- visual
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a visual development system of a Java-card application toolkit (CAT). The visual development system comprises a visual flow editing module, a terminal simulation module, an execution simulation module and an application publishing module, wherein the visual flow editing module provides an editing interface which comprises a component corresponding to a proactive command of the Java-CAT and generates a communication smart card executable file; the terminal simulation module provides an environment for operation of a mobile phone terminal; the execution simulation module provides a simulation communication smart card multi-application platform and carries out simulation execution on the Java-CAT; the application publishing module is used for publishing a communication smart card executable downloaded file which is generated by the visual flow editing module; and the terminal simulation module displays an execution result of the execution simulation module on the Java-CAT in a graphical form. The invention also provides a method for development by using the visual development system of the Java-CAT. By the system and the method provided by the invention, the component and attributes of the CAT are displayed on a graphical interface, difficulty in development of the CAT is reduced, a development period is shortened, and development efficiency is improved.
Description
[technical field]
The present invention relates to the Java-CAT of communication intelligent card, relate in particular to development system and the development approach of a kind of Java-CAT of communication intelligent card.
[background technology]
CAT is the english abbreviation of CardApplication Toolkit, i.e. the user identification application development instrument.CAT comprises one group of instruction and is used for the mutual of mobile phone and SIM (USIM) card, can make the applet in SIM (USIM) the card operation card like this, thereby realizes the purpose of value-added service.CAT offers text menu interface of user, and this text menu interface allows the user just can realize information retrieval by the simple key-press operation, even transaction.
Java Card technology is the technology that the runtime environment of the same optimization of subclass of Java programming language is combined.This optimization is specially at the embedded device of little memory space, for example communication intelligent card.The target of Java Card technology is to allow those resource-constrained equipment such as communication intelligent card benefit from the software of Java language exploitation.
Therefore, Java-CAT is meant the mode of utilizing Java language exploitation cat program, thereby makes the developer can develop the interior applet of SIM (USIM) card of variation more and feature richness, promotes the secondary development ability that SIM (USIM) blocks greatly.
In present Java-CAT development mode, use the Java compiler to write the Java code usually.As shown in fig. 1, the developer uses the Java editing machine to write the Java code, after Java code editor is errorless, utilize Java Card Development Kits instrument to generate communication intelligent card executable file (cap file), convert the communication intelligent card executable file to the APDU script file then, by the APDU script file CAT is downloaded in the communication intelligent card, debug the Java-CAT that the issue exploitation of errorless back is finished.
As can be seen, utilize the Java compiler to write the Java code, need developer's Java language on top of, and be proficient in the interactive interface of mobile phone and SIM (USIM) card.Because the Java compiler is professional more intense, skillfully development difficulty is bigger, therefore, now Java-CAT mostly is to specialize in and is preset at SIM (USIM) behind the staff development and blocks or be distributed in SIM (USIM) application download server, thereby has limited the popularization of SIM (USIM) card secondary development ability.
In addition on the one hand, owing to use Java language to describe the service logic of cat program, logic flow transfers the registration of Party membership, etc. from one unit to another and is difficult to show intuitively the problem that cause the development difficulty of cat program big, the construction cycle is long, the application maintenance cost is high.
To sum up, need badly and find a kind of new CAT development system, develop threshold reducing, save cost of development, thereby promote SIM card secondary development ability.
[summary of the invention]
In view of this, the invention provides a kind of Java-CAT visual development system of summary.
A kind of Java-CAT visual development system comprises visible process editor module, terminal simulation module, carries out analog module and uses release module.Described visible process editor module provides the editing interface of the pairing parts of active order that comprise Java-CAT and generates the communication intelligent card executable file, described terminal simulation module provides the environment of analogue mobile phone terminal operation, described execution analog module provides analogue communication smart card multi-application platform and Simulation execution Java-CAT, described application release module is used for that the communication intelligent card that described visible process editor module is generated can be carried out file in download and issues, described terminal simulation module is communicated by letter with described execution analog module, and described terminal simulation module shows the result of the execution Java-CAT of described execution analog module with patterned form.
Preferably, described visible process edit cell comprises visual edit boundary element, Java source code generation unit and Java Card compilation unit, described visible process edit cell provides the visual edit interface, described Java source code generation unit is converted into the Java source code with the edited result at described visual edit interface, and described Java Card compilation unit is converted into the communication intelligent card executable file with the Java source code that described Java source code generation unit is generated.
Preferably, described application release module comprises application local mode release unit that Java-CAT is issued with local mode and the aerial mode release unit of application that Java-CAT is issued in aerial mode.
Preferably, described terminal simulation module comprises core processing unit, CAT resolution unit and CAT instruction display unit, described core processing unit calls described CAT resolution unit CAT is resolved, the CAT after described CAT instruction display unit is resolved with patterned interface display.
Preferably, described execution analog module comprises the application management unit of the life cycle that Java virtual level unit, standard traffic application of IC cards unit and management are used.
In view of this, the present invention also provides a kind of method of Java-CAT visual development of summary.
A kind of Java-CAT of employing visual development system carries out the method for Java-CAT exploitation, may further comprise the steps: start described visible process editor module; A newly-built CAT or open an existing CAT, the development interface of described visual edit boundary element present graphicalization in the visual edit boundary element of described visible process editor module; In described visual edit boundary element, add parts and attribute and the preservation of CAT; The Java source code generation unit of described visible process editor module generates the Java source code according to the file of preserving; The Java source code compilation unit of described visible process editor module becomes the communication intelligent card executable file with the Java compilation of source code; Described visible process editor module 100 is described to the terminal simulation module by transmitting with the communication intelligent card executable file; Described terminal simulation module downloads to described execution analog module with executable file; The smart card executable file is installed and carried out to described execution analog module; The execution result of described execution analog module sends described terminal simulation module to; Described visible process editor module is passed to described application release module with the smart card executable file; And described application release module is issued the CAT that finishes.
Java-CAT visual development system provided by the present invention and method show parts and the attribute of CAT with patterned interface, reduced the CAT development difficulty, also correspondingly shortened CAT construction cycle, improved the development efficiency of CAT.
[description of drawings]
Fig. 1 is the development process synoptic diagram of existing Java-CAT development system.
Fig. 2 is the synoptic diagram of the preferred embodiment of Java-CAT visual development system of the present invention.
Fig. 3 is the detailed structure synoptic diagram of the Java-CAT visual development system among Fig. 2.
Fig. 4 is the development process synoptic diagram of Java-CAT visual development method of the present invention.
[embodiment]
In order to understand the present invention better, inventive embodiment is described in detail below with reference to accompanying drawing.
Professional and complicacy in view of traditional Java editing machine, the present invention to be realizing that visual programming is a target, is principle with the programming idea of " What You See Is What You Get ", tries hard to realize the visual of CAT programing work, promptly can see the result at any time, cat program and result's adjustment is synchronous.
The visual programming language characteristic mainly shows two aspects: one is based on OO thought, the notion and the event-driven of assembly have been introduced, the various controls that allow the programmer utilize software itself to be provided are as the various interfaces of the formula ground structure application program that plays with building blocks.In visual interface, list (Form) is meant the window when carrying out program design, by place various assemblies (the various parts of promptly forming the program run interface) in list; Attribute then is the character of assembly; Incident is exactly the operation to an assembly, i.e. event-based model.
As shown in Figure 2, Java-CAT visual development system of the present invention comprises visible process editor module 100, terminal simulation module 200, carries out analog module 300 and uses release module 400.
The editing interface that provides one to comprise the pairing assembly of the active order of Java-CAT is provided visible process editor module 100.Visible process editor module 100 also be used for the user select described assembly and to the component responds event numbering Logical processing unit of selecting after the related content of logical block is preserved, generate and use corresponding communication intelligent card and can carry out script file.Simultaneously, the flow process editing interface is by the event response logical block, with the circulation relation between the explicit performance assembly of tree structure.
Here, a Java-CAT has and only has a list, and after the user set up the Java-CAT engineering, visible process editor module 100 helped the user to generate the list of a blank automatically.Subsequently, the user can be dragged to the active command component of Java-CAT required in the Java-CAT operation flow in the list in the element panels of visible process editor module 100.And by event-based model, the user finishes the service logic of Java-CAT program, and for example: the user starts a Java-CAT flow process by adding the Menu selection incident of handling list.In the Menu of list selection event response Logical processing unit, the user can add data processing operation instruction and component logic circulation operational order, finish the data-switching among the Java-CAT and the conversion at program display interface, wherein the data-switching among the Java-CAT is finished in the data processing operation instruction, and component logic circulation operational order is then finished the display interface of Java-CAT.
In a Java-CAT, without any operation and display interface, by adding the active command component of Java-CAT, Java-CAT finishes interface display and the operation on the mobile phone to blank list on mobile phone.For example: in above-mentioned blank list (Form), add SEND SHORT MESSAGE assembly, and in the Menu selection of list (Form) event response logic, add to start the component logic circulation operational order of SEND SHORT MESSAGE assembly, after then Java-CAT receives the Menuselection event response of mobile phone, carry out SEND SHORT MESSAGE assembly operation, promptly send the number of the note of a given content to appointment.
The user can be provided with the attribute of the active command component of CAT by the mode of attributes edit, for example: Alpha identifier (title) attribute of SEND SHORT MESSAGE assembly is set, then input " sending to XXX " in the attribute column of selecting; Address (address) attribute of SEND SHORT MESSAGE assembly is set, and then input " 133... " in the attribute column of selecting is provided with the assigned number that sends note.Simultaneously, the user also can add the event response of assembly, be provided with and start next assembly, finish demonstration and operation on mobile phone interface, for example add the Command performed successfully incident of SEND SHORT MESSAGE assembly, in the Command performed successfully of SEND SHORT MESSAGE assembly event response logic, add the component logic circulation operational order that starts DISPLAY TEXT assembly, then after CAT receives the Command performed successfully event response of SEND SHORT MESSAGE assembly, carry out DISPLAY TEXT assembly, mobile phone interface shows the character string of user's appointment.
For example: the user carries out in terminal simulation module 200 and starts application operating, terminal simulation module 200 transmission MENU SELECTION instruct to and carry out analog module 300, carrying out analog module 300 resolves executive module (as: DISPLAY TEXT assembly) and sends Proactive Commands to terminal according to user's application component relation of spreading, this assembly is used for showing one section character string to the user, and after terminal simulation module 200 receives instruction, the content of meeting display string on simulated screen, tell the character string of carrying in debugging person's assembly content, terminal simulation module 200 can send TERMINAL RESPONSE to carrying out analog module 300 after receiving the Proactive commands instruction of carrying out analog module 300 according to the operation that the user selects, for example: the user selects the on-hook operation, carry out the event response that analog module 300 adds according to DISPLAY TEXT, carry out the event response logical block.
Carrying out analog module 300 is that the SIM (USIM) that simplifies version uses, and is used to provide simulation Java Card multi-application platform, and with the machine cartoon letters of terminal simulation module 200, Simulation execution Java USIM Card USAT uses.
Use release module 400, be used for that the communication intelligent card that visual editor 100 is generated can be carried out file in download and download to communication intelligent card.Because it is a kind of Java Applet APMB package that the communication intelligent card that visual editor 100 is generated can be carried out file in download, therefore use release module 400 according to the application deployment mode, generate the APDU script,, application is installed in the user's communications smart card by mobile phone or local card reader.
As shown in Figure 3, it is the further refined structure synoptic diagram of Java-CAT visual development system of the present invention.
Carry out analog module 300 and comprise Java virtual level unit 301, standard (U) SIM applying unit 302 and application management unit 303.Java Virtual Machine unit 301 provides the running environment of java applet, (U) SIM applying unit 302 is to meet 3GPP R99 and R4/R5/R6/R7 international standard and other to organize the application of relevant specification, the life cycle that application management unit 303 is used for management (as application deletion or download etc.).Form application simulation device 400 modules by Unit 401,402,403, finish the machine cartoon letters with terminal simulation module 200, Simulation execution Java USIM Card USAT uses.
Using release module 400 comprises application local mode release unit 401 and uses aerial mode release unit 402.Using local mode release unit 401 will issue with local mode from the CAT that visual edit module 100 receives, and uses aerial mode release unit 402 and will issue in aerial mode from the CAT that visual edit module 100 receives.
See also Fig. 4 the development approach that adopts Java-CAT visual development system of the present invention be described, may further comprise the steps:
In step S01, land the Java-CAT visual development system, start visible process editor module 100.
In step S02, a newly-built CAT (perhaps opening an existing CAT) in visual edit boundary element 101, visual edit boundary element 101 generate the list of CAT automatically and show a patterned development interface to the developer.
In step S03, in visual edit boundary element 101, add list event response and the assembly that needs to start, component property and the assembly event response of CAT is set.The developer can be from the element panels that system provides the option table single event response logic unit active command component of Java-CAT of adding, be dragged in the flow process editing machine.Repeating step S03 is up to finishing whole Java-CAT.
In step S04, Java source code generation unit 102 generates the Java source code according to the file of preserving.
In step S05, Java source code compilation unit 103 becomes Java Card executable file with the Java compilation of source code.
In step S06, visible process editor module 100 is sent to terminal simulation module 200 with Java Card executable file by development environment data interaction interface.
In step S07, terminal simulation module 200 downloads to executable file and carries out analog module 300.
In step S08, carry out the application management unit 303 of analog module 300 executable file is installed
In step S09, standard (U) SIM applying unit 302 is carried out CAT in the Java environment that Java virtual level unit 301 is provided.
In step S10, APDU Transmit-Receive Unit 202 receives the execution result of carrying out analog module 300 and sends core processing unit 201 to.
In step S11, the mutual print unit 205 of APDU prints the execution result that core processing unit 201 sends.
In step S12, the executable file that visible process editor module 100 will be finished debugging by development environment data interaction interface is passed to application release module 400.
In step S13, use the CAT that release module 400 issues are finished.As select the local mode issue, need to guarantee that communication intelligent card, card reader, user develop terminal and be in normal connection status; As select aerial mode to issue, need to guarantee that the mobile phone that inserts intelligent SIM (USIM) card is in open state.
In sum, according to Java-CAT visual development system of the present invention and method, represent the logic flow of Java-CAT visually in patterned mode.In addition, in the Java-CAT visual development system and be integrated with simulation and execution module, can simulate the operational effect of CAT on mobile phone terminal, carry out the debugging of Java-CAT for the developer to SIM (USIM) card.This mode does not require that the developer grasps darker professional knowledge, reduces the exploitation threshold of Java-CAT greatly, has improved the development efficiency of Java-CAT, gives full play to the effect of SIM (USIM) card secondary development ability.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (6)
1. Java-CAT visual development system, it is characterized in that: described development system comprises the visible process editor module, the terminal simulation module, carry out analog module and use release module, described visible process editor module provides the editing interface of the pairing parts of active order that comprise Java-CAT and generates the communication intelligent card executable file, described terminal simulation module provides the environment of analogue mobile phone terminal operation, described execution analog module provides analogue communication smart card multi-application platform and Simulation execution Java-CAT, described application release module is used for that the communication intelligent card that described visible process editor module is generated can be carried out file in download and issues, described terminal simulation module is communicated by letter with described execution analog module, and described terminal simulation module shows the result of the execution Java-CAT of described execution analog module with patterned form.
2. Java-CAT visual development system according to claim 1, it is characterized in that: described visible process edit cell comprises visual edit boundary element, Java source code generation unit and JavaCard compilation unit, described visible process edit cell provides the visual edit interface, described Java source code generation unit is converted into the Java source code with the edited result at described visual edit interface, and described JavaCard compilation unit is converted into the communication intelligent card executable file with the Java source code that described Java source code generation unit is generated.
3. Java-CAT visual development system according to claim 2 is characterized in that: described application release module comprises uses application local mode release unit of issuing with local mode and the aerial mode release unit of application that the Java-CAT application is issued in aerial mode with Java-CAT.
4. Java-CAT visual development system according to claim 2, it is characterized in that: described terminal simulation module comprises core processing unit, CAT resolution unit and CAT instruction display unit, described core processing unit calls described CAT resolution unit and CAT is used resolves, and the CAT after described CAT instruction display unit is resolved with patterned interface display uses.
5. Java-CAT visual development system according to claim 4 is characterized in that: described execution analog module comprises the application management unit of the life cycle that Java virtual level unit, standard traffic application of IC cards unit and management are used.
6. one kind is adopted Java-CAT visual development system as claimed in claim 1 to carry out the method that Java-CAT develops, and may further comprise the steps:
Start described visible process editor module;
A newly-built CAT or open an existing CAT, the development interface of described visual edit boundary element present graphicalization in the visual edit boundary element of described visible process editor module;
In described visual edit boundary element, add parts and attribute and the preservation of CAT;
The Java source code generation unit of described visible process editor module generates the Java source code according to the file of preserving;
The Java source code compilation unit of described visible process editor module becomes the communication intelligent card executable file with the Java compilation of source code;
Described visible process editor module 100 is described to the terminal simulation module by transmitting with the communication intelligent card executable file;
Described terminal simulation module downloads to described execution analog module with executable file;
The smart card executable file is installed and carried out to described execution analog module;
The execution result of described execution analog module sends described terminal simulation module to;
Described visible process editor module is passed to described application release module with the smart card executable file; And
The CAT that described application release module issue is finished.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100934898A CN102163149A (en) | 2011-04-14 | 2011-04-14 | Visual development system and visual development method of Java-card application toolkit (CAT) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100934898A CN102163149A (en) | 2011-04-14 | 2011-04-14 | Visual development system and visual development method of Java-card application toolkit (CAT) |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102163149A true CN102163149A (en) | 2011-08-24 |
Family
ID=44464389
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100934898A Pending CN102163149A (en) | 2011-04-14 | 2011-04-14 | Visual development system and visual development method of Java-card application toolkit (CAT) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102163149A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103793253A (en) * | 2014-02-19 | 2014-05-14 | 深圳市云来网络科技有限公司 | Mobile phone application content management system and method |
CN107278290A (en) * | 2017-05-16 | 2017-10-20 | 深圳市创客工场科技有限公司 | Building block system programs the method and device for being converted into program code |
CN107577515A (en) * | 2017-10-10 | 2018-01-12 | 北京小度信息科技有限公司 | Extended method, device, electronic equipment and the storage medium of visualization component |
CN112114796A (en) * | 2020-03-26 | 2020-12-22 | 广州白码科技有限公司 | Non-text visual programming method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020059475A1 (en) * | 2000-11-15 | 2002-05-16 | International Business Machines Corporation | Java run-time system with modified linking identifiers |
CN101986740A (en) * | 2010-09-14 | 2011-03-16 | 中国联合网络通信集团有限公司 | JAVA card |
-
2011
- 2011-04-14 CN CN2011100934898A patent/CN102163149A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020059475A1 (en) * | 2000-11-15 | 2002-05-16 | International Business Machines Corporation | Java run-time system with modified linking identifiers |
CN101986740A (en) * | 2010-09-14 | 2011-03-16 | 中国联合网络通信集团有限公司 | JAVA card |
Non-Patent Citations (5)
Title |
---|
《Computer Networks,Elsevier Science》 20010716 Isabelle Attali等 An Integrated Development Environment for Java Card 1-6 第36卷, 第4期 * |
《Java移动通信程序设计--J2ME MIDP》 20020630 黄聪明 1.2 Java平台技术 1-6 , 第1版 * |
ISABELLE ATTALI等: "An Integrated Development Environment for Java Card", 《COMPUTER NETWORKS,ELSEVIER SCIENCE》 * |
刘锐宁等: "《Visual C++从入门到精通》", 30 September 2008 * |
黄聪明: "《Java移动通信程序设计——J2ME MIDP》", 30 June 2002 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103793253A (en) * | 2014-02-19 | 2014-05-14 | 深圳市云来网络科技有限公司 | Mobile phone application content management system and method |
CN107278290A (en) * | 2017-05-16 | 2017-10-20 | 深圳市创客工场科技有限公司 | Building block system programs the method and device for being converted into program code |
US10929109B2 (en) | 2017-05-16 | 2021-02-23 | Makeblock Co., Ltd. | Method and apparatus for converting building block programming into program code |
CN107577515A (en) * | 2017-10-10 | 2018-01-12 | 北京小度信息科技有限公司 | Extended method, device, electronic equipment and the storage medium of visualization component |
CN112114796A (en) * | 2020-03-26 | 2020-12-22 | 广州白码科技有限公司 | Non-text visual programming method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100462917C (en) | Data container for user interface content data | |
CN103543993B (en) | Application builds method and system | |
CN101902756B (en) | M2M (Machine To Machine) business platform and working method thereof | |
CN102789382B (en) | For the system and method that list generates and runs | |
CN103713896A (en) | Software development kit generation method and device used for accessing server | |
CN100356323C (en) | User panel manager and method for creating user-defined dynamic subwindow | |
CN103927163A (en) | Plugin frame processing device and plugin system | |
CN101137170A (en) | Software automatic testing instrument and method of embedded equipment | |
CN101986740A (en) | JAVA card | |
CN104881776B (en) | Easy to the office system of multi-user Cooperation | |
CN102646056A (en) | Function expansion method and device for grid GIS (geographic information system) platform based applications | |
CN101990169A (en) | Intelligent card active pushing system and intelligent card mobile terminal | |
CN112148278A (en) | Visual block chain intelligent contract framework and intelligent contract development and deployment method | |
CN107122219A (en) | The acquisition methods and device of installation file | |
CN102163149A (en) | Visual development system and visual development method of Java-card application toolkit (CAT) | |
CN106775654A (en) | The automatic method and apparatus for building mobile applications | |
CN102375738B (en) | A kind of apparatus and method of mobile terminal data management | |
CN102056172A (en) | Smart card and authentication method thereof | |
CN101699396A (en) | Method for generating wireless terminal menu and device thereof | |
CN102999371B (en) | Interface Development method and system based on Lua script | |
CN113518341B (en) | eSIM code number management method and device | |
CN101431569A (en) | Method for implementing self-customizing network service oriented mobile phone desktop surroundings | |
CN104731600A (en) | Implementation method for Android system service plug-in | |
CN111367561A (en) | Software program remote development method and device | |
CN105867894A (en) | Automatic creating method and system of development environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110824 |