CN107305659B - Non-contact communication implementation method, baseband chip and terminal - Google Patents
Non-contact communication implementation method, baseband chip and terminal Download PDFInfo
- Publication number
- CN107305659B CN107305659B CN201610262507.3A CN201610262507A CN107305659B CN 107305659 B CN107305659 B CN 107305659B CN 201610262507 A CN201610262507 A CN 201610262507A CN 107305659 B CN107305659 B CN 107305659B
- Authority
- CN
- China
- Prior art keywords
- terminal
- contact information
- analog
- baseband chip
- logic channel
- 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 34
- 238000006243 chemical reaction Methods 0.000 claims abstract description 78
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000003993 interaction Effects 0.000 description 6
- 239000000872 buffer Substances 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 1
- 230000005672 electromagnetic field Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3278—RFID or NFC payments by means of M-devices
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a non-contact communication implementation method, which comprises the following steps: when non-contact communication is carried out, a baseband chip of a first terminal opens a logic channel with a first terminal user identification module card; the baseband chip receives non-contact information from a second terminal; performing analog-to-digital conversion on the non-contact information of the second terminal, and transmitting the non-contact information subjected to the analog-to-digital conversion to the subscriber identity module card on the opened logic channel; the baseband chip receives non-contact information from the subscriber identity module card on the opened logic channel; and D/A conversion is carried out on the non-contact information of the SIM card, and the non-contact information after D/A conversion is sent to the second terminal. The invention also discloses a baseband chip and a terminal.
Description
Technical Field
The invention relates to the field of mobile payment, in particular to a non-contact communication implementation method, a baseband chip and a terminal.
Background
Most of the current mobile payment terminals are smart terminals that have a Contactless chip (a Contactless front end (CLF) chip) and support a Single Wire Protocol (SWP). When a user holds the terminal to swipe the card, the non-contact accepting device and the CLF chip in the terminal perform radio frequency communication to establish connection, prevent collision and the like.
The terminal is internally provided with an SWP-SIM card, and when the terminal is used, the CLF chip and the SWP-SIM card exchange data based on SWP to complete related transactions.
As can be seen from the above description, the current mobile payment terminal needs to set a CLF chip inside the terminal and needs to use the SWP-SIM card for use, which greatly increases the cost and greatly reduces the conversion rate of the service used by the user.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a non-contact communication implementation method, a baseband chip, and a terminal.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a non-contact communication implementation method, which is applied to a first terminal and comprises the following steps:
when non-contact communication is carried out, a baseband chip of the first terminal opens a logic channel with the first terminal user identification module card;
the baseband chip receives non-contact information from a second terminal; performing analog-to-digital conversion on the non-contact information of the second terminal, and transmitting the non-contact information subjected to the analog-to-digital conversion to the subscriber identity module card on the opened logic channel;
the baseband chip receives non-contact information from the subscriber identity module card on the opened logic channel; and D/A conversion is carried out on the non-contact information of the SIM card, and the non-contact information after D/A conversion is sent to the second terminal.
In the above scheme, the baseband chip receives a non-contact transaction instruction from the second terminal;
the baseband chip carries out analog-to-digital conversion on the non-contact transaction instruction;
accordingly, the baseband chip opens a logical channel with the customer identification module card, including:
generating a control instruction by using the non-contact transaction instruction after analog-to-digital conversion;
and executing the control instruction, and opening a logic channel with the user identification module card.
In the above solution, the executing the control instruction to open a logic channel with the sim card includes:
the baseband chip sends a logic channel opening instruction to the user identification module card;
and receiving the channel number returned by the subscriber identity module card.
In the above scheme, the baseband chip and the subscriber identity module card communicate based on an ISO 7816 protocol.
In the foregoing solution, before the baseband chip performs analog-to-digital conversion on the non-contact information of the second terminal, the method further includes:
the baseband chip caches the non-contact information from the second terminal;
correspondingly, before the performing digital-to-analog conversion on the non-contact information of the subscriber identity module card, the method further comprises:
the baseband chip caches the non-contact information from the SIM card number.
In the above scheme, the method further comprises:
and after the non-contact communication is finished, the baseband chip closes the logic channel.
An embodiment of the present invention further provides a baseband chip, including:
the logic channel manager is used for opening a logic channel of the subscriber identity module card of the first terminal where the logic channel manager is positioned when non-contact communication is carried out;
an analog-to-digital converter for receiving the non-contact information from the second terminal; performing analog-to-digital conversion on the non-contact information of the second terminal, and transmitting the non-contact information subjected to the analog-to-digital conversion to the subscriber identity module card on the opened logic channel through the logic channel manager; and receiving, by the logical channel manager, non-contact information from the subscriber identity module card on the opened logical channel; and D/A conversion is carried out on the non-contact information of the SIM card, and the non-contact information after D/A conversion is sent to the second terminal.
In the above solution, the analog-to-digital converter is configured to receive a contactless transaction instruction from the second terminal; performing analog-to-digital conversion on the non-contact transaction instruction; generating a control instruction by using the non-contact transaction instruction after the analog-to-digital conversion;
accordingly, the baseband chip may further include: an interrupt manager and a processor; wherein,
and the logic channel manager is used for acquiring the control instruction through the processor and the interrupt manager in sequence, executing the control instruction and opening a logic channel with the SIM card.
In the foregoing solution, the logical channel manager is specifically configured to:
sending a logic channel opening instruction to the user identification module card;
and receiving the channel number returned by the subscriber identity module card.
In the above scheme, the logical channel manager and the sim card communicate based on ISO 7816 protocol.
In the foregoing solution, the processor is configured to cache the non-contact information from the second terminal, which is sent by the analog-to-digital converter; caching the non-contact information from the number of the user identification module cards sent by the analog-digital-to-digital converter;
the analog-digital converter is further configured to send the non-contact information from the second terminal to the processor before performing analog-digital conversion on the non-contact information of the second terminal; and before the digital-to-analog conversion is carried out on the non-contact information of the SIM card, the non-contact information of the SIM card number is sent to the processor.
In the above scheme, the logic channel manager is further configured to close the logic channel after the non-contact communication is ended.
The embodiment of the invention also provides a terminal, and the terminal is provided with any one of the baseband chips.
According to the non-contact communication implementation method, the baseband chip and the terminal provided by the embodiment of the invention, when the non-contact communication is carried out, the baseband chip of the first terminal opens a logic channel with the first terminal user identification module card; the baseband chip receives non-contact information from a second terminal; performing analog-to-digital conversion on the non-contact information of the second terminal, and transmitting the non-contact information subjected to the analog-to-digital conversion to the subscriber identity module card on the opened logic channel; the baseband chip receives non-contact information from the subscriber identity module card on the opened logic channel; and the baseband chip of the first terminal performs radio frequency communication with the second terminal, and simultaneously communicates with the subscriber identity module card to realize the whole non-contact communication without additionally increasing a CLF chip, so that the cost of the terminal is greatly reduced.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
Fig. 1 is a schematic diagram of a typical mobile payment terminal structure and interaction with a non-contact acceptance device;
fig. 2 is a flowchart illustrating a method for implementing contactless communication according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a second baseband chip according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a baseband chip of a three-terminal according to an embodiment of the present invention;
FIG. 5 is a flow chart of a mobile payment method according to a third embodiment of the present invention;
fig. 6 is a schematic diagram of a three-terminal structure and interaction with an external reader/writer according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Fig. 1 shows a schematic structure of a current mobile payment terminal. As can be seen from fig. 1, when the payment terminal is used for performing payment services, the built-in CLF chip communicates with the contactless receiving device based on a radio frequency protocol, and the CLF chip communicates with the SWP-SIM card based on SWP. Specifically, the non-contact acceptance equipment sends a non-contact transaction instruction to the CLF chip based on a radio frequency protocol, and after receiving the instruction, the CLF chip delivers the non-contact transaction instruction to the SWP-SIM card based on the SWP; after receiving the non-contact transaction instruction, the SWP-SIM card performs related processing such as transaction and returns a processing result to the CLF chip based on the SWP; and after receiving the processing result, the CLF chip returns the processing result to the non-contact acceptance equipment based on the radio frequency protocol.
As can be seen from the above description, the CLF chip needs to be added inside the current mobile payment terminal, which greatly increases the cost of the terminal and the complexity of the circuit board layout, and the SWP process of the interaction between the CLF chip and the WP-SIM card is long and complex, and the fault tolerance rate is low. Meanwhile, the user is required to use the SWP-SIM card, that is, the user is required to replace the common SIM card with the SWP-SIM card, so that the use threshold of the user is improved, and the conversion rate of the service used by the user is reduced.
Based on this, in various embodiments of the invention: when non-contact communication is carried out, a baseband chip of a first terminal opens a logic channel with a first terminal user identification module card; the baseband chip receives non-contact information from a second terminal; performing analog-to-digital conversion on the non-contact information of the second terminal, and transmitting the non-contact information subjected to the analog-to-digital conversion to the subscriber identity module card on the opened logic channel; the baseband chip receives non-contact information from the subscriber identity module card on the opened logic channel; and D/A conversion is carried out on the non-contact information of the SIM card, and the non-contact information after D/A conversion is sent to the second terminal.
Example one
The method for implementing non-contact communication in this embodiment is applied to a first terminal, and as shown in fig. 2, includes the following steps:
step 201: when non-contact communication is carried out, a baseband chip of a first terminal opens a logic channel with a first terminal user identification module card;
here, in actual application, the baseband chip is triggered by the first piece of non-contact information from the second terminal to open a logic channel with the subscriber identity module card. Specifically, the first piece of non-contact information may be a non-contact transaction instruction from the second terminal;
correspondingly, the baseband chip needs to perform analog-to-digital conversion on the non-contact transaction instruction so as to transmit the non-contact transaction instruction to the subscriber identity module card, and at this time, the baseband chip is triggered to open a logic channel with the subscriber identity module card.
Specifically, a control instruction is generated by using a non-contact transaction instruction after analog-to-digital conversion;
and executing the control instruction, and opening a logic channel with the user identification module card.
Wherein, the executing the control instruction and opening a logic channel with the subscriber identity module card specifically includes:
the baseband chip sends a logic channel opening instruction to the user identification module card;
and receiving the channel number returned by the subscriber identity module card.
And the second terminal is a terminal for performing data interaction with the subscriber identity module card.
Step 202: the baseband chip receives non-contact information from a second terminal; performing analog-to-digital conversion on the non-contact information of the second terminal, and transmitting the non-contact information subjected to the analog-to-digital conversion to the subscriber identity module card on the opened logic channel;
step 203: the baseband chip receives non-contact information from the subscriber identity module card on the opened logic channel; and D/A conversion is carried out on the non-contact information of the SIM card, and the non-contact information after D/A conversion is sent to the second terminal.
The baseband chip and the user identification module card are communicated based on an ISO 7816 protocol.
Here, in practical application, in an embodiment, before the baseband chip performs analog-to-digital conversion on the non-contact information of the second terminal, the method may further include:
the baseband chip caches the non-contact information from the second terminal;
correspondingly, before performing digital-to-analog conversion on the non-contact information of the subscriber identity module card, the method may further include:
the baseband chip caches the non-contact information from the SIM card number.
The baseband chip caches the non-contact information from the second terminal and then performs analog-to-digital conversion, and correspondingly, the baseband chip caches the non-contact information from the subscriber identity module card number and then performs digital-to-analog conversion, so that data loss can be effectively prevented in the process of digital-to-analog or analog-to-digital conversion.
In an embodiment, the method may further comprise:
and after the non-contact communication is finished, the baseband chip closes the logic channel.
And acquiring whether the non-contact communication is finished or not according to the change of the electromagnetic wave field intensity of the second terminal. And after the non-contact communication is finished according to the change of the field intensity of the second terminal, the baseband chip sends a command of closing the logic channel to the subscriber identity module card so as to close the logic channel.
In practical application, after receiving the non-contact information from the second terminal, the user identification module card performs relevant processing, including transaction processing and the like, on the received non-contact information, so as to return corresponding non-contact information to the second terminal.
In the method for implementing non-contact communication provided by the embodiment of the invention, when the non-contact communication is carried out, a baseband chip of a first terminal opens a logic channel with a first terminal user identification module card; the baseband chip receives non-contact information from a second terminal; performing analog-to-digital conversion on the non-contact information of the second terminal, and transmitting the non-contact information subjected to the analog-to-digital conversion to the subscriber identity module card on the opened logic channel; the baseband chip receives non-contact information from the subscriber identity module card on the opened logic channel; and the baseband chip of the first terminal performs radio frequency communication with the second terminal, and simultaneously communicates with the subscriber identity module card to realize the whole non-contact communication without additionally increasing a CLF chip, so that the cost of the terminal is greatly reduced.
In addition, the baseband chip and the subscriber identity module card communicate based on an ISO 7816 protocol, non-contact communication can be realized by using a common subscriber identity module card, and a user does not need to use a special subscriber identity module card, in other words, the user can carry out mobile payment service by using a common SIM card, so that the use threshold of the user is greatly reduced, and the conversion rate of the service used by the user is greatly improved.
Example two
To implement the method according to the embodiment of the present invention, the embodiment provides a baseband chip, as shown in fig. 3, where the baseband chip includes:
a logical channel manager 31, configured to open a logical channel with a subscriber identity module card of a first terminal where the logical channel manager is located when performing non-contact communication;
an analog-to-digital converter 32 for receiving the non-contact information from the second terminal; performing analog-to-digital conversion on the non-contact information of the second terminal, and transmitting the non-contact information after the analog-to-digital conversion to the subscriber identity module card through the logic channel manager 31 on the opened logic channel; and receiving non-contact information from the subscriber identity module card on the opened logical channel through the logical channel manager 31; and D/A conversion is carried out on the non-contact information of the SIM card, and the non-contact information after D/A conversion is sent to the second terminal.
Here, in actual application, the baseband chip is triggered by the first piece of non-contact information from the second terminal to open a logic channel with the subscriber identity module card. Specifically, the first piece of non-contact information may be a non-contact transaction instruction from the second terminal;
accordingly, the analog-to-digital converter 32 needs to perform analog-to-digital conversion on the contactless transaction instruction for transmission to the sim card, and at this time, triggers the logic channel manager 31 to open a logic channel with the sim card.
Based on this, the analog-to-digital-to-analog converter 32 is used for receiving the non-contact transaction instruction from the second terminal; performing analog-to-digital conversion on the non-contact transaction instruction; generating a control instruction by using the non-contact transaction instruction after the analog-to-digital conversion;
accordingly, the terminal may further include: an interrupt manager and a processor; wherein,
the logical channel manager 31 is configured to obtain the control instruction sequentially through the processor and the interrupt manager, execute the control instruction, and open a logical channel with the sim card.
Here, in practical application, after performing analog-to-digital conversion on the non-contact transaction instruction, the analog-to-digital-to-analog converter 32 generates a control instruction by using the non-contact transaction instruction after the analog-to-digital conversion, and sends the control instruction to the processor; after receiving the control instruction, the processor sends a corresponding interrupt request to the interrupt manager; after receiving the interrupt request, the interrupt manager sends a corresponding control instruction to the logical channel manager 31, and the logical channel manager 31 executes the control instruction to open a logical channel with the sim card.
The logical channel manager 31 is specifically configured to:
sending a logic channel opening instruction to the user identification module card;
and receiving the channel number returned by the subscriber identity module card.
And the second terminal is a terminal for performing data interaction with the subscriber identity module card.
The logical channel manager 31 communicates with the sim card based on ISO 7816 protocol.
Here, in practical application, in an embodiment, the processor is configured to buffer the non-contact information from the second terminal, which is sent by the analog-to-digital converter 32; and the non-contact information from the number of the user identification module cards sent by the analog-to-digital converter 32 is cached;
the analog-to-digital converter 32 is further configured to send the non-contact information from the second terminal to the processor before performing analog-to-digital conversion on the non-contact information of the second terminal; and before the digital-to-analog conversion is carried out on the non-contact information of the SIM card, the non-contact information of the SIM card number is sent to the processor.
The adc 32 buffers the non-contact information from the second terminal and performs analog-to-digital conversion, and accordingly, the adc 32 buffers the non-contact information from the sim card and performs digital-to-analog conversion, so that data loss can be effectively prevented during digital-to-analog or analog-to-digital conversion.
In an embodiment, the logical channel manager 31 is further configured to close the logical channel after the non-contact communication is ended.
Wherein, the logic channel manager 31 can know whether the non-contact communication is finished according to the variation of the electromagnetic field strength of the second terminal. More specifically, the processor may learn whether the non-contact communication is ended according to the change of the field strength of the second terminal, and notify the interrupt manager after learning that the non-contact communication is ended; the interrupt manager informs the logic channel manager 31 after the non-contact communication is finished; when it is known that the non-contact communication is ended, the logical channel manager 31 sends an instruction to close the logical channel to the subscriber identity module card, so as to close the logical channel.
In practical application, after receiving the non-contact information from the second terminal, the user identification module card performs relevant processing, including transaction processing and the like, on the received non-contact information, so as to return corresponding non-contact information to the second terminal.
Based on the baseband chip, the embodiment of the invention also provides a terminal, and the terminal is provided with the baseband chip.
According to the scheme provided by the embodiment of the invention, when the non-contact communication is carried out, the logic channel manager 31 opens the logic channel of the SIM card of the first terminal where the logic channel manager is located; the analog-to-digital converter 32 receives non-contact information from the second terminal; performing analog-to-digital conversion on the non-contact information of the second terminal, and transmitting the non-contact information after the analog-to-digital conversion to the subscriber identity module card through the logic channel manager 31 on the opened logic channel; the analog-to-digital converter 32 receives non-contact information from the subscriber identity module card on the opened logical channel through the logical channel manager 31; and the baseband chip of the first terminal performs radio frequency communication with the second terminal, and simultaneously communicates with the subscriber identity module card to realize the whole non-contact communication without additionally increasing a CLF chip, so that the cost of the terminal is greatly reduced.
In addition, the logic channel manager 31 and the SIM card communicate based on ISO 7816 protocol, and a general SIM card is used to implement non-contact communication, and the user does not need to use a special SIM card, in other words, the user can perform mobile payment service using a general SIM card, so that the usage threshold of the user is greatly reduced, and the conversion rate of the user using the service is greatly improved.
EXAMPLE III
The embodiment describes how to implement the non-contact communication by taking the mobile payment service as an example on the basis of the first embodiment and the second embodiment.
Fig. 4 shows an internal structure of a baseband chip (MODEM) in the terminal of the present embodiment. As shown in fig. 4, compared with the current payment terminal, the present embodiment modifies the baseband chip of the terminal, and mainly adds two modules, which are a logic channel manager and an analog-to-digital converter. Wherein,
the A/D converter is connected to the processor and the interrupt processor separately and may adopt internal bus structure. The system is responsible for converting an analog signal sent by an external reader-writer into a digital signal, and correspondingly converting the digital signal transmitted by the SIM card into the analog signal to be sent to the external reader-writer (non-contact receiving equipment), and the specific conversion process can refer to the ISO 14443 standard. Meanwhile, the analog-digital-analog converter stores input data from an external reader-writer and output data from the SIM card into a storage unit through a processor, and triggers a logic channel manager of the interrupt manager in real time to open a logic channel with the SIM card according to requirements.
The logic channel manager is arranged in the interrupt manager, so that the interrupt manager can trigger the logic channel manager to open the logic channel after receiving an interrupt request of the processor. Specifically, when receiving a control instruction transmitted by an analog-digital converter, the processor sends an interrupt request to the interrupt manager to trigger the logic channel manager to open a logic channel with the SIM card; and transmitting a non-contact transaction instruction from an external reader-writer on the opened logic channel, exchanging data with the SIM card, and closing the logic channel after the data exchange is finished.
Wherein the processor functions to: processing the instructions received by the whole chip to control the operation of other modules;
the interrupt manager functions as: receiving an interrupt request of a processor to trigger a logic channel manager to work, namely triggering the logic channel manager to open a logic channel with an SIM card so as to transmit a non-contact transaction instruction from an external reader-writer on the opened logic channel and exchange data with the SIM card;
the digital signal processor has the functions of: the telecommunication functions of the digital signal processor are the same as those of the existing MODEM, such as: mathematical operations in the modulation and demodulation processes, and the like.
The process of performing mobile payment according to this embodiment, as shown in fig. 5, includes the following steps:
step 501: when payment is carried out, the external card reader sends a non-contact transaction instruction to the terminal;
step 502: the terminal receives the non-contact transaction instruction, and the analog signal of the non-contact transaction instruction is transmitted to the storage unit by the analog-digital converter through the processor;
here, this step is performed for the purpose of preventing: data loss is prevented when signal conversion is performed in step 503.
Step 503: the storage unit temporarily stores the digital non-contact transaction instruction;
step 504: converting the analog signal of the non-contact transaction instruction into a digital signal;
step 505: the analog-digital converter triggers the logic channel manager to send a logic channel opening instruction to the SIM card;
specifically, the analog-digital converter sends a control instruction to the processor, wherein the control instruction is used for instructing the logic channel manager to open a logic channel with the SIM card;
after receiving the control instruction, the processor sends an interrupt request to the interrupt controller;
after receiving the interrupt request, the interrupt controller instructs the logic channel manager to open a logic channel with the SIM card;
and after receiving the instruction, the logic channel manager sends a logic channel opening instruction to the SIM card.
Step 506: after receiving the instruction, the SIM card returns a channel number to the logic channel manager;
here, after receiving the instruction, the SIM card assigns a corresponding channel number and returns the channel number to the logical channel manager.
When the application is actually carried out, the operating system of the SIM card automatically distributes corresponding channel numbers and returns the channel numbers to the logic channels.
Step 507: transmitting the digital contactless transaction instruction to the SIM card on the logical channel;
step 508: the SIM card receives the digital non-contact transaction instruction, processes the digital non-contact transaction instruction and returns an execution result through a logic channel;
here, in practical application, the digital contactless transaction instruction is processed according to the application logic of the SIM card, such as: user authentication, deduction of the corresponding amount from the user's wallet, etc.
Step 509: the logic channel manager feeds back an execution result to the analog-digital-analog converter;
step 510: the analog-digital converter transmits the execution result to the storage unit through the processor;
step 511: the storage unit temporarily stores the execution result of the SIM card;
step 512: the analog-digital-analog converter converts a digital signal of an execution result into an analog signal;
step 513: the analog-digital-analog converter transmits the analog signal of the execution result to an external card reader.
After the transaction is finished, the electromagnetic wave field intensity of the external card reader can be changed, and accordingly the processor can know whether the transaction is finished or not. When the transaction is finished according to the change of the electromagnetic wave field intensity of the external card reader, the processor informs the interrupt manager that the transaction is finished; after the interrupt manager learns that the transaction is finished, the interrupt manager informs the logic channel manager that the transaction is finished; and after the logic channel manager learns that the transaction is finished, the logic channel manager sends an instruction for closing the logic channel to the SIM card so as to close the opened logic channel.
Then, after the terminal according to the embodiment of the present invention is used, an interaction diagram between the terminal and the external reader/writer shown in fig. 6 is formed. As can be seen from fig. 1, after the novel terminal according to the embodiment of the present invention is used, when interacting with an external reader/writer, a CLF chip is not required to be arranged in the terminal, and only a baseband chip is modified, so that the cost of the terminal is greatly reduced. In other words, the user can realize the mobile payment service by using the existing SIM card without replacing the special SIM card, so that the use threshold of the user is reduced, and the conversion rate of the service used by the user is greatly improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (11)
1. A method for realizing non-contact communication is applied to a first terminal, and comprises the following steps:
when non-contact communication is carried out, a baseband chip of the first terminal opens a logic channel with the first terminal user identification module card;
the baseband chip receives non-contact information from a second terminal; performing analog-to-digital conversion on the non-contact information of the second terminal, and transmitting the non-contact information subjected to the analog-to-digital conversion to the subscriber identity module card on the opened logic channel;
the baseband chip receives non-contact information from the subscriber identity module card on the opened logic channel; performing digital-to-analog conversion on the non-contact information of the subscriber identity module card, and sending the non-contact information subjected to the digital-to-analog conversion to the second terminal;
before the baseband chip performs analog-to-digital conversion on the non-contact information of the second terminal, the method further includes:
the baseband chip caches the non-contact information from the second terminal;
correspondingly, before the performing digital-to-analog conversion on the non-contact information of the subscriber identity module card, the method further comprises:
the baseband chip caches the non-contact information from the SIM card number.
2. The method of claim 1, wherein the baseband chip receives a contactless transaction instruction from the second terminal;
the baseband chip carries out analog-to-digital conversion on the non-contact transaction instruction;
correspondingly, the baseband chip opens a logic channel with the subscriber identity module card, and the logic channel comprises:
generating a control instruction by using the non-contact transaction instruction after analog-to-digital conversion;
and executing the control instruction, and opening a logic channel with the user identification module card.
3. The method of claim 2, wherein said executing the control instructions to open a logical channel with the subscriber identity module card comprises:
the baseband chip sends a logic channel opening instruction to the user identification module card;
and receiving the channel number returned by the subscriber identity module card.
4. The method of claim 1, wherein the baseband chip and the SIM card communicate based on an ISO 7816 protocol.
5. The method according to any one of claims 1 to 4, further comprising:
and after the non-contact communication is finished, the baseband chip closes the logic channel.
6. A baseband chip, comprising:
the logic channel manager is used for opening a logic channel of the subscriber identity module card of the first terminal where the logic channel manager is positioned when non-contact communication is carried out;
an analog-to-digital converter for receiving the non-contact information from the second terminal; performing analog-to-digital conversion on the non-contact information of the second terminal, and transmitting the non-contact information subjected to the analog-to-digital conversion to the subscriber identity module card on the opened logic channel through the logic channel manager; and receiving, by the logical channel manager, non-contact information from the subscriber identity module card on the opened logical channel; performing digital-to-analog conversion on the non-contact information of the subscriber identity module card, and sending the non-contact information subjected to the digital-to-analog conversion to the second terminal;
the processor is used for caching the non-contact information from the second terminal, which is sent by the analog-digital-to-digital converter; caching the non-contact information from the number of the user identification module cards sent by the analog-digital-to-digital converter;
the analog-digital converter is further configured to send the non-contact information from the second terminal to the processor before performing analog-digital conversion on the non-contact information of the second terminal; and before the digital-to-analog conversion is carried out on the non-contact information of the SIM card, the non-contact information of the SIM card number is sent to the processor.
7. The baseband chip according to claim 6, wherein the analog-to-digital converter is configured to receive a contactless transaction instruction from the second terminal; performing analog-to-digital conversion on the non-contact transaction instruction; generating a control instruction by using the non-contact transaction instruction after the analog-to-digital conversion;
correspondingly, the baseband chip further comprises: an interrupt manager; wherein,
and the logic channel manager is used for acquiring the control instruction through the processor and the interrupt manager in sequence, executing the control instruction and opening a logic channel with the SIM card.
8. The baseband chip according to claim 7, wherein the logical channel manager is specifically configured to:
sending a logic channel opening instruction to the user identification module card;
and receiving the channel number returned by the subscriber identity module card.
9. The baseband chip according to claim 6, wherein said logical channel manager communicates with said SIM card based on the ISO 7816 protocol.
10. The baseband chip according to any one of claims 6 to 9, wherein the logical channel manager is further configured to close the logical channel after the contactless communication is ended.
11. A terminal provided with a baseband chip according to any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610262507.3A CN107305659B (en) | 2016-04-25 | 2016-04-25 | Non-contact communication implementation method, baseband chip and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610262507.3A CN107305659B (en) | 2016-04-25 | 2016-04-25 | Non-contact communication implementation method, baseband chip and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107305659A CN107305659A (en) | 2017-10-31 |
CN107305659B true CN107305659B (en) | 2021-03-16 |
Family
ID=60150951
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610262507.3A Active CN107305659B (en) | 2016-04-25 | 2016-04-25 | Non-contact communication implementation method, baseband chip and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107305659B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021035668A1 (en) * | 2019-08-30 | 2021-03-04 | Qualcomm Incorporated | Universal integrated circuit card (uicc) logical channel utilization |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007072706A (en) * | 2005-09-06 | 2007-03-22 | Dainippon Printing Co Ltd | Sim holder |
CN101330690A (en) * | 2008-07-25 | 2008-12-24 | 大唐微电子技术有限公司 | Mobile terminal and method for implementing user recognition module non-contact application |
CN101996340A (en) * | 2009-08-28 | 2011-03-30 | 中国移动通信集团公司 | Subscriber identify module (SIM) card with non-contact communication function and working method thereof |
CN104753569A (en) * | 2013-12-29 | 2015-07-01 | 中国移动通信集团公司 | Noncontact parameter configuration method, NFC chip and NFC device |
-
2016
- 2016-04-25 CN CN201610262507.3A patent/CN107305659B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007072706A (en) * | 2005-09-06 | 2007-03-22 | Dainippon Printing Co Ltd | Sim holder |
CN101330690A (en) * | 2008-07-25 | 2008-12-24 | 大唐微电子技术有限公司 | Mobile terminal and method for implementing user recognition module non-contact application |
CN101996340A (en) * | 2009-08-28 | 2011-03-30 | 中国移动通信集团公司 | Subscriber identify module (SIM) card with non-contact communication function and working method thereof |
CN104753569A (en) * | 2013-12-29 | 2015-07-01 | 中国移动通信集团公司 | Noncontact parameter configuration method, NFC chip and NFC device |
Also Published As
Publication number | Publication date |
---|---|
CN107305659A (en) | 2017-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102136085B (en) | Telecom smart card and telecom smart card-based non-contact application management method | |
CN103095678A (en) | Method of managing incoming commands related to contactless applications within a wireless apparatus | |
EP3160165B1 (en) | Nfc "split stack" architecture | |
CN101765830A (en) | Method for processing application commands from physical channels using a portable electronic device and corresponding device and system | |
CN101770594B (en) | Multi-chip intelligent card and data processing method | |
EP3163764A1 (en) | Mobile payment method and apparatus as well as near field communication device | |
CN105868978A (en) | NFC mobile payment method and system thereof | |
CN103414497B (en) | For communication between electronic by the control method forwarded and corresponding equipment | |
CN104239829A (en) | Near-field communication device and method thereof | |
CN102325203A (en) | Mobile terminal and communication device thereof | |
CN102033828B (en) | Method and system for accessing external card | |
US9924302B2 (en) | Mobile communication device and cloud-based computer system | |
CN104240080A (en) | Realization method for mobile payment and device thereof | |
CN102064856B (en) | Data transmission method and device | |
CN102884541A (en) | Method for managing communication between electronic device (such as non-contact chip card) and communication apparatus (such as reader) and corresponding electronic device | |
CN101957921A (en) | Display method, device and system of radio frequency identification application information | |
CN107305659B (en) | Non-contact communication implementation method, baseband chip and terminal | |
CN101330690B (en) | Mobile terminal and method for implementing user recognition module non-contact application | |
CN105453112B (en) | Communication device and communication system | |
US9824246B2 (en) | Radio frequency identification tag having input device | |
CN101247599B (en) | STK command processing method, device and mobile terminal in multi-card mobile terminal | |
CN105635873A (en) | NFC bluetooth earphone and system, and control method thereof | |
CN206249369U (en) | A kind of radio-frequency SIM card for supporting SWP multi-channel digital certifications | |
CN103138809A (en) | Communication method between electronic appliances, and corresponding appliances | |
CN206249376U (en) | A kind of digital authenticating cellphone subscriber's identification card for supporting 2.4G and Bluetooth RF to communicate |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |