CN1622674A - Real-time simulation developing method and system for SIM toolkit - Google Patents

Real-time simulation developing method and system for SIM toolkit Download PDF

Info

Publication number
CN1622674A
CN1622674A CN 200410103982 CN200410103982A CN1622674A CN 1622674 A CN1622674 A CN 1622674A CN 200410103982 CN200410103982 CN 200410103982 CN 200410103982 A CN200410103982 A CN 200410103982A CN 1622674 A CN1622674 A CN 1622674A
Authority
CN
China
Prior art keywords
module
instruction
information
mobile phone
simulated operation
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.)
Granted
Application number
CN 200410103982
Other languages
Chinese (zh)
Other versions
CN1320842C (en
Inventor
杨延辉
秦预
黄浦
张伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Microelectronics Technology Co Ltd
Original Assignee
Datang Microelectronics Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Datang Microelectronics Technology Co Ltd filed Critical Datang Microelectronics Technology Co Ltd
Priority to CNB2004101039823A priority Critical patent/CN1320842C/en
Publication of CN1622674A publication Critical patent/CN1622674A/en
Application granted granted Critical
Publication of CN1320842C publication Critical patent/CN1320842C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The simulating development system is first established including SIM simulating card, simulating operation module and network interacting module as well as cellphne with SIM and communication network. The subsequent simulating development process includes initialization including establishing event monitoring in cellphone and SIM; menu operation, sending operation command from the simulating operation module to the SIM simulating card, returning data from the SIM simulating card to the simulating operation module and returning result after processing; renewing the simulating interface display in the simulating operation module and sending the operation information via the network interacting module to the cellphone for the cellphone and the SIM to complete corresponding operation, if necessary; and sending the monitoring event from SIM via the network interacting module to the simulating operation module for display and issuing to the SIM simulating card.

Description

The real-time Simulation development approach and the system of subscriber identification module tool kit
Technical field
The present invention relates to the exploitation of smart card, relate in particular to the analog development method and system of SIM card STK (SIM card suite of tools) or UIM card UTK subscriber identification module tool kits such as (UIM card suites of tools).
Background technology
At present, the smart card software development process is more loaded down with trivial details, can't realize real-time, the real net simulative debugging of SIM card STK function or UIM card UTK function etc., must can carry out the later stage software emulation by supplementary means in the one-tenth card stage, excessive to the dependence of real handset, network and data acquisition unit simultaneously.The development process of simplified intelligent card software how, and reduce dependence to mobile phone and network, improve the efficient of exploitation, become the problem of concern.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of real-time Simulation development approach of subscriber identification module tool kit, to realize real-time, the real net simulative debugging of SIM card STK function, UIM card UTK function etc.The present invention also will provide a kind of realization system for carrying out said process.
In order to solve the problems of the technologies described above, the invention provides a kind of real-time Simulation development approach of subscriber identification module tool kit, may further comprise the steps:
(a) set up an analog development system, comprise artificial card, simulated operation module and the network interaction module of the subscriber identification module that realizes on computers, and the mobile phone and the communication network that are inserted with subscriber identification module;
(b) described subscriber identification module is carried out in the initialization procedure it at mobile phone, sets up setting the monitoring of incident; Also finish the initialization of subscriber identification module tool kit menu between described simulated operation module and the described artificial card by data interaction;
(c) wait for that the commissioning staff operates described menu, after the operation, described simulated operation module sends to described artificial card with operational order by interface, and the data that described artificial card returns described simulated operation module are handled, and result data is sent it back described simulated operation module;
(d) described simulated operation module is upgraded the modeling interface demonstration according to return data, and judges whether to relate to network operation, if do not relate to, returns step (c), if relate to, operation information is sent to described network interaction module, carries out next step;
(e) described network interaction module sends to operation information described mobile phone again, finishes corresponding operation by this mobile phone and subscriber identification module;
Can notify described subscriber identification module when (f) described mobile phone has corresponding monitor event to take place, described subscriber identification module sends to described simulated operation module with the information of event result through the network interaction module again;
(g) described simulated operation module shows on screen according to event result information, and is sent back to described artificial card processing by interface, returns step (c).
Further, above-mentioned real-time Simulation development approach can have following characteristics: the setting incident of setting up monitoring in the described step (b) comprise MT call out, call out connect, call out disconnect, a kind of or combination in any in the location status, corresponding monitor event is included as MT and calls out, calls out and connect, call out a kind of or combination in any in disconnection, location status, secondary short message and the positional information in the described step (f).
Further, above-mentioned real-time Simulation development approach can have following characteristics: described subscriber identification module is set up an incident buffer area when initialization, to be stored in this buffer area from the event result that mobile phone is received earlier, behind the query statement of receiving described network interaction module, take out event result from this buffer area again and send to described network interaction module.
Further, above-mentioned real-time Simulation development approach can have following characteristics: undertaken mutual by the AT instruction between described network interaction module and mobile phone, instruct unsupported operation information for AT, by described network interaction module with its code conversion for after the standard A T instruction, send to described subscriber identification module by its decoding processing through mobile phone; Instruct unsupported event result information for AT, by described subscriber identification module its code conversion is the AT repeat-back of standard after, send to described network interaction module by its decoding processing through mobile phone again.
Further, above-mentioned real-time Simulation development approach can have following characteristics: carry out information interaction by the communication interface between process between described network interaction module and the described simulated operation module, carry out information interaction according to standard ISO 7816 agreements by sockets interface between described simulated operation module and the described artificial card.
Further, above-mentioned real-time Simulation development approach can have following characteristics: also comprise an aerial Download Server of simulation on computers in the analog development system of described foundation, in the described step (c), if the commissioning staff has carried out the operation of aerial download, directly give this aerial Download Server, organize downlink data by this aerial Download Server according to predetermined protocol, send to described simulated operation module through the network interaction module and show, re-send to described artificial card.
In order to solve the problems of the technologies described above, artificial card, mobile phone and the communication network of the subscriber identification module tool kit of used software debugging environment structure when the real-time Simulation development system of subscriber identification module tool kit provided by the invention comprises exploitation, it is characterized in that, also comprise simulated operation module, network interaction module and subscriber identification module, described artificial card, simulated operation module and network interaction module realize on computers, described subscriber identification module is inserted in the described mobile phone, wherein:
Described artificial card comprises that the subscriber identification module tool kit that will debug reaches and the interface of described simulated operation inter-module communication;
Described simulated operation module is used to realize using on the real handset simulation of subscriber identification module tool kit business, operational order is handed down to described artificial card and receives return results, the information that wherein relates to network operation is submitted to described network interaction module and received the event result information that it issues, re-send to described artificial card;
It is the instruction that mobile phone can be discerned that described network interaction module is used for described simulated operation module is sent information organization, sends to described mobile phone and receives the event result information that it returns, and this object information is sent to described simulated operation module again;
Described subscriber identification module is on the basis of Standard User identification module, also the object information of the setting incident that described mobile phone is sent is organized as the desired form of replying that described network interaction module sends instruction, sends to described network interaction module through described mobile phone.
Further, above-mentioned real-time Simulation development system can have following characteristics: described simulated operation module further comprise protocal analysis processing unit, instruction display unit, instruction manipulation unit, and described artificial card between communication interface and with the communication interface of described network interaction intermodule, wherein:
It is but that described artificial card recognition instruction is handed down to this artificial card through interface according to protocol translation that described protocal analysis processing unit is used for user's operation, the data that described artificial card is returned, analyze its whether compliant, and processing be converted into can the recognition data structure;
Described instruction display unit is used to provide operation required graphical interfaces, and shows the information of returning after receiving the data that described protocal analysis processing unit processes on screen;
Described instruction manipulation unit is used to accept user's valid function, calls to be handed down to described artificial card after described protocal analysis processing unit transforms user's operation;
And the communication interface between described artificial card is used to realize the bi-directional of information between described simulated operation module and the described artificial card;
With the communication interface of described network interaction intermodule, be used for the bi-directional of the information between simulated operation module and the network interaction module that realizes by the communication between process.
Further, above-mentioned real-time Simulation development system can have following characteristics: the interface between described artificial card and the described simulated operation module comprises the ISO7816 logic interfacing of directly carrying out exchanges data, and with socket that realize with universal data interface this logic interfacing co-ordination.
Further, above-mentioned real-time Simulation development system can have following characteristics: the communication interface interactive information between described simulated operation module and the described network interaction module between the employing process.
Further, above-mentioned real-time Simulation development system can have following characteristics: described simulated operation module also comprises note logic interfacing, is used for by socket open SMS passage.
Further, above-mentioned real-time Simulation development system can have following characteristics: the ISO7816 logic interfacing that all also comprises an opening on described simulated operation module and the described artificial card.
Further, above-mentioned real-time Simulation development system can have following characteristics: described network interaction module comprises that further Inter-Process Communication interface, instruction send receiving element, information translation unit and information query unit, wherein:
Described Inter-Process Communication interface is used to realize the bi-directional with described simulated operation intermodule information;
It is the AT instruction that described instruction transmission receiving element is used for the information organization that described simulated operation module is sent, finish and described mobile phone between the transmission and the reception of AT instruction, and after will being converted into the APDU form from the AT instruction that described mobile phone receives, be sent to described simulated operation module again;
Described information translation unit is used for instructing unsupported operation information code conversion to be standard A T instruction AT, and the AT instruction of the expansion that described mobile phone is returned is decoded;
Described information query unit is used for sending the AT instruction to described mobile phone, inquires about the event result information that current state of described mobile phone and described subscriber identification module receive.
Further, above-mentioned real-time Simulation development system can have following characteristics: described instruction sends the two cover message queues that receiving element inside also comprises the uplink and downlink direction, is used for carrying out when data passes certain coordination.
Further, above-mentioned real-time Simulation development system can have following characteristics: described subscriber identification module further comprises information temporary storage unit, instruction codec unit and instruction monitoring unit, wherein:
Described information temporary storage unit is used for the information of the monitoring notice of setting incident that described mobile phone is sent and carries out record, is temporarily stored in the incident buffer area;
Described instruction codec unit is used for the information of buffer area is encoded, and makes it the structure of conformance with standard AT instruction, and the AT instruction of the expansion of sending is decoded;
Described instruction monitoring unit is used for all are issued the instruction of described subscriber identification module to be monitored, and when receiving the monitoring notice of setting incident, notifies described information temporary storage unit temporary; When finding the query statement that described network interaction module is sent, call described instruction codec unit coding and issue; When receiving other instructions, change the normal handling flow process over to.
Further, above-mentioned real-time Simulation development system can have following characteristics: the aerial Download Server that also comprises a simulation in the described network interaction module, be used for the relevant value-added service of that is virtually reality like reality and aerial download when virtual network is moved, adopt the mode of function call to realize exchanges data.
Further, above-mentioned real-time Simulation development system can have following characteristics: also be embedded with a data monitoring module in the described simulated operation module, be used for after finding that the relevant operation information of aerial download is arranged, judge whether to be in real network operation, if send to described mobile phone and wait for the response of real network with AT instruction; If described aerial Download Server is then directly given in the virtual network operation, this server is organized downlink data according to predetermined protocol, sends to described simulated operation module.
As from the foregoing, the present invention has realized the real-time uniting and adjustment of artificial card and system end having reduced the dependence to mobile phone and data acquisition unit by the instruction of special-purpose COS (CPU card operation system) and expansion AT.Can be used as STK/UTK exploitation, the demonstration platform of various SIM/UIM cards.This scheme provides semi-automatic solution for the smart card software test, by some test events that at present must rely on mobile phone to carry out, transfer on the computer and finish, thereby simplified smart card development process, improved development efficiency.
Description of drawings
Fig. 1 is the schematic diagram of embodiment of the invention SIM card STK real-time Simulation development system.
Fig. 2 is the functional block diagram of embodiment of the invention SIM card STK real-time Simulation development system.
Embodiment
Present embodiment is developed as example with the real-time Simulation of SIM card STK, and shown in Figure 1 is the schematic diagram of development system.As shown in the figure, this system is by STK artificial card 1, simulated operation module 2, network interaction module 3, SIM card 4, mobile phone 5 and communication network 6 are formed, wherein STK artificial card 1, simulated operation module 2 and network interaction module 3 realize on computers with form of software, the SIM card 4 of special COS is contained in the mobile phone 5, is to realize with entity.
Among the figure, used STK software debugging environment when STK artificial card 1 is promptly developed, be equivalent to realize the soft simulation virtual card of STK function, this cartoon is crossed the Simulation execution that the coupled simulated operation module 2 of universal data interface that ISO7816 logic interfacing and windows socket realize realizes mobile phone STK menu operation on computers, when operation does not relate to network function, only between these two modules, carry out information interaction, in the STK menu operation, relate to network function (as calling out, the transmitting-receiving note, download etc.) time, simulated operation module 2 by the communication between process with information informing network interactive module 3, the network interaction module passes to mobile phone 5 by the AT instruction again, by mobile phone 5 (interior plug sim card 4) information is sent on GSM or other communication networks 6.
SIM card 4 adopts special COS, be equivalent to be used to realize the address card of network function, and set up between the mobile phone 5 note, the monitoring of incidents such as speech, in case there is corresponding event to take place, as incoming call, receive note or data download etc., mobile phone 5 can be notified the SIM card 4 in the mobile phone immediately, 4 pairs of information of the SIM card of special COS are carried out buffer memory, after the AT instruction of receiving the inquiry that network interaction module 3 regularly sends, with the information via in the buffer area according to the call format of AT repeat-back encode the AT of expansion (can be understood as instruction), then information is sent to network interaction module 3, the information that network interaction module 3 obtains also sends back simulated operation module 2 by the communication between process, the event result that simulated operation module 2 becomes SIM card to monitor information reverting shows on screen and also finally sends STK artificial card 1 back to.
By above process, realized real-time, the real net simulative debugging of SIM card STK function.
The specific implementation structure of each functional module of present embodiment is described below in conjunction with Fig. 2:
The STK artificial card except that the STK functional software that comprises debugging, also comprises: with the interface of simulation operational module, one is ISO7816 logic interfacing, and one is the universal data interface that realizes by windows socket.The former uses Inter-Process Communication to realize, and have higher efficient but need write the corresponding interface program, be the passage that directly carries out exchanges data with the simulation operational module.The latter realizes that by socket the developer need not to understand concrete inside implementation procedure, only needs socket by appointment just can finish the mutual of data, but has the relatively low shortcoming of efficient.This two-part co-ordination makes the simulated operation module to carry out the mutual of information with a selected development environment.Seen a real SIM card external seemingly from the angle of simulated operation module, seen a real mobile phone external seemingly from general development environment angle.
The simulated operation module mainly comprises protocal analysis processing unit, STK instruction display unit, STK instruction manipulation unit, ISO7816 logic interfacing and universal data interface, Inter-Process Communication interface and note logic interfacing, wherein:
Described protocal analysis processing unit is used for the APDU instruction that user's operation can be discerned for the STK artificial card according to the GSM11.14 protocol translation is handed down to the STK artificial card through interface.In addition, whether compliant is analyzed also to be used for data that the STK artificial card is returned, and the data of returning can the recognition data structure be processed conversion according to its purpose according to the simulated operation module.
Described STK instruction display unit, be used to provide operation required graphical interfaces, and after receiving the data that the protocal analysis processing unit processes, on indicator screen, show the STK artificial card information of return data just now, for example, what one was returned on the STK artificial card is Get Input instruction, then shows input prompt frame wait user input on screen.If what return is Display Text instruction, then on screen, show one section information.
Described STK instruction manipulation unit, behind the simulated operation module invokes STK instruction display unit, just be in and wait for that the user carries out the pattern of next-step operation, in case the user has carried out once effectively operation, STK instruction manipulation unit is with regard to the invocation protocol analysis and processing unit, APDU instruction with user's operation can be discerned for the STK artificial card according to protocol translation is handed down to the SIM artificial card then.
Described ISO7816 logic interfacing and universal data interface realize that with Win Socket socket the interface as between simulated operation module and the STK artificial card carries out data interaction by Win Socket socket with the STK artificial card.
Described Inter-Process Communication interface is used for the bi-directional by information between realization simulated operation module of the communication between process and the network interaction module.
Described note logic interfacing: by Win Socket socket the short message channel opening is come out, carry out secondary development under the prerequisite that makes other developers need not development environment is made any change.
The simulated operation module of forming based on above structure is the message scheduling center of whole development system, realized using on the real handset simulation of STK/UTK business with software, the function that will be referred to network operation is simultaneously submitted to the network interaction module by the Inter-Process Communication interface with information, also is to obtain the information that network issues by the Inter-Process Communication interface.
In addition, can also on STK artificial card and simulated operation module, increase the ISO7816 Logic Interface Unit of an opening, this cover real-time simulation debugging system is bundled on the software development environment, but the input interface of a plurality of data can be arranged, for example it can receive the tune-up data of Vc development environment, can connect intelligent card read/write device and use a real SIM card, can be with the development environment co-ordination of Keil etc.
The network interaction module comprises that mainly Inter-Process Communication interface, AT instruction send receiving element, information translation unit and information query unit.Wherein:
Described Inter-Process Communication interface is used for realizing by the communication between process the bi-directional of network interaction module and simulated operation intermodule information.
The information organization that AT instruction transmission receiving element is used for that the data structure that the simulated operation module is sent is comprised is the AT instruction, adds the upstream message formation; Finish and mobile phone between the transmission and the reception of AT instruction, and will be converted into the APDU form from the AT instruction that mobile phone receives, the formation of adding downstream message.This unit internal maintenance the uplink and downlink directions two the cover message queues, need carry out certain coordination with the transmission of between network operation module and simulated operation module, carrying out data.In the present embodiment, the AT instruction interaction between network interaction module and the mobile phone realizes that by wired mode interface is USB interface or serial data interface commonly used, in fact also can be by interfaces such as infrared rays.
The information translation unit is used for being responsible for the simulated operation module is interested and the unsupported information of standard A T instruction (wishing to obtain the secondary short message that mobile phone receives as the Simulation execution module) becomes standard A T instruction according to standard A T code conversion, make it is to have received a discernible AT instruction for mobile phone, and the expansion AT instruction that is used for mobile phone is returned is decoded.
Information query unit is used for sending the AT instruction to mobile phone termly, the information that state that the inquiry mobile phone is current and the SIM card of special COS receive.
SIM card 4 adopts special COS, has increased information temporary storage unit, AT instruction codec unit and instruction monitoring unit on the basis of the SIM card unit of standard, wherein:
The information that the event-monitoring that the information temporary storage unit is used for that mobile phone is sent is notified is carried out record, is temporarily stored in the incident buffer area of SIM card, waits for the inquiry of network interaction module.
AT instruction codec unit is used for the information of buffer area is encoded, and makes it the structure of conformance with standard AT instruction, and the AT instruction that is used for expansion that information translation unit coding is obtained is decoded.In this way, for mobile phone the return results of the AT instruction of a standard with original some information of not discerned on the SIM card by standard A T instruction.
Usually, employing is carried out new coding to ADN on the SIM card and SMS, why the content of ADN and SMS being carried out new coding mainly is that their effect is more special, the function that couple ADN and SMS operation are arranged in the AT instruction, the AT instruction that sends downwards by computer is for example read ADN and finally can be delivered on the SIM card like this, and the information that SIM card will be blocked buffer memory returns to mobile phone according to specific coding as the result that reads of ADN.It thinks it is an ADN for mobile phone, so again content is sent back to computer.
The instruction monitoring unit, the instruction that is used for all are issued SIM card is monitored, and after finding that the incident that need return the STK artificial card is arranged, they is deposited in the incident buffer area; When finding that the network interaction module is inquired about the information of current SIM card by the AT instruction, the call instruction codec unit; When the APDU instruction that issues does not belong to above-mentioned situation, change the normal handling flow process over to.
Correspondingly, the flow process of present embodiment SIM card STK real-time Simulation exploitation may further comprise the steps:
Step 1 is set up an analog development system, comprises the STK artificial card, simulated operation module and the network interaction module that realize on computers, and the mobile phone and the communication network that insert SIM card (adopting special COS);
Step 2, behind the mobile phone power-on, the SIM card of special COS receives mobile phone and sends and return Terminal Profile after the Terminal Profile instruction of getting off and reply, propose then to comprise the incident that needs the information used from now on (as MT call out, call out connect, call out disconnections, location status etc.) request of proposition event-monitoring, mobile phone returns event-monitoring foundation and replys, and finishes initialization; Simultaneously, the SIM card of this special COS resetting power on after, in card, open up an incident buffer area, the incident that is used for mobile phone is issued is carried out buffer memory, because the network interaction module can not guarantee immediately this incident to be taken away after incident is downloaded;
Step 3, the simulated operation module is according to carrying out data interaction according to standard ISO 7816 agreements by sockets interface between the start process of real handset and the STK artificial card, comprise reading of the reading of critical file, network authentication, ADN and SMS, send Terminal Profile instruction at last, finish the initialization of STK menu;
Step 4, wait for that the commissioning staff operates the STK menu on the screen, after the operation, the simulated operation module sends to the STK artificial card with operational order, the data that described artificial card returns described simulated operation module are handled, and the result gives back the simulated operation module by above-mentioned interface again;
Step 5, the data that simulated operation module analysis STK artificial card returns are upgraded the demonstration of modeling interface, and are judged whether to relate to network operation, if do not relate to, return step 4, if, send associative operation information to the network interaction module, carry out next step;
Step 6, the instruction of associative operation is joined the upstream message formation of network interaction module, carry out code conversion in case of necessity, wait for suitable opportunity and call that the AT instruction sends to mobile phone (being inserted with SIM card), the SIM card of mobile phone and special COS is finished function corresponding by normal flow, as sending note, calling out or the like;
On down direction:
Step 7, mobile phone after having corresponding monitor event (call out, call out connection, call out disconnection, location status, secondary short message, positional information or the like as MT) can notify SIM card when taking place are got up this chain of events buffer memory;
Regularly by the response of AT instruction inquiry monitoring mobile phone incident, mobile phone is converted to the SIM card that is handed down to special COS after APDU instructs for step 8, network interaction module;
Step 9, after SIM card is received inquiry AT instruction, in the incident buffer area, search, if have, then with incident by the requirement of the AT repeat-back form packing of encoding, return data is given mobile phone, makes data behind the coding think the response of AT instruction that previous transmission is got off to mobile phone, and mobile phone sends to the network interaction module by inquiry AT repeat-back again;
Step 10, the return results that the network interaction module is instructed AT is reduced to the APDU instruction, and (this conversion also can be finished by the unit of simulated operation module, effect is equal to), add the downstream message formation, send to the simulated operation module on suitable opportunity by the communication interface between process;
Step 11, simulated operation module show on screen according to return information, and finally are sent back to the processing of STK artificial card by sockets interface.
In sum, the present invention is the address card of realization network function and the soft simulation virtual card of STK function with the SIM card of a reality according to Function Decomposition.SIM card COS to routine transforms, it has been possessed special event is managed, stores, and utilize special coding to make it the structure of conformance with standard AT instruction, has realized that computer can visit customizing messages in the SIM card by standard A T instruction.And utilize Windows system multiplex characteristic, between the debugging enironment of simulated operation module and developer's use, set up the data interaction passage.Thereby realized " in real time " of SIM card STK function real net debugging emulation.System and method of the present invention also is applicable to the real-time debug of subscriber identification module tool kits such as UIM card UTK function fully, only need SIM card correspondingly is replaced by the UIM card and is adopted special COS, the STK artificial card is replaced with UTK soft simulation card, mobile phone changes the CDMA mobile phone into by GSM mobile handset, and the function of other functional module is identical.
For OTA related services such as (aerial download technologies), the analog development system of embodiment adopts real network operation, but also can adopt the virtual network operation or select a kind of from dual mode according to configuration.Under the situation of selecting the virtual network operation, can be in the simulated operation module an embedded data monitoring module, after finding that the relevant data of OTA operation are arranged, judge whether to be in real network operation, if, send to the destination by embodiment process invocation AT instruction, and wait for the response of real network.If the OTA emulating server is then directly given in the virtual network operation, server is organized downlink data according to predetermined protocol, and joining awaits a favorable opportunity in the downstream message formation sends to the demonstration of simulated operation module, sends to the STK artificial card again by it.This OTA emulating server is as the part in the network interaction module, and it is responsible for simulating the relevant value-added service of some true and aerial downloads when virtual network is moved, adopt the mode of function call to carry out exchanges data.
A lot of modules and unit are realized with software in the foregoing description system, so have the link of a lot of conversion, for example each module can merge or split the interface between the module again, used instruction also can be adopted other type, as long as guarantee reliable data communication.

Claims (17)

1, a kind of real-time Simulation development approach of subscriber identification module tool kit may further comprise the steps:
(a) set up an analog development system, comprise artificial card, simulated operation module and the network interaction module of the subscriber identification module that realizes on computers, and the mobile phone and the communication network that are inserted with subscriber identification module;
(b) described subscriber identification module is carried out in the initialization procedure it at mobile phone, sets up setting the monitoring of incident; Also finish the initialization of subscriber identification module tool kit menu between described simulated operation module and the described artificial card by data interaction;
(c) wait for that the commissioning staff operates described menu, after the operation, described simulated operation module sends to described artificial card with operational order by interface, and the data that described artificial card returns described simulated operation module are handled, and result data is sent it back described simulated operation module;
(d) described simulated operation module is upgraded the modeling interface demonstration according to return data, and judges whether to relate to network operation, if do not relate to, returns step (c), if relate to, operation information is sent to described network interaction module, carries out next step;
(e) described network interaction module sends to operation information described mobile phone again, finishes corresponding operation by this mobile phone and subscriber identification module;
Can notify described subscriber identification module when (f) described mobile phone has corresponding monitor event to take place, described subscriber identification module sends to described simulated operation module with the information of event result through the network interaction module again;
(g) described simulated operation module shows on screen according to event result information, and is sent back to described artificial card processing by interface, returns step (c).
2, real-time Simulation development approach as claimed in claim 1, it is characterized in that, the setting incident of setting up monitoring in the described step (b) comprise MT call out, call out connect, call out disconnect, a kind of or combination in any in the location status, corresponding monitor event is included as MT and calls out, calls out and connect, call out a kind of or combination in any in disconnection, location status, secondary short message and the positional information in the described step (f).
3, real-time Simulation development approach as claimed in claim 1, it is characterized in that, described subscriber identification module is set up an incident buffer area when initialization, to be stored in this buffer area from the event result that mobile phone is received earlier, behind the query statement of receiving described network interaction module, take out event result from this buffer area again and send to described network interaction module.
4, as claim 1 or 3 described real-time Simulation development approaches, it is characterized in that, undertaken mutual by the AT instruction between described network interaction module and mobile phone, instruct unsupported operation information for AT, by described network interaction module with its code conversion for after the standard A T instruction, send to described subscriber identification module by its decoding processing through mobile phone; Instruct unsupported event result information for AT, by described subscriber identification module its code conversion is the AT repeat-back of standard after, send to described network interaction module by its decoding processing through mobile phone again.
5, real-time Simulation development approach as claimed in claim 1, it is characterized in that, carry out information interaction by the communication interface between process between described network interaction module and the described simulated operation module, carry out information interaction according to standard ISO 7816 agreements by sockets interface between described simulated operation module and the described artificial card.
6, real-time Simulation development approach as claimed in claim 1, it is characterized in that, also comprise an aerial Download Server of simulation on computers in the analog development system of described foundation, in the described step (c), if the commissioning staff has carried out the operation of aerial download, directly give this aerial Download Server, organize downlink data by this aerial Download Server according to predetermined protocol, send to described simulated operation module through the network interaction module and show, re-send to described artificial card.
7, a kind of real-time Simulation development system of subscriber identification module tool kit, artificial card, mobile phone and the communication network of the subscriber identification module tool kit of used software debugging environment structure when comprising exploitation, it is characterized in that, also comprise simulated operation module, network interaction module and subscriber identification module, described artificial card, simulated operation module and network interaction module realize on computers, described subscriber identification module is inserted in the described mobile phone, wherein:
Described artificial card comprises that the subscriber identification module tool kit that will debug reaches and the interface of described simulated operation inter-module communication;
Described simulated operation module is used to realize using on the real handset simulation of subscriber identification module tool kit business, operational order is handed down to described artificial card and receives return results, the information that wherein relates to network operation is submitted to described network interaction module and received the event result information that it issues, re-send to described artificial card;
It is the instruction that mobile phone can be discerned that described network interaction module is used for described simulated operation module is sent information organization, sends to described mobile phone and receives the event result information that it returns, and this object information is sent to described simulated operation module again;
Described subscriber identification module is on the basis of Standard User identification module, also the object information of the setting incident that described mobile phone is sent is organized as the desired form of replying that described network interaction module sends instruction, sends to described network interaction module through described mobile phone.
8, real-time Simulation development system as claimed in claim 7, it is characterized in that, described simulated operation module further comprise protocal analysis processing unit, instruction display unit, instruction manipulation unit, and described artificial card between communication interface and with the communication interface of described network interaction intermodule, wherein:
It is but that described artificial card recognition instruction is handed down to this artificial card through interface according to protocol translation that described protocal analysis processing unit is used for user's operation, the data that described artificial card is returned, analyze its whether compliant, and processing be converted into can the recognition data structure;
Described instruction display unit is used to provide operation required graphical interfaces, and shows the information of returning after receiving the data that described protocal analysis processing unit processes on screen;
Described instruction manipulation unit is used to accept user's valid function, calls to be handed down to described artificial card after described protocal analysis processing unit transforms user's operation;
And the communication interface between described artificial card is used to realize the bi-directional of information between described simulated operation module and the described artificial card;
With the communication interface of described network interaction intermodule, be used for the bi-directional of the information between simulated operation module and the network interaction module that realizes by the communication between process.
9, real-time Simulation development system as claimed in claim 8, it is characterized in that, interface between described artificial card and the described simulated operation module comprises the ISO7816 logic interfacing of directly carrying out exchanges data, and with socket that realize with universal data interface this logic interfacing co-ordination.
10, real-time Simulation development system as claimed in claim 8 is characterized in that, the communication interface interactive information between described simulated operation module and the described network interaction module between the employing process.
11, real-time Simulation development system as claimed in claim 8 is characterized in that, described simulated operation module also comprises note logic interfacing, is used for by socket open SMS passage.
12, real-time Simulation development system as claimed in claim 8 is characterized in that, all also comprises the ISO7816 logic interfacing of an opening on described simulated operation module and the described artificial card.
13, real-time Simulation development system as claimed in claim 7 is characterized in that, described network interaction module comprises that further Inter-Process Communication interface, instruction send receiving element, information translation unit and information query unit, wherein:
Described Inter-Process Communication interface is used to realize the bi-directional with described simulated operation intermodule information;
It is the AT instruction that described instruction transmission receiving element is used for the information organization that described simulated operation module is sent, finish and described mobile phone between the transmission and the reception of AT instruction, and after will being converted into the APDU form from the AT instruction that described mobile phone receives, be sent to described simulated operation module again;
Described information translation unit is used for instructing unsupported operation information code conversion to be standard A T instruction AT, and the AT instruction of the expansion that described mobile phone is returned is decoded;
Described information query unit is used for sending the AT instruction to described mobile phone, inquires about the event result information that current state of described mobile phone and described subscriber identification module receive.
14, real-time Simulation development system as claimed in claim 13 is characterized in that, described instruction sends the two cover message queues that receiving element inside also comprises the uplink and downlink direction, is used for carrying out when data passes certain coordination.
15, real-time Simulation development system as claimed in claim 7 is characterized in that, described subscriber identification module further comprises information temporary storage unit, instruction codec unit and instruction monitoring unit, wherein:
Described information temporary storage unit is used for the information of the monitoring notice of setting incident that described mobile phone is sent and carries out record, is temporarily stored in the incident buffer area;
Described instruction codec unit is used for the information of buffer area is encoded, and makes it the structure of conformance with standard AT instruction, and the AT instruction of the expansion of sending is decoded;
Described instruction monitoring unit is used for all are issued the instruction of described subscriber identification module to be monitored, and when receiving the monitoring notice of setting incident, notifies described information temporary storage unit temporary; When finding the query statement that described network interaction module is sent, call described instruction codec unit coding and issue; When receiving other instructions, change the normal handling flow process over to.
16, as claim 7 or 8 described real-time Simulation development systems, it is characterized in that, the aerial Download Server that also comprises a simulation in the described network interaction module, be used for the relevant value-added service of that is virtually reality like reality and aerial download when virtual network is moved, adopt the mode of function call to realize exchanges data.
17, real-time Simulation development system as claimed in claim 16, it is characterized in that, also be embedded with a data monitoring module in the described simulated operation module, be used for after finding that the relevant operation information of aerial download is arranged, judge whether to be in real network operation, if call the response that the AT instruction sends to described mobile phone and waits for real network; If described aerial Download Server is then directly given in the virtual network operation, this server is organized downlink data according to predetermined protocol, sends to described simulated operation module.
CNB2004101039823A 2004-12-31 2004-12-31 Real-time simulation developing method and system for SIM toolkit Active CN1320842C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004101039823A CN1320842C (en) 2004-12-31 2004-12-31 Real-time simulation developing method and system for SIM toolkit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004101039823A CN1320842C (en) 2004-12-31 2004-12-31 Real-time simulation developing method and system for SIM toolkit

Publications (2)

Publication Number Publication Date
CN1622674A true CN1622674A (en) 2005-06-01
CN1320842C CN1320842C (en) 2007-06-06

Family

ID=34766882

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004101039823A Active CN1320842C (en) 2004-12-31 2004-12-31 Real-time simulation developing method and system for SIM toolkit

Country Status (1)

Country Link
CN (1) CN1320842C (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100452894C (en) * 2007-02-09 2009-01-14 凤凰微电子(中国)有限公司 Method for realizing the radio value-added service in the smart card
CN101572963B (en) * 2008-04-30 2011-04-20 中国移动通信集团公司 Baseband communication functional device and communication method thereof
CN102236530A (en) * 2010-04-23 2011-11-09 广州盛华信息技术有限公司 System for realizing mobile phone buffer memory mechanism and method for loading mobile phone operation system
CN101094484B (en) * 2006-11-24 2012-05-23 广东宜通世纪科技股份有限公司 Interactive testing device for data of smart card, and method for testing quality of network by using the smart card
CN101876937B (en) * 2009-11-11 2012-06-27 飞天诚信科技股份有限公司 Method for simulating information interaction of smart card
CN102541639A (en) * 2011-12-26 2012-07-04 北京握奇数据系统有限公司 CPU (Central Processing Unit) card data processing method, CPU card data processing system and CPU card
CN105589709A (en) * 2014-12-24 2016-05-18 中国银联股份有限公司 Device and method for changing menu of point of sale (POS) terminal
CN111881015A (en) * 2020-06-19 2020-11-03 深圳融卡智能科技有限公司 Application testing method and application testing device
CN112154417A (en) * 2018-05-21 2020-12-29 微软技术许可有限责任公司 Sharing a code base between a stand-alone version and a Web-based version of an application via an emulated network communication channel

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI112429B (en) * 2000-01-12 2003-11-28 Sonera Oyj Presentation of applications in a telecommunications system
CN1110976C (en) * 2000-10-24 2003-06-04 黎明网络有限公司 Dynamic realizing method of mobile value added business and device therefor

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094484B (en) * 2006-11-24 2012-05-23 广东宜通世纪科技股份有限公司 Interactive testing device for data of smart card, and method for testing quality of network by using the smart card
CN100452894C (en) * 2007-02-09 2009-01-14 凤凰微电子(中国)有限公司 Method for realizing the radio value-added service in the smart card
CN101572963B (en) * 2008-04-30 2011-04-20 中国移动通信集团公司 Baseband communication functional device and communication method thereof
CN101876937B (en) * 2009-11-11 2012-06-27 飞天诚信科技股份有限公司 Method for simulating information interaction of smart card
CN102236530A (en) * 2010-04-23 2011-11-09 广州盛华信息技术有限公司 System for realizing mobile phone buffer memory mechanism and method for loading mobile phone operation system
CN102541639A (en) * 2011-12-26 2012-07-04 北京握奇数据系统有限公司 CPU (Central Processing Unit) card data processing method, CPU card data processing system and CPU card
CN102541639B (en) * 2011-12-26 2014-07-02 北京握奇数据系统有限公司 CPU (Central Processing Unit) card data processing method, CPU card data processing system and CPU card
CN105589709A (en) * 2014-12-24 2016-05-18 中国银联股份有限公司 Device and method for changing menu of point of sale (POS) terminal
CN112154417A (en) * 2018-05-21 2020-12-29 微软技术许可有限责任公司 Sharing a code base between a stand-alone version and a Web-based version of an application via an emulated network communication channel
CN111881015A (en) * 2020-06-19 2020-11-03 深圳融卡智能科技有限公司 Application testing method and application testing device
CN111881015B (en) * 2020-06-19 2024-02-02 无锡融卡科技有限公司 Application testing method and application testing device

Also Published As

Publication number Publication date
CN1320842C (en) 2007-06-06

Similar Documents

Publication Publication Date Title
CN1155920C (en) Method, card and terminals for carrying out transactions in a telecommunication netowrk
US7536181B2 (en) Platform system for mobile terminals
CN1947450A (en) System and method of managing connections with an available network
EP3197213A1 (en) Network access method and mobile communication terminal
CN101099400A (en) Method of assessing compatibility between applications and processing devices
CN1320842C (en) Real-time simulation developing method and system for SIM toolkit
CN103577320A (en) Testing method and system of remote terminals
CN1260993C (en) Collection of internal infor mation of mobile communication terminal by external module
CN1922844A (en) Automated data migration
CN1890998A (en) Method of and system for scalable mobile-terminal platform
CN1309787A (en) Changing functionality of module terminal in wreless network
CN101505339A (en) Implementation method for directly deploying mobile phone application program from computer onto mobile phone
CN1822618A (en) Dynamic remote storage system
CN1633198A (en) A method and system for compatibility test of subscriber identification module tool kit card
CN1574982A (en) Apparatus and method for remotely changing a function of a mobile communication terminal
CN103580726B (en) User identification card, Bluetooth device and method for accessing user identification card
CN102752739B (en) Open chucking method, terminal, server and system in the air
CN1859356A (en) Service processing device and service processing method
CN1848986A (en) Mobile terminal equipment staging method and system
CN104636249A (en) Generation system and method of debugging information of application program
CN101052194A (en) Device for realizing maintenance of far end radio frequency terminal by local maintenance terminal
US20060020659A1 (en) Loading an application to be deployed in a terminal and chip a card
CN1553738A (en) Method and system for testing short message central function
CN111400281A (en) GIS data quality inspection and storage method for OSS object storage
CN101227676B (en) Method for downloading intelligent terminal version software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20050601

Assignee: BEIJING DATANG SMART CARD TECHNOLOGY CO.,LTD.

Assignor: DATANG MICROELECTRONICS TECHNOLOGY Co.,Ltd.

Contract record no.: 2016110000008

Denomination of invention: Real-time simulation developing method and system for SIM toolkit

Granted publication date: 20070606

License type: Common License

Record date: 20160422

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
TR01 Transfer of patent right

Effective date of registration: 20201117

Address after: 12 / F, North building, Zhongke resource building, Haidian District, Beijing 100190

Patentee after: Huiyi finance leasing (Tianjin) Co.,Ltd.

Address before: 100083 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: DATANG MICROELECTRONICS TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220628

Address after: 100094 No. 6 Yongjia North Road, Beijing, Haidian District

Patentee after: DATANG MICROELECTRONICS TECHNOLOGY Co.,Ltd.

Address before: 100190 12 / F, North building, Zhongke resource building, Haidian District, Beijing

Patentee before: Huiyi finance leasing (Tianjin) Co.,Ltd.

TR01 Transfer of patent right