CN105701427B - A kind of method and device of smart card write-in data - Google Patents

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

Info

Publication number
CN105701427B
CN105701427B CN201610089743.XA CN201610089743A CN105701427B CN 105701427 B CN105701427 B CN 105701427B CN 201610089743 A CN201610089743 A CN 201610089743A CN 105701427 B CN105701427 B CN 105701427B
Authority
CN
China
Prior art keywords
smart card
data
telephone directory
instruction type
command packet
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.)
Active
Application number
CN201610089743.XA
Other languages
Chinese (zh)
Other versions
CN105701427A (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.)
Jiede China Technology Co ltd
Jiede Jiangxi Technology Co ltd
Original Assignee
Giesecke and Devrient China Information Technologies 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 Giesecke and Devrient China Information Technologies Co Ltd filed Critical Giesecke and Devrient China Information Technologies Co Ltd
Priority to CN201610089743.XA priority Critical patent/CN105701427B/en
Publication of CN105701427A publication Critical patent/CN105701427A/en
Priority to PCT/EP2017/000221 priority patent/WO2017140426A1/en
Application granted granted Critical
Publication of CN105701427B publication Critical patent/CN105701427B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0661Format or protocol conversion arrangements
    • 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides a kind of method and devices of smart card write-in data, are related to intelligent card data processing technology field.Method includes: to obtain downlink data to be written;Order group packet is carried out according to the downlink data to be written, generates command packet;The command packet includes non-generic telephone directory mark and instruction type;The command packet is written in the telephone directory of smart card by smart card phone book function channel.The present invention can be write data into the telephone directory of smart card by smart card phone book function channel, so that the device of smart card write-in data writes data into the corresponding position of smart card according to instruction type.The present invention is not necessarily to carry out bottom code modification in terminal side, and data transfer mode is easy, avoids mode relatively complicated complexity of the present terminal to smart card write-in data, and transmit the problems such as data are unstable.

Description

A kind of method and device of smart card write-in data
Technical field
The present invention relates to intelligent card data processing technology field more particularly to the methods and dress of a kind of smart card write-in data It sets.
Background technique
Subscriber identification card, also referred to as smart card are that necessity that the intelligent terminals such as mobile phone identify for client identity is set It sets.Smart card can store the information of digital mobile phone client, the key of encryption and the phone of user on computer chip The contents such as book are identified for global system for mobile communications network client identity, and to client converse when voice messaging into Row encryption.
Currently, in order to preferably be managed control to smart card, the terminal with smart card generally can be to smart card Among data are written.There are OTA mode and Open Mobile API mode to the mode of smart card write-in data at present.Wherein, I.e. aerial downloading (Over-The-Air Technology) technology of OTA mode, number is written into smart card by aerial channels According to.However, OTA mode is more unstable when transmitting data, be easy to appear packet loss, it is out-of-order the problems such as, be easy to cause to intelligence The problem of data failure is written in card.Open Mobile API mode then needs to be embedded in one in the bottom of the operating system of terminal Section code.Usual operating system falls the operation shield to smart card, and is equivalent to and is operating in this section of code of bottom insertion A tunnel is established between system and smart card, terminal can be used as ordinary card reader, to write to smart card Enter arbitrary data.However Open Mobile API mode must be in operating system bottom embedded code, then together with source code Compiling, the relatively complicated complexity of process, the terminals such as most mobile phones do not support such mode.
As it can be seen that mode relatively complicated complexity of the present terminal to smart card write-in data, and transmit that data are unstable etc. to ask Topic.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of smart card write-in data, to solve present terminal to intelligence The relatively complicated complexity of mode of card write-in data, and transmit the unstable problem of data.
In order to achieve the above objectives, the present invention adopts the following technical scheme:
A kind of method of smart card write-in data, comprising:
Obtain downlink data to be written;
Order group packet is carried out according to the downlink data to be written, generates command packet;The command packet packet Include non-generic telephone directory mark and instruction type;
The command packet is written in the telephone directory of smart card by smart card phone book function channel, so that Data in the command packet are written to the smart card according to described instruction type by the device of smart card write-in data Corresponding position.
Further, after obtaining downlink data to be written, further includes:
The downlink data to be written is encrypted, encrypted downlink data is formed.
Specifically, carrying out order group packet according to the downlink data to be written, command packet is generated, comprising:
The encrypted downlink data is subjected to order group packet, generates the command packet.
A kind of method of smart card write-in data, comprising:
Receiving terminal apparatus passes through the command packet of smart card phone book function channel transfer;
Whether judge in the command packet with non-generic telephone directory mark and instruction type;
If with non-generic telephone directory mark and instruction type in the command packet, according to described instruction type by institute State the corresponding position that the data in command packet are written to the smart card.
Specifically, the receiving terminal apparatus passes through the command packet of smart card phone book function channel transfer, comprising:
Monitor the update event of the telephone directory of the smart card;
If there are update events for the telephone directory of the smart card, the corresponding more newer command of the update event is intercepted;
It is described whether to judge in the command packet with non-generic telephone directory mark and instruction type, comprising:
Judge whether there is the order data with non-generic telephone directory mark and described instruction type in the more newer command Packet.
Further, the method for smart card write-in data, further includes:
If having the command packet with non-generic telephone directory mark and described instruction type in the more newer command, to institute It states command packet to be verified and be decrypted, forms ciphertext data.
In addition, pair that the data in the command packet are written to the smart card according to described instruction type Answer position, comprising:
The ciphertext data is written to the corresponding position of the smart card according to described instruction type.
Further, the method for smart card write-in data, further includes:
If the corresponding position that ciphertext data is written to smart card is completed, controlling terminal equipment is restarted, or described in control Terminal device issues equipment and restarts prompt.
A kind of terminal device, comprising:
Acquiring unit, for obtaining downlink data to be written;
Order group packet unit generates command packet for carrying out order group packet according to the downlink data to be written; The command packet includes non-generic telephone directory mark and instruction type;
Writing unit, for the command packet to be written to the electricity of smart card by smart card phone book function channel It talks about in book.
Further, the terminal device, further includes:
Encryption unit forms encrypted downlink data for the downlink data to be written to be encrypted.
In addition, the order group packet unit, is specifically used for:
The encrypted downlink data is subjected to order group packet, generates the command packet.
A kind of device of smart card write-in data, comprising:
Receiving unit passes through the command packet of smart card phone book function channel transfer for receiving terminal apparatus;
Judging unit, for whether judging in the command packet with non-generic telephone directory mark and instruction type;
Writing unit, when for having non-generic telephone directory mark and instruction type in the command packet, according to Data in the command packet are written to the corresponding position of the smart card by described instruction type.
Specifically, the receiving unit, comprising:
Monitoring module, the update event of the telephone directory for monitoring the smart card;
Blocking module, it is corresponding there are the update event when update event, is intercepted for the telephone directory in the smart card More newer command;
The judging unit, is specifically used for:
Judge whether there is the order data with non-generic telephone directory mark and described instruction type in the more newer command Packet.
Further, the device of smart card write-in data, further includes:
Decryption unit, for there is the life with non-generic telephone directory mark and described instruction type in the more newer command Data packet is enabled, the command packet is verified and is decrypted, forms ciphertext data.
In addition, said write unit, is specifically used for:
The ciphertext data is written to the corresponding position of the smart card according to described instruction type.
Further, the device of smart card write-in data, further includes:
Control unit is restarted, for when the corresponding position that ciphertext data is written to smart card is completed, controlling terminal to be set It is standby to restart, or control the terminal device sending equipment and restart prompt.
A kind of method and device of smart card write-in data provided in an embodiment of the present invention, can pass through smart card phone book Function channel writes data into the telephone directory of smart card, so that the device of smart card write-in data is according to instruction type Write data into the corresponding position of smart card.The present invention is not necessarily to carry out bottom code modification, and transmission side data in terminal side Formula is easy, avoids mode relatively complicated complexity of the present terminal to smart card write-in data, and transmits that data are unstable etc. to ask Topic.
Detailed description of the invention
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 technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is the method flow diagram one that data are written in a kind of smart card provided in an embodiment of the present invention;
Fig. 2 is the method flow diagram two that data are written in a kind of smart card provided in an embodiment of the present invention;
Fig. 3 is the method flow diagram three that data are written in a kind of smart card provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram one of terminal device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram one for the device that data are written in a kind of smart card provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram two for the device that data are written in a kind of smart card provided in an embodiment of the present invention.
Specific embodiment
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 description, 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.
As shown in Figure 1, the embodiment of the present invention provides a kind of method of smart card write-in data, explained from terminal equipment side It states, this method comprises:
Step 101 obtains downlink data to be written.
Step 102 carries out order group packet according to downlink data to be written, generates command packet;Command packet packet Include non-generic telephone directory mark and instruction type.
Command packet is written in the telephone directory of smart card by step 103 by smart card phone book function channel, with So that the data in command packet are written to the correspondence position of smart card according to instruction type by the device of smart card write-in data It sets.
It is worth noting that the terminal device in the embodiment of the present invention can be the mobile phone for being equipped with smart card, intelligent hand Ring, smartwatch, vehicular communication equipment etc. have the terminal of wireless communication ability, which is provided with smart card phone book Function channel has read-write phonebook function.
As shown in Fig. 2, the embodiment of the present invention provides a kind of method of smart card write-in data, from smart card write-in data Device side is illustrated, and method includes:
Step 201, receiving terminal apparatus pass through the command packet of smart card phone book function channel transfer.
Whether step 202 judges in command packet with non-generic telephone directory mark and instruction type.
If will be ordered with non-generic telephone directory mark and instruction type according to instruction type in step 203, command packet The data in data packet are enabled to be written to the corresponding position of smart card.
A kind of method of smart card write-in data provided in an embodiment of the present invention, can be logical by smart card phone book function Road writes data into the telephone directory of smart card, so that the device of smart card write-in data is according to instruction type by data It is written to the corresponding position of smart card.The present invention is not necessarily to carry out bottom code modification in terminal side, and data transfer mode is easy, Mode relatively complicated complexity of the present terminal to smart card write-in data is avoided, and transmits the problems such as data are unstable.
In order to make those skilled in the art be better understood by the present invention, a more detailed embodiment is set forth below, As shown in figure 3, a kind of method of smart card write-in data provided in an embodiment of the present invention, comprising:
Step 301, terminal device obtain downlink data to be written, and the downlink data being written into is encrypted, Form encrypted downlink data.
Under normal circumstances, the core authentication parameter of smart card is international mobile subscriber identity (International Mobile Subscriber Identification Number, abbreviation IMSI), authentication key (Key identifier, letter Claim KI) and 3G network in key OPC.Herein, it by taking the write-in of this three item data of IMSI, KI, OPC as an example, is illustrated.
Downlink data herein can be such as following content:
KeyIndex=3
IMSI=460010879809542
KI=E685B0DACF0D34E84157162592736DF9
OPC=290E6F73CED32F9ECDA9F2460E22AF1D
Later, the process which converted and encrypted are as follows:
Plus encryption key serial number before IMSI: 3460010879809542;KI and OPC are combined, formed:
E685B0DACF0D34E84157162592736DF9290E6F73CED32F9ECDA9F246 0E22AF1D is used The corresponding encryption key of KeyIndex encrypts KI and OPC, obtains:
A051ED7A6D54F71F81ADC770E78D14970022445FCA0823333F596B4FA83279C0。
Finally obtained encrypted downlink data are as follows:
3460010879809542
A051ED7A6D54F71F81ADC770E78D14970022445FCA0823333F596B4FA83279C0。
Encrypted downlink data is carried out order group packet by step 302, terminal device, generates command packet.
Wherein, command packet includes non-generic telephone directory mark and instruction type.Herein, which may be used also To include random number, check key serial number etc., but it is not only limited to this.
For example, the command stream in obtained command packet can be such that
Instr02=*1#111302162#954*777 | 34600108798095
Instr03=*1#11130315427892505 | 42A051ED7A6D54
Instr04=*1#11130412567045371 | F71F81ADC770E7
Instr05=*1#11130517267255452 | 8D14970022445F
Instr06=*1#11130618323#46*5* | CA0823333F596B
Instr07=*1#1113071970809*434 | 4FA83279C0
Command packet is written to the electricity of smart card by step 303, terminal device by smart card phone book function channel It talks about in book.
The update event of the telephone directory of the assembly monitor smart card of step 304, smart card write-in data.
If the telephone directory of step 305, smart card, there are update event, the device that data are written in smart card intercepts update event Corresponding more newer command.
Whether the device that data are written in step 306, smart card judges to have in more newer command identifies with non-generic telephone directory With the command packet of instruction type.
If there is the command packet with non-generic telephone directory mark and instruction type in step 307, more newer command, intelligence The device of card write-in data is verified and is decrypted to command packet, and ciphertext data is formed.
Herein, non-generic telephone directory mark indicates that the data of the command packet in the more newer command are non-generic telephone directory Data.And if present in more newer command being the command packet with plain old telephone book mark, then it represents that the command packet In data be plain old telephone book data, directly write in the telephone directory of smart card.
It is decrypted herein, the ciphertext data of formation can be with are as follows:
IMSI=460010879809542
KI=E685B0DACF0D34E84157162592736DF9
OPC=290E6F73CED32F9ECDA9F2460E22AF1D
Ciphertext data is written to the correspondence of smart card according to instruction type by the device that data are written in step 308, smart card Position.
Instruction type expression herein carries out smart card to write card, and IMSI, KI and OPC are written to the correspondence of smart card Position.
If step 309, the corresponding position that ciphertext data is written to smart card are completed, the device control of data is written in smart card Restarting terminal device processed or controlling terminal equipment issue equipment and restart prompt.
A kind of method of smart card write-in data provided in an embodiment of the present invention, can be logical by smart card phone book function Road writes data into the telephone directory of smart card, so that the device of smart card write-in data is according to instruction type by data It is written to the corresponding position of smart card.The present invention is not necessarily to carry out bottom code modification in terminal side, and data transfer mode is easy, Mode relatively complicated complexity of the present terminal to smart card write-in data is avoided, and transmits the problems such as data are unstable.
Corresponding to above-mentioned Fig. 1 and embodiment of the method shown in Fig. 3, as shown in figure 4, the embodiment of the present invention provides a kind of terminal Equipment, comprising:
Acquiring unit 41, available downlink data to be written.
Order group packet unit 42 can carry out order group packet according to downlink data to be written, generate command packet.Life Enabling data packet includes non-generic telephone directory mark and instruction type.
Command packet can be written to the phone of smart card by writing unit 43 by smart card phone book function channel In book.
Further, as shown in figure 4, the terminal device, can also include:
Encryption unit 44, the downlink data that can be written into are encrypted, and form encrypted downlink data.
In addition, the order group packet unit 42, specifically can carry out order group packet for encrypted downlink data, generate order Data packet.
It is worth noting that terminal device provided in an embodiment of the present invention may refer to above-mentioned Fig. 1 and method shown in Fig. 3 Embodiment, details are not described herein again.
A kind of terminal device provided in an embodiment of the present invention can be write data by smart card phone book function channel Into the telephone directory of smart card, so that the device of smart card write-in data writes data into smart card according to instruction type Corresponding position.The present invention is not necessarily to carry out bottom code modification in terminal side, and data transfer mode is easy, avoids current end The relatively complicated complexity of mode to smart card write-in data is held, and transmits the problems such as data are unstable.
Corresponding to above-mentioned Fig. 2 and embodiment of the method shown in Fig. 3, as shown in figure 5, the embodiment of the present invention provides a kind of intelligence The device of card write-in data, comprising:
Receiving unit 51 can receive the command packet that terminal device passes through smart card phone book function channel transfer.
Judging unit 52, it can be determined that whether with non-generic telephone directory mark and instruction type in command packet.
Writing unit 53, when can have non-generic telephone directory mark and instruction type in command packet, according to finger Enable type that the data in command packet are written to the corresponding position of smart card.
Further, as shown in fig. 6, the receiving unit 51, comprising:
Monitoring module 511, can be with the update event of the telephone directory of monitoring intelligent card.
Blocking module 512, can smart card telephone directory there are when update event, intercept the corresponding update of update event Order.
In addition, the judging unit 52, specifically may determine that in more newer command whether have with non-generic telephone directory mark and The command packet of instruction type.
Further, as shown in fig. 6, the device of smart card write-in data, can also include:
Decryption unit 54 can have the order data with non-generic telephone directory mark and instruction type in more newer command Packet, verifies command packet and is decrypted, and ciphertext data is formed.
It, specifically can be in addition, the writing unit 53:
Ciphertext data is written to the corresponding position of smart card according to instruction type.
Further, as shown in fig. 6, the device of smart card write-in data, can also include:
Restart control unit 55, can be when the corresponding position that ciphertext data is written to smart card be completed, controlling terminal Equipment is restarted or controlling terminal equipment issues equipment and restarts prompt.
It is worth noting that the device of smart card provided in an embodiment of the present invention write-in data may refer to above-mentioned Fig. 2 and Embodiment of the method shown in Fig. 3, details are not described herein again.
A kind of device of smart card write-in data provided in an embodiment of the present invention, can be logical by smart card phone book function Road writes data into the telephone directory of smart card, so that the device of smart card write-in data is according to instruction type by data It is written to the corresponding position of smart card.The present invention is not necessarily to carry out bottom code modification in terminal side, and data transfer mode is easy, Mode relatively complicated complexity of the present terminal to smart card write-in data is avoided, and transmits the problems such as data are unstable.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Specific embodiment is applied in the present invention, and principle and implementation of the present invention are described, above embodiments Explanation be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, According to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion in this specification Appearance should not be construed as limiting the invention.

Claims (8)

1. a kind of method of smart card write-in data characterized by comprising
Receiving terminal apparatus passes through the command packet of smart card phone book function channel transfer;
Whether judge in the command packet with non-generic telephone directory mark and instruction type;
If with non-generic telephone directory mark and instruction type in the command packet, according to described instruction type by the life The data in data packet are enabled to be written to the corresponding position of the smart card;
The receiving terminal apparatus passes through the command packet of smart card phone book function channel transfer, comprising:
Monitor the update event of the telephone directory of the smart card;
If there are update events for the telephone directory of the smart card, the corresponding more newer command of the update event is intercepted;
It is described whether to judge in the command packet with non-generic telephone directory mark and instruction type, comprising:
Judge whether there is the command packet with non-generic telephone directory mark and described instruction type in the more newer command.
2. the method for smart card write-in data according to claim 1, which is characterized in that further include:
If having the command packet with non-generic telephone directory mark and described instruction type in the more newer command, to the life It enables data packet be verified and be decrypted, forms ciphertext data.
3. the method for smart card write-in data according to claim 2, which is characterized in that described according to described instruction type Data in the command packet are written to the corresponding position of the smart card, comprising:
The ciphertext data is written to the corresponding position of the smart card according to described instruction type.
4. the method for smart card write-in data according to claim 3, which is characterized in that further include:
If the corresponding position that ciphertext data is written to smart card is completed, controlling terminal equipment is restarted, or the control terminal Equipment issues equipment and restarts prompt.
5. a kind of device of smart card write-in data characterized by comprising
Receiving unit passes through the command packet of smart card phone book function channel transfer for receiving terminal apparatus;
Judging unit, for whether judging in the command packet with non-generic telephone directory mark and instruction type;
Writing unit, when for having non-generic telephone directory mark and instruction type in the command packet, according to described Data in the command packet are written to the corresponding position of the smart card by instruction type;
The receiving unit, comprising:
Monitoring module, the update event of the telephone directory for monitoring the smart card;
It is corresponding more to intercept the update event for the telephone directory in the smart card there are when update event for blocking module Newer command;
The judging unit, is specifically used for:
Judge whether there is the command packet with non-generic telephone directory mark and described instruction type in the more newer command.
6. the device of smart card write-in data according to claim 5, which is characterized in that further include:
Decryption unit, for there is the command number with non-generic telephone directory mark and described instruction type in the more newer command According to packet, the command packet is verified and is decrypted, forms ciphertext data.
7. the device of smart card write-in data according to claim 6, which is characterized in that said write unit, it is specific to use In:
The ciphertext data is written to the corresponding position of the smart card according to described instruction type.
8. the device of smart card write-in data according to claim 7, which is characterized in that further include:
Restart control unit, for ciphertext data is written to smart card corresponding position complete when, controlling terminal equipment weight It opens, or the control terminal device issues equipment and restarts prompt.
CN201610089743.XA 2016-02-18 2016-02-18 A kind of method and device of smart card write-in data Active CN105701427B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610089743.XA CN105701427B (en) 2016-02-18 2016-02-18 A kind of method and device of smart card write-in data
PCT/EP2017/000221 WO2017140426A1 (en) 2016-02-18 2017-02-16 Method and device for writing data into intelligent card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610089743.XA CN105701427B (en) 2016-02-18 2016-02-18 A kind of method and device of smart card write-in data

Publications (2)

Publication Number Publication Date
CN105701427A CN105701427A (en) 2016-06-22
CN105701427B true CN105701427B (en) 2019-07-30

Family

ID=56222422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610089743.XA Active CN105701427B (en) 2016-02-18 2016-02-18 A kind of method and device of smart card write-in data

Country Status (2)

Country Link
CN (1) CN105701427B (en)
WO (1) WO2017140426A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325934A (en) * 2016-08-24 2017-01-11 北京小米移动软件有限公司 System upgrading method and device
CN106850557B (en) * 2016-12-22 2020-05-15 捷开通讯(深圳)有限公司 Method, system and terminal for writing and reading contact information of telephone card
CN108632806A (en) * 2017-03-20 2018-10-09 北京华虹集成电路设计有限责任公司 A kind of intelligent card data wiring method and device
CN108694340B (en) * 2017-04-06 2020-12-11 北京华弘集成电路设计有限责任公司 Method and device for writing data into smart card
CN107071762A (en) * 2017-06-16 2017-08-18 苏州蜗牛数字科技股份有限公司 Intelligent terminal scene card writing method and system
CN107995200B (en) * 2017-12-07 2021-03-30 深圳市优友互联有限公司 Certificate issuing method, identity authentication method and system based on smart card
CN108040335A (en) * 2017-12-07 2018-05-15 深圳市优友互联有限公司 A kind of Internet of Things communication number management method and system based on smart card

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557585A (en) * 2009-05-27 2009-10-14 大唐微电子技术有限公司 Intelligent card
CN101572883A (en) * 2009-05-22 2009-11-04 中国移动通信集团江苏有限公司 Method and system for registering and/or writing data to subscriber identity module
CN102711101A (en) * 2012-04-28 2012-10-03 大唐微电子技术有限公司 Method and system for realizing distribution of smart cards

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3783608B2 (en) * 2001-10-31 2006-06-07 ソニー株式会社 COMMUNICATION METHOD, COMMUNICATION SYSTEM, DATA PROCESSING DEVICE, SERVER DEVICE, AND PROGRAM
EP2461613A1 (en) * 2010-12-06 2012-06-06 Gemalto SA Methods and system for handling UICC data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572883A (en) * 2009-05-22 2009-11-04 中国移动通信集团江苏有限公司 Method and system for registering and/or writing data to subscriber identity module
CN101557585A (en) * 2009-05-27 2009-10-14 大唐微电子技术有限公司 Intelligent card
CN102711101A (en) * 2012-04-28 2012-10-03 大唐微电子技术有限公司 Method and system for realizing distribution of smart cards

Also Published As

Publication number Publication date
WO2017140426A1 (en) 2017-08-24
CN105701427A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN105701427B (en) A kind of method and device of smart card write-in data
US10936719B2 (en) Preserving trust data during operating system updates of a secure element of an electronic device
US10223096B2 (en) Logging operating system updates of a secure element of an electronic device
EP2521034B1 (en) Managing method, device and terminal for application program
CN103460186B (en) Method for updating a data storage medium
CN109474650B (en) Configuration file downloading method and terminal
CN106375465B (en) A kind of data migration method and server
CN106792637B (en) International mobile equipment identification number wiring method, device and mobile terminal
CN108352989A (en) Electronic equipment and method for its identification information of certification
CN114071459A (en) RRC (radio resource control) connection recovery method and device
CN103455349A (en) Method and device for accessing intelligent card by application program
CN109831775B (en) Processor, baseband chip and SIM card information transmission method
CN105827669A (en) Virtual storage method, virtual storage equipment and virtual storage system for terminals
CN104507130A (en) SIM (Subscriber Identity Module) card and system supporting mobile communication network switching
CN106020868B (en) A kind of smart card firmware update and system
CN105722061B (en) Business management method, business management system and the terminal of multiple operating system
CN112883388A (en) File encryption method and device, storage medium and electronic device
US9867045B2 (en) Method of managing communication between a secure element and a host device
CN104461616A (en) Updating method and system of software of chip card
CN108108173A (en) A kind of information processing method and device
CN104284333A (en) Mobile terminal personal data encryption backing-up, recovering and synchronizing controlling method and device
CN101841783A (en) Short message safety communication method, system and device based on STK (SIM Tool Kit) business
CN103546873B (en) Services through one key pushed processing method and processing device
CN102547661B (en) Method and device for establishing communication between Android system and telecommunications smart card
CN104301531B (en) Method for controlling mobile terminal and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 330096 No. 399 torch street, hi tech Development Zone, Jiangxi, Nanchang

Patentee after: Jiede (China) Technology Co.,Ltd.

Address before: 330096 No. 399 torch street, hi tech Development Zone, Jiangxi, Nanchang

Patentee before: Jiede (China) Information Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230625

Address after: 330096 Room 01, Floor 1, Complex Building, No. 399, Torch Street, Nanchang High tech Industrial Development Zone, Nanchang City, Jiangxi Province

Patentee after: Jiede (Jiangxi) Technology Co.,Ltd.

Address before: 330096 No. 399 torch street, hi tech Development Zone, Jiangxi, Nanchang

Patentee before: Jiede (China) Technology Co.,Ltd.