CN108694340A - A kind of method and device of intelligent card data write-in - Google Patents

A kind of method and device of intelligent card data write-in Download PDF

Info

Publication number
CN108694340A
CN108694340A CN201710221660.6A CN201710221660A CN108694340A CN 108694340 A CN108694340 A CN 108694340A CN 201710221660 A CN201710221660 A CN 201710221660A CN 108694340 A CN108694340 A CN 108694340A
Authority
CN
China
Prior art keywords
written
data
smart card
instruction
electronic equipment
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
CN201710221660.6A
Other languages
Chinese (zh)
Other versions
CN108694340B (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.)
BEIJING HUAHONG INTEGRATED CIRCUIT DESIGN Co Ltd
Original Assignee
BEIJING HUAHONG INTEGRATED CIRCUIT DESIGN 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 BEIJING HUAHONG INTEGRATED CIRCUIT DESIGN Co Ltd filed Critical BEIJING HUAHONG INTEGRATED CIRCUIT DESIGN Co Ltd
Priority to CN201710221660.6A priority Critical patent/CN108694340B/en
Publication of CN108694340A publication Critical patent/CN108694340A/en
Application granted granted Critical
Publication of CN108694340B publication Critical patent/CN108694340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K1/00Methods or arrangements for marking the record carrier in digital fashion
    • G06K1/12Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching
    • G06K1/128Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching by electric registration, e.g. electrolytic, spark erosion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

This application provides a kind of methods for the intelligent card data write-in being applied to an electronic equipment, including:Obtain data to be written;Control, which opens to preset, reports switch;Based on the default state for reporting switch to be in opening, the smart card is written into the data to be written and is preserved.Using this method, by the way that switch control will be reported to be in an open state, realization is written into data and is written in the smart card and preserves, and without the bottom embedded code in operating system, process is more simple and practicable.

Description

A kind of method and device of intelligent card data write-in
Technical field
The application belong to applied to intelligent card data process field more particularly to a kind of intelligent card data write-in method and Device.
Background technology
Smart card (SIM, Subscriber Identity Module, also known as subscriber identification card), is the intelligence such as mobile phone It can necessary device of the terminal for client identity discriminating.Smart card can store digital mobile phone client's on computer chip The multinomial contents such as the telephone directory of information, encrypted key and user, for global system for mobile communications network client identity into Voice messaging when going and differentiate, and conversing client is encrypted.
In the prior art, have several methods that data are written into smart card, such as OTA (Over-The-Air It is Technology, aerial to download) technology, Open Mobile API (mobile open applications Program Interfaces) (API, Application Programming Interface, application programming interface) mode.Wherein, the Open Mobile API modes are that operating system falls the operation shield to smart card, and is equivalent in this section of code of bottom insertion and is in operation A tunnel is established between system and smart card, terminal can be used as common card reader, to be written to smart card Arbitrary data.
But the Open Mobile API modes must be in operating system bottom embedded code, then together with source code Compiling, the relatively complicated complexity of process.
Invention content
In view of this, the application's is designed to provide a kind of method of intelligent card data write-in, to solve the prior art In, need the problem of the ablation process complexity caused by operating system bottom embedded code.
A kind of method of intelligent card data write-in, is applied to electronic equipment, the method includes:
Obtain data to be written;
Control, which opens to preset, reports switch;
Based on the default state for reporting switch to be in opening, the smart card is written into the data to be written and is protected It deposits.
Above-mentioned method, it is preferred that after acquisition data to be written, further include:
According to preset coding criterion, packages to the content of the data to be written, obtain data packet.
Above-mentioned method, it is preferred that it is described based on the default state for reporting switch to be in opening, it will be described to be written Data are written the smart card and preserve, including:
Based on the default state for reporting switch to be in opening, the first instruction is received, instructs and controls based on described first Show that the menu item of smart card, the smart card are in connection shape with the electronic equipment in the display screen of the electronic equipment State;
The second instruction is received, the corresponding submenu of data to be written is selected in the menu item based on second instruction ;
Based on the Submenu Items, the data packet is inputted, the smart card is written into the data to be written to realize;
The data packet is stored to the default storage region of the smart card.
Above-mentioned method, it is preferred that it is described the smart card is written into the data to be written and is preserved after, also wrap It includes:
Receive operation information;
The data to be written are read from storage region according to the operation information, are preserved in the storage region State data to be written;
The data to be written are written to the first position of smart card.
Above-mentioned method, it is preferred that it is described the smart card is written into the data to be written and is preserved after, also wrap It includes:
Receive third instruction;
It is instructed according to the third, control shows the data to be written in the display screen of electronic equipment.
A kind of device of intelligent card data write-in, including:
Acquisition module, for obtaining data to be written;
Control module reports switch for controlling to open to preset;
First writing module, for switching the state in opening based on default report, by the data to be written The smart card is written and preserves.
Above-mentioned device, it is preferred that further include:
Coding module, for according to preset coding criterion, packaging, being counted to the content of the data to be written According to packet.
Above-mentioned device, it is preferred that said write module includes:
Menu item unit, for based on the default state for reporting switch to be in opening, receiving the first instruction, being based on institute It states the first instruction and controls the menu item for showing smart card in the display screen of the electronic equipment, the smart card and the electronics Equipment is in connection status;
Selecting unit selects number to be written based on second instruction for receiving the second instruction in the menu item According to corresponding Submenu Items;
Input unit inputs the data packet, is write the data to be written with realizing for being based on the Submenu Items Enter the smart card;
Storage unit, for storing the data packet to the default storage region of the smart card.
Above-mentioned device, it is preferred that further include:
First receiving module, for receiving operation information;
Read module, for reading the data to be written, the storage from storage region according to the operation information The data to be written are preserved in region;
Second writing module, the first position for the data to be written to be written to smart card.
Above-mentioned device, it is preferred that further include:
Second receiving module, for receiving third instruction;
Display module, for being instructed according to the third, control shows described to be written in the display screen of electronic equipment Enter data.
It can be seen via above technical scheme that compared with prior art, the present invention provides one kind to set applied to an electronics The method of standby intelligent card data write-in, including:Obtain data to be written;Control, which opens to preset, reports switch;Based on described pre- If reporting switch in the state opened, the smart card is written into the data to be written and is preserved.Using this method, pass through Switch control will be reported to be in an open state, realization is written into data and is written in the smart card and preserves, without in operating system Bottom embedded code, process is more simple and practicable.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of the embodiment of the method 1 of intelligent card data write-in provided by the invention;
Fig. 2 is a kind of flow chart of the embodiment of the method 2 of intelligent card data write-in provided by the invention;
Fig. 3 is a kind of flow chart of the embodiment of the method 3 of intelligent card data write-in provided by the invention;
Fig. 4 is a kind of flow chart of the embodiment of the method 4 of intelligent card data write-in provided by the invention;
Fig. 5 is a kind of flow chart of the embodiment of the method 5 of intelligent card data write-in provided by the invention;
Fig. 6 is a kind of structural schematic diagram of the device embodiment 1 of intelligent card data write-in provided by the invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The flow chart of the embodiment of the method 1 as shown in Figure 1 for being a kind of intelligent card data write-in provided by the invention, the party Method is applied in electronic equipment, which is specifically as follows the equipment such as smart mobile phone, tablet computer, laptop, or Person can be the equipment with GPRS (General Packet Radio Service, general packet radio service technology) module It can be used as debugging acid Deng, the electronic equipment or be written into data as dedicated module module the smart card is written In.
Wherein, this approach includes the following steps:
Step S101:Obtain data to be written;
Wherein, the data to be written can be it is pre-stored in the electronic equipment, when executing this method, directly from It is acquired in the memory space of electronic equipment.
Certainly, in specific implementation, also there is input structure in the electronic equipment, then the data to be written may be defeated in real time Enter and be buffered in the electronic equipment, the data to be written are obtained from caching to realize.
Specifically, data to be written may include:Smart card core authentication parameter, random number, check key, KI (Key Identifier, authentication key), OPC (Operator Variant Algorithm Configuration Field, operation Quotient's variant algorithm configuration field), IMSI (International Mobile Subscriber Identification Number, international mobile subscriber identity) or pass through Application Protocol Data Unit (APDU, Application Protocol Data Unit) order etc. that is packaged, the application is not limited the particular content of data to be written.
Step S102:Control, which opens to preset, reports switch;
Wherein, which has one to report switch, after this reports switch to open, can ensure that data mistake subsequently is written Instruction normal response involved in journey.
For example, this reports switch that STK URC may be used, indicate that switch is closed with " 0 ", indicates that switch is opened with " 1 ".Tool Body can be instructed (Attention, the connection and communication being generally used between terminal device and PC applications) by relevant AT Control realizes that the STK URC are opened.
Step S103:Based on the default state for reporting switch to be in opening, described in the data write-in to be written Smart card simultaneously preserves.
Wherein, after this reports switch to open, which is written in the smart card, and depositing in the smart card Storage area is preserved in domain.
It should be noted that the process of the write-in smart card, is to write the data into the process preserved in smart card.
Corresponding position in the data that will be preserved write-in smart card can be illustrated how in subsequent embodiment, in the present embodiment not It is described in detail.
To sum up, the method for a kind of intelligent card data write-in provided in this embodiment, including:Obtain data to be written;Control It opens to preset and reports switch;Based on the default state for reporting switch to be in opening, described in the data write-in to be written Smart card simultaneously preserves.Using this method, by the way that switch control will be reported to be in an open state, realization is written into data and the intelligence is written It in capable of blocking and preserves, without the bottom embedded code in operating system, process is more simple and practicable.
The flow chart of the embodiment of the method 2 as shown in Figure 2 for being a kind of intelligent card data write-in provided by the invention, the party Method includes the following steps:
Step S201:Obtain data to be written;
Wherein, step S201 is consistent with the step S101 in embodiment 1, is not repeated in the present embodiment.
Step S202:According to preset coding criterion, packages to the content of the data to be written, obtain data Packet;
Wherein, it is additionally provided with coding criterion in the electronic equipment, which is specifically as follows the coding rule of smart card Model.
Specifically, packaging to data to be written according to the coding criterion, can obtain meeting the smart card techniques Subsequently the data to be written of the completion code set packet are smoothly written in smart card with realizing for the coding of specification.
Step S203:Control, which opens to preset, reports switch;
Step S204:Based on the default state for reporting switch to be in opening, described in the data write-in to be written Smart card simultaneously preserves.
Wherein, step S203-204 is consistent with the step S102-103 in embodiment 1, is not repeated in the present embodiment.
To sum up, the method for a kind of intelligent card data write-in provided in this embodiment further includes:It is advised according to preset coding Model packages to the content of the data to be written, obtains data packet.Using this method, to data to be written according to intelligence The coding criterion of card packages, so that obtained data packet disclosure satisfy that the technical specification of smart card to be written.
The flow chart of the embodiment of the method 3 as shown in Figure 3 for being a kind of intelligent card data write-in provided by the invention, the party Method includes the following steps:
Step S301:Obtain data to be written;
Step S302:According to preset coding criterion, packages to the content of the data to be written, obtain data Packet;
Step S303:Control, which opens to preset, reports switch;
Wherein, step S301-303 is consistent with the step S201-203 in embodiment 2, is not repeated in the present embodiment.
Step S304:Based on the default state for reporting switch to be in opening, the first instruction is received, is based on described first The menu item of smart card is shown in the display screen of the instruction control electronic equipment;
Wherein, the smart card is in connection status with the electronic equipment;
Specifically, the connection type between the smart card and the electronic equipment can be to be wirelessly connected, i.e., adopt therebetween The write-in of data is carried out with communication.
Wherein, which may be used AT instructions, and the active form for reporting order specifically may be used, wherein This is active, and to report order refer to a kind of active mechanisms that SIM card has, i.e., SIM card can actively initiate one by ME The operation that (Mobile Equipment, mobile device) executes.
Such as by SET UP MENU orders, SIM card will provide a set of menu item and be added in the original menu systems of ME, Selection use is carried out for user.
Specifically, this first instruction control the electronic equipment display screen in show the smart card title and menu , include multiple Submenu Items in the menu item, each Submenu Items can correspond to a function.One typical SIM card Menu is as shown in table 1 below:
Table 1
Above-mentioned menu is a certain SIM card STK menus in practical application, and wherein each menu item all has accordingly Function, this function can be preset and be write, and after user enters STK menus, different Submenu Items can be selected to be operated. In this example, " Recharge " is meant " supplementing with money ", and user can carry out supplementing operation with money, and " Solde " is meant " promotion ", and user can obtain rush Information is sold, " Weather " is meant " weather ", and user can obtain weather condition, and " News " is meant " news ", and user can obtain news Content, " Input " mean " input " that user can input the content etc. in specified range, in practice the different menu of SIM card Item is clicked and corresponding preparatory function may be implemented.
Step S305:The second instruction is received, data pair to be written are selected in the menu item based on second instruction The Submenu Items answered;
Wherein, which may be used AT instructions, specifically may be used and active reports instruction, such as STKENVS.
Specifically, the user that second instruction is electronic equipment selects a Submenu Items in the menu item, the sub- dish Individual event is to want the Submenu Items of input data.
It then may be implemented when then selecting Submenu Items A for example, Submenu Items A is input authentication secret key corresponding content Input the related data of the authentication secret key.
Step S306:Based on the Submenu Items, the data packet is inputted, the data to be written are inputted into institute to realize State smart card;
Specifically, based on the Submenu Items selected in step S305, which is written in the smart card, can be adopted It is realized with AT instructions and inputs data packet, instructed for example, by using GETINPUT.
It should be noted that it is data packet to be integrally written in smart card, and be not that this, which writes the data packet in smart card, It is that after being opened in data packet, its corresponding position is written into data wherein included.
Corresponding position in the data that will be preserved write-in smart card can be illustrated how in subsequent embodiment, in the present embodiment not It is described in detail.
Step S307:The data packet is stored to the default storage region of the smart card.
Wherein, it is preset with storage region in smart card, this, which is written to the storage of the data packet in smart card, arrives the memory block In domain, to realize the process that the data in the data packet are subsequently carried out to corresponding position in write-in smart card.
To sum up, described to be reported out based on described preset in a kind of method of intelligent card data write-in provided in this embodiment It closes in the state opened, the smart card is written into the data to be written and is preserved, including:It is reported out based on described preset It closes in the state opened, receives the first instruction, controlled based on first instruction and shown in the display screen of the electronic equipment Show that the menu item of smart card, the smart card are in connection status with the electronic equipment;The second instruction is received, based on described the Two instructions select the corresponding Submenu Items of data to be written in the menu item;Based on the Submenu Items, the number is inputted According to packet, the smart card is written into the data to be written to realize;The data packet to the default of the smart card is stored to deposit Storage area domain.Display in electronic equipment is controlled by the way that the first instruction and the second instruction of proactive command is arranged using this method The menu item of smart card is shown in screen and carries out selecting corresponding Submenu Items, is completed and is write the data packet in smart card Process, without the bottom embedded code in operating system, process is more simple and practicable.
The flow chart of the embodiment of the method 4 as shown in Figure 4 for being a kind of intelligent card data write-in provided by the invention, the party Method includes the following steps:
Step S401:Obtain data to be written;
Step S402:Control, which opens to preset, reports switch;
Step S403:Based on the default state for reporting switch to be in opening, described in the data write-in to be written Smart card simultaneously preserves;
Wherein, step S401-403 is consistent with the step S101-103 in embodiment 1, is not repeated in the present embodiment.
Step S404:Receive operation information;
Can be that smart card operator has upgraded related content it should be noted that when writing the data packet in smart card, But the operational process of the smart card is normal, without synchronous upgrading, correspondingly, can intelligence be written the upgrading relevant data packet In capable of blocking, when required, reactivation or completion write data in smart card.
Wherein, which is the user's operation electronic equipment, so that the smart card quilt being connected with the electronic equipment Activation or the process for completing write-in.
Specifically, the operation information can be user realizes input by operating the input structure being arranged in electronic equipment , which may include mouse, keyboard, touch screen, stylus, Trackpad etc..
Step S405:The data to be written are read from storage region according to the operation information;
Wherein, the data to be written are preserved in the storage region.
Wherein, since the data to be written have been saved in the storage region of smart card, then at this point, from the storage region In read out the data to be written.
In specific implementation, after reading out the data to be written from storage region, it can will be stored in the storage region The data to be written delete, can also it is follow-up continue to store other data to be written when directly cover, it is not right in the application After reading out the data to be written in storage region, the processing of the data to be written is limited.
Step S406:The data to be written are written to the first position of smart card.
Wherein, which refers to the data to be written corresponding position within a smart card.
It should be noted that input data can be stored automatically in the Edit Buffer (caching) of smart card with variable format In, it is undefined in the present embodiment where to write data into smart card.
For example, when the data to be written are authentication secret key, then its corresponding position can be the storage of storage authentication secret key Region;When the data to be written are the order encapsulated by APDU, then its corresponding position can be the memory block of storage order Domain.
To sum up, the method for a kind of intelligent card data write-in provided in this embodiment further includes:Receive operation information;Foundation The operation information reads the data to be written from storage region, and the number to be written is preserved in the storage region According to;The data to be written are written to the first position of smart card.Using this method, data packet is written and stores smart card Afterwards, the data in data packet are written to by the corresponding position in smart card according to the operation information of triggering, write data into intelligence Opportunity in card is selected by users, and user's participation is higher.
The flow chart of the embodiment of the method 5 as shown in Figure 5 for being a kind of intelligent card data write-in provided by the invention, the party Method includes the following steps:
Step S501:Obtain data to be written;
Step S502:Control, which opens to preset, reports switch;
Step S503:Based on the default state for reporting switch to be in opening, described in the data write-in to be written Smart card simultaneously preserves;
Wherein, step S501-503 is consistent with the step S101-103 in embodiment 1, is not repeated in the present embodiment.
Step S504:Receive third instruction;
Step S505:It is instructed according to the third, control shows the number to be written in the display screen of electronic equipment According to.
Wherein, AT instructions may be used in third instruction, specifically may be used and active report instruction, such as DISPLAY.
Specifically, third instruction is particularly shown for controlling display of the input content in electronic equipment display screen curtain The content of the input, i.e. data in the write-in smart card.
To sum up, the method for a kind of intelligent card data write-in provided in this embodiment further includes:Receive third instruction;Foundation The third instruction, control show the data to be written in the display screen of electronic equipment.Using this method, can realize The data that input is shown in the display screen of electronic equipment, facilitate user to check.
It is corresponding with a kind of embodiment of the method for intelligent card data write-in that aforementioned present invention provides, it is also carried in the present invention A kind of device embodiment of intelligent card data write-in is supplied.
The structural schematic diagram of the device embodiment 1 as shown in FIG. 6 for being a kind of intelligent card data write-in provided by the invention, The device can be applied in electronic equipment, which is specifically as follows smart mobile phone, tablet computer, laptop etc. Equipment, or can be with GPRS (General Packet Radio Service, general packet radio service technology) mould The equipment etc. of block, the electronic equipment can be used as debugging acid or be written into data write-in as dedicated module module and be somebody's turn to do In smart card.
Wherein, which includes consisting of part:Acquisition module 601, control module 602 and the first writing module 603;
Wherein, acquisition module 601, for obtaining data to be written;
Wherein, the control module 602 reports switch for controlling to open to preset;
Wherein, first writing module 603 will be described for switching the state in opening based on default report Data to be written are written the smart card and preserve.
Preferably, further include:
Coding module, for according to preset coding criterion, packaging, being counted to the content of the data to be written According to packet.
Preferably, said write module, including:
Menu item unit, for based on the default state for reporting switch to be in opening, receiving the first instruction, being based on institute It states the first instruction and controls the menu item for showing smart card in the display screen of the electronic equipment, the smart card and the electronics Equipment is in connection status;
Selecting unit selects number to be written based on second instruction for receiving the second instruction in the menu item According to corresponding Submenu Items;
Input unit inputs the data packet, is write the data to be written with realizing for being based on the Submenu Items Enter the smart card;
Storage unit, for storing the data packet to the default storage region of the smart card.
Preferably, further include:
First receiving module, for receiving operation information;
Read module, for reading the data to be written, the storage from storage region according to the operation information The data to be written are preserved in region;
Second writing module, the first position for the data to be written to be written to smart card.
Further include preferably:
Second receiving module, for receiving third instruction;
Display module, for being instructed according to the third, control shows described to be written in the display screen of electronic equipment Enter data.
To sum up, the device of a kind of intelligent card data write-in provided in this embodiment, including:Acquisition module is waited for for obtaining Data are written;Control module reports switch for controlling to open to preset;First writing module is reported for being based on described preset The data to be written are written the smart card and preserved by switch in the state opened.Using the device, by that will report Switch control is in an open state, and realization is written into data and is written in the smart card and preserves, without the bottom in operating system Embedded code, process are more simple and practicable.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.The device provided for embodiment For, since it is corresponding with the method that embodiment provides, so description is fairly simple, related place is said referring to method part It is bright.
Above description to the embodiment provided, enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and principle provided in this article and features of novelty phase one The widest range caused.

Claims (10)

1. a kind of method of intelligent card data write-in, which is characterized in that it is applied to electronic equipment, the method includes:
Obtain data to be written;
Control, which opens to preset, reports switch;
Based on the default state for reporting switch to be in opening, the smart card is written into the data to be written and is preserved.
2. according to the method described in claim 1, it is characterized in that, it is described obtain data to be written after, further include:
According to preset coding criterion, packages to the content of the data to be written, obtain data packet.
3. according to the method described in claim 2, it is characterized in that, described based on the default shape for reporting switch to be in opening The data to be written are written the smart card and preserved by state, including:
Based on the default state for reporting switch to be in opening, the first instruction is received, is instructed based on described first described in controlling Show that the menu item of smart card, the smart card are in connection status with the electronic equipment in the display screen of electronic equipment;
The second instruction is received, the corresponding Submenu Items of data to be written are selected in the menu item based on second instruction;
Based on the Submenu Items, the data packet is inputted, the smart card is written into the data to be written to realize;
The data packet is stored to the default storage region of the smart card.
4. according to the method described in claim 1, it is characterized in that, described be written the smart card simultaneously by the data to be written After preservation, further include:
Receive operation information;
The data to be written are read from storage region according to the operation information, and described wait for is preserved in the storage region Data are written;
The data to be written are written to the first position of smart card.
5. according to the method described in claim 1, it is characterized in that, described be written the smart card simultaneously by the data to be written After preservation, further include:
Receive third instruction;
It is instructed according to the third, control shows the data to be written in the display screen of electronic equipment.
6. a kind of device of intelligent card data write-in, which is characterized in that including:
Acquisition module, for obtaining data to be written;
Control module reports switch for controlling to open to preset;
First writing module, for based on the default state for reporting switch to be in opening, the data to be written to be written The smart card simultaneously preserves.
7. device according to claim 6, which is characterized in that further include:
Coding module, for according to preset coding criterion, packaging to the content of the data to be written, obtaining data Packet.
8. device according to claim 7, which is characterized in that said write module includes:
Menu item unit, for based on it is described it is default report switch in the state opened, the first instruction is received, based on described the The menu item of smart card, the smart card and the electronic equipment are shown in the display screen of the one instruction control electronic equipment In connection status;
Selecting unit selects data pair to be written based on second instruction for receiving the second instruction in the menu item The Submenu Items answered;
Input unit inputs the data packet, institute is written in the data to be written to realize for being based on the Submenu Items State smart card;
Storage unit, for storing the data packet to the default storage region of the smart card.
9. device according to claim 6, which is characterized in that further include:
First receiving module, for receiving operation information;
Read module, for reading the data to be written, the storage region from storage region according to the operation information In preserve the data to be written;
Second writing module, the first position for the data to be written to be written to smart card.
10. device according to claim 6, which is characterized in that further include:
Second receiving module, for receiving third instruction;
Display module, for being instructed according to the third, control shows the number to be written in the display screen of electronic equipment According to.
CN201710221660.6A 2017-04-06 2017-04-06 Method and device for writing data into smart card Active CN108694340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710221660.6A CN108694340B (en) 2017-04-06 2017-04-06 Method and device for writing data into smart card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710221660.6A CN108694340B (en) 2017-04-06 2017-04-06 Method and device for writing data into smart card

Publications (2)

Publication Number Publication Date
CN108694340A true CN108694340A (en) 2018-10-23
CN108694340B CN108694340B (en) 2020-12-11

Family

ID=63842771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710221660.6A Active CN108694340B (en) 2017-04-06 2017-04-06 Method and device for writing data into smart card

Country Status (1)

Country Link
CN (1) CN108694340B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119561A (en) * 2007-08-28 2008-02-06 伟朋科技(南京)有限公司 Method for communication between GSM mobile communication terminal and SIM card
CN101692198A (en) * 2009-08-18 2010-04-07 厦门敏讯信息技术股份有限公司 Method for calling STK menu of SIM card
US20100273513A1 (en) * 2009-04-27 2010-10-28 Foxconn Communication Technology Corp. Mobile phone and method for sending messages using the mobile phone
CN102436380A (en) * 2011-11-15 2012-05-02 福源立信(北京)科技有限公司 STK menu handling system and processing method for menu
US20130169549A1 (en) * 2011-12-29 2013-07-04 Eric T. Seymour Devices, Methods, and Graphical User Interfaces for Providing Multitouch Inputs and Hardware-Based Features Using a Single Touch Input
CN104184892A (en) * 2014-08-12 2014-12-03 桂林微网半导体有限责任公司 Mobile terminal intelligent card based data transmission method and mobile terminal
CN105701427A (en) * 2016-02-18 2016-06-22 捷德(中国)信息科技有限公司 Method and device for writing data into intelligent card

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119561A (en) * 2007-08-28 2008-02-06 伟朋科技(南京)有限公司 Method for communication between GSM mobile communication terminal and SIM card
US20100273513A1 (en) * 2009-04-27 2010-10-28 Foxconn Communication Technology Corp. Mobile phone and method for sending messages using the mobile phone
CN101692198A (en) * 2009-08-18 2010-04-07 厦门敏讯信息技术股份有限公司 Method for calling STK menu of SIM card
CN102436380A (en) * 2011-11-15 2012-05-02 福源立信(北京)科技有限公司 STK menu handling system and processing method for menu
US20130169549A1 (en) * 2011-12-29 2013-07-04 Eric T. Seymour Devices, Methods, and Graphical User Interfaces for Providing Multitouch Inputs and Hardware-Based Features Using a Single Touch Input
CN104184892A (en) * 2014-08-12 2014-12-03 桂林微网半导体有限责任公司 Mobile terminal intelligent card based data transmission method and mobile terminal
CN105701427A (en) * 2016-02-18 2016-06-22 捷德(中国)信息科技有限公司 Method and device for writing data into intelligent card

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SIMCOM: "《SIM800系列_STK_应用文档_V1.00》", 26 August 2015 *

Also Published As

Publication number Publication date
CN108694340B (en) 2020-12-11

Similar Documents

Publication Publication Date Title
JP6035443B2 (en) Storage medium
US8494486B2 (en) System and method for securely managing data stored on mobile devices, such as enterprise mobility data
US20080020755A1 (en) Method and system for international roaming using virtual sim card
CN101867650A (en) Method and device for protecting user behavior at operating terminal
JP2007523571A (en) User interface methods for customer self-support on mobile devices, etc.
CN103186369A (en) Method and device for distributing virtual keys on terminal
CN106933536B (en) A kind of application load operating method and the smart card of smart card
JP2016127598A (en) Communication control apparatus, authentication device, central control apparatus and communication system
CN103176705B (en) A kind of mobile terminal and method for previewing thereof
CN104915602B (en) A kind of PIN code guard method under Android platform
JPH11355861A (en) Method for applying parameters processing to display of radio communication mobile set in cooperation with subscriber identification module
CN104346024A (en) Method and device for selecting shortcuts
WO2013098117A1 (en) A method to manage contactless communication in a user device
CN107193662A (en) A kind of information synchronization method and mobile terminal based on dual system
CN103634461B (en) Mobile terminal and its control method
KR100629036B1 (en) Device control system
US20140141819A1 (en) Mobile phone with inbuilt protection for user information and method thereof
CN104267894A (en) Mobile terminal split screen control method and system
CN108694340A (en) A kind of method and device of intelligent card data write-in
CN109710278A (en) A kind of method, apparatus and terminal device unloading application program
CN1951094B (en) User interface methods, such as for customer self-support on a mobile device
CN108763976A (en) Method for information display, mobile terminal based on double screen and storage medium
US20140051403A1 (en) Application for a mobile phone
WO2012053194A1 (en) Subscriber identity module and terminal device
CN105120455B (en) A kind of method and system of voice communication encrypting and decrypting

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100089 Floor 12 1506, Building A 1, 66 Zhongguancun East Road, Haidian District, Beijing

Applicant after: Beijing Huahong Integrated Circuit Design Co., Ltd.

Address before: 100015 Beijing city Chaoyang District Gaojiayuan No.

Applicant before: BEIJING HUAHONG INTEGRATED CIRCUIT DESIGN Co.,Ltd.

GR01 Patent grant
GR01 Patent grant