CN102655642B - User identification module and information interaction method based on same - Google Patents
User identification module and information interaction method based on same Download PDFInfo
- Publication number
- CN102655642B CN102655642B CN201110051115.XA CN201110051115A CN102655642B CN 102655642 B CN102655642 B CN 102655642B CN 201110051115 A CN201110051115 A CN 201110051115A CN 102655642 B CN102655642 B CN 102655642B
- Authority
- CN
- China
- Prior art keywords
- module
- radio frequency
- user identification
- communication mode
- control module
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000003993 interaction Effects 0.000 title claims abstract description 15
- 238000004891 communication Methods 0.000 claims abstract description 142
- 238000006243 chemical reaction Methods 0.000 claims abstract description 6
- 230000004044 response Effects 0.000 claims description 28
- 230000006870 function Effects 0.000 claims description 23
- 238000012795 verification Methods 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 5
- 238000012546 transfer Methods 0.000 description 25
- 230000008569 process Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 101100244969 Arabidopsis thaliana PRL1 gene Proteins 0.000 description 4
- 102100039558 Galectin-3 Human genes 0.000 description 4
- 101100454448 Homo sapiens LGALS3 gene Proteins 0.000 description 4
- 101150051246 MAC2 gene Proteins 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 4
- 101100289995 Caenorhabditis elegans mac-1 gene Proteins 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 101100059544 Arabidopsis thaliana CDC5 gene Proteins 0.000 description 2
- 101150115300 MAC1 gene Proteins 0.000 description 2
- 239000002131 composite material Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a user identification module and an information interaction method based on the same. The user identification module comprises a radio frequency module, a non-contact radio frequency antenna, a main control module and a read-write control module, wherein the main control module is used for controlling the read-write control module to perform non-contact communication mode conversion; the read-write control module is used for controlling the user identification module to select a reader-writer communication mode, a card communication mode or a peer-to-peer communication mode and controlling the radio frequency module to transmit and receive data under the corresponding mode according to the current communication mode of the user identification module; and the radio frequency module is used for transmitting and receiving the data through the non-contact radio frequency antenna according to the control of the read-write control module. According to the user identification module and the information interaction method, non-contact communication among the user identification modules is realized, so that a user can acquire a non-contact communication service under the condition that a user terminal is not replaced; and the control power of an operator over the non-contact service is improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a subscriber identity module and an information interaction method based on the subscriber identity module.
Background
The mobile communication technology is rapidly developed in modern society, and the radio frequency identification technology, the near field communication technology, the wireless technology, the smart card technology, the wireless application protocol, the public key encryption algorithm, the secure electronic transaction protocol and the like play an active role in expanding the service field of the mobile communication technology.
Modern mobile communication devices and mobile communication systems may provide more alternative functionality for the user than the most basic communication functionality. Such as online payment functions, contactless payment functions, electronic ticketing, and real-time account inquiry.
Fig. 1 is a schematic diagram of a Combi-SIM card architecture of an electronic wallet combined with a contactless transceiver of a mobile device in the prior art. The architecture combines a mobile phone Subscriber Identity Module (SIM) or USIM (Universal Subscriber Identity Module) chip and an electronic wallet smart card chip without a non-contact sensing analog circuit into a composite Subscriber Identity card (hereinafter referred to as Combi-SIM), and is matched with a mobile device with a multifunctional non-contact transceiver. Based on the signal path selection function of the multifunctional non-contact transceiver, the mobile device not only can be used as a non-contact card, but also can be used as a card reader to read an external non-contact card or access the contents of an electronic wallet smart card in a Combi-SIM. Thus, the effect of integrating the electronic wallet and the telecommunication value-added service is provided, and consumers can carry out electronic wallet transaction at any time and any place through the convenience of the portable mobile device.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
on one hand, two mobile devices performing non-contact communication must have the function of non-contact communication at the same time, that is, if a user wants to obtain the service, both users need to replace the mobile devices, and the user identification modules cannot directly communicate with each other;
on the other hand, the subscriber identity module cannot control the non-contact communication of the mobile device, which results in weak control of the service by the operator, and the operator only serves as a channel in the non-contact communication, i.e., after the subscriber identity module is replaced by the subscriber of one operator, the subscriber can also enjoy the non-contact service of the mobile device.
Disclosure of Invention
The invention aims to provide a user identification module and a communication method based on the user identification module, so as to realize communication between the user identification modules, ensure that a user obtains non-contact communication service under the condition of not replacing a user terminal, and improve the control force of an operator on the non-contact service, therefore, the invention adopts the following technical scheme:
the embodiment of the invention provides a user identification module, which comprises a radio frequency module, a non-contact radio frequency antenna, a main control module and a read-write control module; wherein,
the main control module is used for controlling the read-write control module to carry out non-contact communication mode conversion;
the read-write control module is used for controlling the user identification module to be in a reader-writer communication mode, a card communication mode or a point-to-point communication mode, and controlling the radio frequency module to receive and transmit data in a corresponding mode according to the communication mode of the user identification module;
and the radio frequency module is used for receiving and transmitting data through the non-contact radio frequency antenna according to the control of the read-write control module.
The embodiment of the invention also provides an information interaction method based on the user identification module, which comprises the following steps:
a first user identification module in a card reader-writer mode or a point-to-point communication mode sends a wireless connection establishment request signal;
the second user identification module in the card communication mode or the point-to-point communication mode returns a wireless connection establishment response signal after intercepting the wireless connection establishment request signal sent by the first user identification module;
the first user identification module establishes non-contact communication connection with the second user identification module according to the received response signal;
and the first subscriber identification module and the second subscriber identification module carry out data communication through the established non-contact communication connection.
Compared with the prior art, the technical scheme provided by the embodiment of the invention has the following advantages:
by applying the technical scheme provided by the embodiment of the invention, the read-write control module is controlled by the main control module to carry out non-contact communication mode conversion, and the read-write control module controls the radio frequency module to carry out data transceiving through the non-contact radio frequency antenna under different communication modes, so that the communication between the user identification modules is realized, the user is ensured to obtain non-contact communication service under the condition of not replacing a user terminal, and meanwhile, the control force of an operator on the non-contact communication service is improved.
Drawings
FIG. 1 is a diagram of a Combi-SIM card architecture of an electronic wallet incorporating a contactless transceiver of a mobile device in the prior art;
fig. 2 is a schematic structural diagram of a subscriber identity module according to an embodiment of the present invention;
fig. 3 is a pin diagram of a subscriber identity module according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating an information interaction method between subscriber identity modules according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating an information interaction method between subscriber identity modules according to another embodiment of the present invention;
fig. 6 is a flowchart illustrating an information interaction method between subscriber identity modules according to another embodiment of the present invention.
Detailed Description
Aiming at the defects that a user terminal needs to be replaced when the non-contact communication service is acquired, the direct communication between the user identification modules cannot be realized, the control force of an operator on the non-contact communication service is weak and the like in the prior art, the embodiment of the invention provides a technical scheme for the user identification modules and the information interaction based on the user identification modules.
The technical solution of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Fig. 2 is a schematic structural diagram of a subscriber identity module according to an embodiment of the present invention. The subscriber identity module can be a SIM card, or other types of subscriber identity cards, such as a USIM card. The following description will be made only by taking the SIM card as an example. As shown in the figure, the SIM card may include, in addition to the radio frequency module 23 and the contactless radio frequency antenna 24: a main control module 21, a read-write control module 22; wherein:
the main control module 21 is used for controlling the read-write control module 22 to perform non-contact communication mode conversion;
the read-write control module 22 is configured to control the SIM card to be in a reader-writer communication mode, a card communication mode or a peer-to-peer communication mode, and control the radio frequency module 23 to forward data in a corresponding mode according to a communication mode in which the SIM card is currently located;
specifically, when the SIM card is in the communication mode of the reader/writer, the SIM card may continuously send a radio frequency signal requesting establishment of a wireless connection to the outside, so as to establish a wireless communication connection (non-contact communication connection) with another SIM card and then serve as the reader/writer to read information in another SIM card or write information into another SIM card; when the SIM card is in a card communication mode, the SIM card can listen to radio frequency signals sent by other SIM cards and requesting to establish wireless connection, so that after the SIM card establishes wireless communication connection (near field mode communication connection) with other SIM cards, the other SIM cards read information of the SIM card or receive information written into the SIM card by other SIM cards; when the SIM card is in a point-to-point communication mode, the SIM card can continuously send out radio frequency signals requesting to establish wireless connection, and can also listen to radio frequency signals requesting to establish wireless connection sent by other SIM cards, so that after the SIM card establishes wireless communication connection (connection in a non-contact communication mode) with other SIM cards, the SIM card can communicate with other SIM cards in a reader-writer communication mode and a card communication mode.
And the radio frequency module 23 is configured to receive and transmit data through the non-contact radio frequency antenna 24 according to the control of the read/write control module 22.
Specifically, when the SIM card is in the reader/writer communication mode, the SIM card may continuously send a radio frequency signal for establishing connection to the outside, and the radio frequency module 23 is configured to convert a received digital signal for establishing connection sent by the main control module 21 into a radio frequency signal, and send the radio frequency signal to the outside through the non-contact radio frequency antenna 24, for example, send the radio frequency signal to other SIM cards in the card communication mode; when the SIM card is in the card communication mode, the SIM card monitors a radio frequency signal sent by another non-contact reader (for example, the SIM card in the reader communication mode) for establishing a connection, and the radio frequency module 23 is configured to convert the radio frequency signal received by the non-contact radio frequency antenna 24 into a digital signal and send the digital signal to the main control module 21; when the SIM card is in the peer-to-peer communication mode, the SIM card may continuously send out a radio frequency signal for establishing a connection on one hand, and monitor radio frequency signals sent by other SIM cards in the peer-to-peer communication mode on the other hand, the radio frequency module 23 is configured to convert a received digital signal sent by the main control module 21 for establishing a connection into a radio frequency signal, send the radio frequency signal out through the non-contact radio frequency antenna 24, convert a radio frequency signal received by the non-contact radio frequency antenna 24 into a digital signal, and send the digital signal to the main control module 21.
In order to ensure security when establishing a wireless connection between SIM cards and prevent replay attacks, a public-private key pair (which may be set by the operator) may be stored in the SIM card. The SIM card may encrypt the transmitted wireless connection establishment request signal using the stored public key, and carry a random number in the encrypted wireless connection establishment request signal, and the SIM card that receives the encrypted wireless connection establishment request signal carrying the random number may verify the wireless connection establishment request signal using the stored private key, and return a wireless connection establishment response message after the verification is passed. Specifically, the main control module 21 may verify the wireless connection establishment request signal by using a private key when the SIM card is in the card communication mode and the radio frequency module 23 monitors an encrypted wireless connection establishment request signal sent by another SIM card, and return a wireless connection establishment response message after the verification is successful to establish wireless connection with the another SIM card; and when the SIM card is in a reader-writer communication mode, sending a wireless connection establishment request signal encrypted by using a public key to the SIM card responding to the connection establishment signal sent by the SIM card, and establishing wireless connection with the SIM card of the opposite terminal after the SIM card of the opposite terminal successfully verifies the wireless connection establishment request and returns a wireless connection response message.
The public and private key pair can be used for security guarantee of data transmission besides being used for security verification in the communication connection establishment process. Of course, only the public-private key pair may be used for security assurance of data transmission.
Specifically, after the wireless connection is established between the SIM cards, in order to improve the security of information interaction between the SIM cards, the main control module 21 may further encrypt the signal sent by the SIM card by using the stored public key, carry a random number in the encrypted signal, and verify the received signal sent by another SIM card by using the stored private key.
The public-private key pair may be stored in the host module 21, or in a memory module 25 separate from the host module 21 in the SIM card.
The conversion of the three modes of the SIM card can be switched manually by the user, for example, the user manually inputs a switching command to switch the communication mode by means of an STK (SIM ToolKit, user identification application development tool) menu or a user terminal client; or, the switching may be automatic, for example, when the SIM card in the reader/writer communication mode receives a radio frequency signal of another SIM card, the switching may be automatically switched to the peer-to-peer communication mode.
Specifically, the main control module 21 may instruct the read-write control module 22 to switch to the corresponding communication mode according to a communication mode switching request input by a user; or, when the SIM card in the reader/writer communication mode receives a wireless connection establishment request signal sent by another SIM card, the main control module 21 instructs the read/write control module 22 to switch to the point-to-point communication mode.
It should be noted that, in the embodiment of the present invention, the non-contact communication function of the SIM card may be default to be started, or the user may set a password to control the starting of the non-contact function of the SIM card, and correspondingly, the main control module 21 or the storage module 25 may further store a password for determining whether to start the non-contact communication function. For example, if the SIM card is set to require the non-contact communication function to be turned on by inputting a password, when the SIM card is in the card communication mode and receives a read/write request of another SIM card in the reader/writer communication mode, the user terminal may automatically pop up a password verification box, prompt the user to input a password for starting the non-contact communication function, and start the non-contact communication function when the input password is consistent with the password stored in the main control module 21 or the storage module 25.
The SIM card provided by the embodiment of the present invention may further include an application module 26 for storing application data and user data. Correspondingly, the main control module 21 may send the user data processed by the application program to the radio frequency module 23, the radio frequency module 23 converts the digital signal into a radio frequency signal, and sends the radio frequency signal through the non-contact radio frequency antenna 24, and when receiving a signal containing the user data sent by another SIM card, obtains the user data contained in the signal and sends the user data to the application module 26 for processing.
In particular, the application module 26 may store specific applications such as electronic wallets, mobile tickets, and related data, such as user account information. Since the application data stored in the application module 26 has a high security requirement, the application module 26 may also be stored in a secure chip.
The SIM card may also comprise a telecommunications module 27 for implementing the telecommunications functions of the SIM card. Accordingly, the main control module 21 is used for controlling the telecommunications module 27 to carry out its telecommunications functions.
It should be noted that the SIM cards provided in the embodiment of the present invention may communicate with each other through the IF1 communication method (i.e., the non-contact communication method between the SIM cards), or may communicate with each other through other near field communication methods.
As shown in fig. 3, which is a schematic pin diagram of a SIM card provided in the embodiment of the present invention, wherein:
c1: a supply Voltage (VCC); c2: reset (RST); c3: a Clock (CLK);
c4: reserving for future use; c5: ground (GND); c6: a programming Voltage (VPP);
c7: input/output (I/O); c8: reserved for future use.
In the present invention, the C4 pin is reserved for use, and in the embodiment of the present invention, the C4 pin is used to implement data transmission between the SIM card and the user terminal, wherein the SIM card and the user terminal can communicate via an IF2 communication mode (i.e., a full-duplex communication mode with a C4 pin). In particular, the C1 pin and the C5 pin can be combined to generate the high and low of the level signal and form a loop for transferring signals for the communication between the SIM card and the user terminal, so that the functions of telecommunication and contactless communication are not affected.
By applying the technical scheme provided by the embodiment of the invention, the communication between the SIM cards and the user terminal can be realized, the user is ensured to obtain the non-contact communication service under the condition of not replacing the user terminal, and meanwhile, the control force of an operator on the non-contact service can be improved.
Based on the SIM card provided by the embodiment of the invention, the embodiment of the invention also provides a method for information interaction between the SIM cards, and the SIM card receives radio frequency signals sent by other SIM cards according to different modes of the SIM card.
As shown in fig. 4, a schematic flow chart of information interaction between SIM cards according to an embodiment of the present invention is provided, in which a SIM card a is in a reader/writer communication mode, a SIM card B is in a card communication mode, and non-contact communication functions of the SIM cards are all acquiescently determined to be open, and the flow describes a process of establishing a non-contact communication connection between the SIM card a and the SIM card B, where the flow may include:
step 401, the SIM card a sends a radio frequency signal to the SIM card B.
Specifically, the main control module 21 of the SIM card a sends a digital signal to the radio frequency module 23, the radio frequency module 23 converts the received digital signal into a radio frequency signal, and sends the radio frequency signal to the SIM card B through the non-contact radio frequency antenna 24.
Step 402, the SIM card B receives the radio frequency signal sent by the SIM card a, decodes the radio frequency signal, and returns a response to establish wireless communication if the decoding is successful.
Specifically, after receiving the radio frequency signal sent by the SIM card a through the non-contact radio frequency antenna 24, the radio frequency module 23 of the SIM card B decodes the received radio frequency signal, converts the radio frequency signal into a digital signal after the decoding is successful, and sends the digital signal to the main control module 21, and the main control module 21 returns a response for establishing wireless communication to the SIM card through the radio frequency module 23.
Step 403, the SIM card a sends a wireless connection establishment request signal to the SIM card B, where the request signal carries a cipher text of public key encryption, and may further carry a random number.
Specifically, after receiving a response to establish wireless communication returned by the SIM card B, the SIM card a sends a connection establishment request signal to the SIM card B through the radio frequency module 23; the request signal may carry a cipher text encrypted by the main control module 21 using the stored public key, and may further carry a random number in one step.
Step 404, the SIM card B verifies the cipher text in the wireless connection establishment request signal by the private key, if the verification is passed, returns a response of establishing the wireless connection, and if the verification is failed, rejects the wireless connection request; if the wireless connection establishment request signal also carries a random number, the SIM card B verifies the SIM card A according to the random number, and returns a response for establishing the wireless connection when the verification is successful and the SIM card B verifies the ciphertext successfully, otherwise, the wireless connection request is rejected.
Specifically, the main control module 21 of the SIM card B verifies the ciphertext in the received wireless connection establishment request signal by using the stored private key, if the verification is successful, a response of establishing the wireless connection is returned to the SIM card a through the radio frequency module 23, and if the verification is failed, the wireless connection request is rejected; when the wireless connection establishment request signal received by the SIM card B also carries a random number, the main control module 21 verifies the SIM card a according to the random number, and when the verification is successful and the ciphertext verification is successful, returns a response of establishing the wireless connection to the SIM card a through the radio frequency module 23, otherwise, rejects the wireless connection request.
Step 405, SIM card a and SIM card B communicate data through the established contactless communication connection.
Specifically, when the main control module 21 of the SIM card a receives a response to establish a wireless connection, a wireless connection (contactless communication connection) is established between the SIM card a and the SIM card B, and data communication is performed through the established contactless communication connection.
By applying the technical scheme provided by the embodiment of the invention, the communication between the SIM cards is realized, the user is ensured to obtain the non-contact communication service under the condition of not replacing the user terminal, and the control force of an operator on the non-contact service is improved.
As shown in fig. 5, a schematic flow chart of information interaction between SIM cards according to another embodiment of the present invention is provided, where in this embodiment, both SIM card a and SIM card B are in a peer-to-peer communication mode, and both the non-contact communication functions of SIM card a and SIM card B are selected to be turned on by a user, and this flow describes a process of establishing a non-contact communication connection between SIM card a and SIM card B, and this flow may include:
step 501, sending a radio frequency signal to an SIM card B by an SIM card A, and receiving the radio frequency signal sent by the SIM card B;
step 502A, SIM, card A decodes the received radio frequency signal of SIM card B, and returns a response agreeing to establish wireless communication when the decoding is successful;
step 502B, SIM, card B decodes the received radio frequency signal of SIM card A, and returns a response agreeing to establish wireless communication when the decoding is successful;
step 503A, when the SIM card A successfully decodes the received radio frequency signal and receives a response of agreeing to establish wireless communication sent by the SIM card B, the SIM card A sends a request signal for establishing wireless connection to the SIM card B, and the request signal carries a cipher text and a random number after the public key is encrypted;
step 503B, when the SIM card B successfully decodes the received radio frequency signal and receives a response of agreeing to establish wireless communication sent by the SIM card A, the SIM card B sends a request signal for establishing wireless connection to the SIM card A, and the request signal carries a cipher text and a random number after the public key is encrypted;
step 504A, SIM, the card A verifies the cipher text of the received connection establishment request by the private key, and returns the response of establishing the wireless connection when the verification is passed;
step 504B, SIM, the card B verifies the cipher text of the received connection establishment request by the private key, and returns a response of establishing the wireless connection when the verification is passed;
and 505, when the cipher text in the received wireless connection establishment request signal is verified to be passed by the SIM card A and a response for establishing the wireless connection returned by the SIM card B is received, establishing point-to-point communication between the SIM card A and the SIM card B, and performing data communication through the established non-contact communication connection.
In the above process, the processing flow among the functional modules in the SIM card may refer to the corresponding description in the process shown in fig. 4, and is not described herein again.
By applying the technical scheme provided by the embodiment of the invention, the SIM cards are realized, the user is ensured to obtain the non-contact communication service under the condition of not replacing the user terminal, and the control force of an operator on the non-contact service is improved.
The technical solution proposed in the embodiment of the present invention is further described in detail below with reference to a specific application scenario of electronic wallet transfer.
An electronic wallet application is stored in an application module in the SIM card, an account of the electronic wallet is stored in the electronic wallet application of the SIM card, and a transfer password is also stored in the electronic wallet application. When applying for wallet transfer, transfer passwords must be input, and the transfer operation is allowed after the electronic wallet application verifies that the passwords pass. When the other side receives the transfer, the transfer password of the other side must be input, and the transfer can be received only if the password is input correctly. And a shadow account corresponding to the SIM card electronic wallet application is stored on the mobile phone payment platform.
The mobile phone terminal is loaded with an electronic wallet client. The SIM card in the mobile phone terminal is the SIM card with the structure and has a non-contact function, and the non-contact function can be controlled by the main control module.
As shown in fig. 6, the process of transferring the electronic wallet by different mobile phone terminals in a non-contact manner may include:
step 601, the user selects transfer on the STK menu of the mobile phone terminal or the electronic wallet client of the mobile phone terminal, and inputs transfer amount and transfer password. For convenience of description, the SIM card in the mobile phone terminal is hereinafter referred to as SIM card a, and the SIM card in the transfer destination mobile phone terminal is hereinafter referred to as SIM card B.
Step 602, the electronic wallet application of the SIM card a checks the transfer password of the user, and after the check is passed, sends a radio frequency signal of a connection establishment request to the SIM card B. The non-contact communication functions of the SIM card and the SIM card B are acquiescently opened, and the SIM card A and the SIM card B are in a point-to-point communication mode.
Step 603, the SIM card B returns a response to establish the non-contact communication connection between the SIM card A and the SIM card B;
step 604, the electronic wallet application in the SIM card a generates a check code MAC1 (including generating a random number for MAC 1);
step 605, the SIM card A sends a transfer request to the SIM card B; wherein the transfer request carries a transfer amount and MAC1 (including generating a random number for MAC 1);
step 606, after receiving the transfer request, the SIM card B prompts the user to input the transfer password of the user, and after receiving the transfer password input by the user, the electronic wallet application on the SIM card B verifies the transfer password and the received MAC 1; if the verification is passed, adding money to the electronic wallet account of the SIM card B, otherwise, returning a failure response;
step 607, the electronic wallet application of the SIM card B generates MAC2 and TAC code indicating that the transaction is successful;
step 608, the SIM card B returns a transfer request response to the SIM card A; wherein the response includes MAC2 (including the random number that generated MAC 2), TAC code;
step 609, verifying MAC2 by the electronic wallet application in the SIM card A, and deducting the transfer amount of the electronic wallet of the SIM card A if the MAC2 passes the verification;
step 610, the electronic wallet application of the SIM card A generates a transaction record; wherein, the transaction record comprises a TAC code for uniquely identifying a transaction; and uploading the transaction record to the mobile payment platform; wherein, the transaction record at least comprises a transfer amount and a TAC code;
step 611, after receiving the transaction record, the mobile phone payment system checks the TAC code, and if the TAC code passes the check, deducts the transfer amount from the shadow account of the electronic wallet application corresponding to the SIM card a, and adds the transfer amount to the shadow account of the electronic wallet application corresponding to the SIM card B;
step 612, the mobile phone payment system returns the result of the system processing to the SIM card a.
In the above process, the processing flow of each functional module in the SIM card a and the SIM card B may refer to the corresponding description shown in fig. 4 or fig. 5, and is not described herein again.
Through the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present invention may be implemented by hardware, or by software plus a necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the various implementation scenarios of the embodiments of the present invention.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to implement embodiments of the present invention.
Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The sequence numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the implementation scenarios.
The above disclosure is only a few specific implementation scenarios of the embodiments of the present invention, but the embodiments of the present invention are not limited thereto, and any variations that can be considered by those skilled in the art should fall within the scope of the business limitations of the embodiments of the present invention.
Claims (13)
1. A user identification module comprises a radio frequency module and a non-contact radio frequency antenna, and is characterized by also comprising a main control module and a read-write control module; wherein,
the main control module is used for controlling the read-write control module to carry out non-contact communication mode conversion;
the read-write control module is used for controlling the user identification module to be in a reader-writer communication mode, a card communication mode or a point-to-point communication mode, and controlling the radio frequency module to receive and transmit data in a corresponding mode according to the communication mode of the user identification module;
the radio frequency module is used for receiving and transmitting data through the non-contact radio frequency antenna according to the control of the read-write control module;
the system further comprises a storage module in which a public and private key pair is stored, or the master control module stores the public and private key pair;
the main control module is further configured to verify the wireless connection establishment request signal by using the private key when the user identification module is in a card communication mode and the radio frequency module monitors an encrypted wireless connection establishment request signal which is sent by an opposite-end user identification module and carries a random number, and establish wireless connection with the opposite-end user identification module after the verification is successful; and when the user identification module is in a reader-writer communication mode, sending a wireless connection establishment request signal which is encrypted by using the public key and carries a random number to an opposite-end user identification module, and establishing wireless connection with the opposite-end user identification module after the opposite-end user identification module successfully verifies the wireless connection establishment request.
2. The subscriber identity module according to claim 1, further comprising a storage module storing a public-private key pair, or the master module storing a public-private key pair;
the master control module is further configured to encrypt a signal sent by the user identification module by using the public key, send the signal to the radio frequency module after carrying a random number in the signal, and verify the signal sent by the opposite-end user identification module and received by the radio frequency module by using the private key.
3. The subscriber identity module of claim 1, further comprising a storage module having a password stored therein, or wherein the main control module has a password stored therein;
the main control module is also used for verifying the password input by the user by using the password and indicating the read-write control module to start the non-contact communication function after the verification is passed.
4. The subscriber identity module of claim 1, wherein the main control module is specifically configured to instruct the read/write control module to switch to a corresponding communication mode according to a communication mode switching request input by a user.
5. The subscriber identity module of claim 1, wherein the main control module is specifically configured to, when the subscriber identity module is in a reader/writer communication mode, instruct the read/write control module to switch to a peer-to-peer communication mode if a wireless connection establishment request signal sent by another subscriber identity module is received.
6. The subscriber identity module of claim 1, wherein the read-write control module is specifically configured to, when the subscriber identity module is in a reader-writer communication mode, instruct the radio frequency module to convert a received digital signal sent by the main control module into a radio frequency signal, and send the radio frequency signal to another subscriber identity module through the non-contact radio frequency antenna; when the user identification module is in a card communication mode, the radio frequency module is indicated to convert radio frequency signals received by the non-contact antenna and sent by other user identification modules into digital signals and send the digital signals to the main control module; and when the user identification module is in a point-to-point communication mode, the radio frequency module is instructed to convert the received digital signals sent by the main control module into radio frequency signals and send the radio frequency signals to other user identification modules through the non-contact radio frequency antenna, and the radio frequency signals received by the non-contact radio frequency antenna and sent by the other user identification modules are converted into digital signals and sent to the main control module.
7. The subscriber identity module according to any of claims 1 to 6, further comprising:
the application module is used for storing application program data and user data;
the main control module is specifically configured to send user data processed by an application program to the radio frequency module, send the user data through the non-contact radio frequency antenna by the radio frequency module, and send the user data to the application module for processing when receiving the user data sent by the opposite-end user identification module.
8. The subscriber identity module according to any of claims 1 to 6, further comprising:
a telecommunications module for implementing telecommunications functions of the subscriber identity module;
the main control module is also used for controlling the telecommunication module to realize the telecommunication function.
9. An information interaction method implemented based on the subscriber identity module of any one of claims 1 to 8, comprising:
a first user identification module in a card reader-writer mode or a point-to-point communication mode sends a wireless connection establishment request signal;
the second user identification module in the card communication mode or the point-to-point communication mode returns a wireless connection establishment response signal after intercepting the wireless connection establishment request signal sent by the first user identification module;
the first user identification module establishes non-contact communication connection with the second user identification module according to the received response signal;
and the first subscriber identification module and the second subscriber identification module carry out data communication through the established non-contact communication connection.
10. The method of claim 9, wherein the first subscriber identity module sends a wireless connection establishment request signal, specifically:
the first user identification module encrypts a wireless connection establishment request by using a stored public key and sends the wireless connection establishment request after carrying a random number;
the second subscriber identity module returns a response signal for establishing the wireless connection, which specifically comprises the following steps:
the second user identification module verifies the intercepted encrypted wireless connection establishment request carrying the random number by using the stored private key, and returns a wireless connection establishment response signal after the verification is successful.
11. The method of claim 9, wherein before the first subscriber identity module transmits the wireless connection establishment request signal, further comprising:
the first user identification module verifies the password input by the user by using the stored password for judging whether the non-contact communication function is started or not, and starts the non-contact communication function after the verification is passed.
12. The method of claim 9, wherein the subscriber identity module switches to a corresponding communication mode according to a communication mode switching request input by a user, and the communication mode includes a reader communication mode, a card communication mode, and a peer-to-peer communication mode.
13. The method of claim 9, wherein when the subscriber identity module in the reader/writer communication mode receives a wireless connection setup request signal transmitted from another subscriber identity module, the subscriber identity module switches to the peer-to-peer communication mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110051115.XA CN102655642B (en) | 2011-03-03 | 2011-03-03 | User identification module and information interaction method based on same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110051115.XA CN102655642B (en) | 2011-03-03 | 2011-03-03 | User identification module and information interaction method based on same |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102655642A CN102655642A (en) | 2012-09-05 |
CN102655642B true CN102655642B (en) | 2015-03-11 |
Family
ID=46731159
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110051115.XA Active CN102655642B (en) | 2011-03-03 | 2011-03-03 | User identification module and information interaction method based on same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102655642B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101111022A (en) * | 2007-08-10 | 2008-01-23 | 中兴通讯股份有限公司 | Multi-module machine and implementing method thereof |
CN101771754A (en) * | 2008-12-31 | 2010-07-07 | 北京联想软件有限公司 | Mobile terminal and method for near-field communication thereof |
-
2011
- 2011-03-03 CN CN201110051115.XA patent/CN102655642B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101111022A (en) * | 2007-08-10 | 2008-01-23 | 中兴通讯股份有限公司 | Multi-module machine and implementing method thereof |
CN101771754A (en) * | 2008-12-31 | 2010-07-07 | 北京联想软件有限公司 | Mobile terminal and method for near-field communication thereof |
Also Published As
Publication number | Publication date |
---|---|
CN102655642A (en) | 2012-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101375820B1 (en) | SYSTEMS AND METHODS FOR PROVIDING NFC SECURE APPLlCATION SUPPORT IN BATTERY ON AND BATTERY OFF MODES | |
US8532295B2 (en) | Method for the secure loading in a NFC chipset of data allowing access to a service | |
EP2053827B1 (en) | Method for secure personalisation of an NFC chipset | |
US20070123305A1 (en) | Method For Securing a Near Field Communication Device of a Mobile Phone | |
US20130166456A1 (en) | System and Method for Remote Payment Based on Mobile Terminal | |
US20160192287A1 (en) | Communication control apparatus, authentication device, central control apparatus and communication system | |
CN101605325B (en) | Method for identity authentication, mobile terminal, server, and identity authentication system | |
CN102802156A (en) | Authentication method and relevant device | |
CN102833074A (en) | Authentication method and related equipment | |
EP2518670A1 (en) | System and method for remote payment based on mobile terminal | |
CN102469452B (en) | The method and apparatus of mobile terminal contactless communication | |
CN105761067A (en) | Intelligent pos machine security module and starting method thereof | |
KR20120061022A (en) | Method and System for Authenticating Caller of Voice Network using Data Network, Caller Side Device, Receiver Device and Program | |
JP5740867B2 (en) | Communication apparatus, information processing system, and encryption switching method | |
US20220398565A1 (en) | Type 4 nfc tags as protocol interface | |
US20190172051A1 (en) | Electronic device and method for processing remote payment | |
CN102655642B (en) | User identification module and information interaction method based on same | |
KR101972972B1 (en) | Method for Operating Medium Division Style One Time Code by using Near Field Communication | |
KR101098670B1 (en) | Method for Providing End-to-End Security Service using Wireless Terminal and Recording Medium | |
KR101944502B1 (en) | Method for Processing Dynamic Account Information | |
KR20140007628A (en) | Method for mobile banking of account transfer using security confirmation processing | |
KR101491424B1 (en) | Method for Creating One Time Password by using Near Field Communication | |
KR101342181B1 (en) | Apparatus and method for connecting antenna in mobile phone | |
KR20130029998A (en) | Recording medium, method and device for financial transactions processing use of near field communication | |
KR20100136352A (en) | System and method for settling mobile phone by multiple code creation mode with biometrics and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |