WO2012139407A1 - 一种高频无线智能卡低功耗、并行处理的实现方法 - Google Patents

一种高频无线智能卡低功耗、并行处理的实现方法 Download PDF

Info

Publication number
WO2012139407A1
WO2012139407A1 PCT/CN2012/000111 CN2012000111W WO2012139407A1 WO 2012139407 A1 WO2012139407 A1 WO 2012139407A1 CN 2012000111 W CN2012000111 W CN 2012000111W WO 2012139407 A1 WO2012139407 A1 WO 2012139407A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart card
wireless smart
communication
frequency wireless
communication module
Prior art date
Application number
PCT/CN2012/000111
Other languages
English (en)
French (fr)
Inventor
王海泉
王李琰
姜凤明
顾万水
唐德富
Original Assignee
Wang Haiquan
Wang Liyan
Jiang Fengming
Gu Wanshui
Tang Defu
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN2011100928384A external-priority patent/CN102256345A/zh
Application filed by Wang Haiquan, Wang Liyan, Jiang Fengming, Gu Wanshui, Tang Defu filed Critical Wang Haiquan
Publication of WO2012139407A1 publication Critical patent/WO2012139407A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/0701Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips at least one of the integrated circuit chips comprising an arrangement for power management

Definitions

  • the present invention relates to a high-frequency wireless smart card, and aims to disclose a low-power, parallel processing implementation method for a high-frequency wireless smart card, a high-frequency wireless smart card.
  • High-frequency transmission can be used for data transmission.
  • the high-frequency wireless smart card realized by this method can be processed in parallel, not only
  • the first mode is NFC mobile phones, which integrates NFC on existing mobile phones.
  • the communication module (Near Field Communication) adopts the low frequency sensing mode of 13.56MHz, which is passive and requires the user to change the mobile phone.
  • the second mode is to add a 13.56MHz low frequency sensing module to the SIM of the mobile phone, which needs to be modified, and There is a large induction circuit on the SIM. This mode cannot be commercialized on a large scale.
  • the third mode is to install 2.4G active high-frequency induction mode on the mobile phone, which can effectively solve the penetration problem.
  • the model has been developed in Japan.
  • the disadvantage is that users need a dedicated mobile phone. This is not suitable for users to change their mobile phones.
  • the fourth mode is to integrate 2.4G active high frequency sensing module (a high frequency wireless smart card with a frequency of 2.4G, which is accustomed to call it RF-SIM card) on the SIM card. This mode is very Meet the user's usage habits. China Mobile has chosen the fourth model and is the primary standard for mobile payments.
  • the mobile communication terminal is equipped with a high-frequency wireless smart card, such as a mobile phone with a high-frequency wireless smart card as a SIM card
  • a high-frequency wireless smart card such as a mobile phone with a high-frequency wireless smart card as a SIM card
  • the basic working principle is as follows:
  • the high frequency wireless smart card 107 has two parts, a terminal communication module 101 and a radio frequency communication module 102.
  • the mobile communication terminal 105 treats the high frequency wireless smart card 107 as a normal smart card (e.g., a SIM card) in operation.
  • the high-frequency wireless smart card 107 is regarded as a slave communication device, and all communication requests related to the high-frequency wireless smart card 107 are initiated by the mobile communication terminal, and the high-frequency wireless The smart card 107 responds, and the IS07816 communication 103 is completed by the terminal communication module 101, see FIG.
  • the high frequency wireless smart card 107 can also perform RF card communication 104 with the card reader 106 (e.g., at a POS machine), and the RF card communication 104 is shown in Fig. 1.
  • the RF card communication 104 is shown in Fig. 1.
  • the SIM card In a typical mobile communication terminal (such as a mobile phone), in order to reduce power consumption, the SIM card is generally designed to operate only when data is exchanged with the mobile phone (IS07816 communication), and the rest of the time is in a sleep state.
  • the so-called sleep state refers to the state in which the processor is stopped executing instructions in the SIM card chip, and the power consumption at this time is very low.
  • the communication between the mobile phone and the SIM card (IS07816 communication) is implemented according to the standard of IS07816.
  • the mobile phone is the active party for data initiation, and the SIM card chip is the receiving response party.
  • the mobile phone makes an active inquiry to the SIM every time interval, for example, sending a 5
  • the byte command packet is sent to the SIM card.
  • the SIM card changes from the sleep state to the working state, and the mobile phone responds to several bytes of the mobile phone, which is completed in about 1 millisecond.
  • the mobile phone SIM card immediately goes to sleep. status. In this way, the power consumption of the mobile phone is reduced and the standby time is extended.
  • the general mobile phone SIM card does not have an RF communication module, and there is no RF card swipe function. Only IS07816 communicates, so there are only two states (IS07816 communication) and (IS07816 communication) sleep.
  • the SIM card with the RF card swipe module may have four working states: First, the IS07816 communication does not work. RF card communication is not working, high-frequency wireless smart card is in sleep state; Second, IS07816 communication work, RF card communication is not working; Third, IS07816 communication is not working, RF card communication work; Fourth, IS07816 communication and RF card swiping Communication works at the same time.
  • the interval between two mobile phones and the SIM card of the mobile phone (the interval of the mobile phone's active inquiry) is determined by the mobile phone, the difference is very large, for example, Nokia is 5 seconds, Samsung is 2 seconds, if the high frequency wireless smart card is only in When communicating with the mobile phone, it enters the working state. At this time, the data is exchanged with the RF card reader, that is, the method of waking up the SIM card to enter the card-sending state by the mobile phone polling, the card-time is unbearable for the user. In extreme cases, the interval between the mobile phone and the SIM card of the mobile phone will be more than 10 seconds, so that the transaction process cannot be completed in more than 10 seconds. At present, in the field of bus credit card and subway card swiping, the general card swiping time is no more than 300ms.
  • Distance control 2.4G is originally used for a medium to long distance communication frequency, and the communication distance needs to be controlled to about 10 cm when using mobile payment;
  • Patent 200710124354.7 and patent 200410036263.4 are very close, only a more detailed description of the high-frequency wireless smart card
  • the physical structure and logic principles do not address the very important software and hardware features such as how to reduce power consumption and ensure high-speed card swiping.
  • the present invention aims to provide a low-power, parallel processing implementation method for a high-frequency wireless smart card, which solves the above technical difficulties, which requires a high-frequency wireless smart card to be used at any time.
  • the second, third, and fourth states By quickly switching from the second, third, and fourth states to the first working state as described above, it is also possible to quickly switch from the first working state to any one of the second, third, and fourth states, that is, only When the IS07816 communicates or (and) performs radio frequency communication, the high-frequency wireless smart card enters the high-power working state, and the working state is completed, and the sleep state is quickly changed.
  • a method for implementing low-power, parallel processing of a high-frequency wireless smart card comprising the steps of:
  • Step 1 The mobile communication terminal equipped with the high-frequency wireless smart card is powered on, the high-frequency wireless smart card is reset, the parameters are initialized, and the parameters of the radio communication module are configured.
  • Step 2 The high frequency wireless smart card completes initialization, returns a reset completion information to the mobile communication terminal, and sets the high frequency wireless smart card to: when the high frequency wireless smart card is received When the IS07816 interrupt or clock interrupt occurs, it enters the working state from the sleep state.
  • the high-frequency wireless smart card when the high-frequency wireless smart card receives the IS07816 interrupt or 10 interrupt, it enters the working state from the sleep state.
  • Step 3 The high-frequency wireless smart card enters a sleep state, so that the mobile communication terminal is in the most power-saving state.
  • Step 4 When receiving the interrupt signal, the high-frequency wireless smart card performs the following processing according to the conditions set in step 2:
  • the terminal communication module in the high-frequency wireless smart card When the high-frequency wireless smart card receives the IS07816 interrupt, the terminal communication module in the high-frequency wireless smart card enters the working state from the sleep state, and processes the IS07816 communication transaction. After the processing is completed, the high-frequency wireless smart card enters the sleep state from the working state;
  • the high-frequency wireless smart card When the high-frequency wireless smart card receives the clock interruption, the high-frequency wireless smart card enters the working state from the sleep state, and determines whether the radio frequency communication module receives the data of the card reader by detecting the level of the radio frequency state detecting port of the radio frequency communication module. If the data is received, the RF communication module processes the RF communication transaction, and after the processing is completed, the high-frequency wireless smart card enters the sleep state from the working state. If the data is not received, the high-frequency wireless smart card enters the sleep state from the working state;
  • the high-frequency wireless smart card When the high-frequency wireless smart card receives 10 interrupts, the high-frequency wireless smart card enters the working state from the sleep state, and the radio frequency communication module processes the radio frequency communication transaction, and the high-frequency wireless smart card enters the sleep state from the working state after the processing is completed.
  • the high frequency wireless smart card includes at least the following two parts: a terminal communication module, a radio frequency communication module,
  • the terminal communication module is mainly used for completing security authentication and parameter storage of the mobile communication terminal, and the terminal communication module is a security chip having the function of the mobile phone IS07816 interface, and the security chip is provided with a processor for processing IS07816 communication and radio frequency communication.
  • the security chip has the IS07816 communication interrupt function, has a clock interrupt function and/or has 10 interrupt functions, and each of the above interrupts can make the high-frequency wireless smart card transition from the sleep state to the working state.
  • the radio frequency communication module is used for completing radio frequency communication with the radio frequency card reader.
  • the main body of the radio frequency communication module is a radio frequency chip, and the frequency band used by the radio frequency communication module does not overlap with the existing mobile phone frequency. The rates interfere with each other, and at the same time, it can transmit and receive RF signals that easily penetrate the VHF band, UHF band or SHF band of the mobile communication terminal body.
  • the high frequency wireless smart card includes at least the following two parts: a terminal communication module, a radio frequency communication module,
  • the terminal communication module is mainly used for completing the security authentication and parameter storage of the mobile communication terminal.
  • the terminal communication module is a security chip having the function of the mobile phone IS07816 interface, and the security chip is provided with a processor for processing the IS07816 communication, and the security chip is provided. IS07816 communication interrupt function,
  • the radio frequency communication module is used for completing radio frequency communication with the radio frequency card reader.
  • the radio frequency communication module mainly includes a radio frequency chip and a processor for processing radio frequency communication.
  • the frequency band used by the radio frequency communication module does not interfere with the existing mobile phone frequency. At the same time, it can transmit and receive RF signals that easily penetrate the VHF band, UHF band or SHF band of the mobile communication terminal body.
  • the RF communication module has a clock interrupt function and/or has 10 interrupt functions.
  • the high-frequency wireless smart card is implemented by a chip, and the chip comprises at least the following two parts: a terminal communication module, and a radio frequency communication module.
  • the high-frequency wireless smart card of the present invention realizes low-power and parallel processing, and the high-frequency wireless smart card can transmit data through high-frequency transmission, and the high-frequency wireless smart card realized by the method has the characteristics of low power consumption. And the card response speed is very fast. It solves the difficulty of large-scale commercialization of mobile payment technology of existing mobile phones, and has low energy consumption, low implementation cost, convenient use by users, and large-scale promotion and application, which will bring about the development of China's e-commerce, mobile Internet and Internet of Things. profound influence. BRIEF DESCRIPTION OF THE DRAWINGS The invention has the following figures:
  • FIG. 1 is a schematic structural diagram of Embodiment 1 of a high frequency wireless smart card
  • FIG. 2 is a schematic diagram of the structure of the high frequency wireless smart card embodiment 2, in which:
  • FIG. 3 is a schematic diagram of the structure of the high frequency wireless smart card embodiment 3, in which:
  • Figure 4 is a schematic structural diagram of a high-frequency wireless smart card embodiment 4, in which: 401 integrated circuit processor module
  • FIG. 5 is a schematic structural diagram of Embodiment 5 of a high frequency wireless smart card
  • FIG. 6 is a schematic structural diagram of a high frequency wireless smart card embodiment 6
  • 602 radio communication module (602 can be as shown in Figure 2, Figure 3, Figure 4, Figure 5) 603 data communication interface
  • FIG. 10 Flow chart of a low-power, parallel-processed RF communication module for a high-frequency wireless smart card 3.2 Detailed Description of the Invention The present invention will be further described in detail below with reference to the accompanying drawings.
  • the high frequency according to the present invention means that it is easy to penetrate the VHF band and the UHF band and the SHF band of the mobile communication terminal while avoiding the frequency band used for mobile communication to prevent collision.
  • One is a single-processor multi-tasking parallel mode, and the processor refers to only one processor for processing IS07816 communication and RF card-swapping communication;
  • the other is multi-processor multi-tasking mode, which means that IS07816 communication and RF card-swapping communication are handled by different processors respectively, and the two processors communicate through the data interface.
  • the communication is not necessarily real-time. . The following two cases are discussed separately.
  • the high-frequency wireless smart card has at least the following two parts, including a terminal communication module and a radio frequency communication module.
  • the terminal communication module is mainly used to assist the general communication functions of the mobile communication terminal, such as authentication of the mobile phone network, parameter storage, etc.
  • the RF communication module is used to implement high-frequency communication with the card reader, such as card payment, control access control, etc. .
  • the terminal communication module can be implemented by a security chip with the function of the mobile phone IS07816 interface (such as the TG360 chip of EM in Switzerland), and the radio communication module includes a radio frequency chip (such as NRF24L01), a peripheral circuit and an RF antenna.
  • the appearance of the package of the high-frequency wireless smart card can be similar to that of a normal mobile phone SIM card. Or the terminal communication module and the radio frequency communication module are integrated into one chip through the technology of the integrated circuit. The frequency band used by the RF communication module should not interfere with the existing mobile phone frequency and can be worn at the same time. Through the phone body.
  • the high-frequency wireless smart card first needs to complete the function of a common SIM card or USIM card, and can expand the function of high-frequency wireless transmission to realize new application requirements such as electronic wallet based on mobile communication terminal, mobile phone access control, and mobile payment.
  • the terminal communication module and the radio frequency communication module must have the following functions:
  • the terminal communication module is implemented by a security chip, and the security chip contains at least a processor, a random access memory, and a permanent memory according to the state of the art. It must have the IS07816 communication interrupt function, and it has a clock interrupt function or a security chip with 10 more interrupts. That is, the security chip hardware required by the present invention must have the IS07816 communication interrupt and the clock interrupt function, or the IS07816 communication interrupt and the 10 interrupt function. All existing security chips have at least the ability to switch the chip from the sleep state to the working state through the IS07816 communication interrupt.
  • the security chip required by the present invention also requires the use of a clock interrupt or a 10 interrupt to enable the chip to be The ability to transition from a sleep state to a working state.
  • the security chip has the above interrupt function, that is, it can process two or more tasks in parallel by time sharing, and has the ability to switch the chip from the sleep state to the working state through the interrupt, so that the average power consumption of the security chip is very high. Handling multitasking in low situations (for example, EM360's TG360 chip in Switzerland has the above hardware functions).
  • the security chip and the radio frequency communication module of the terminal communication module of the present invention have the following four connection modes:
  • the high-frequency wireless smart card 209 is provided with a security chip 201 and a radio frequency communication module 202 of the terminal communication module, and the security chip 201 of the terminal communication module and the radio frequency chip of the radio frequency communication module 202 form at least two connections through two sets of 10 ports, one set 10 ports are 10 ports 203 (data communication switching ports) for radio frequency data communication, and another group 10 ports are 10 ports 204 (radio frequency state detecting ports) for radio frequency state detection, through circuits (radio frequency data communication connection circuit 205) And the RF state detection connection circuit 206) respectively connect the two ports of the two chips.
  • the security chip 201 of the terminal communication module implements the IS07816 communication 207
  • the radio frequency communication module 202 implements the RF card communication.
  • the software workflow described is as follows: (See Figure 7)
  • the mobile communication terminal equipped with the high-frequency wireless smart card is turned on (for example, the RF-SIM mobile phone is turned on), the security chip in the high-frequency wireless smart card is reset, and the parameters are initialized by software in the high-frequency wireless smart card, such as a mobile phone SIM card ( Or USIM card) parameter initialization, and through the data communication exchange port of the security chip and the RF communication module, configuring the parameters of the RF communication module, including the communication rate, the frequency point, the size of the data packet, etc., to the mobile communication terminal, such as a mobile phone , return the reset information, set the security chip, and allow it to enter the working state from the sleep state when the IS07816 interrupt or clock interrupt occurs.
  • software in the high-frequency wireless smart card such as a mobile phone SIM card ( Or USIM card) parameter initialization
  • the mobile communication terminal such as a mobile phone
  • return the reset information set the security chip, and allow it to enter the working state from the sleep state when the IS07816 interrupt or clock interrupt occurs.
  • the mobile communication terminal such as a mobile phone, enters a sleep state.
  • the IS07816 communication is not working, the RF card communication is not working, and the mobile communication terminal is in the most power-saving state.
  • an interrupt is awakened, what kind of interrupt is judged? If it is an IS07816 interrupt, the IS07816 communication transaction is processed, and the processing is completed, and the sleep state is entered; if it is a clock interruption, the radio communication module detects whether the radio communication module receives the data of the card reader by detecting the level of the radio frequency detection port of the radio communication module.
  • the RF card communication transaction is processed, the processing is completed, the interrupt is terminated, and the sleep state is entered; if the data is not received, the interrupt is terminated and the sleep state is entered. Since the RF card swiping task and the IS07816 communication transaction do not take much time, usually in the order of milliseconds, the security chip can be processed by time-sharing, and the mobile communication terminal or the card reader will not perceive the high-frequency wireless smart card with itself. Another task is also performed during communication. Therefore, the IS07816 communication transaction can also be processed in parallel when the RF interrupt is processed by the clock interrupt. Similarly, the RF078 card communication transaction can be processed in parallel when the IS07816 interrupt wakes up the communication transaction.
  • the high-frequency wireless smart card regardless of the working state of the high-frequency wireless smart card, it can quickly enter the low-power sleep state from the high-power working state, and the IS07816 communication and the RF card-swapping communication can be processed separately or in parallel. It is technically guaranteed to achieve low power consumption of high-frequency wireless smart cards, high-speed card swipe, and card and communication can be processed in parallel.
  • Figure 3 IS07816 interrupt and 10 interrupt mode.
  • the security chip 301 of the terminal communication module and the radio frequency chip of the radio frequency communication module 302 form two connections through at least two sets of 10 ports, and one set of 10 ports is 10 ports 303 for radio frequency data communication (data a communication switching port), connected by a radio frequency data communication connection circuit 306, Used as a data communication between the security chip and the RF communication module; another set of 10 ports must be the security chip 10 interrupt port 304 for the security chip, and the RF state output port (RF chip) of the RF chip for the RF communication module.
  • RF chip RF state output port
  • the radio frequency state detecting port 305) connects the two ports of the two chips (the security chip 10 interrupt port 304 and the radio frequency chip radio frequency detecting port 305) through the radio frequency state detecting connecting circuit 307. Used for RF status detection of RF communication modules. At this point all software workflows are controlled by the security chip.
  • 308 is IS07816 communication
  • 309 is RF card communication.
  • the mobile communication terminal equipped with the high-frequency wireless smart card is turned on (for example, the RF-SIM mobile phone is turned on), the security chip in the high-frequency wireless smart card is reset, and the parameters are initialized by software in the high-frequency wireless smart card, such as a mobile phone SIM card ( Or USIM card) parameter initialization, and through the data communication exchange port of the security chip and the RF communication module, configure the parameters of the RF communication module, return the reset information to the mobile communication terminal, such as the mobile phone, set the security chip, and allow it to be in IS07816
  • the interrupt or 10 interrupt occurs, it enters the working state from the sleep state.
  • the mobile communication terminal such as a mobile phone, enters a sleep state.
  • the IS07816 communication is not working, the RF card communication is not working, and the mobile communication terminal is in the most power-saving state.
  • the processing is completed, and the sleep state is entered; if it is 10 interrupts, the RF card communication transaction is processed, the processing is completed, the interrupt is terminated, and the sleep state is entered.
  • the security chip can be processed by time-sharing, and the mobile communication terminal or the card reader will not perceive the high-frequency wireless smart card to communicate with itself. Another task is also being performed. Therefore, the IS07816 communication transaction can also be processed in parallel when the RF interrupt card is processed by the 10 interrupt wakeup; likewise, when the IS07816 interrupt wakes up to handle the communication transaction, the RF card communication transaction can also be processed in parallel.
  • the high-frequency wireless smart card In this way, no matter which working state the high-frequency wireless smart card is in, it can quickly enter the low-power sleep state from the high-power working state, and the IS07816 communication and the RF card-swapping communication can be processed separately or in parallel. It is technically guaranteed to achieve low power of high frequency wireless smart cards. It can realize high-speed card swiping, and swipe card and mobile communication can be processed in parallel.
  • Figure 4 uses integrated circuit technology to integrate the security chip and RF chip of Figure 2 into a single chip. The two sets of 10 connections described in Figure 2 are implemented inside the integrated circuit chip. Other workflows are shown in Figure 2.
  • an integrated circuit chip is provided, the integrated circuit chip comprising: an integrated circuit processor module 401 (security chip), an integrated circuit radio frequency communication module 402 (radio frequency chip),
  • the interface 404 for RF state detection in the integrated circuit for 401 and 402 is connected to form a set of 10 connections through an integrated in-circuit RF state detection connection circuit 408 and an interface 403 for RF data communication between 401 and 402 in the integrated circuit.
  • the interface 404 for the RF status detection of the 401 and 402 in the integrated circuit is connected to the interface 403 for RF data communication between 401 and 402 in the integrated circuit by the integrated circuit to form another group 10 connection.
  • 405 is IS07816 communication
  • 406 is RF card communication
  • Figure 5 uses integrated circuit technology to integrate the security chip and RF chip of Figure 3 into a single chip. The two sets of 10 connections described in Figure 3 are implemented inside the integrated circuit chip. Other workflows are shown in Figure 3.
  • an integrated circuit chip is provided, the integrated circuit chip comprising: an integrated circuit processor module 501 (security chip), an integrated circuit radio frequency communication module 502 (radio frequency chip),
  • the interface 505 for receiving 504 status data in the integrated circuit is connected to form a group of 10 connections through the integrated circuit internal radio frequency status detecting connection circuit 506 and the interface 504 for detecting the radio frequency status in the integrated circuit.
  • the interface 503 for RF data communication between 501 and 502 in the integrated circuit is connected through an integrated in-circuit RF data communication connection circuit 507 and an interface 503 for 501 and 502 for RF data communication in another integrated circuit.
  • 508 is the RF card communication
  • 509 is the IS07816 communication.
  • the terminal communication module can be used normally.
  • IS07816 smart card security chip includes processor, RF chip, peripheral circuit, antenna and so on. There are two modes as follows
  • the terminal communication module uses a common IS07816 smart card security chip, that is, the security chip 601 of the terminal communication module, and the security chip 601 of the terminal communication module and the radio frequency communication module 602 pass between the chips.
  • the data communication interface 603 exchanges data.
  • the radio frequency communication module can adopt the structure and technology of FIG. 2, FIG. 3, FIG. 4, and FIG. 5 as described above, and implement the radio frequency swipe task by switching the radio frequency communication module from the sleep state to the working state by the clock interrupt or the 10 interrupt of the processor.
  • the terminal communication module handles the IS07816 communication task by switching from the sleep state to the working state through the IS07816 interrupt.
  • the initialization workflow is the same as above, but only two processors are used to implement parallel processing, which ensures that IS07816 communication 604 and RF card communication 605 can work independently, process in parallel, and then exchange data.
  • the RF communication module selects a NRF24LE1 chip that is widely used in the current application.
  • the chip includes a processor and a radio frequency chip, and has functions of a processor and a radio frequency interface.
  • the processor of the NRF24LE1 chip can switch the sleep of the RF communication module from the sleep state to the working state through the clock interrupt. While in the working state, wait for the reader to send data.
  • the sleep state is re-entered.
  • the RF card swipe task is processed, and the task is processed again to enter the sleep state.
  • the data can be exchanged after the data is exchanged through the data communication interface between the IS07816 security chip and the RF card swipe module of the terminal communication module. There is no need to exchange data between the two modules in real time. In this way, the IS07816 chip is usually in an inactive state, and only needs to enter the working state when processing the IS07816 communication flow.
  • the data can be exchanged with the RF communication module, if the RF communication module
  • the security chip waits for the RF communication module to enter the working state, and then exchanges data.
  • the switching time of the working state and the inactive state of the RF communication module is generally on the order of milliseconds.
  • the processing flow of the terminal communication module is as shown in flowchart 9 of Embodiment 3.1, and the processing flow of the radio frequency communication module is as shown in flowchart 10 of Embodiment 3.2. In this way, both the terminal communication module and the RF card swipe module can quickly enter the low-power sleep state from the high-power operating state, and can ensure the average power consumption is very high. In the low case, the IS07816 communication and RF card can be processed in parallel.
  • the IS07816 interrupt is used to switch the terminal communication module from the non-working mode to the working mode, while the processor of the RF communication module is in the working mode at any time, but by reducing its own running speed.
  • Parallel processing is implemented by two processors, and IS07816 communication and RF card communication are simultaneously performed. In this mode, the average power consumption of the terminal communication module is still low, and the power consumption of the RF communication module portion is higher than that of the above-mentioned mode, but the overall power consumption is still at a low level.
  • a high frequency wireless smart card with low power consumption and high card swipe speed can be realized.
  • the result is a high-frequency wireless smart card that turns from concept to a truly usable product.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明是一种高频无线智能卡低功耗、并行处理的实现方法,包括以下步骤:1装有高频无线智能卡的移动通信终端开机,高频无线智能卡复位,进行参数初始化,并对射频通信模块参数作配置,2高频无线智能卡完成初始化,并将高频无线智能卡设置成:当高频无线智能卡在收到ISO7816中断或时钟中断时,或当高频无线智能卡在收到ISO7816中断或IO中断时,从休眠状态进入工作状态,3高频无线智能卡进入休眠状态,使移动通信终端处于最省电状态,4当收到中断信号时,高频无线智能卡根据步骤2所设置的条件进行处理。本发明所述方法,高频无线智能卡可通过高频发射来作数据传输,使用该方法实现的高频无线智能卡,不仅具有低功耗的特点,而且刷卡响应速度很快。

Description

一种高频无线智能卡低功耗、 并行处理的实现方法 技术领域 本发明涉及高频无线智能卡,本发明旨在公开一种高频无线智能 卡低功耗、并行处理的实现方法, 高频无线智能卡可通过高频发射来 作数据传输, 使用该方法实现的高频无线智能卡, 能并行处理, 不仅 说
具有低功耗的特点, 而且同时能实现高速刷卡。移动通信终端上所使 用的智能卡(SIM卡或者 USIM卡)扩书展了这个功能后, 就能够方便 实现移动支付功能及各种基于手机的物联网应用, 并大规模推广。 背景技术 随着移动通信终端, 比如手机的应用普及。基于移动通信终端的 电子钱包, 手机门禁、手机支付等新的应用需求也越来越引起广泛兴 趣。
要满足这些应用,最好的方式是跟现有射频卡刷卡使用方式相同 或者相近。这就要求移动通信终端能够像射频卡一样可以通过无线数 据通信来跟消费终端、 或者门禁控制器来交换数据。
通过手机实现移动支付等功能, 需要在手机上实现近场通信功 能, 目前在手机上实现近场通信功能主要有四种模式, 第一种模式是 NFC 手机, 是在现有的手机上集成 NFC 通信模块 (Near Field Communication),采用的是 13.56MHz的低频感应模式,属于被动式, 需要用户更换手机;第二种模式是在手机 SIM上加装 13.56MHz的低 频感应模块, 需要改装 SIM卡, 并且在 SIM上会带很大一个感应电 路, 这种模式无法大规模商业化; 第三种模式是在手机上加装 2.4G 的有源高频感应模式, 能有效的解决穿透问题, 该种模式在日本得到 发展, 缺点是用户需要专用的手机, 这一点不适合用户更换手机的使 用习惯;第四种模式是在 SIM卡上集成 2.4G的有源高频感应模块 (一 种频率为 2.4G的高频无线智能卡, 习惯将其称为 RF-SIM卡), 该种 模式非常符合用户的使用习惯。 ***选用了第四种模式, 并作为 移动支付的首要标准。
当移动通信终端配备了高频无线智能卡后, 比如手机用高频无线 智能卡做 SIM卡, 其基本的工作原理如下:
高频无线智能卡 107包含两部分, 即终端通信模块 101和射频通 信模块 102。 移动通信终端 105在工作中把高频无线智能卡 107当做 一个通常的智能卡 (比如 SIM卡) 来看待。 移动通信终端工作过程 中(比如手机通话时或者待机时)把高频无线智能卡 107当做一个从 通信设备,所有与高频无线智能卡 107相关的通信请求都是由移动通 信终端来发起, 高频无线智能卡 107来应答, 由终端通信模块 101来 完成 IS07816通信 103, 参见图 1。 而且, 该高频无线智能卡 107也 可与读卡器 106作射频刷卡通信 104 (比如在 POS机刷卡), 射频刷 卡通信 104参见图 1。只要按照 IS07816的协议所要求的时序和应答 数据来完成 IS07816通信,就可以在不改变现有移动通信终端的任何 流程的情况下, 来扩展出高频无线传输的功能, 比如刷 POS。
通常的移动通信终端 (比如手机), 其 SIM卡为了降低功耗, 一 般设计成只在与手机交换数据时工作 (IS07816通信), 其余时间处 于的休眠状态。 所谓休眠状态, 指的是 SIM卡芯片里处理器处于停 止执行指令的状态, 此时的功耗非常低。 手机与 SIM 卡的通信 (IS07816通信)是按照 IS07816的标准来实现, 手机是数据发起的 主动方, SIM卡芯片是接收应答方, 手机每间隔一段时间对 SIM做 一次主动查询, 比如发一个 5个字节的命令包给 SIM卡, 此时 SIM 卡从休眠状态转为工作状态,回复手机若干字节,大概在 1毫秒完成, 此时如果没有其他的通信需求, 手机 SIM卡立即转为休眠状态。 通 过这种方式来降低手机功耗, 延长待机时间。 一般的手机 SIM卡不 带射频通信模块, 没有射频刷卡功能, 只有 IS07816通信, 因此只存 在 (IS07816通信) 工作和 (IS07816通信) 休眠两种状态。 当手机 使用扩展了射频刷卡功能的智能卡作为 SIM卡时, 由于增加了刷卡 功能, 即 (射频刷卡通信), 此时, 带射频刷卡模块的 SIM卡会出现 四种工作状态:第一、 IS07816通信未工作,射频刷卡通信也未工作, 高频无线智能卡处于休眠状态; 第二、 IS07816通信工作, 射频刷卡 通信未工作; 第三、 IS07816通信未工作, 射频刷卡通信工作; 第四、 IS07816通信和射频刷卡通信同时工作。因为不同手机与手机 SIM卡 之间两次通信的间隔(手机主动查询的间隔)时间由手机所决定, 差 异很大, 比如诺基亚为 5秒, 三星为 2秒, 如果高频无线智能卡也是 只在与手机通信时, 才进入工作状态, 此时再与射频读卡器作数据交 换, 即通过手机轮询一唤醒 SIM卡 一进入刷卡状态的方式, 刷卡时 间上让用户难以忍受。 极端状况下, 手机与手机 SIM卡之间两次通 信的间隔会超过 10多秒, 这样一来 10多秒都无法完成交易流程。而 目前在公交刷卡和地铁刷卡领域, 一般刷卡时间为不超过 300ms。
为了让手机能在很短的时间内能响应刷卡,必须让高频无线智能 卡无论在什么工作状态下, 都能响应刷卡, 但是如果随时保持高频无 线智能卡的刷卡工作状态即如上所述第三、 四种工作状态, 其功耗将 是难以忍受的。 因此, 对于高频无线智能卡, 响应刷卡时间低和功耗 低始终是两个难点。 专利 200410036263.4和专利 200710124354.7并 未描述该技术难点如何解决,从***利用现有技术使用的情况来 看, 主要存在以下的缺陷:
1 ) 功耗问题: 手机供电, 需要智能卡的功耗要小;
2) 距离控制: 2.4G本来是用于一种中长距离的通讯频率, 使用 到移动支付中需要将通讯距离控制在 10厘米左右;
3 ) 机卡兼容性问题: 需要与手机具有良好的兼容性;
4) 刷卡响应时间慢。
其中 1 )、 3 )、 4) 项都是与上文所述的难点有关。 总之, 现有的 技术推出的产品不仅成本高, 而且使用效果不好, 从而影响了现有移 动商务用户的使用及商业化进程,这也是目前***推广该应用的 障碍之一。 如何实现高频无线智能卡的低功耗,有效控制瞬间电流及实现高 速刷卡, 一直是该领域的一个技术难点, 也是高频无线智能卡产业化 的一个关键技术点, 有一些专利对相关技术进行了研究。 专利
200410036263.4 描述了高频无线智能卡的硬件基本组成, 包含的要 素, 但并未阐述如何去实现低功耗及高速刷卡; 专利 200710124354.7 和专利 200410036263.4很接近, 只是更细致的阐述了高频无线智能 卡的几种物理结构及逻辑原理,没有涉及到如何实现降低功耗和确保 高速刷卡等非常重要的软件及硬件技术特征。
对于移动通信终端特别是手机来说, 低功耗是一个重要技术要 求, 否则会导致手机待机时间过短、 无法识别 SIM卡, 甚至无法开 机; 高速刷卡也是移动支付要求的一个重要指标。 因此, 解决这两个 问题是高频无线智能卡产业化的关键之一。 发明内容 针对现有技术中存在的缺陷,本发明的目的在于提供一种高频无 线智能卡低功耗、 并行处理的实现方法, 解决以上的技术难点, 这就 要求高频无线智能卡任何时候都能从如上所述第二、三、四种状态迅 速切换到第一种工作状态, 也能从第一种工作状态迅速转换到第二、 三、 四种中的任意一种状态, 即只在作 IS07816通信或(和)作射频 通信时高频无线智能卡才进入高功耗的工作状态, 工作状态完成, 迅 速转入休眠状态。
为达到以上目的, 本发明采取的技术方案是:
一种高频无线智能卡低功耗、并行处理的实现方法,其特征在于, 包括以下步骤:
步骤 1, 装有高频无线智能卡的移动通信终端开机, 高频无线智 能卡复位, 进行参数初始化, 并对射频通信模块参数作配置,
步骤 2, 高频无线智能卡完成初始化, 给移动通信终端返回复位 完成信息, 并将高频无线智能卡设置成: 当高频无线智能卡在收到 IS07816中断或时钟中断时, 从休眠状态进入工作状态,
或, 当高频无线智能卡在收到 IS07816中断或 10中断时, 从休 眠状态进入工作状态,
步骤 3, 高频无线智能卡进入休眠状态, 使移动通信终端处于最 省电状态,
步骤 4, 当收到中断信号时, 高频无线智能卡根据步骤 2所设置 的条件进行如下处理:
当高频无线智能卡收到 IS07816中断时,高频无线智能卡内的终 端通信模块从休眠状态进入工作状态,处理 IS07816通信事务,处理 完成后高频无线智能卡从工作状态进入休眠状态;
当高频无线智能卡收到时钟中断时,高频无线智能卡从休眠状态 进入工作状态,通过检测射频通信模块的射频状态检测端口的电平高 低状态来判断射频通信模块是否收到读卡器的数据, 如果收到数据, 射频通信模块处理射频通信事务,处理完成后高频无线智能卡从工作 状态进入休眠状态, 如果没有收到数据, 高频无线智能卡从工作状态 进入休眠状态;
当高频无线智能卡收到 10中断时, 高频无线智能卡从休眠状态 进入工作状态, 射频通信模块处理射频通信事务, 处理完成后高频无 线智能卡从工作状态进入休眠状态。
在上述技术方案的基础上,所述高频无线智能卡至少包括以下两 部分: 终端通信模块, 射频通信模块,
终端通信模块主要用于完成移动通信终端的安全鉴权及参数存 储,所述终端通信模块为具备手机 IS07816接口功能的安全芯片, 该 安全芯片内设有用于处理 IS07816通信和射频通信的处理器,安全芯 片具备 IS07816通信中断功能,具备时钟中断功能和 /或具备 10中断 功能,且以上所述的各中断均能使高频无线智能卡从休眠状态转入工 作状态,
射频通信模块用于完成和射频读卡器间的射频通信,射频通信模 块的主体为射频芯片,射频通信模块所使用的频段不会与现有手机频 率互相干扰,同时能收发很容易穿透移动通信终端机身的 VHF频段、 UHF频段或 SHF频段的射频信号。
在上述技术方案的基础上,所述高频无线智能卡至少包括以下两 部分: 终端通信模块, 射频通信模块,
终端通信模块主要用于完成移动通信终端的安全鉴权及参数存 储,所述终端通信模块为具备手机 IS07816接口功能的安全芯片, 该 安全芯片内设有用于处理 IS07816 通信的处理器, 安全芯片具备 IS07816通信中断功能,
射频通信模块用于完成和射频读卡器间的射频通信,射频通信模 块主要包括射频芯片和用于处理射频通信的处理器,射频通信模块所 使用的频段不会与现有手机频率互相干扰,同时能收发很容易穿透移 动通信终端机身的 VHF频段、 UHF频段或 SHF频段的射频信号,射 频通信模块具备时钟中断功能和 /或具备 10中断功能。
在上述技术方案的基础上,所述高频无线智能卡由一颗芯片来实 现, 该芯片至少包括以下两部分: 终端通信模块, 射频通信模块。
本发明所述的高频无线智能卡低功耗、并行处理的实现方法, 高 频无线智能卡可通过高频发射来作数据传输,使用该方法实现的高频 无线智能卡, 不仅具有低功耗的特点, 而且刷卡响应速度很快。解决 了现有手机移动支付技术大规模商业化的难点, 不及能耗低, 而且实 施成本低, 用户使用方便, 能大规模推广应用, 对我国电子商务、 移 动互联网及物联网的发展将带来深远的影响。 附图说明 本发明有如下附图:
图 1 高频无线智能卡实施例 1的结构示意图,
图中:
101 终端通信模块
102射频通信模块
103 IS07816通信 104射频刷卡通信
105 移动通信终端
106 读卡器
107 高频无线智能卡
图 2 高频无线智能卡实施例 2的结构示意图, 图中:
201 终端通信模块的安全芯片
202射频通信模块
203 用于射频数据通信的 10口
204用于射频状态检测的 10口
205 射频数据通信连接电路
206射频状态检测连接电路
207 IS07816通信
208 射频刷卡通信
209 高频无线智能卡
图 3 高频无线智能卡实施例 3的结构示意图, 图中:
301终端通信模块的安全芯片
302射频通信模块
303用于射频数据通信的 10口
304 安全芯片 10中断端口
305 射频芯片射频状态检测端口
306射频数据通信连接电路
307 射频状态检测连接电路
308 IS07816通信
309射频刷卡通信
310 高频无线智能卡
图 4 高频无线智能卡实施例 4的结构示意图, 图中: 401 集成电路的处理器模块
402集成电路的射频通信模块
403 集成电路内用于 401和 402作射频数据通信的接口 404集成电路内用于 401和 402作射频状态检测的接口 405 IS07816通信
406射频刷卡通信
407 集成电路***频数据通信连接电路
408 集成电路***频状态检测连接电路
409 高频无线智能卡
图 5 高频无线智能卡实施例 5的结构示意图,
图中:
501 集成电路的处理器模块
502集成电路的射频通信模块
503 集成电路内用于 501和 502作射频数据通信的接口
504集成电路内用于 502作射频状态检测的接口
505 集成电路内用于 501做接收 504状态数据的接口
506集成电路***频状态检测连接电路
507 集成电路***频数据通信连接电路
508 射频刷卡通信
509 IS07816通信
510 高频无线智能卡
图 6 高频无线智能卡实施例 6的结构示意图,
图中:
601终端通信模块的安全芯片
602射频通信模块(602可以是如上图 2、 图 3、 图 4、 图 5 ) 603 数据通信接口
604 IS07816通信 图 7 高频无线智能卡低功耗、 并行处理的通信流程实施例 1 图 8 高频无线智能卡低功耗、 并行处理的通信流程实施例 2, 图 9 高频无线智能卡低功耗、 并行处理的终端通信模块流程实 施例 3.1
图 10高频无线智能卡低功耗 、 并行处理的射频通信模块流程实 施例 3.2 具体实施方式 以下结合附图对本发明作进一步详细说明。
本发明所述的高频是指很容易穿透移动通信终端的 VHF频段和 UHF频段以及 SHF频段, 同时避开跟移动通信所使用的频段, 以防 冲突。
所述的并行处理, 分为两种情况:
一种是单处理器多任务并行模式, 所述的处理器是指用于处理 IS07816通信和射频刷卡通信的处理器只有一个;
另一种是多处理器多任务处理的模式,是指 IS07816通信和射频 刷卡通信分别由不同的处理器处理,两个处理器之间再通过数据接口 通信, 该通信之间不一定是实时的。 下面分别就两种情况作论述。
一、 单处理器多任务模式
对于单处理器多任务模式,所述的高频无线智能卡至少有以下两 部分组成, 包括终端通信模块, 射频通信模块。 终端通信模块主要用 于辅助移动通信终端的一般通信功能, 比如手机网络的鉴权、参数存 储等, 射频通信模块部分用于实现和读卡器的高频通信, 比如刷卡支 付、控制门禁等业务。终端通信模块可以由具备手机 IS07816接口功 能的安全芯片来实现(比如瑞士 EM公司的 TG360芯片), 射频通信 模块包含射频芯片 (比如 NRF24L01 )、 ***电路和射频天线。 高频 无线智能卡的封装外观可以类似普通手机 SIM卡。 或者将终端通信 模块和射频通信模块,通过集成电路的技术,集成在一个芯片里实现。 射频通信模块所使用的频段不应与现有手机频率互相干扰,同时能穿 透手机机身。 高频无线智能卡首先要完成一个普通的 SIM 卡或者 USIM卡的功能, 同时能扩展高频无线传输的功能来实现基于移动通 信终端的电子钱包, 手机门禁、 手机支付等新的应用需求。
所述的终端通信模块和射频通信模块必须具备如下功能: 所述的终端通信模块由安全芯片来实现,所述的安全芯片按照现 有技术水平最少含有处理器、 随机存储器、 永久存储器, 在硬件上必 须具备 IS07816通信中断功能,并且具备时钟中断功能或者扩展了多 10、 具备 10中断功能的安全芯片。 即本发明要求的安全芯片硬件上 必须具备 IS07816通信中断和时钟中断功能, 或者具备 IS07816通 信中断和 10中断功能。现有的所有安全芯片都至少具备通过 IS07816 通信中断使芯片从休眠状态转换到工作状态的能力,本发明所要求的 安全芯片除了具备以上能力外, 还要求具备利用时钟中断或者 10中 断使芯片从休眠状态转换到工作状态的能力。安全芯片具备了上述中 断功能, 即能通过分时并行处理两个或两个以上任务, 并且具备了通 过中断使芯片从休眠状态转换到工作状态的能力,就可以使安全芯片 在平均功耗很低的情况下处理多任务 (比如瑞士 EM公司的 TG360 芯片即具备以上的硬件功能)。
本发明所述的终端通信模块的安全芯片和射频通信模块有如下 四种连接方式:
1. 图 2 IS07816通信中断和时钟中断模式。高频无线智能卡 209 上设有终端通信模块的安全芯片 201和射频通信模块 202, 终端通信 模块的安全芯片 201和射频通信模块 202的射频芯片至少各通过两组 10口形成两条连接,一组 10口是用于射频数据通信的 10口 203 (数 据通信交换端口),另一组 10口为用于射频状态检测的 10口 204 (射 频状态检测端口), 通过电路 (射频数据通信连接电路 205和射频状 态检测连接电路 206) 分别将两颗芯片的两个端口连接起来。 此时所 有的软件工作流程, 都是由安全芯片来控制完成。终端通信模块的安 全芯片 201实现 IS07816通信 207,射频通信模块 202实现射频刷卡 通信。 所述的软件工作流程如下: (参见图 7)
首先是装有高频无线智能卡的移动通信终端开机 (比如 RF-SIM 手机开机), 高频无线智能卡内的安全芯片复位, 通过高频无线智能 卡内的软件, 进行参数初始化, 比如手机 SIM卡 (或 USIM卡) 参 数初始化, 并通过安全芯片与射频通信模块连接的数据通信交换端 口, 对射频通信模块参数作配置, 包括通信速率、 频点、 数据包的大 小等, 给移动通信终端, 比如手机, 返回复位信息, 设置安全芯片, 允许它在 IS07816中断或时钟中断时,从休眠状态进入工作状态。移 动通信终端, 比如手机, 进入休眠状态, 此时 IS07816通信未工作, 射频刷卡通信未工作, 移动通信终端处于最省电状态。 此时, 因为某 种中断被唤醒,判断是哪种中断? 如果是 IS07816中断,处理 IS07816 通信事务, 处理完成, 进入休眠状态; 如果是时钟中断, 通过检测射 频通信模块射频状态检测端口的电平高低状态来判断射频通信模块 是否收到读卡器的数据, 如果收到数据, 处理射频刷卡通信事务, 处 理完成, 结束中断, 进入休眠状态; 如果没有收到数据, 结束中断, 进入休眠状态。由于射频刷卡任务和 IS07816通信事务占用的时间都 不多, 一般都在毫秒数量级, 安全芯片可通过分时执行来处理, 移动 通信终端或者读卡器都不会察觉到高频无线智能卡在与自己通信时 也在执行另一个任务。 因此, 因时钟中断唤醒处理射频刷卡通信时, 也能并行处理 IS07816通信事务; 同样, 因 IS07816中断唤醒处理 通信事务时, 也能并行处理射频刷卡通信事务。这样, 无论高频无线 智能卡在哪种工作状态,都能迅速从高功耗的工作状态进入低功耗的 休眠状态,而且 IS07816通信和射频刷卡通信既能各自单独处理, 也 能并行处理, 这就在技术上保证既能做到高频无线智能卡的低功耗, 又能实现高速刷卡, 而且刷卡和通信能并行处理。
2. 图 3 IS07816中断和 10中断模式。 高频无线智能卡 310中, 终端通信模块的安全芯片 301和射频通信模块 302的射频芯片至少各 通过两组 10口形成两条连接, 一组 10口是用于射频数据通信的 10 口 303 (数据通信交换端口), 通过射频数据通信连接电路 306连接, 用作安全芯片和射频通信模块的数据通信; 另一组 10口对于安全芯 片来说, 必须是安全芯片 10中断端口 304, 对射频通信模块来说, 是射频芯片的射频状态输出端口 (射频芯片射频状态检测端口 305 ), 通过射频状态检测连接电路 307将两颗芯片的两个端口(安全芯片 10 中断端口 304和射频芯片射频状态检测端口 305 )连接起来。 用于对 射频通信模块的射频状态检测。此时所有的软件工作流程, 都是由安 全芯片来控制完成。 图 3中 308为 IS07816通信, 309为射频刷卡通 信。
所述的软件工作流程如下: (图 8)
首先是装有高频无线智能卡的移动通信终端开机 (比如 RF-SIM 手机开机), 高频无线智能卡内的安全芯片复位, 通过高频无线智能 卡内的软件, 进行参数初始化, 比如手机 SIM卡 (或 USIM卡) 参 数初始化, 并通过安全芯片与射频通信模块连接的数据通信交换端 口, 对射频通信模块参数作配置, 给移动通信终端, 比如手机, 返回 复位信息, 设置安全芯片, 允许它在 IS07816中断或 10中断时, 从 休眠状态进入工作状态。 移动通信终端, 比如手机, 进入休眠状态, 此时 IS07816通信未工作,射频刷卡通信也未工作,移动通信终端处 于最省电状态。 此时, 因为某种中断被唤醒, 判断是哪种中断? 如果 是 IS07816中断, 处理 IS07816通信事务, 处理完成, 进入休眠状 态; 如果是 10中断, 处理射频刷卡通信事务, 处理完成, 结束中断, 进入休眠状态。由于射频刷卡任务和 IS07816通信事务占用的时间都 不多, 一般在毫秒数量级, 安全芯片可通过分时执行来处理, 移动通 信终端或者读卡器都不会察觉到高频无线智能卡在与自己通信时也 在执行另一个任务。 因此, 因 10中断唤醒处理射频刷卡通信时, 也 能并行处理 IS07816通信事务; 同样, 因 IS07816中断唤醒处理通 信事务时, 也能并行处理处理射频刷卡通信事务。 这样, 无论高频无 线智能卡在哪种工作状态,都能迅速从高功耗的工作状态进入低功耗 的休眠状态, 而且 IS07816通信和射频刷卡通信既能各自单独处理, 也能并行处理, 这就在技术上保证既能做到高频无线智能卡的低功 耗, 又能实现高速刷卡, 而且刷卡和移动通信能并行处理。
3. 图 4采用集成电路技术将图 2安全芯片和射频芯片集成为一 颗芯片, 在该集成电路芯片内部实现图 2所述的两组 10连接, 其他 工作流程和图 2—样。 高频无线智能卡 409中, 设有集成电路芯片, 该集成电路芯片包括: 集成电路的处理器模块 401 (安全芯片), 集 成电路的射频通信模块 402 (射频芯片),
集成电路内用于 401和 402作射频状态检测的接口 404通过集成 电路***频状态检测连接电路 408和集成电路内用于 401和 402作射 频数据通信的接口 403连接构成一组 10连接,
集成电路内用于 401和 402作射频状态检测的接口 404通过集成 电路***频数据通信连接电路 407和集成电路内用于 401和 402作射 频数据通信的接口 403连接构成另一组 10连接,
405为 IS07816通信, 406为射频刷卡通信。
4. 图 5 采用集成电路技术将图 3安全芯片和射频芯片集成为一 颗芯片, 在该集成电路芯片内部实现图 3所述的两组 10连接, 其他 工作流程和图 3—样。 高频无线智能卡 510中, 设有集成电路芯片, 该集成电路芯片包括: 集成电路的处理器模块 501 (安全芯片), 集 成电路的射频通信模块 502 (射频芯片),
集成电路内用于 501做接收 504状态数据的接口 505通过集成电 路***频状态检测连接电路 506和集成电路内用于 502作射频状态检 测的接口 504连接构成一组 10连接,
集成电路内用于 501和 502作射频数据通信的接口 503通过集成 电路***频数据通信连接电路 507和另一个集成电路内用于 501 和 502作射频数据通信的接口 503连接,
508为射频刷卡通信, 509为 IS07816通信。
以上是单处理器多任务的模式。以下论述多处理器多任务的处理 模式。
二、 多处理器多任务的模式
对于多处理器多任务的模式, 终端通信模块可以采用普通 IS07816智能卡安全芯片, 射频通信模块包括处理器、 射频芯片、 外 围电路、 天线等。 有如下二种模式
1. 图 6在高频无线智能卡 606 中, 终端通信模块采用普通的 IS07816智能卡安全芯片, 即终端通信模块的安全芯片 601, 终端通 信模块的安全芯片 601与射频通信模块 602之间通过芯片之间的数据 通信接口 603交换数据。射频通信模块可以采用如上所述图 2、 图 3、 图 4、 图 5的结构和技术, 通过处理器的时钟中断或 10中断实现射 频通信模块从休眠状态到工作状态的切换来处理射频刷卡任务;而终 端通信模块通过 IS07816 中断实现从休眠状态到工作状态的切换来 处理 IS07816通信任务。其初始化工作流程同上,只是采用两个处理 器来实现了并行处理,保证了 IS07816通信 604和射频刷卡通信 605 能各自独立工作, 并行处理, 然后再交换数据。 比如, 射频通信模块 选择目前应用很普及的一款 NRF24LE1 芯片, 该芯片包含处理器和 射频芯片, 同时具备处理器和射频接口的功能。 而且 NRF24LE1 芯 片的处理器可以通过时钟中断实现射频通信模块从休眠状态到工作 状态的切换。在工作状态时, 等待读卡器发来数据。 如果在某个时间 段内, 比如 10毫秒或 20毫秒内没有收到数据, 重新进入休眠状态。 而一旦收到数据, 则处理射频刷卡任务, 任务处理完毕重新进入休眠 状态。为了能让终端通信模块得到射频刷卡的结果, 可以在通过终端 通信模块的 IS07816 安全芯片和射频刷卡模块之间的数据通信接口 交换数据后再进入休眠状态。两个模块之间无需实时交换数据,这样, IS07816芯片平常处于未工作状态,只需在处理 IS07816通信流程时 才进入工作状态, 此时就可跟射频通信模块交换数据了, 如果射频通 信模块此时处于未工作状态,则安全芯片等待射频通信模块进入工作 状态, 再交换数据, 射频通信模块工作状态和未工作状态的切换时间 一般在毫秒数量级。 终端通信模块的处理流程如实施例 3.1流程图 9 所示, 射频通信模块的处理流程如实施例 3.2流程图 10所示。 这样, 无论是终端通信模块, 还是射频刷卡模块, 都可以迅速从高功耗的工 作状态, 迅速进入低功耗的休眠状态, 而且, 可以在确保平均功耗很 低的情况下, IS07816通信和射频刷卡能并行处理。
2. 对于图 6, 还有一种工作方式是: 通过 IS07816中断实现终 端通信模块从未工作模式到工作模式的切换,而射频通信模块部分的 处理器随时处于工作模式,但通过降低自身的运行速度来大大降低处 理器部分的功耗。 通过两个处理器来实现并行处理, 实现 IS07816 通信和射频刷卡通信同时进行。这种模式下, 终端通信模块的平均功 耗仍然很低,射频通信模块部分的功耗比以上所述的模式功耗要高一 些, 但总体功耗仍处于较低水平。
总体来说, 按照本发明一系列的技术方法, 可以实现一种低功耗 高刷卡速度的高频无线智能卡。最终使得高频无线智能卡从概念转变 成一种真正可使用的产品。

Claims

权 利 要 求 书
1、 一种高频无线智能卡低功耗、 并行处理的实现方法, 其特征 在于, 包括以下步骤:
步骤 1, 装有高频无线智能卡的移动通信终端开机, 高频无线智 能卡复位, 进行参数初始化, 并对射频通信模块参数作配置,
步骤 2, 高频无线智能卡完成初始化, 给移动通信终端返回复位 完成信息, 并将高频无线智能卡设置成: 当高频无线智能卡在收到 IS07816中断或时钟中断时, 从休眠状态进入工作状态,
或, 当高频无线智能卡在收到 IS07816中断或 10中断时, 从休 眠状态进入工作状态,
步骤 3, 高频无线智能卡进入休眠状态, 使移动通信终端处于最 省电状态,
步骤 4, 当收到中断信号时, 高频无线智能卡根据步骤 2所设置 的条件进行如下处理:
当高频无线智能卡收到 IS07816中断时,高频无线智能卡内的终 端通信模块从休眠状态进入工作状态,处理 IS07816通信事务,处理 完成后高频无线智能卡从工作状态进入休眠状态;
当高频无线智能卡收到时钟中断时,高频无线智能卡从休眠状态 进入工作状态,通过检测射频通信模块的射频状态检测端口的电平高 低状态来判断射频通信模块是否收到读卡器的数据, 如果收到数据, 射频通信模块处理射频通信事务,处理完成后高频无线智能卡从工作 状态进入休眠状态, 如果没有收到数据, 高频无线智能卡从工作状态 进入休眠状态;
当高频无线智能卡收到 10中断时, 高频无线智能卡从休眠状态 进入工作状态, 射频通信模块处理射频通信事务, 处理完成后高频无 线智能卡从工作状态进入休眠状态。
2. 如权利要求 1所述的高频无线智能卡低功耗、 并行处理的实 现方法, 其特征在于: 所述高频无线智能卡至少包括以下两部分: 终 端通信模块, 射频通信模块,
终端通信模块主要用于完成移动通信终端的安全鉴权及参数存 储,所述终端通信模块为具备手机 IS07816接口功能的安全芯片, 该 安全芯片内设有用于处理 IS07816通信和射频通信的处理器,安全芯 片具备 IS07816通信中断功能,具备时钟中断功能和 /或具备 10中断 功能,且以上所述的各中断均能使高频无线智能卡从休眠状态转入工 作状态,
射频通信模块用于完成和射频读卡器间的射频通信,射频通信模 块的主体为射频芯片,射频通信模块所使用的频段不会与现有手机频 率互相干扰,同时能收发很容易穿透移动通信终端机身的 VHF频段、 UHF频段或 SHF频段的射频信号。
3. 如权利要求 1所述的高频无线智能卡低功耗、 并行处理的实 现方法, 其特征在于: 所述高频无线智能卡至少包括以下两部分: 终 端通信模块, 射频通信模块,
终端通信模块主要用于完成移动通信终端的安全鉴权及参数存 储,所述终端通信模块为具备手机 IS07816接口功能的安全芯片, 该 安全芯片内设有用于处理 IS07816 通信的处理器, 安全芯片具备 IS07816通信中断功能,
射频通信模块用于完成和射频读卡器间的射频通信,射频通信模 块主要包括射频芯片和用于处理射频通信的处理器,射频通信模块所 使用的频段不会与现有手机频率互相干扰,同时能收发很容易穿透移 动通信终端机身的 VHF频段、 UHF频段或 SHF频段的射频信号,射 频通信模块具备时钟中断功能和 /或具备 10中断功能。
4、 如权利要求 1所述的高频无线智能卡低功耗、 并行处理的实 现方法, 其特征在于: 所述高频无线智能卡由一颗芯片来实现, 该芯 片至少包括以下两部分: 终端通信模块, 射频通信模块。
PCT/CN2012/000111 2011-04-14 2012-01-20 一种高频无线智能卡低功耗、并行处理的实现方法 WO2012139407A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011100928384A CN102256345A (zh) 2010-05-19 2011-04-14 一种高频无线智能卡低功耗、并行处理的实现方法
CN201110092838.4 2011-04-14

Publications (1)

Publication Number Publication Date
WO2012139407A1 true WO2012139407A1 (zh) 2012-10-18

Family

ID=47010046

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/000111 WO2012139407A1 (zh) 2011-04-14 2012-01-20 一种高频无线智能卡低功耗、并行处理的实现方法

Country Status (1)

Country Link
WO (1) WO2012139407A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673220A (zh) * 2009-09-09 2010-03-17 恒宝股份有限公司 一种提高双界面sim卡工作并行度的方法
CN101686283A (zh) * 2008-09-23 2010-03-31 国民技术股份有限公司 降低射频sim卡在待机模式下功耗的方法
CN101727599A (zh) * 2008-10-30 2010-06-09 国民技术股份有限公司 降低射频sim卡待机功耗的软件方法
CN101742619A (zh) * 2008-11-06 2010-06-16 国民技术股份有限公司 采用序列触发降低射频sim卡待机功耗的方法
CN101739583A (zh) * 2008-11-26 2010-06-16 国民技术股份有限公司 射频sim卡、射频读卡器及射频通信的磁感应控制方法
CN101908157A (zh) * 2009-06-04 2010-12-08 上海华虹集成电路有限责任公司 Nfc-sim芯片
CN102256345A (zh) * 2010-05-19 2011-11-23 王海泉 一种高频无线智能卡低功耗、并行处理的实现方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686283A (zh) * 2008-09-23 2010-03-31 国民技术股份有限公司 降低射频sim卡在待机模式下功耗的方法
CN101727599A (zh) * 2008-10-30 2010-06-09 国民技术股份有限公司 降低射频sim卡待机功耗的软件方法
CN101742619A (zh) * 2008-11-06 2010-06-16 国民技术股份有限公司 采用序列触发降低射频sim卡待机功耗的方法
CN101739583A (zh) * 2008-11-26 2010-06-16 国民技术股份有限公司 射频sim卡、射频读卡器及射频通信的磁感应控制方法
CN101908157A (zh) * 2009-06-04 2010-12-08 上海华虹集成电路有限责任公司 Nfc-sim芯片
CN101673220A (zh) * 2009-09-09 2010-03-17 恒宝股份有限公司 一种提高双界面sim卡工作并行度的方法
CN102256345A (zh) * 2010-05-19 2011-11-23 王海泉 一种高频无线智能卡低功耗、并行处理的实现方法

Similar Documents

Publication Publication Date Title
WO2020168481A1 (zh) 智能锁供电控制方法、智能锁***及存储介质
JP5367847B2 (ja) エンハンスメント型近距離無線通信をサポートする端末及びその処理方法
JP5792397B2 (ja) 近距離通信システムにおける接続確立のための電力消費の削減
WO2010048857A1 (zh) 降低射频sim卡待机功耗的软件方法
WO2010051728A1 (zh) 采用序列触发降低射频sim卡待机功耗的方法
US10743258B2 (en) Method of Bluetooth communication giving consideration to both communication speed and power consumption and a terminal thereof
WO2010105458A1 (zh) 增强型近距离无线通信装置及其实现方法
WO2010060326A1 (zh) 射频sim卡、射频读卡器及射频通信的磁感应控制方法
CN103857021B (zh) 控制蓝牙装置的方法、蓝牙装置和电子装置
CN101908157B (zh) Nfc-sim芯片
CN102256341A (zh) 一种降低高频无线智能卡功耗的方法
CN102957811B (zh) 一种具有定时唤醒功能的射频sim卡及实现方法
CN102256345A (zh) 一种高频无线智能卡低功耗、并行处理的实现方法
WO2015085501A1 (zh) 一种屏幕控制方法、屏幕控制装置以及触控终端
WO2011079599A1 (zh) 天线匹配电路及近距离无线通信的实现方法
US9768835B2 (en) Method and electronic equipment for near field communication
CN201928441U (zh) 一种低功耗的射频***
CN101252733B (zh) 一种移动终端及模块间的通讯电路及其通讯方法
JP2007526552A (ja) デュアル・インタフェースを有するオブジェクトの完全な同時動作のメンテナンス
WO2012139407A1 (zh) 一种高频无线智能卡低功耗、并行处理的实现方法
CN103813421A (zh) 一种智能移动终端节电方法及智能移动终端
CN113766468B (zh) 智能卡分享方法、电子设备及计算机可读存储介质
CN103049784A (zh) 一种射频sim卡及其stk菜单选择及应用方法
CN201327661Y (zh) 一种用于脱卸式多功能金融终端的手持机
CN102467678B (zh) 一种具有双频通讯机制的射频sim卡

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12770826

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/02/2014)

122 Ep: pct application non-entry in european phase

Ref document number: 12770826

Country of ref document: EP

Kind code of ref document: A1