CN105553607A - Effective data transmission of wireless SIM card transmission protocol - Google Patents

Effective data transmission of wireless SIM card transmission protocol Download PDF

Info

Publication number
CN105553607A
CN105553607A CN201510881877.0A CN201510881877A CN105553607A CN 105553607 A CN105553607 A CN 105553607A CN 201510881877 A CN201510881877 A CN 201510881877A CN 105553607 A CN105553607 A CN 105553607A
Authority
CN
China
Prior art keywords
sim card
data
communication terminal
equipment
terminal interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510881877.0A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201510881877.0A priority Critical patent/CN105553607A/en
Publication of CN105553607A publication Critical patent/CN105553607A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • H04L1/0007Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length
    • H04L1/0008Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length by supplementing frame payload, e.g. with padding bits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1806Go-back-N protocols
    • 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/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/04Interfaces between hierarchically different network devices
    • H04W92/08Interfaces between hierarchically different network devices between user and terminal device

Abstract

The invention belongs to the field of mobile communication terminals. The invention discloses a format and method suitable for wireless data transmission between a mobile communication terminal and a SIM card so that command session data is transparently and effectively transmitted through wireless transmission interfaces between the mobile communication terminal and the SIM card. Through wireless transmission frame package of a command session data package, error detection of received data, automatically repeated transmission of received error data packages, random frequency hopping on wireless transmission signal channel frequency, using conflict detection of signal channels, and data buffering of command session interactions, etc., highly efficient wireless data transmission is realized between a cell phone and a SIM card; the method has no influence on present data interchange between a cell phone and a SIM card. According to the invention, a SIM card application function menu is established in the cell phone through a SIM card application toolbox so that the cell phone is operated actively by a user to access a network.

Description

A kind of valid data transmission of wireless SIM card host-host protocol
Technical field
The invention belongs to mobile communication terminal field.Specifically, the present invention relates to a kind of form and the method that are applicable to Wireless Data Transmission between mobile communication terminal and SIM card, making can transparent and transmission command session data effectively by wireless transmission interface between mobile communication terminal and SIM card.
Background technology
Mobile phone particularly smart mobile phone is more and more important in the life of people, and smart mobile phone has become a necessary equipment in people's daily life, and people complete various Mobile solution by the smart mobile phone carried with.Except for except basic voice call and word message, traditional internet, applications is as viewing video, and browse photo, browsing page etc. also can use on smart mobile phone.Special in various different application function, smart mobile phone has various different independently mobile applications.Widely using of these application makes the internet, applications more and more completed on computers all transfer on smart mobile phone, for user provides more fully Mobile solution service.
(some other subscriber terminal equipment accessing cellular mobile communication networks is comprised as mobile fixed-line in order to enable smart mobile phone, panel computer, notebook computer etc., below all mobile phone is called for short) can mobile Internet be connected, mobile phone needs the identify label SIM card of a mobile subscriber (to comprise the SIM card of gsm system, the UIM card of cdma system, and 2G, the usim card that 3G and 4G mobile communication system can use, is all called for short SIM card below) carry out the cellular mobile network of access mobile communication operator.In the mobile phone of existing market, have a SIM card deck, after SIM card inserts the draw-in groove of deck, the contact of deck just establishes circuit with SIM card and is connected, and the radio base band module of mobile phone just can data in reading SIM card, accessing mobile communication network.Interface between SIM card and mobile phone is the smartcard-Terminal equipment interface of standard, meets the host-host protocol of ISO-7816 definition and the telecommunications application protocol of the definition such as ETSITS102211,3GPPTS11.11.Such standard interface makes any one SIM card can insert the use of any one mobile phone, facilitates user to the selection using mobile phone.But use in the process of mobile phone user, SIM card needs to be fixed on interior of mobile phone always, and by the exclusive use of a mobile phone.
In order to mobile phone uses SIM card more easily, in Chinese invention application 201410452312.6 " a kind of separate type SIM card deck equipment of intelligence and communication means ", disclose a kind of intermediate equipment between mobile phone and SIM card, i.e. intelligent SIM card deck equipment.Use intelligent SIM card deck equipment, the communication between mobile phone and SIM card can be connected by the contact circuit of mobile phone SIM deck, but is indirectly completed by intelligent SIM card deck device forwards communication.That is, intelligent SIM card deck equipment can be the transmission trunking of the exchanges data between mobile phone and SIM card, and the forwarding transmission trunking of these data can be radio communication.In Chinese invention application 201410495484.1 " wave point between a kind of communication terminal device and SIM card and functional realiey ", further disclose a kind of wireless transmission protocol, make the transmission error of this data retransmission and propagation time delay all within the permissible range of SIM card transport protocol standard.Like this, In the view of SIM card and network both sides, the data retransmission communication process in the middle of this is exactly transparent, and they all can not be awared it and exist.On existing mobile subscriber identifier authentication process and network access security controlling mechanism without any impact, taken into account fail safe and the convenience of wireless transmission interface between mobile phone and SIM card of existing wireless communications network well.
In Chinese invention application 201410735422.3 " terminal interface device of a kind of communication terminal and SIM card Wireless Data Transmission ", disclose a kind of communication terminal interface equipment, this interface equipment has shape and the size of the SIM of standard, directly can insert the SIM card draw-in groove of existing mobile phone.On the one hand, there is between communication terminal interface equipment and mobile phone the direct circuit connection communication that contact connects, and on the other hand, it also has wireless communication interface, can set up wireless communication link with intelligent SIM card deck equipment.Like this, just can pass through communication terminal interface equipment between mobile phone and SIM card, intelligent SIM card deck and the wireless communication link between them couple together, and carry out data communication.
Main purpose of the present invention is the form and the method that disclose a kind of Wireless Data Transmission, for carrying out valid wireless transfer of data between communication terminal interface equipment and intelligent SIM card deck equipment.By Wireless Data Transmission of the present invention, contact circuit between communication terminal interface equipment and mobile phone connects, and the contact circuit between intelligent SIM card deck equipment and SIM card connects, just can transmit all order session datas between them between mobile phone and SIM card pellucidly, just look like mobile phone with SIM card be that direct circuit is connected communication.Data transmission format of the present invention comprises and encapsulating the frame for wireless transmission of order session data bag, error detection, to receive mistake packet automatically repeat transmission, random frequency hopping in wireless transmission channel frequency, the use collision detection of channel, and the data buffering of order session interaction etc., make can carry out efficient exchanges data between mobile phone and SIM card.When on the SIM card interface of existing mobile phone without any when affecting, mobile phone is to the reading of SIM card data and write convenient and free.
Summary of the invention
Coffret between mobile phone and SIM card is the smartcard-Terminal equipment interface of standard, namely meets the interface of ISO-7816 smart card host-host protocol.In Wireless Data Transmission between mobile phone and SIM card, except being except wave point between communication terminal interface equipment and intelligent SIM card deck equipment, at the two ends of radio communication, be namely all the interface of the ISO-7816 smart card host-host protocol of standard between communication terminal interface equipment and mobile phone and between intelligent SIM card deck equipment and SIM card.That is, relative to mobile phone, communication terminal interface equipment is exactly a SIM card; And relative to SIM card, intelligent SIM card deck equipment is exactly a mobile phone.One between mobile phone and SIM card complete data exchange process (being called an order session cycle) initiates order by mobile phone to start, and terminate the response reply of order with SIM card.So in an order session cycle, mobile phone is main equipment, and SIM card is from equipment.
Between mobile phone and SIM card the order session cycle transfer of data in, according to the host-host protocol ISO-7816 of smartcard-Terminal equipment interface, an initial bits position is had at the information byte of each transmission, indicate the beginning of an information byte (8 bits), and in the end of transmission of each information byte, there is a check bit position, for the transmission correctness of checking information byte.If the information byte of transmission has error of transmission, need again to transmit this information byte immediately.And in Wireless Data Transmission between mobile phone and SIM card, because radio transmitting method of the present invention has had other transmission error detection method, this check bit position just has not needed to be transmitted by wireless communication link.And in a Wireless Data Transmission bag, an information byte just can be transmitted in every 8 bits position, do not need special initial bits position to indicate the beginning of each information byte.Like this, ten bits originally are just reduced to 8 bits position, improve the efficiency of Wireless Data Transmission.After wireless data packet is received, then initial bits position and check bit position are inserted beginning and the end of each information byte, write to receiving terminal by the circuit connecting interface of contact, reduce the transfer of data of smartcard-Terminal equipment interface.
Fig. 1 is that mobile phone starts to initiate order session, to the formation of the wireless data packet of SIM card wireless transmission order, and transmission, and the schematic diagram received.At mobile phone terminal, when mobile phone starts to send order to SIM card, just read this order (totally five bytes) by the smartcard-Terminal equipment interface (ISO-7816 smart card host-host protocol) of standard at the communication terminal interface equipment of SIM card slot.In whole order reading process, communication terminal interface equipment detects initial bits position and the check bit position of each information byte, and processes error of transmission possible between them.If there is the information byte of error of transmission, just feed back to mobile phone, allow mobile phone again transmit this byte.After mobile phone is transmitted, be just in wait state, wait for that SIM card is replied the response of this order.After communication terminal interface equipment receives a complete order, remove initial bits position and the check bit position of each information byte, only retain its information byte, and add the error correction coding of wireless transmission in the ending of order data, just constitute a complete wirelessly transmitting data bag.By wireless transmission interface, command packet is transferred to intelligent SIM card deck equipment.The error correction coding of wireless transmission can use wireless channel coding techniques ripe in prior art, such as cyclic redundancy check (CRC) code (CRC, or forward error correction coding (FEC, ForwardErrorCorrection) etc. CyclicRedundancyCheck).
Intelligent SIM card deck equipment receives command packet, obtained the information byte of correct order data by the error correction decoding of wireless transmission after, just each information byte start add initial bits position, check bit position is added in the end of each information byte, and pass through the smartcard-Terminal equipment interface (ISO-7816 smart card host-host protocol) of standard, forward this order data of transmission to the SIM card being inserted in its SIM card slot.In the process to SIM card command data, the error of transmission of intelligent SIM card deck device processes between them, if there is the information byte of error of transmission, just transmits this information byte again.
Equally, when intelligent SIM card deck equipment transmits the data of reply response of SIM card to communication terminal interface equipment, also be in wireless transmission process, remove each information byte initial bits position and check bit position, and the error correction coding of wireless transmission is added in the ending of replying response data, form a complete wirelessly transmitting data bag, then be transferred to communication terminal interface equipment by wireless communication interface.
By the standard intelligent card-terminal device interface at wireless transmission two ends, in the process of wireless transmission, according to the transmission needs of wireless channel, both unnecessary initial bits and check bit had been eliminated, again error correction coding is carried out to wireless data packet, while the reliability improving wireless transmission, improve the efficiency of wireless transmission.
In short-range Radio Transmission Technology, mostly use the ISM band (IndustrialScientificMedical not needing licence, industry, science, medical science), particularly 2.4GHz frequency range is the common ISM band in various countries, and WLAN (wireless local area network) (Wi-Fi) and bluetooth (Bluetooth) etc. all widely use 2.4G as its wireless transmission frequency.Because various wireless device is all using identical transmission frequency, therefore wireless signal each other is just easy to be interfered, how the antijamming capability of enhancing while reducing miscellaneous equipment interference itself, is that each is operated in the necessary technology of the equipment of exempting from licence frequency range.Order session Wireless Data Transmission of the present invention passes through collision detection and the random frequency hopping of the transmission channel before the transmitting of each wireless data packet, the antijamming capability of enhancing while reducing the interference to miscellaneous equipment itself.
Fig. 2 is that Wireless Data Transmission channel of the present invention uses schematic diagram, is realized by following step:
1. communication terminal interface equipment reads the order that mobile phone is initiated to SIM card, first encapsulates wirelessly transmitting data bag, and coding, for the wireless transmission of order data is ready.
2. random access request initiated by communication terminal interface equipment, notifies that intelligent SIM card deck equipment has data to need to be transferred to it, the channel parameter of request dispatching wireless transmission.
3. intelligent SIM card deck equipment carries out reply response to random access request, in all available data transmission channels, and Random assignment channel.
4. communication terminal interface equipment receives and replys response, obtains the channel for Wireless Data Transmission.
5. communication terminal interface equipment detects the channel quality of Wireless Data Transmission channel, according to size or other parameter of background noise, judges whether this channel has other wireless signal to transmit.
If 6. there is other wireless signal just to transmit on transmission channel, communication terminal interface equipment just waits for a predefined time.
7. if wait timeout, communication terminal interface equipment just replies to mobile phone mistake, the failure of this mistake instruction SIM card command transfer.
8., if wait for not having time-out, communication terminal interface equipment just again detects the channel quality of Wireless Data Transmission channel from the 5th step, judges whether this channel has other wireless signal to transmit.
If 9. channel does not have other wireless signal transmitting and suitable Wireless Data Transmission, communication terminal interface equipment is just by wave point, and the order of transmitting cell-phone is to intelligent SIM card deck equipment, and wait-receiving mode SIM card replys data to the response of this order.
Except the channel confliction before Wireless Data Transmission each time detects, each the order session initiated from mobile phone to SIM card, communication terminal interface equipment all will initiate random access request, to obtain the channel of Wireless Data Transmission.Like this, the wireless transmission channel of each order session of communication terminal interface equipment and intelligent SIM card deck equipment is Random assignment, is not identical.That is, the frequency-hopping mode of wireless transmission channel is random, cannot be pre-determined, is just decide through consultation when there being transfer of data temporarily.And the time in each order session cycle is very short, decrease the service time to some fixed channels, reduce the possibility of the interference to miscellaneous equipment to greatest extent.This random frequency-hopping transmissions pattern also enhances the antijamming capability of Wireless Data Transmission of the present invention to greatest extent, even if some order datas are not delivered successfully, using another one wireless channel when again transmitting, greatly increasing the possibility of transmission success.
Undertaken in the process of exchanges data at communication terminal interface equipment and intelligent SIM card deck equipment by wireless communication link, in order to increase the reliability of wireless communication link data transmission, also be included in transmission method of the present invention each packet received after, receiving terminal all will reply an acknowledge message to transmitting terminal, is confirmed whether correctly to receive packet.If packet is correctly received, transmitting terminal can proceed further session command handling process; If packet is not correctly received, transmitting terminal needs again to transmit this packet, until receive the acknowledge message that packet is properly received, or until repeats transmission time-out.
Fig. 3 is the transmission-confirmation flow chart of radio transmission format of the present invention, by this flow process, guarantee response data that the order data that each mobile phone is initiated and SIM card reply aloft wave point by correct transmission and reception, include following steps:
1. communication terminal interface equipment is by wireless transmission interface, and transmitting mobile phone order data gives intelligent SIM card deck equipment.
2. the reply message of intelligent SIM card deck equipment waited for by communication terminal interface equipment, confirms whether order data is properly received.
3. intelligent SIM card deck equipment receives mobile phone command data, is detected by wireless transmission error correction coding, judges whether this order data is properly received.
If 4. order data is correctly received, intelligent SIM card deck equipment is just replied transmitting one and is replied message to communication terminal interface equipment, confirms that order data is properly received.
If 5. order data is not correctly received, intelligent SIM card deck equipment is just replied transmitting one and is replied message to communication terminal interface equipment, and notification command data are not properly received, and wait-receiving mode order data again.
6., if communication terminal interface equipment is waited for replying and confirmed time-out, just reply a mistake to mobile phone, directive command data transmission fault.
If 7. communication terminal interface equipment receives the reply of intelligent SIM card deck equipment, just from reply data, read confirmation.
8., if replying in message indicates order data not to be properly received, communication terminal interface equipment just, from the 1st step, launches the order data of transmitting cell-phone again.Until correctly received by intelligent SIM card deck equipment, or until repeat the time time-out transmitted, communication terminal interface equipment just replys a mistake to mobile phone, directive command data transmission fault.
9., if replying in message indicates order data to be properly received, communication terminal interface equipment replys data with regard to wait-receiving mode SIM card to the response of order.
10. intelligent SIM card deck equipment is the mobile phone command data retransmission correctly received to SIM card, waits for that SIM card responds the reply of mobile phone command.
11. intelligent SIM card deck equipment receive the reply response data of SIM card to mobile phone command, just by wireless communication interface, reply response data are transferred to communication terminal interface equipment.
12. intelligent SIM card deck equipment wait for the reply message of communication terminal interface equipment, confirm whether the reply response data of SIM card is properly received.
13., if communication terminal interface equipments wait for that SIM card replys data time-out to the response of order, just reply a mistake to mobile phone, directive command data transmission fault.
14. communication terminal interface equipments receive SIM card and reply data to the response of order, are detected by wireless transmission error correction coding, judge that this response is replied data and whether is properly received.
If 15. responses are replied data and are correctly received, communication terminal interface equipment is just replied transmitting one and is replied message to intelligent SIM card deck equipment, and confirmation response is replied data and is properly received, and terminates this subcommand session cycle of mobile phone.
If 16. responses are replied data and are not correctly received, communication terminal interface equipment is just replied transmitting one and is replied message to intelligent SIM card deck equipment, push-notification-answer is replied data and is not properly received, and wait-receiving mode SIM card replys data to the response of mobile phone command again.
17., if intelligent SIM card deck equipment wait for the reply message time-out of communication terminal interface equipment, just directly terminate this subcommand session cycle.
If 18. intelligent SIM card deck equipment receive the reply message of communication terminal interface equipment, just from reply data, read confirmation.
19., if responses are replied data and correctly received by communication terminal interface equipment, intelligent SIM card deck equipment just terminates this subcommand session cycle.
If 20. responses are replied data and correctly do not received by communication terminal interface equipment, intelligent SIM card deck equipment, just from the 11st step, again by wireless communication interface, is transferred to communication terminal interface equipment reply response data.Until correctly received by communication terminal interface equipment, or until repeat the time time-out transmitted, intelligent SIM card deck equipment just directly terminates this subcommand session cycle.
In the order session cycle of mobile phone and SIM card, some order, as authentication order (Authenticate, 0x88), file select command (Select, 0xa4) etc., mobile phone and SIM card need exchanges data repeatedly, can complete complete order session cycle.In this case, the process need that the data wireless shown in Fig. 3 transmits-wait for correct confirmation of receipt message is back and forth multiple, to guarantee that the packet of each wireless transmission is received correctly.
All identify labels for cellular radio communication network access and authorization data are all stored in SIM card, mobile phone start shooting at every turn access network time, all to read these data.In these data, major part data are as IMSI (InternationalMobileSubscriberIdentificationNumber, international mobile subscriber identity), ICCID (Integratecircuitcardidentity, integrated circuit card identification code) etc. directly can be read by intelligent SIM card deck equipment.In fact, in all data stored in SIM card, only have and can not be read out by intelligent SIM card deck equipment for the KI of network access authentication and authentication password algorithm, other all data can read out.And in the process of mobile phone power-on access network, these data separately use, that is, what these identity data were exchanges and uses in the order session cycle of multiple mobile phone between mobile phone and SIM card.For Wireless Data Transmission of the present invention, in order to reduce the transmission of data on wireless communication link, thus reduce the possibility of wireless data packet error of transmission, these data also can store in its memory at the disposable communication terminal interface equipment that is transferred to of wireless communication interface, read when needs from memory again.
By disposable whole transmission of SIM card data and buffer memory in memory, mobile phone is when start access network, even if obtain data failure by wireless communication interface from intelligent SIM card deck equipment, also can read from its buffer memory, a nearlyer step adds the possibility that mobile phone successfully reads the SIM card data for accessing cellular radio communication network.Fig. 4 is intelligent SIM card deck equipment of the present invention by wave point to the flow chart of communication terminal interface equipment transmission for the SIM card data of network insertion, is realized by following step:
1. intelligent SIM card deck equipment reads the SIM card data of all authentication authentications when access for cordless communication network, and storage in memory, waits to be used.
2. mobile phone power-on, searches and access network, in the process of access network, needs SIM card data to carry out identify label certification, and business uses authentication etc.
3. mobile phone is by communication terminal interface equipment, initiates random access request to intelligent SIM card deck equipment, to set up wireless communication link, obtains the SIM card data of access cellular network from SIM card.
If 4. random access request does not successfully set up wireless communication link, communication terminal interface equipment just direct from its memory reading SIM card data, for accessing cellular network.These SIM card data be previously stored in communication terminal interface equipment.
5. the data that transmitted by wireless communication interface of communication terminal interface equipment wait-receiving mode intelligent SIM card deck equipment, for the access of the cellular radio of mobile phone.
6. intelligent SIM card deck equipment receives the random access request of communication terminal interface equipment, replys this access request, distributes the transformation parameter of wireless channel, sets up wireless communication link.
7. intelligent SIM card deck equipment is to arriving all SIM card data for cellular radio access of communication terminal interface equipment wireless transmission.
8. intelligent SIM card deck equipment waits for the acknowledge message of communication terminal interface equipment, is confirmed whether correctly to receive SIM card data.
If 9. the SIM card data time-out of intelligent SIM card deck equipment wireless transmission waited for by communication terminal interface equipment, just direct from its memory reading SIM card data, for accessing cellular network.
10., if communication terminal interface equipment receives the SIM card data of intelligent SIM card deck equipment wireless transmission, just detected by wireless transmission error correction coding, judge whether SIM card data receive correctly.
If 11. SIM card data receivers are correct, communication terminal interface equipment just replys transmitting acknowledgement message, confirms that SIM card data are correctly received.Communication terminal interface equipment terminates to receive SIM card data, and forwarding data is to mobile phone, and the SIM card data access cellular mobile communication networks received brought into use by mobile phone.
If 12. SIM card data are not correctly received, communication terminal interface equipment just replys transmitting acknowledgement message, and instruction SIM card data are not correctly received.Wait for the SIM card data again receiving intelligent SIM card deck equipment and again transmit.
13. intelligent SIM card deck equipment receive the acknowledge message of communication terminal interface equipment, and whether these message authentication SIM card data are received correctly.
14., if acknowledge message instruction SIM card data are received correctly, intelligent SIM card deck equipment just terminates the wireless transmission of SIM card data.
15., if acknowledge message instruction SIM card data are not received correctly, intelligent SIM card deck equipment just restarts the wireless transmission of SIM card data.Until receive SIM card data by the correct acknowledge message received, or until repeat transmission time-out, just terminate the wireless transmission of SIM card data.
Obtain in the process of SIM card data at communication terminal interface equipment as above by wireless communication interface, if start failure in access network also sets up wireless communication link with intelligent SIM card deck equipment at mobile phone, need reading SIM card data from its memory, these SIM card data have been stored in the memory of communication terminal interface equipment.Because mobile phone can use different SIM card data access cellular mobile networks, therefore communication terminal interface equipment is when correctly receiving the SIM card data that intelligent SIM card deck device transmission is come, just upgrade the SIM card data in its memory, with prepare may use next time (when mobile phone power-on be reading SIM card data set up wireless communication link failure time).When each communication terminal interface equipment receives SIM card data, attend school the data of label taking will SIM card uniqueness, such as ICCID, IMSI etc., and compare with its SIM card data stored in memory.If the data received are consistent with the data in memory, in the access of ensuing cellular network, just use (or in memory, because data are all the same) the SIM card data received.If the data in the SIM card data received and memory are inconsistent, then show that the SIM card in intelligent SIM card deck equipment and the SIM card data before mobile phone are different, mobile phone just uses the SIM card data access cellular network received, and upgrades the SIM card data in its memory.Like this, when mobile phone needs the SIM card data used in its memory next time, the SIM card data be updated just are used.Due under normal circumstances, user changes when using different SIM card limited, and the number of times that this SIM card data upgrade in the memory of communication terminal interface equipment is also limited.
In the process of mobile phone access cellular mobile network, not all data stored in SIM card all need.In SIM card application protocol, an elementary cell of the data stored in SIM card is called constituent instruments (EF, ElementaryFile), these constituent instruments are necessary file (Mandatory) a bit, and some is optional file (Optional).Concrete SIM card data file class defines in relevant SIM card application protocol standard, such as, 3GPPTS51.011 define the constituent instruments in the SIM application protocol of gsm system, 3GPPTS31.102 defines the constituent instruments in USIM application protocol, and 3GPP2C.S0023-A defines the constituent instruments in the UIM application protocol of cdma system.Communication terminal interface equipment of the present invention is in the Wireless Data Transmission with intelligent SIM card deck equipment, and just only transmitting these must the constituent instruments of file access for the cellular radio of mobile phone.For optional file, after communication terminal interface equipment receives the order of mobile phone reading SIM card data file, be first read from its memory, then obtained from intelligent SIM card deck equipment by wireless communication interface.And when wireless acquisition SIM card data failure time, can direct answering mobile phone message, indicate these SIM card constituent instruments not exist (replying SIM card state directive command 0x6a, 0x82).Because the SIM card data that mobile phone reads are optional constituent instruments, this can not have influence on the cellular radio access of mobile phone, after mobile phone successfully accesses cellular radio, again can also obtain the SIM card data of these optional constituent instruments from wireless communication interface.
Fig. 5 is the flow chart that communication terminal interface equipment of the present invention receives the order of mobile phone reading SIM card data file, includes following steps and treats necessary constituent instruments and optional constituent instruments respectively:
1. communication terminal interface equipment receives the order of mobile phone reading SIM card constituent instruments data.
If the SIM card constituent instruments that 2. mobile phone needs read are the necessary files in SIM card file system, communication terminal interface equipment judges whether this reading order is the SIM card data reading necessary file first time.
3., if the SIM card data of the necessary file of first time reading, communication terminal interface equipment, just according to flow process as shown in Figure 4, by wireless communication interface, obtains the SIM card data of all necessary constituent instruments once from intelligent SIM card deck equipment.
4. read the SIM card data of necessary file if not first time, the SIM card data (because all necessary constituent instruments SIM card data are read by wireless communication interface must obtain from intelligent SIM card deck equipment during file in first time) of the necessary constituent instruments required for communication terminal interface equipment just reads from its memory.
If the SIM card constituent instruments that 5. mobile phone needs read are the optional files in SIM card file system, communication terminal interface equipment is just according to the necessary constituent instruments data of wireless receiving, the data of judgement symbol SIM card uniqueness, whether the SIM card data that such as ICCID, IMSI etc. have stored in memory with it are consistent.
6., if consistent, communication terminal interface equipment is just direct reads optional constituent instruments data, for the SIM card file reading order of answering mobile phone from its memory.
7., if inconsistent, first communication terminal interface equipment is just attempted by wireless communication interface, obtains the SIM card data of this optional file from intelligent SIM card deck equipment.
If 8. the wireless communication link with intelligent SIM card deck equipment successfully set up by communication terminal interface equipment, just by wave point, obtain the SIM card data of this optional file from intelligent SIM card deck equipment, and store in its memory.
If 9. communication terminal interface equipment obtains the SIM card data failure of this optional file by wave point, just direct answering mobile phone message " this file does not exist " (replying SIM card state directive command 0x6a, 0x82).
(location updating of mobile phone in moving process is also comprised in the process of mobile phone access cellular radio communication network, and the service authentication etc. in business use procedure), mobile phone will send to SIM card authentication order (Authenticate, 0x88).This authentication order is merely able at SIM card internal operation, can not be read out by intelligent SIM card deck equipment for the KI of authentication order and authentication password algorithm, because according to network access security controlling mechanism, any external equipment all can not read the secure data of these authentications, is merely able in SIM card inner by SIM card self reading use.Therefore, when authentication order initiated by mobile phone time, communication terminal interface equipment is merely able to pass through wireless communication interface, the input data random number sequence of transmission authentication order and authentication order gives intelligent SIM card deck equipment, in the order of SIM card internal operation authentication, and the operation result data of wireless acquisition authentication order.In the session cycle of whole authentication order, mobile phone and SIM card will carry out exchanges data repeatedly.In order to reduce the number of times at wireless communication link transmitting data, the present invention is also included in the two ends of radio communication, namely carry out data buffer storage respectively in communication terminal interface equipment and intelligent SIM card deck equipment, and wait the data transmitting authentication order more in the lump when needed.
Fig. 6 is authentication order flow chart of the present invention, data buffer storage is carried out respectively by the two ends in radio communication, only needing the transmitting and receiving of a wireless data at wireless communication transmissions interface, just can complete whole authentication order, is realized by following process step:
1. authentication order initiated by mobile phone, sends authentication order data to communication terminal interface equipment.
2., after communication terminal interface equipment receives authentication command number, confirm data to handset replies authentication order.
3. mobile phone sends the input data random number sequence of authentication order to communication terminal interface equipment.
4., after communication terminal interface equipment receives the input data random number sequence of authentication order, just wireless communication interface is passed through in authentication order and input data random number sequence thereof, be transferred to intelligent SIM card deck equipment.
5. intelligent SIM card deck equipment receives authentication order and input data random number sequence thereof, just authentication order is sent to SIM card.
After 6.SIM card receives authentication command number, reply an authentication order and confirm data.
7. intelligent SIM card deck equipment sends to SIM card the input data random number sequence of authentication order.
8.SIM card runs authentication order, after its result data is ready, just notifies intelligent SIM card deck equipment.
9. intelligent SIM card deck equipment sends the acquisition order of authenticating result data to SIM card.
10.SIM intelligent SIM card deck equipment replied by card, transmission authenticating result data.
After 11. intelligent SIM card deck equipment receive authenticating result data, just by wireless communication interface, be transferred to communication terminal interface equipment.
12. communication terminal interface equipment notice mobile phone, authenticating result data ready, can obtain.
13. mobile phone sends the acquisition order of authentication command result data.
14. communication terminal interface equipment answering mobile phone, the result data of transmission authentication order.
15. mobile phones obtain the result data of authentication order, terminate whole authentication order.
Although communication terminal interface equipment only needs the transmitting and receiving of a wireless data just can complete whole authentication order, in the foundation of wireless communication link and the emission process of wireless data packet, also likely failure.When this occurs, according to method of the present invention, communication interface terminal equipment just replys a message to mobile phone, such as notify that authentication order run-time error (replys SIM card state 0x69,0x85), or SIM card just busy (replying SIM card state 0x69,0x85) etc., instead of wait for that the authentication order of mobile phone runs time-out.Mobile phone, after initiating authentication order to SIM card, when waiting for that SIM card replys the operation result data of authentication order, has a maximum latency, if wait timeout, it is wrong that mobile phone just thinks that SIM card reads, and stop access cellular mobile communication networks.In order to avoid this situation occurs, the maximum latency of an authentication order is set in communication terminal interface equipment, waiting time is less than the authentication order maximum latency of mobile phone, made before the authentication order maximum latency of mobile phone reaches, communication terminal interface equipment is with regard to the notification message of answering mobile phone authentication order run-time error.Like this, mobile phone just can initiate authentication order again, instead of directly stops authentication order and stop access cellular mobile communication networks.
Fig. 7 is the authentication order operational process state diagram of communication terminal interface equipment of the present invention, includes following step:
1. communication terminal interface equipment arranges the maximum latency of an authentication order, and waiting time is less than the authentication order maximum latency of mobile phone.
2. communication terminal interface equipment receives the authentication order that mobile phone is initiated to SIM card, and the order of buffer memory authentication also receives the input data random number sequence of authentication order.
3. communication terminal interface equipment initiates random access request to intelligent SIM card deck equipment, and wait-receiving mode wireless channel transformation parameter, to set up the wireless communication link between intelligent SIM card deck equipment.
If the wireless communication link 4. and between intelligent SIM card deck equipment is not successfully set up, communication terminal interface equipment is with regard to answering mobile phone message, and notice authentication order run-time error (such as replys SIM card state 0x69,0x85, or 0x69,0x85 etc.).
If 5. successfully set up the wireless communication link between intelligent SIM card deck equipment, communication terminal interface equipment, just by wireless communication interface, transmits authentication order and input data random number sequence thereof.
6. the authentication order operation result data of SIM card waited for by communication terminal interface equipment.
If 7. the stand-by period of communication terminal interface equipment arrives the maximum latency of the authentication order that it presets, with regard to answering mobile phone message, notice authentication order run-time error (such as replys SIM card state 0x69,0x85, or 0x69,0x85 etc.).
8. if communication terminal interface equipment receives authentication order operation result data, just detected by wireless transmission error correction coding, judge whether receive data receives correctly.
If 9. authentication command result data receiver is correct, communication terminal interface equipment just replys transmitting acknowledge message, and notify intelligent SIM card deck equipment, authentication command result data correctly receive, and forwards authentication command result data to mobile phone.
If 10. authentication command result data are not correctly received, communication terminal interface equipment just checks whether its maximum latency arrives.
If 11. arrive maximum latency, communication terminal interface equipment, with regard to answering mobile phone message, notifies authentication order run-time error (such as replying SIM card state 0x69,0x85, or 0x69,0x85 etc.).
If 12. do not arrive maximum latency, communication terminal interface equipment just replys transmitting acknowledge message, and notify intelligent SIM card deck equipment, authentication command result data are not correctly received.
13. communication terminal interface equipments from the 6th step, wait-receiving mode authentication command result data again.
Foregoing in the process of mobile phone power-on access cellular mobile communication networks, likely there is the necessary constituent instruments SIM card data failure of the wireless acquisition of communication terminal interface equipment for the authentication authentication of access network, identification authentication data can only be read from its memory, but the SIM card in intelligent SIM card deck equipment is another one SIM card, therefore, its SIM card must constituent instruments identification authentication data just and the identification authentication data that using of mobile phone inconsistent, but be mobile phone ignorant.Like this, inconsistent due to data in the authentication order that mobile phone is sent subsequently, just can not the operation result data access cellular mobile communication networks of weight discriminating order, and mobile phone is in its user-interface notifications user " without service " or " network insertion failure ".Although occur that the possibility of this situation is very little, the present invention also discloses a kind of method, makes mobile phone can also the access procedure of originating mobile communication network again, and access network also provides Mobile solution service for user.
Because communication terminal interface equipment used in the present invention is a microprocessor (its detailed technic relization scheme is open in Chinese invention application 201410735422.3 " terminal interface device of a kind of communication terminal and SIM card Wireless Data Transmission ") with radio communication function, and for mobile phone, communication terminal interface equipment is exactly a Full Featured SIM card.Therefore a software function module program can be run in communication terminal interface equipment, by the SIM card application toolkit (STK of standard, SIMApplicationToolkit) SIM card utility command is sent to mobile phone, mobile phone is made to restart the access procedure of cellular mobile communication networks, from intelligent SIM card deck equipment, again obtain the identification authentication data (necessary constituent instruments SIM card data) being used for network insertion, by the SIM card data access mobile communications network after renewal.
Fig. 8 be user of the present invention initiatively by STK application function, operating handset accesses the flow chart of cellular mobile communication networks again, includes following steps:
1. communication terminal interface equipment runs a software function module program, by the STK interface of standard, in the process of mobile phone power-on reading SIM card data, set up a STK application function menu, the function of this menu makes user can the access again of operating handset originating mobile communication network.
2. mobile phone does not access cellular mobile communication networks, and just by human-computer interaction interface, notify user, mobile phone does not have access network, cannot provide Information Mobile Service.
3. user is by human-computer interaction interface, learns that mobile phone does not have access network, cannot obtain Information Mobile Service.
4. user is by STK application function menu, and input command, operating handset is accessing mobile communication network again.
5. mobile phone obtains STK application menu input command, again initiates the access procedure of cellular mobile communication networks.
6. mobile phone access cellular mobile communication networks, for user provides Information Mobile Service.
By setting up STK application function menu in mobile phone, make user can operating handset on one's own initiative, access cellular mobile communication networks, further improves the reliability of mobile phone access network.Even if because accidental factor obtains SIM card data failure by wave point, user also can make mobile phone access network by other approach.
The effect of invention
Data transmission format of the present invention is by encapsulating the frame for wireless transmission of order session data bag, receive the error detection of data, to receive mistake packet automatically repeat transmission, random frequency hopping in wireless transmission channel frequency, the use collision detection of channel, and the data buffering etc. of order session interaction, make can carry out efficient Wireless Data Transmission between mobile phone and SIM card.On the exchanges data of existing mobile phone and SIM card without any impact, between mobile phone and SIM card, transparent Wireless Data Transmission can be carried out.And the present invention is also by SIM card application toolkit routine interface, SIM card application function menu is set up in mobile phone, even if make mobile phone not have accessing mobile communication network due to the transient error in the wireless transmission process of SIM card data, user also can operating handset re-accessing network on one's own initiative.
Accompanying drawing explanation
Fig. 1 is the formation of mobile phone of the present invention to the wireless data packet of SIM card wireless transmission order data, transmission, and the schematic diagram received.
Fig. 2 is that Wireless Data Transmission channel of the present invention uses schematic diagram, and the order that each mobile phone is initiated is with different accidental channels, improves the antijamming capability of radio transmission format of the present invention while reducing miscellaneous equipment interference.
Fig. 3 is that the Packet Generation one of radio transmission format of the present invention confirms flow chart, guarantee response data that the order data that each mobile phone is initiated and SIM card reply aloft wave point by correct transmission and reception.
Fig. 4 is the flow chart of the necessary constituent instruments data of SIM card that intelligent SIM card deck equipment of the present invention is accessed for cellular mobile communication networks to the transmission of communication terminal interface equipment by wave point.
Fig. 5 is the flow chart that communication terminal interface equipment of the present invention receives the order of mobile phone reading SIM card data file, to must constituent instruments and the process of the optional constituent instruments diverse ways wireless transmission error that may occur.
Fig. 6 is mobile phone identification order flow chart of the present invention, carries out data buffer storage respectively, only need the transmitting and receiving of a wireless data at wireless communication transmissions interface by the two ends in radio communication, just can complete whole authentication order.
Fig. 7 is the authentication order operational process state diagram of communication terminal interface equipment of the present invention.
Fig. 8 be user of the present invention initiatively by STK application function, operating handset accesses the flow chart of cellular mobile communication networks again.
Embodiment
Wave point between communication terminal interface equipment and intelligent SIM card deck equipment can use different technical schemes, as short-range wireless communication technology bluetooth, WLAN (wireless local area network) etc., and the concrete wireless transmission scheme of distinct device provider is not identical yet, so SIM card wireless data packet of the present invention transmission can have different embodiments.Below for bluetooth SOC (system on a chip) (SoC, Systemonchip) the chip nRF51822 of Nordic company of Norway, illustrate implementer's formula of the present invention.
Chip nRF51822 supports the 2.4G radio communication of multi-protocols, and comprise low-power consumption bluetooth 4.0 agreement of proprietary wireless transmission protocol and standard, user also can utilize its API to realize the application communication agreement of oneself.Such feature is that the embodiment realizing Wireless Data Transmission of the present invention provides flexibility.
On the whole wireless frequency 2400MHz-2483.5MHz of nRF51822, the frequency bandwidth of every 1MMHz just can divide a transmission channel, amounts to 83 transmission channels.Except for except the channel of random access request, remaining all channel can as data channel, for the Wireless Data Transmission of SIM card order session of the present invention.
Chip nRF51822 provides the API of 2.4G radio communication, can realize Wireless Data Transmission interface of the present invention.In addition, nRF51822 has ARMCortexM0 as its processor core, thereon can the C programmer of operation standard.Therefore, the form of all Wireless Data Transmissions of the present invention and flow process can have been come by operating in its processor core software function module program in the heart.In addition, chip nRF51822 also provide randomizer, and the random number of generation is the thermal noise according to chip internal, has good randomness.The random number that randomizer can apply the random frequency hopping pattern of data transmission channel of the present invention produces, and makes its Wireless Data Transmission have good antijamming capability, decreases the interference to miscellaneous equipment.
Chip nRF51822 and to run software program be thereon that all functions of the present invention provide a complete functional realiey, can make the present invention obtain concrete implementer's formula easily.

Claims (10)

1. one kind for the Wireless Data Transmission form between communication terminal interface equipment and intelligent SIM card deck equipment and method, it is characterized in that, described transformat and method are for the order data between mobile phone and SIM card and the wireless transmission of the response of order being replied to data, comprise following flow process functional module
1) described communication terminal interface equipment is by the host-host protocol of the smartcard-Terminal equipment interface of standard, reads the information byte of the order data that mobile phone sends,
2) described communication terminal interface equipment adds the error correction coding of wireless transmission in the order data read, and just constitutes a complete wirelessly transmitting data bag, by wireless transmission interface, command packet is transferred to described intelligent SIM card deck equipment,
3) described intelligent SIM card deck equipment is by the host-host protocol of the smartcard-Terminal equipment interface of standard, wireless receiving to the information byte of command packet be transmitted to SIM card,
4) described intelligent SIM card deck equipment is by the host-host protocol of the smartcard-Terminal equipment interface of standard, reading SIM card to the information byte of the reply response data of mobile phone command,
5) described intelligent SIM card deck equipment adds the error correction coding of wireless transmission in the reply response data read, just constitute a complete wirelessly transmitting data bag, by wireless transmission interface, reply response data packet is transferred to described communication terminal interface equipment
6) described communication terminal interface equipment is by the host-host protocol of the smartcard-Terminal equipment interface of standard, wireless receiving to the information byte of reply response data be transmitted to mobile phone.
2. according to packet radio transmitting method as claimed in claim 1, it is characterized in that, described transmission method includes collision detection and the random frequency hopping of transmission channel in wireless transmission process, includes step as described below,
1), after communication terminal interface equipment reads the order that mobile phone initiates to SIM card, wirelessly transmitting data bag is encapsulated, coding, for the wireless transmission of order data is ready,
2) access request initiated by communication terminal interface equipment, notifies that intelligent SIM card deck equipment has data to need to be transferred to it, the channel parameter of request dispatching wireless transmission.
3) intelligent SIM card deck equipment interconnection enter request carry out reply response, in all available data transmission channels, Random assignment channel.
4) communication terminal interface equipment receives and replys response, obtains the channel for Wireless Data Transmission.
5) communication terminal interface equipment detects the channel quality of Wireless Data Transmission channel, judges whether this channel has other wireless signal to transmit,
6) if there is other wireless signal just to transmit on transmission channel, communication terminal interface equipment just waits for a predefined time,
7) if wait timeout, communication terminal interface equipment just replies to mobile phone mistake, the failure of this mistake instruction SIM card command transfer.
8) if wait for not having time-out, communication terminal interface equipment is just from the 5th) again detect the channel quality of Wireless Data Transmission channel step, judge whether this channel has other wireless signal to transmit,
9) if this channel does not have other wireless signal transmitting and suitable Wireless Data Transmission, communication terminal interface equipment is just by wave point, and the order of transmitting cell-phone is to intelligent SIM card deck equipment
10) communication terminal interface equipment wait-receiving mode SIM card replys data to the response of this order.
3. according to packet radio transmitting method as claimed in claim 1, it is characterized in that, described transmission method includes collision detection and the random frequency hopping of transmission channel in wireless transmission process, includes step as described below,
1) intelligent SIM card deck equipment is after the reply response data of reading SIM card, encapsulates wirelessly transmitting data bag, coding,
2) intelligent SIM card deck equipment use receives the identical wireless transmission channel of order data, and wireless transmission replys response data to communication terminal interface equipment,
3) channel quality of intelligent SIM card deck equipment Inspection Wireless Data Transmission channel, judges whether this channel has other wireless signal to transmit,
4) if there is other wireless signal just to transmit on transmission channel, intelligent SIM card deck equipment just waits for a predefined time,
5) if wait timeout, intelligent SIM card deck equipment just stops wireless transmission replying response data, this subcommand session cycle of end and mobile phone,
6) if wait for not having time-out, intelligent SIM card deck equipment is just from the 3rd) again detect the channel quality of Wireless Data Transmission channel step, judge whether this channel has other wireless signal to transmit,
7) if this channel does not have other wireless signal transmitting and suitable Wireless Data Transmission, intelligent SIM card deck equipment is just by wave point, and transmission replys response data to communication terminal interface equipment,
8) communication terminal interface equipment receives reply response data, terminates this subcommand session cycle.
4. according to packet radio transmitting method as claimed in claim 1, it is characterized in that, described transmission method includes transmission and the confirmation of receipt process of packet in wireless transmission process, includes step as described below,
1) communication terminal interface equipment is by wireless transmission interface, and transmitting cell-phone order data gives intelligent SIM card deck equipment,
2) the reply message of intelligent SIM card deck equipment waited for by communication terminal interface equipment, confirms whether order data is properly received,
3) intelligent SIM card deck equipment receives mobile phone command data, is detected by wireless transmission error correction coding, judges whether this order data is properly received,
4) if order data is correctly received, intelligent SIM card deck equipment is just replied transmitting one and is replied message to communication terminal interface equipment, confirms that order data is properly received,
5) if order data is not correctly received, intelligent SIM card deck equipment is just replied transmitting one and is replied message to communication terminal interface equipment, and notification command data are not properly received, and wait-receiving mode order data again,
6) if communication terminal interface equipment is waited for replying confirm time-out, a mistake is just replied to mobile phone, directive command data transmission fault,
7) if communication terminal interface equipment receives the reply of intelligent SIM card deck equipment, just from reply data, confirmation is read,
8) indicate order data not to be properly received if replied in message, communication terminal interface equipment is just from the 1st) step, again launch the order data of transmitting cell-phone,
9) indicate order data to be properly received if replied in message, communication terminal interface equipment replys data with regard to wait-receiving mode SIM card to the response of order,
10) intelligent SIM card deck equipment is the mobile phone command data retransmission correctly received to SIM card, waits for that SIM card responds the reply of mobile phone command,
11) intelligent SIM card deck equipment receives the reply response data of SIM card to mobile phone command, just by wireless communication interface, reply response data is transferred to communication terminal interface equipment,
12) intelligent SIM card deck equipment waits for the reply message of communication terminal interface equipment, confirms whether the reply response data of SIM card is properly received,
13) if communication terminal interface equipment waits for that SIM card replys data time-out to the response of order, a mistake is just replied to mobile phone, directive command data transmission fault,
14) communication terminal interface equipment receives SIM card and replys data to the response of order, is detected by wireless transmission error correction coding, judges that this response is replied data and whether is properly received,
15) be correctly received if data are replied in response, communication terminal interface equipment is just replied transmitting one and is replied message to intelligent SIM card deck equipment, and confirmation response is replied data and is properly received, and terminates this subcommand session cycle of mobile phone,
16) be not correctly received if data are replied in response, communication terminal interface equipment is just replied transmitting one and is replied message to intelligent SIM card deck equipment, push-notification-answer is replied data and is not properly received, and wait-receiving mode SIM card replys data to the response of mobile phone command again
17) if intelligent SIM card deck equipment waits for the reply message time-out of communication terminal interface equipment, just directly this subcommand session cycle is terminated,
18) if intelligent SIM card deck equipment receives the reply message of communication terminal interface equipment, just from reply data, confirmation is read,
19) correctly received if data are replied in response by communication terminal interface equipment, intelligent SIM card deck equipment just terminates this subcommand session cycle,
20) correctly do not received by communication terminal interface equipment if data are replied in response, intelligent SIM card deck equipment is just from the 11st) step, again by wireless communication interface, be transferred to communication terminal interface equipment replying response data.
5. one kind for the Wireless Data Transmission form between communication terminal interface equipment and intelligent SIM card deck equipment and method, it is characterized in that, described intelligent SIM card deck equipment is in wireless transmission process, the constituent instruments data in multiple SIM card are included in a wirelessly transmitting data bag, be transferred to described communication terminal interface equipment by wireless communication interface is disposable, and be stored in the memory of described communication terminal interface equipment.
6. according to packet radio transmitting method as claimed in claim 1, it is characterized in that, described transmission method when described communication terminal interface equipment obtains SIM card data failure, just reads from its memory that corresponding SIM card is data cached replies to mobile phone in wireless transmission process.
7. according to packet radio transmitting method as claimed in claim 1, it is characterized in that, described transmission method in wireless transmission process when described communication terminal interface equipment obtains the data failure of the optional constituent instruments of SIM card, with regard to direct answering mobile phone message, this file of notice mobile phone does not exist.
8. according to packet radio transmitting method as claimed in claim 1, it is characterized in that, described mobile phone command is authentication order, by carrying out data buffer storage respectively in communication terminal interface equipment and intelligent SIM card deck equipment, transmission and the reception of carrying out a wireless data just can complete whole authentication order, include following steps
1) authentication order initiated by mobile phone, sends authentication order data to communication terminal interface equipment,
2), after communication terminal interface equipment receives authentication command number, data are confirmed to handset replies authentication order,
3) mobile phone sends the input data random number sequence of authentication order to communication terminal interface equipment,
4), after communication terminal interface equipment receives the input data random number sequence of authentication order, just wireless communication interface is passed through in authentication order and input data random number sequence thereof, is transferred to intelligent SIM card deck equipment,
5) intelligent SIM card deck equipment receives authentication order and input data random number sequence thereof, just authentication order is sent to SIM card,
6), after SIM card receives authentication command number, reply an authentication order and confirm data,
7) intelligent SIM card deck equipment sends to SIM card the input data random number sequence of authentication order,
8) SIM card runs authentication order, after its result data is ready, just notifies intelligent SIM card deck equipment,
9) intelligent SIM card deck equipment sends the acquisition order of authenticating result data to SIM card,
10) SIM card replys intelligent SIM card deck equipment, transmission authenticating result data,
11), after intelligent SIM card deck equipment receives authenticating result data, just by wireless communication interface, communication terminal interface equipment is transferred to,
12) communication terminal interface equipment notice mobile phone, authenticating result data ready, can obtain,
13) mobile phone sends the acquisition order of authentication command result data,
14) communication terminal interface equipment answering mobile phone, the result data of transmission authentication order,
15) mobile phone obtains the result data of authentication order, terminates whole authentication order.
9. according to packet radio transmitting method as claimed in claim 1, it is characterized in that, described mobile phone command is authentication order, when there is mistake in wireless transmission in described communication terminal interface equipment, the message of an answering mobile phone authentication order mistake, includes step as described below
1) communication terminal interface equipment arranges the maximum latency of an authentication order, and waiting time is less than the authentication order maximum latency of mobile phone,
2) communication terminal interface equipment receives the authentication order that mobile phone is initiated to SIM card, and the order of buffer memory authentication also receives the input data random number sequence of authentication order,
3) communication terminal interface equipment initiates access request to intelligent SIM card deck equipment, wait-receiving mode wireless channel transformation parameter, to set up the wireless communication link between intelligent SIM card deck equipment,
4) and if wireless communication link between intelligent SIM card deck equipment successfully do not set up, communication terminal interface equipment with regard to answering mobile phone message, notice authentication order run-time error,
5) if successfully set up the wireless communication link between intelligent SIM card deck equipment, communication terminal interface equipment, just by wireless communication interface, transmits authentication order and input data random number sequence thereof,
6) the authentication order operation result data of SIM card waited for by communication terminal interface equipment,
7) if the stand-by period of communication terminal interface equipment arrive the maximum latency of the authentication order that it presets, with regard to answering mobile phone message, notice authentication order run-time error,
8) if communication terminal interface equipment receives authentication order operation result data, just detected by wireless transmission error correction coding, judge whether receive data receives correctly,
9) if authentication command result data receiver is correct, communication terminal interface equipment just replys transmitting acknowledge message, and notify intelligent SIM card deck equipment, authentication command result data correctly receive, and forwards authentication command result data to mobile phone,
10) if authentication command result data are not correctly received, communication terminal interface equipment just checks whether its maximum latency arrives,
11) if arrive maximum latency, communication terminal interface equipment, with regard to answering mobile phone message, notifies authentication order run-time error,
12) if do not arrive maximum latency, communication terminal interface equipment just replys transmitting acknowledge message, and notify intelligent SIM card deck equipment, authentication command result data are not correctly received,
13) communication terminal interface equipment is from the 6th) step, wait-receiving mode authentication command result data again.
10. one kind operates in the software function module program in communication terminal interface equipment, it is characterized in that, described program is the SIM card application toolkit interface by standard, in mobile phone, set up a SIM card function of application menu, the function of this menu makes user can initiate the network insertion process of cellular mobile communication networks by operating handset.
CN201510881877.0A 2015-12-07 2015-12-07 Effective data transmission of wireless SIM card transmission protocol Pending CN105553607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510881877.0A CN105553607A (en) 2015-12-07 2015-12-07 Effective data transmission of wireless SIM card transmission protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510881877.0A CN105553607A (en) 2015-12-07 2015-12-07 Effective data transmission of wireless SIM card transmission protocol

Publications (1)

Publication Number Publication Date
CN105553607A true CN105553607A (en) 2016-05-04

Family

ID=55832560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510881877.0A Pending CN105553607A (en) 2015-12-07 2015-12-07 Effective data transmission of wireless SIM card transmission protocol

Country Status (1)

Country Link
CN (1) CN105553607A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898828A (en) * 2016-06-07 2016-08-24 青岛海信移动通信技术股份有限公司 Network searching method and device
CN107995133A (en) * 2016-10-26 2018-05-04 电信科学技术研究院 One kind produces channel frequency method, apparatus and channel evaluation circuit
CN111464531A (en) * 2020-03-31 2020-07-28 洛阳理工学院 Instant confirmation type file transmission method based on multiple encryption

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184857A (en) * 2014-09-09 2014-12-03 王家城 Intelligent separated SIM card clamping base device and communication method
CN104393948A (en) * 2014-09-25 2015-03-04 王家城 Wireless interface between communication terminal equipment and SIM (Subscriber Identity Module) card and function implementation
CN104618887A (en) * 2015-02-04 2015-05-13 王家城 Method and device for wirelessly sharing SIM card by multiple communication terminals

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184857A (en) * 2014-09-09 2014-12-03 王家城 Intelligent separated SIM card clamping base device and communication method
CN104393948A (en) * 2014-09-25 2015-03-04 王家城 Wireless interface between communication terminal equipment and SIM (Subscriber Identity Module) card and function implementation
CN104618887A (en) * 2015-02-04 2015-05-13 王家城 Method and device for wirelessly sharing SIM card by multiple communication terminals

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898828A (en) * 2016-06-07 2016-08-24 青岛海信移动通信技术股份有限公司 Network searching method and device
CN105898828B (en) * 2016-06-07 2019-07-26 青岛海信移动通信技术股份有限公司 Network search method and device
CN107995133A (en) * 2016-10-26 2018-05-04 电信科学技术研究院 One kind produces channel frequency method, apparatus and channel evaluation circuit
CN107995133B (en) * 2016-10-26 2019-12-13 电信科学技术研究院 Method and device for generating channel frequency and channel evaluation circuit
CN111464531A (en) * 2020-03-31 2020-07-28 洛阳理工学院 Instant confirmation type file transmission method based on multiple encryption

Similar Documents

Publication Publication Date Title
US9177467B2 (en) Electrical gateway and communication method of electrical gateway
US20180310157A1 (en) Near field communication method and mobile terminal
US8656027B2 (en) Wireless communication system, wireless communication apparatus, method for disconnection process thereof, and storage medium
CN103209007A (en) Bluetooth device quick pairing method and Bluetooth device
US20170127281A1 (en) Terminal-based communication method and terminal
JP2014207710A (en) Wireless internet module, user terminal, and wireless communication method
WO2008148278A1 (en) Method for exchanging large-capacity data between mobile terminal and smart card
CN111130727B (en) Data transmission method and terminal equipment
CN104393948A (en) Wireless interface between communication terminal equipment and SIM (Subscriber Identity Module) card and function implementation
CN110213020A (en) Data transmission method, terminal, system and device based on bluetooth peripheral hardware
CN105553607A (en) Effective data transmission of wireless SIM card transmission protocol
US9697396B2 (en) Interactive processing method and device and electronic apparatus
KR20230125301A (en) Authentication method and communication device
CN105357769A (en) Random access and safety control of wireless SIM card transmission protocol
EP3614762B1 (en) Device-to-device (d2d) communication method and terminal device
US20200285781A1 (en) Terminal and communication method
CN113170440B (en) Communication method and device
CN115915451A (en) Method for determining bundling size and communication device
WO2020097920A1 (en) Parameter reconfiguration method and device
CN113660651A (en) Method for assisting electrical appliance to configure wifi parameter based on NFC technology
CN111654575A (en) Multi-card multi-standby single-pass implementation method and device, electronic equipment and readable storage medium
CN207352619U (en) One kind card key access system for computer and a kind of card key
CN114629627A (en) Authentication method and device
KR101803972B1 (en) Apparatus having Universal Integrated Circuit card and File registration Method and Peer-to-Peer Transmission Method using the same
CN113939019A (en) Communication method and communication device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160504

WD01 Invention patent application deemed withdrawn after publication