CN106685485B - Signal processing method and device based on Near Field Communication (NFC) - Google Patents

Signal processing method and device based on Near Field Communication (NFC) Download PDF

Info

Publication number
CN106685485B
CN106685485B CN201611265209.6A CN201611265209A CN106685485B CN 106685485 B CN106685485 B CN 106685485B CN 201611265209 A CN201611265209 A CN 201611265209A CN 106685485 B CN106685485 B CN 106685485B
Authority
CN
China
Prior art keywords
radio frequency
nfc
frequency field
radio
frequency signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611265209.6A
Other languages
Chinese (zh)
Other versions
CN106685485A (en
Inventor
张子敬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201611265209.6A priority Critical patent/CN106685485B/en
Publication of CN106685485A publication Critical patent/CN106685485A/en
Application granted granted Critical
Publication of CN106685485B publication Critical patent/CN106685485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/72Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/20Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by the transmission technique; characterised by the transmission medium
    • H04B5/24Inductive coupling
    • H04B5/26Inductive coupling using coils
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • H04L63/205Network architectures or network communication protocols for network security for managing network security; network security policies in general involving negotiation or determination of the one or more network security mechanisms to be used, e.g. by negotiation between the client and the server or between peers or by selection according to the capabilities of the entities involved
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a signal processing method and a signal processing device based on Near Field Communication (NFC), which are applied to a terminal with an NFC function and at least two security modules, wherein an NFC antenna of the terminal can receive signals of a first radio frequency field and a second radio frequency field, and the method comprises the following steps: when receiving an NFC radio frequency signal, judging a radio frequency field to which the NFC radio frequency signal belongs; if the NFC radio-frequency signal is judged to be the signal of the first radio-frequency field, controlling the NFC radio-frequency signal to be transmitted to the safety module corresponding to the first radio-frequency field according to the corresponding relation between the preset radio-frequency field and the safety module; and if the NFC radio frequency signal is judged to be the signal of the second radio frequency field, controlling the NFC radio frequency signal to be transmitted to the safety module corresponding to the second radio frequency field according to the preset corresponding relation between the radio frequency field and the safety module. The embodiment of the invention can automatically and quickly transmit the NFC radio frequency signal to the corresponding security module.

Description

Signal processing method and device based on Near Field Communication (NFC)
Technical Field
The invention relates to the technical field of terminals, in particular to a signal processing method and device based on NFC.
Background
With the development and popularization of terminals (such as mobile phones, tablet computers and the like), various intelligent terminals have become an indispensable part of people's daily life. In addition, with the development and popularization of Near Field Communication (NFC), most terminals have NFC functions, and various combinations of NFC schemes are developed, such as supporting a Host-based Card Emulation (HCE) scheme, a Single Wire Protocol (SWP) scheme, a dual-system dual-domain NFC scheme, and the like. For the above NFC scheme combination, when a terminal receives an NFC radio frequency signal, the prior art can only transmit the NFC radio frequency signal to a certain fixed security module, and the signal processing method is single.
Disclosure of Invention
The technical problem to be solved in the embodiments of the present invention is to provide a method and an apparatus for processing a signal based on NFC. NFC radio frequency signals can be automatically and quickly transmitted to the corresponding security module.
In order to solve the above technical problem, an embodiment of the present invention provides a signal processing method based on NFC, where the method is applied to a terminal with an NFC function and at least two security modules, and an NFC antenna of the terminal is capable of receiving signals of a first radio frequency field and a second radio frequency field, and the method includes:
when receiving an NFC radio frequency signal, judging a radio frequency field to which the NFC radio frequency signal belongs;
if the NFC radio-frequency signal is judged to be the signal of the first radio-frequency field, controlling the NFC radio-frequency signal to be transmitted to a safety module corresponding to the first radio-frequency field according to the corresponding relation between a preset radio-frequency field and the safety module;
and if the NFC radio frequency signal is judged to be the signal of the second radio frequency field, controlling the NFC radio frequency signal to be transmitted to a safety module corresponding to the second radio frequency field according to the corresponding relation between the preset radio frequency field and the safety module.
Wherein the method further comprises:
presetting a corresponding relation between a radio frequency field and a security module, and recording the corresponding relation in a mapping table, so that after the radio frequency field to which the NFC radio frequency signal belongs is judged, the security module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs is determined by inquiring the mapping table.
Wherein the method further comprises:
presetting a corresponding relation between a radio frequency field and a security module, which specifically comprises the following steps:
acquiring the identification of each security module in the terminal, and acquiring the identification of a radio frequency field;
outputting a configuration display interface, wherein the configuration display interface comprises an identifier of the security module and an identifier of the radio frequency field;
and receiving and storing the configuration relationship of each security module and the radio frequency field input by the terminal user, so that after the radio frequency field to which the NFC radio frequency signal belongs is judged, the security module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs is determined by inquiring the configuration relationship.
The determining the radio frequency field to which the NFC radio frequency signal belongs includes:
judging the NFC antenna to which the NFC radio-frequency signal belongs;
if the first NFC antenna receives the NFC radio frequency signal, determining that the NFC radio frequency signal is a signal of the first radio frequency field;
and if the NFC radio frequency signal is received by the second NFC antenna, determining that the NFC radio frequency signal is the signal of the second radio frequency field.
Wherein the method further comprises:
and outputting prompt information, wherein the prompt information is used for prompting a terminal user whether to determine to transmit the NFC radio frequency signal to a security module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs.
Correspondingly, an embodiment of the present invention further provides an NFC-based signal processing apparatus, where the apparatus is applied to a terminal having an NFC function and at least two security modules, and an NFC antenna of the terminal can receive signals of a first radio frequency field and a second radio frequency field, and the apparatus includes:
the receiving module is used for receiving the NFC radio frequency signal;
the judgment module is used for judging the radio frequency field to which the NFC radio frequency signal belongs when the receiving module receives the NFC radio frequency signal;
the control module is used for controlling the NFC radio frequency signal to be transmitted to the safety module corresponding to the first radio frequency field according to the corresponding relation between the preset radio frequency field and the safety module if the judgment module judges that the NFC radio frequency signal is the signal of the first radio frequency field;
the control module is further configured to control transmission of the NFC radio-frequency signal to the security module corresponding to the second radio-frequency field according to a corresponding relationship between the preset radio-frequency field and the security module if the judgment module judges that the NFC radio-frequency signal is the signal of the second radio-frequency field.
Wherein the apparatus further comprises:
the preset module is used for presetting the corresponding relation between the radio frequency field and the safety module and recording the corresponding relation in a mapping table so that the judgment module triggers the control module to determine the safety module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs by inquiring the mapping table after judging the radio frequency field to which the NFC radio frequency signal belongs.
Wherein the apparatus further comprises:
the preset module is used for presetting the corresponding relation between the radio frequency field and the safety module, and the preset module specifically comprises:
the first unit is used for acquiring the identification of each security module in the terminal and acquiring the identification of a radio frequency field;
the second unit is used for outputting a configuration display interface, and the configuration display interface comprises the identification of each safety module and the identification of the radio frequency field;
and the processing unit is used for receiving and storing the configuration relationship of the security module and the radio frequency field input by the terminal user, so that the judgment module triggers the control module to determine the security module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs by inquiring the configuration relationship after judging the radio frequency field to which the NFC radio frequency signal belongs.
The terminal comprises a first NFC antenna and a second NFC antenna, and the judging module is specifically configured to:
judging the NFC antenna to which the NFC radio-frequency signal belongs;
if the judgment module judges that the first NFC antenna receives the NFC radio-frequency signal, the NFC radio-frequency signal is determined to be a signal of the first radio-frequency field;
and if the judgment module judges that the second NFC antenna receives the NFC radio-frequency signal, determining that the NFC radio-frequency signal is the signal of the second radio-frequency field.
Wherein the apparatus further comprises:
and the output module is used for outputting prompt information, and the prompt information is used for prompting a terminal user whether to determine that the NFC radio-frequency signal is transmitted to the safety module corresponding to the judged radio-frequency field to which the NFC radio-frequency signal belongs.
The embodiment of the invention has the following beneficial effects:
according to the embodiment of the invention, when the NFC radio-frequency signal is received, the radio-frequency field to which the NFC radio-frequency signal belongs is judged, and the NFC radio-frequency signal is controlled to be transmitted to the safety module corresponding to the judged radio-frequency field to which the NFC radio-frequency signal belongs according to the corresponding relation between the preset radio-frequency field and the safety module, so that the NFC radio-frequency signal is automatically and quickly transmitted to the corresponding safety module, and the automation and the intellectualization of NFC signal processing are realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for processing signals based on NFC according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a hardware structure based on NFC signal processing according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for NFC-based signal processing according to another embodiment of the present invention;
fig. 4 is a schematic block diagram of a signal processing apparatus based on NFC according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of an NFC-based signal processing apparatus according to another embodiment of the present invention;
fig. 6 is a schematic block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminal described in the embodiment of the present invention needs to adjust and improve the NFC antenna matching circuit of the terminal before leaving the factory, so that the NFC antenna of the terminal can transmit and receive NFC radio-frequency signals in both the front and back directions of the NFC antenna. The terminal comprises an NFC antenna, an NFC controller, a security module and the like. The NFC-based signal processing method described in the embodiment of the present invention may be applied to, for example, an NFC combination scheme that supports an HCE scheme and an SWP scheme at the same time, an SWP scheme that supports two Subscriber Identity Modules (SIMs) at the same time, and an NFC combination scheme that supports a dual-system dual-domain NFC scheme.
Referring to fig. 1, which is a schematic flowchart of a signal processing method based on NFC according to an embodiment of the present invention, the method may be applied to a terminal with an NFC function and at least two security modules, such as a smart Phone (e.g., an Android Phone, an IOS Phone, a Windows Phone, etc.), a tablet computer, a Mobile Internet Device (MID), a wearable device, and the like. An NFC-based signal processing method as shown in fig. 1 may include the steps of:
s101, when the terminal receives an NFC radio frequency signal, judging a radio frequency field to which the NFC radio frequency signal belongs.
The NFC antenna of the terminal can receive signals of the first radio frequency field and the second radio frequency field, and of course, the terminal can also receive signals of other radio frequency fields. The first radio frequency field is a radio frequency field at one side of the rear shell of the terminal; the second radio frequency field is a radio frequency field at one side of the terminal screen.
In some possible embodiments, the terminal includes a first NFC antenna and a second NFC antenna, and an isolation layer is disposed between the first NFC antenna and the second NFC antenna, so that signals of the first radio frequency field can only be received by the first NFC antenna and signals of the second radio frequency field can only be received by the second NFC antenna by adjusting and modifying the NFC antenna of the terminal before the terminal leaves a factory. Specifically, when receiving an NFC radio-frequency signal, the terminal determines an NFC antenna to which the NFC radio-frequency signal belongs; if the first NFC antenna receives the NFC radio-frequency signal, determining the NFC radio-frequency signal as a signal of the first radio-frequency field; and if the NFC radio frequency signal is received by the second NFC antenna, determining the NFC radio frequency signal as a signal of the second radio frequency field.
In some possible embodiments, the terminal is configured to adjust and modify the NFC antenna and the antenna matching circuit of the terminal before the terminal is shipped, so that the radio frequency field on the side of the terminal screen can only be received by the NFC antenna (the second NFC antenna) of the terminal in the forward direction (e.g., the direction corresponding to the side of the terminal screen) of the NFC antenna of the terminal, and the radio frequency field on the side of the terminal rear housing can only be received by the NFC antenna (the first NFC antenna) of the terminal in the reverse direction (e.g., the direction corresponding to the side of the terminal rear housing) of the NFC antenna of the terminal. The NFC antenna matching circuit includes an antenna matching circuit 1 and an antenna matching circuit 2, and only NFC radio-frequency signals received by a second NFC antenna included in the terminal can be transmitted to the NFC controller through the antenna matching circuit 1, and only NFC radio-frequency signals received by a first NFC antenna included in the terminal can be transmitted to the NFC controller through the antenna matching circuit 2. Therefore, when the NFC controller of the terminal receives the NFC radio-frequency signal transmitted by the antenna matching circuit 1, it can be determined that the NFC radio-frequency signal is a signal of a radio-frequency field on one side of the terminal screen, that is, a second radio-frequency field; when the NFC controller of the terminal receives the NFC radio-frequency signal transmitted by the antenna matching circuit 2, it may be determined that the NFC radio-frequency signal is a signal of the first radio-frequency field, which is the radio-frequency field on one side of the rear housing of the terminal.
In some possible embodiments, when the terminal receives the NFC radio-frequency signal, first a distance value between the distance sensor and the obstruction is obtained by a distance sensor provided in the terminal, and then a radio-frequency field to which the NFC radio-frequency signal belongs is determined according to the distance value. The distance sensor can be arranged on one side of a screen or one side of a rear shell of the terminal, if the distance sensor is arranged on one side of the screen of the terminal, when the terminal detects that the distance between the distance sensor and the shielding object is smaller than a preset value (for example, 5cm) through the distance sensor, the terminal screen can be determined to face the shielding object, and because in practical application, when a terminal NFC function is used for payment, the terminal needs to be close to an NFC terminal so as to receive NFC radio-frequency signals, when the terminal screen is determined to face the shielding object, the NFC terminal can be determined to be located on one side of the terminal screen, and the received NFC radio-frequency signals are signals of a radio-frequency field on one side of the terminal screen, namely a second radio-frequency field; otherwise, it may be determined that the NFC terminal is located at one side of the rear housing of the terminal, and thus the received NFC radio-frequency signal is a signal of a radio-frequency field at one side of the rear housing of the terminal, i.e., the first radio-frequency field. If the distance sensor is arranged on one side of the rear shell of the terminal, when the terminal detects that the distance between the distance sensor and the shielding object is smaller than a preset value (for example, 5cm) through the distance sensor, it can be determined that the NFC terminal is located on one side of the rear shell of the terminal, and therefore the received NFC radio-frequency signal is a signal of a first radio-frequency field; otherwise, it is determined that the NFC terminal is located at one side of the terminal screen, and thus the received NFC radio-frequency signal is a signal of the second radio-frequency field.
For example, taking the terminal as an example Of receiving an NFC radio frequency signal sent by a Point Of Sale (POS), in the prior art, when a terminal user uses the NFC function Of the terminal to pay, the terminal user can generally receive the NFC radio frequency signal only by approaching one side Of the rear case Of the terminal to the POS machine. The NFC antenna of the terminal described in the embodiment of the invention can transmit and receive NFC radio-frequency signals in both the front direction and the back direction, so that when a terminal user uses the NFC function of the terminal to pay, one side of the rear shell of the terminal can be close to a POS machine to receive the NFC radio-frequency signals, and one side of the screen of the terminal can be close to the POS machine to receive the NFC radio-frequency signals. If one side of the rear shell of the terminal is close to the POS machine to receive the NFC radio-frequency signal, the first NFC antenna receives the NFC radio-frequency signal from a radio-frequency field (a first radio-frequency field) on one side of the rear shell of the terminal; if the screen side of the terminal is close to the POS machine to receive the NFC radio-frequency signal, the NFC radio-frequency signal from the radio-frequency field (second radio-frequency field) on the screen side of the terminal is received by the second NFC antenna. Therefore, by implementing the embodiment of the invention, the NFC radio-frequency signal can be received by enabling one side of the rear shell of the terminal to be close to the POS machine, and the NFC radio-frequency signal can be received by enabling one side of the screen of the terminal to be close to the POS machine, so that the user experience can be improved.
S102, if the terminal judges that the NFC radio frequency signal is the signal of the first radio frequency field, controlling the NFC radio frequency signal to be transmitted to a security module corresponding to the first radio frequency field according to the corresponding relation between a preset radio frequency field and the security module.
S103, if the terminal judges that the NFC radio frequency signal is the signal of the second radio frequency field, the terminal controls the NFC radio frequency signal to be transmitted to a safety module corresponding to the second radio frequency field according to the corresponding relation between the preset radio frequency field and the safety module.
When the terminal judges the radio frequency field to which the NFC radio frequency signal belongs, the terminal determines the safety module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs according to the corresponding relation between the radio frequency field preset by the terminal and the safety module, and then controls the NFC radio frequency signal to be transmitted to the determined safety module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs. The corresponding relationship between the radio frequency field preset by the terminal and the security module may be configured already when the terminal leaves the factory, or may be manually configured by a user of the terminal, and the embodiment of the present invention is not limited.
Specifically, if the terminal determines that the NFC radio-frequency signal is a signal of the first radio-frequency field, the terminal determines a security module corresponding to the first radio-frequency field according to a correspondence between a radio-frequency field preset by the terminal and a security module, and then controls to transmit the NFC radio-frequency signal to the determined security module corresponding to the first radio-frequency field. If the terminal judges that the NFC radio-frequency signal is the signal of the second radio-frequency field, the security module corresponding to the second radio-frequency field is determined according to the corresponding relation between the radio-frequency field preset by the terminal and the security module, and then the NFC radio-frequency signal is controlled to be transmitted to the determined security module corresponding to the second radio-frequency field.
In some possible embodiments, the correspondence between the preset radio frequency field of the terminal and the security module may be stored in the form of a mapping table. Specifically, no matter the corresponding relationship between the radio frequency field configured before leaving the factory or the radio frequency field configured manually by the terminal user and the security module, the corresponding relationship between the configured radio frequency field and the security module is recorded in the mapping table after the corresponding relationship configuration is completed, and the mapping table is stored, so that when the terminal determines the radio frequency field to which the NFC radio frequency signal belongs, the security module corresponding to the determined radio frequency field to which the NFC radio frequency signal belongs can be determined by querying the mapping table.
In some possible embodiments, the specific process of presetting the correspondence between the radio frequency field and the security module is that the terminal first obtains the identifier of each security module in the terminal and obtains the identifier of the radio frequency field. The identifier of the security module may be set by the terminal by using different characters according to the location area where the security module is located, for example, the identifier of the security module in the SIM card 1 is set to SE1, and the identifier of the security module in the SIM card 2 is set to SE 2; or the terminal may acquire the hardware address of each security module by scanning the hardware device, and use the acquired hardware address as the identifier of the security module. The identification of the radio frequency field may be manually configured by the end user, for example, by popping up a configuration box for the end user to manually input the identification of the radio frequency field, the end user may set the identification of the radio frequency field on the back case side of the terminal to RF1 and the identification of the radio frequency field on the screen side of the terminal to RF 2. Then outputting a configuration display interface, wherein the configuration display interface comprises the identifiers of at least two security modules and the identifier of the radio frequency field; and finally, receiving and storing the configuration relationship of the security module and the radio frequency field input by the terminal user. It can be understood that the radio frequency field identifier may also be set before the terminal leaves a factory, and the corresponding relationship between the preset radio frequency field and the security module may be configured in advance on the terminal configuration interface, or may be configured when receiving the NFC radio frequency signal. The configuration relationship may be stored in a form of a database, or may be stored in other manners, which is not limited in the embodiment of the present invention. Therefore, when the terminal determines the radio frequency field to which the NFC radio frequency signal belongs, the security module corresponding to the determined radio frequency field to which the NFC radio frequency signal belongs can be determined by querying the configuration relationship.
In some possible embodiments, after receiving the NFC radio frequency signal and determining the radio frequency field to which the NFC radio frequency signal belongs, the terminal first determines the identifier of the radio frequency field to which the NFC radio frequency signal received by the terminal belongs according to a preset rule, for example, the preset rule specifies that the identifier of the first radio frequency field is set to RF1 and the identifier of the second radio frequency field is set to RF 2. And simultaneously acquiring the identification of each security module included in the terminal. Then outputting a configuration display interface, wherein the configuration display interface comprises the identifiers of at least two security modules and the identifier of the radio frequency field to which the NFC radio frequency signal received by the terminal belongs; and finally, receiving and storing the configuration relationship of the security module input by the terminal user and the radio frequency field to which the NFC radio frequency signal received by the terminal belongs. Therefore, the terminal can determine the security module corresponding to the determined radio frequency field to which the NFC radio frequency signal belongs by querying the configuration relationship.
In some possible embodiments, before controlling, according to the corresponding relationship between the preset radio frequency field and the security module, to transmit the NFC radio frequency signal to the security module corresponding to the radio frequency field to which the NFC radio frequency signal belongs, the terminal outputs prompt information, where the prompt information is used to prompt a user of the terminal whether to determine, according to the corresponding relationship between the preset radio frequency field and the security module, to control transmission of the NFC radio frequency signal to the security module corresponding to the radio frequency field to which the NFC radio frequency signal belongs; and when the terminal receives a determination instruction input by the terminal user aiming at the prompt message, controlling to transmit the NFC radio frequency signal to a security module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs according to the corresponding relation between the preset radio frequency field and the security module.
For example, referring to fig. 2 together, assuming that the terminal supports a dual-SIM NFC scheme, that is, a security module exists in both the SIM card 1 and the SIM card 2, the NFC controller may transmit the NFC radio frequency signal received by the NFC antenna to the security module of the SIM card 1 or the SIM card 2. As shown in fig. 2, the terminal includes an NFC antenna, an NFC controller, a security module, and the like, where the security module in the SIM card 1 is a security module 1, and the security module in the SIM card 2 is a security module 2. The NFC antenna is used for receiving or sending NFC radio frequency signals and is connected with the NFC controller; the NFC controller is used for receiving NFC radio frequency signals from different directions of the NFC antenna and can be used for modulating and demodulating the NFC radio frequency signals. The terminal is preset with a corresponding relationship between the radio frequency field and the security module, and takes the example that the first radio frequency field corresponds to the security module 1 and the second radio frequency field corresponds to the security module 2. When the terminal receives an NFC radio frequency signal, a distance value between the distance sensor and a shielding object is obtained through the distance sensor arranged on the terminal, and then a radio frequency field to which the NFC radio frequency signal belongs is determined according to the distance value. If the NFC radio-frequency signal is determined to be a signal of the first radio-frequency field, the NFC controller transmits the NFC radio-frequency signal to the security module 1. The dashed arrow in fig. 2 is a process of controlling, by the NFC controller, the NFC radio-frequency signal to be transmitted to the security module 1 according to the correspondence between the preset radio-frequency field and the security module when it is determined that the NFC radio-frequency signal is a signal of the first radio-frequency field. If the NFC radio-frequency signal is determined to be a signal of the second radio-frequency field, the NFC controller transmits the NFC radio-frequency signal to the security module 2. The solid arrow in fig. 2 is a process of controlling, by the NFC controller, the NFC radio-frequency signal to be transmitted to the security module 2 according to the correspondence between the preset radio-frequency field and the security module when it is determined that the NFC radio-frequency signal is a signal of the second radio-frequency field. Therefore, in practical application, if a terminal user wants to perform mobile payment through the SIM1, the terminal user only needs to directly approach one side of the mobile phone rear shell to the external accepting device to receive the signal of the first radio frequency field, and if the terminal user wants to perform mobile payment through the SIM card 2, the terminal user only needs to directly approach one side of the mobile phone screen to the external accepting device to receive the signal of the second radio frequency field. Therefore, the embodiment of the invention is convenient and simple, and can improve the user experience. It should be noted that, because the security module is disposed in the SIM card, the method according to the embodiment of the present invention can be implemented no matter the terminal is in a power-on state or a power-off state.
According to the embodiment of the invention, when the NFC radio-frequency signal is received, the radio-frequency field to which the NFC radio-frequency signal belongs is judged, and the NFC radio-frequency signal is controlled to be transmitted to the safety module corresponding to the judged radio-frequency field to which the NFC radio-frequency signal belongs according to the corresponding relation between the preset radio-frequency field and the safety module, so that the NFC radio-frequency signal is automatically and quickly transmitted to the corresponding safety module, and the automation and intellectualization of signal processing based on NFC are realized.
Referring to fig. 3, a schematic flowchart of a method for processing a signal based on NFC according to another embodiment of the present invention is shown, where the method may be applied to a terminal with an NFC function and at least two security modules, such as a smart phone, a tablet, a mobile internet device, and a wearable device. An NFC-based signal processing method as shown in fig. 3 may include the steps of:
s201, when the terminal receives an NFC radio frequency signal, the NFC antenna to which the NFC radio frequency signal belongs is judged.
The NFC antenna of the terminal can receive signals of the first radio frequency field and the second radio frequency field, and of course, the terminal can also receive signals of other radio frequency fields. The first radio frequency field is a radio frequency field at one side of the rear shell of the terminal; the second radio frequency field is a radio frequency field at one side of the terminal screen. The terminal comprises a first NFC antenna and a second NFC antenna, an isolation layer is arranged between the first NFC antenna and the second NFC antenna, and the NFC antenna and the antenna matching circuit of the terminal are adjusted and improved before the terminal leaves a factory, so that signals of the first radio frequency field can only be received by the first NFC antenna, and signals of the second radio frequency field can only be received by the second NFC antenna.
The NFC antenna matching circuit includes an antenna matching circuit 1 and an antenna matching circuit 2, and only NFC radio-frequency signals received by a second NFC antenna included in the terminal can be transmitted to the NFC controller through the antenna matching circuit 1, and only NFC radio-frequency signals received by a first NFC antenna included in the terminal can be transmitted to the NFC controller through the antenna matching circuit 2. Therefore, when the NFC controller of the terminal receives the NFC radio-frequency signal transmitted by the antenna matching circuit 1, it can be determined that the first NFC antenna receives the NFC radio-frequency signal; when the NFC controller of the terminal receives the NFC radio-frequency signal transmitted by the antenna matching circuit 2, it can be determined that the second NFC antenna receives the NFC radio-frequency signal.
S202, if the terminal judges that the NFC radio-frequency signal is received by the first NFC antenna, determining that the NFC radio-frequency signal is a signal of the first radio-frequency field.
S203, the terminal controls the NFC radio frequency signal to be transmitted to the safety module corresponding to the first radio frequency field according to the corresponding relation between the preset radio frequency field and the safety module.
S204, if the terminal judges that the NFC radio-frequency signal is received by the second NFC antenna, determining that the NFC radio-frequency signal is a signal of the second radio-frequency field.
S205, the terminal controls the NFC radio frequency signal to be transmitted to the security module corresponding to the second radio frequency field according to the corresponding relation between the preset radio frequency field and the security module.
Specifically, if the terminal determines that the NFC radio-frequency signal is a signal of the first radio-frequency field, the terminal determines a security module corresponding to the first radio-frequency field according to a correspondence between a radio-frequency field preset by the terminal and a security module, and then controls to transmit the NFC radio-frequency signal to the determined security module corresponding to the first radio-frequency field. If the terminal judges that the NFC radio-frequency signal is the signal of the second radio-frequency field, the security module corresponding to the second radio-frequency field is determined according to the corresponding relation between the radio-frequency field preset by the terminal and the security module, and then the NFC radio-frequency signal is controlled to be transmitted to the determined security module corresponding to the second radio-frequency field.
In some possible embodiments, the correspondence between the preset radio frequency field of the terminal and the security module may be stored in the form of a mapping table. Specifically, no matter the corresponding relationship between the radio frequency field configured before leaving the factory or the radio frequency field configured manually by the terminal user and the security module, the corresponding relationship between the configured radio frequency field and the security module is recorded in the mapping table after the corresponding relationship configuration is completed, and the mapping table is stored, so that when the terminal determines the radio frequency field to which the NFC radio frequency signal belongs, the security module corresponding to the determined radio frequency field to which the NFC radio frequency signal belongs can be determined by querying the mapping table.
In some possible embodiments, the specific process of presetting the correspondence between the radio frequency field and the security module is that the terminal first obtains the identifier of each security module in the terminal and obtains the identifier of the radio frequency field. The identifier of the security module may be set by the terminal by using different characters according to the location area where the security module is located, for example, the identifier of the security module in the SIM card 1 is set to SE1, and the identifier of the security module in the SIM card 2 is set to SE 2; or the terminal may acquire the hardware address of each security module by scanning the hardware device, and use the acquired hardware address as the identifier of the security module. The identification of the radio frequency field may be manually configured by the end user, for example, by popping up a configuration box for the end user to manually input the identification of the radio frequency field, the end user may set the identification of the radio frequency field on the back case side of the terminal to RF1 and the identification of the radio frequency field on the screen side of the terminal to RF 2. Then outputting a configuration display interface, wherein the configuration display interface comprises the identifiers of at least two security modules and the identifier of the radio frequency field; and finally, receiving and storing the configuration relationship of the security module and the radio frequency field input by the terminal user. It can be understood that the radio frequency field identifier may also be set before the terminal leaves a factory, and the corresponding relationship between the preset radio frequency field and the security module may be configured in advance on the terminal configuration interface, or may be configured when receiving the NFC radio frequency signal. The configuration relationship may be stored in a form of a database, or may be stored in other manners, which is not limited in the embodiment of the present invention. Therefore, when the terminal determines the radio frequency field to which the NFC radio frequency signal belongs, the security module corresponding to the determined radio frequency field to which the NFC radio frequency signal belongs can be determined by querying the configuration relationship.
In some possible embodiments, before controlling, according to the corresponding relationship between the preset radio frequency field and the security module, to transmit the NFC radio frequency signal to the security module corresponding to the radio frequency field to which the NFC radio frequency signal belongs, the terminal outputs prompt information, where the prompt information is used to prompt a user of the terminal whether to determine, according to the corresponding relationship between the preset radio frequency field and the security module, to control transmission of the NFC radio frequency signal to the security module corresponding to the radio frequency field to which the NFC radio frequency signal belongs; and when the terminal receives a determination instruction input by the terminal user aiming at the prompt message, controlling to transmit the NFC radio frequency signal to a security module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs according to the corresponding relation between the preset radio frequency field and the security module.
According to the embodiment of the invention, when the NFC radio-frequency signal is received, the radio-frequency field to which the NFC radio-frequency signal belongs is judged, and the NFC radio-frequency signal is controlled to be transmitted to the safety module corresponding to the judged radio-frequency field to which the NFC radio-frequency signal belongs according to the corresponding relation between the preset radio-frequency field and the safety module, so that the NFC radio-frequency signal is automatically and quickly transmitted to the corresponding safety module, and the automation and intellectualization of signal processing based on NFC are realized.
Referring to fig. 4, which is a schematic block diagram of an NFC-based signal processing apparatus according to an embodiment of the present invention, where the apparatus may be disposed on a terminal with an NFC function and at least two security modules, such as a smart phone, a tablet, a mobile internet device, and a wearable device, for example, the NFC-based signal processing apparatus described in an embodiment of the present invention includes:
a receiving module 401, configured to receive an NFC radio frequency signal.
The receiving module 401 may receive the NFC radio frequency signal through an NFC antenna of the terminal. The receiving module 401 can receive signals of the first rf field and the second rf field, and of course, the terminal can also receive signals of other rf fields. The first radio frequency field is a radio frequency field at one side of the rear shell of the terminal; the second radio frequency field is a radio frequency field at one side of the terminal screen.
A determining module 402, configured to determine, when the receiving module 401 receives an NFC radio frequency signal, a radio frequency field to which the NFC radio frequency signal belongs.
In some possible embodiments, the terminal includes a first NFC antenna and a second NFC antenna, and an isolation layer is disposed between the first NFC antenna and the second NFC antenna, so that signals of the first radio frequency field can only be received by the first NFC antenna and signals of the second radio frequency field can only be received by the second NFC antenna by adjusting and modifying the NFC antenna of the terminal before the terminal leaves a factory. Specifically, when receiving the NFC radio frequency signal, the receiving module 401 triggers the determining module 402 to determine the NFC antenna to which the NFC radio frequency signal belongs; if the determining module 402 determines that the NFC radio frequency signal is received by the first NFC antenna, it is determined that the NFC radio frequency signal is a signal of the first radio frequency field; if the determining module 402 determines that the NFC radio frequency signal is received by the second NFC antenna, it is determined that the NFC radio frequency signal is a signal of the second radio frequency field.
A control module 403, configured to control, if the determining module 402 determines that the NFC radio frequency signal is the signal of the first radio frequency field, to transmit the NFC radio frequency signal to a security module corresponding to the first radio frequency field according to a preset correspondence between the radio frequency field and the security module.
The control module 403 is further configured to, if the determining module 402 determines that the NFC radio frequency signal is the signal of the second radio frequency field, control to transmit the NFC radio frequency signal to the security module corresponding to the second radio frequency field according to a corresponding relationship between the preset radio frequency field and the security module.
When the determining module 402 determines the radio frequency field to which the NFC radio frequency signal belongs, the controlling module 403 is triggered to determine the security module corresponding to the determined radio frequency field to which the NFC radio frequency signal belongs according to the correspondence between the radio frequency field preset in the terminal and the security module, and then the controlling module is controlled to transmit the NFC radio frequency signal to the determined security module corresponding to the determined radio frequency field to which the NFC radio frequency signal belongs. The corresponding relationship between the radio frequency field preset by the terminal and the security module may be configured already when the terminal leaves the factory, or may be manually configured by a user of the terminal, and the embodiment of the present invention is not limited.
In some possible embodiments, the correspondence between the preset rf field and the security module may be stored in the form of a mapping table. Specifically, no matter the corresponding relationship between the radio frequency field configured before leaving the factory or the radio frequency field configured manually by the terminal user and the security module, after the corresponding relationship is configured, the corresponding relationship between the configured radio frequency field and the security module is recorded in the mapping table, and the mapping table is stored, so that after the judgment module 402 judges the radio frequency field to which the NFC radio frequency signal belongs, the security module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs can be determined by querying the mapping table.
It should be noted that, in the embodiment of the present invention, functions of each functional module of the NFC-based signal processing apparatus may be specifically implemented according to the method in the foregoing method embodiment, and a specific implementation process of the function may refer to relevant descriptions of the foregoing method embodiment, which is not described herein again.
According to the embodiment of the invention, when the NFC radio-frequency signal is received, the radio-frequency field to which the NFC radio-frequency signal belongs is judged, and the NFC radio-frequency signal is controlled to be transmitted to the safety module corresponding to the judged radio-frequency field to which the NFC radio-frequency signal belongs according to the corresponding relation between the preset radio-frequency field and the safety module, so that the NFC radio-frequency signal is automatically and quickly transmitted to the corresponding safety module, and the automation and intellectualization of signal processing based on NFC are realized.
Referring to fig. 5, which is a schematic block diagram of an NFC-based signal processing apparatus according to another embodiment of the present invention, where the apparatus may be disposed on a terminal with an NFC function and at least two security modules, such as a smart phone, a tablet, a mobile internet device, a wearable device, and the like, the NFC-based signal processing apparatus described in the embodiment of the present invention includes:
a receiving module 501, configured to receive an NFC radio frequency signal.
The receiving module 501 may receive an NFC radio frequency signal through an NFC antenna of the terminal. The receiving module 501 can receive signals of the first rf field and the second rf field, and of course, the terminal can also receive signals of other rf fields. The first radio frequency field is a radio frequency field at one side of the rear shell of the terminal; the second radio frequency field is a radio frequency field at one side of the terminal screen.
The determining module 502 is configured to determine, when the receiving module 501 receives the NFC radio frequency signal, a radio frequency field to which the NFC radio frequency signal belongs.
The terminal comprises a first NFC antenna and a second NFC antenna, an isolation layer is arranged between the first NFC antenna and the second NFC antenna, and the NFC antenna and the antenna matching circuit of the terminal are adjusted and improved before the terminal leaves a factory, so that signals of the first radio frequency field can be received only by the first NFC antenna, and signals of the second radio frequency field can be received only by the second NFC antenna.
The determining module 502 is specifically configured to:
judging the NFC antenna to which the NFC radio-frequency signal belongs, and if the judgment module 502 judges that the first NFC antenna receives the NFC radio-frequency signal, determining that the NFC radio-frequency signal is a signal of the first radio-frequency field; if the determining module 502 determines that the NFC radio frequency signal is received by the second NFC antenna, it is determined that the NFC radio frequency signal is a signal of the second radio frequency field.
A control module 503, configured to control, if the determining module 502 determines that the NFC radio frequency signal is the signal of the first radio frequency field, to transmit the NFC radio frequency signal to a security module corresponding to the first radio frequency field according to a preset correspondence between the radio frequency field and the security module.
The control module 503 is further configured to control, if the determining module 502 determines that the NFC radio frequency signal is the signal of the second radio frequency field, to transmit the NFC radio frequency signal to the security module corresponding to the second radio frequency field according to a corresponding relationship between the preset radio frequency field and the security module.
An output module 504, configured to output a prompt message, where the prompt message is used to prompt an end user whether to determine whether to control transmission of the NFC radio-frequency signal to a security module corresponding to the determined radio-frequency field to which the NFC radio-frequency signal belongs according to a correspondence between the preset radio-frequency field and the security module;
the control module 503 is specifically configured to, when receiving a determination instruction input by the terminal user for the prompt information, control to transmit the NFC radio frequency signal to the security module corresponding to the radio frequency field to which the determined NFC radio frequency signal belongs according to the correspondence between the preset radio frequency field and the security module.
The presetting module 505 is configured to preset a correspondence between a radio frequency field and a security module, and record the correspondence in a mapping table, so that the determining module 502 triggers the control module 503 to determine, by querying the mapping table, the security module corresponding to the radio frequency field to which the NFC radio frequency signal belongs after determining the radio frequency field to which the NFC radio frequency signal belongs.
In some possible embodiments, the presetting module 505 is configured to preset a correspondence between a radio frequency field and a security module, where the presetting module 505 specifically includes:
a first unit 5051 is configured to obtain an identifier of each security module in the terminal, and obtain an identifier of the radio frequency field.
A second unit 5052 is configured to output a configuration display interface, where the configuration display interface includes an identifier of each security module and an identifier of the radio frequency field.
The processing unit 5053 is configured to receive and store the configuration relationship between the security module and the radio frequency field input by the terminal user, so that the determining module 502 triggers the control module 503 to determine, by querying the configuration relationship, the security module corresponding to the radio frequency field to which the NFC radio frequency signal belongs after determining the radio frequency field to which the NFC radio frequency signal belongs.
It should be noted that, in the embodiment of the present invention, functions of each functional module of the NFC-based signal processing apparatus may be specifically implemented according to the method in the foregoing method embodiment, and a specific implementation process of the function may refer to relevant descriptions of the foregoing method embodiment, which is not described herein again.
According to the embodiment of the invention, when the NFC radio-frequency signal is received, the radio-frequency field to which the NFC radio-frequency signal belongs is judged, and the NFC radio-frequency signal is controlled to be transmitted to the safety module corresponding to the judged radio-frequency field to which the NFC radio-frequency signal belongs according to the corresponding relation between the preset radio-frequency field and the safety module, so that the NFC radio-frequency signal is automatically and quickly transmitted to the corresponding safety module, and the automation and intellectualization of signal processing based on NFC are realized.
Fig. 6 is a schematic block diagram of a terminal according to an embodiment of the present invention. The terminal is provided with an NFC function and at least two safety modules, and an NFC antenna of the terminal can receive signals of the first radio frequency field and the second radio frequency field. A terminal in the present embodiment as shown in the figure may include: one or more processors 601; one or more input devices 602, one or more output devices 603, memory 604, and transceiver 605. The processor 601, the input device 602, the output device 603, the memory 604, and the transceiver 605 are connected by a bus 606.
The output device 603 may be, for example, a Display screen (Display) for outputting, the input device 602 may be, for example, a touch screen for inputting, a Keyboard (Keyboard), and the like, it should be noted that the Display screen and the touch screen may be designed integrally, and the Keyboard may be an entity Keyboard, a touch screen virtual Keyboard, or a Keyboard that is a combination of an entity and a touch screen. The memory 604 is used to store instructions and the processor 601 is used to execute programs stored by the memory 604. Wherein:
the transceiver 605 is configured to receive an NFC radio frequency signal.
The transceiver 605 is capable of receiving signals of the first rf field and the second rf field, and of course, the transceiver 605 may also receive signals of other rf fields. The first radio frequency field is a radio frequency field at one side of the rear shell of the terminal; the second radio frequency field is a radio frequency field at one side of the terminal screen.
The processor 601 is configured to determine a radio frequency field to which the NFC radio frequency signal belongs when the transceiver 605 receives the NFC radio frequency signal.
The processor 601 is further configured to control, if it is determined that the NFC radio frequency signal is a signal of the first radio frequency field, to transmit the NFC radio frequency signal to a security module corresponding to the first radio frequency field according to a correspondence between a preset radio frequency field and the security module.
The processor 601 is further configured to control, if it is determined that the NFC radio frequency signal is a signal of the second radio frequency field, to transmit the NFC radio frequency signal to a security module corresponding to the second radio frequency field according to a corresponding relationship between the preset radio frequency field and the security module.
In some possible embodiments, the terminal includes a first NFC antenna and a second NFC antenna, and an isolation layer is disposed between the first NFC antenna and the second NFC antenna, so that signals of the first radio frequency field can only be received by the first NFC antenna and signals of the second radio frequency field can only be received by the second NFC antenna by adjusting and improving the NFC antenna and the antenna matching circuit of the terminal before the terminal leaves a factory.
The processor 601 is specifically configured to determine an NFC antenna to which the NFC radio-frequency signal belongs when the processor is configured to determine the radio-frequency field to which the NFC radio-frequency signal belongs; if the first NFC antenna receives the NFC radio frequency signal, determining that the NFC radio frequency signal is a signal of the first radio frequency field; and if the NFC radio frequency signal is received by the second NFC antenna, determining that the NFC radio frequency signal is the signal of the second radio frequency field.
In some possible embodiments, the processor 601 is further configured to output, through the output device 603, a prompt message, where the prompt message is used to prompt an end user whether to determine whether to control transmission of the NFC radio frequency signal to a security module corresponding to the radio frequency field to which the determined NFC radio frequency signal belongs according to the corresponding relationship between the preset radio frequency field and the security module. The processor 601 is further configured to control, when the input device 602 receives a determination instruction input by the terminal user for the prompt information, to transmit the NFC radio frequency signal to the security module corresponding to the radio frequency field to which the determined NFC radio frequency signal belongs according to a corresponding relationship between the preset radio frequency field and the security module.
In some possible embodiments, the processor 601 is further configured to preset a correspondence between a radio frequency field and a security module, and record the correspondence in a mapping table, so that after the radio frequency field to which the NFC radio frequency signal belongs is determined, the security module corresponding to the determined radio frequency field to which the NFC radio frequency signal belongs is determined by querying the mapping table.
In some possible embodiments, when the processor 601 is configured to preset a correspondence between a radio frequency field and a security module, the processor is specifically configured to acquire an identifier of each security module in a terminal, acquire an identifier of the radio frequency field, and output a configuration display interface, where the configuration display interface includes the identifier of each security module and the identifier of the radio frequency field. And finally, receiving and storing the configuration relationship of the security module and the radio frequency field input by the terminal user, so that after the radio frequency field to which the NFC radio frequency signal belongs is judged, the security module corresponding to the radio frequency field to which the judged NFC radio frequency signal belongs is determined by inquiring the configuration relationship.
The memory 604 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the memory may also include a non-volatile memory (non-volatile) such as a flash memory (flash memory), a hard disk (hard disk drive) or a solid-state drive (solid-state drive); the memory 604 may also comprise a combination of the above types of memory. The processor 601 may be a Central Processing Unit (CPU). The processor 601 may further include a hardware chip.
The transceiver 605 may be specifically an NFC antenna, a radio frequency Receiver, or a radio frequency chip, and is configured to transceive a radio frequency signal, and specifically, the transceiver 605 may include a transmit path (TX) and a Receiver (RX) integrated together.
In a specific implementation, the processor 601, the input device 602, the output device 603, the memory 604, and the transceiver 605 described in the embodiment of the present invention may execute the implementation manner of the method described in the embodiment of the method, and may also execute the implementation manner of the apparatus described in the embodiment of the apparatus described above, which is not described herein again.
According to the embodiment of the invention, when the NFC radio-frequency signal is received, the radio-frequency field to which the NFC radio-frequency signal belongs is judged, and the NFC radio-frequency signal is controlled to be transmitted to the safety module corresponding to the judged radio-frequency field to which the NFC radio-frequency signal belongs according to the corresponding relation between the preset radio-frequency field and the safety module, so that the NFC radio-frequency signal is automatically and quickly transmitted to the corresponding safety module, and the automation and intellectualization of signal processing based on NFC are realized.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The modules in the device provided by the embodiment of the invention can be combined, divided and deleted according to actual needs.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A signal processing method based on Near Field Communication (NFC), the method is applied to a terminal with an NFC function and at least two security modules, an NFC antenna of the terminal can receive signals of a first radio frequency field and a second radio frequency field, and the method comprises the following steps:
when receiving an NFC radio frequency signal, judging a radio frequency field to which the NFC radio frequency signal belongs;
if the NFC radio-frequency signal is judged to be the signal of the first radio-frequency field, controlling the NFC radio-frequency signal to be transmitted to a safety module corresponding to the first radio-frequency field according to the corresponding relation between a preset radio-frequency field and the safety module;
if the NFC radio frequency signal is judged to be the signal of the second radio frequency field, controlling the NFC radio frequency signal to be transmitted to a safety module corresponding to the second radio frequency field according to the corresponding relation between the preset radio frequency field and the safety module;
the first radio frequency field is a radio frequency field on one side of the rear shell of the terminal, and the second radio frequency field is a radio frequency field on one side of the screen of the terminal; the terminal comprises a first NFC antenna and a second NFC antenna, an isolation layer is arranged between the first NFC antenna and the second NFC antenna, signals of the first radio frequency field can only be received by the first NFC antenna, and signals of the second radio frequency field can only be received by the second NFC antenna.
2. The method of claim 1, further comprising:
presetting a corresponding relation between a radio frequency field and a security module, and recording the corresponding relation in a mapping table, so that after the radio frequency field to which the NFC radio frequency signal belongs is judged, the security module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs is determined by inquiring the mapping table.
3. The method of claim 1, further comprising:
presetting a corresponding relation between a radio frequency field and a safety module, and the steps specifically comprise:
acquiring the identification of each security module in the terminal, and acquiring the identification of a radio frequency field;
outputting a configuration display interface, wherein the configuration display interface comprises the identification of each safety module and the identification of the radio frequency field;
and receiving and storing the configuration relationship of the security module and the radio frequency field input by the terminal user, so that after the radio frequency field to which the NFC radio frequency signal belongs is judged, the security module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs is determined by inquiring the configuration relationship.
4. The method according to any one of claims 1 to 3, wherein the terminal includes a first NFC antenna and a second NFC antenna, and the determining the radio frequency field to which the NFC radio frequency signal belongs includes:
judging the NFC antenna to which the NFC radio-frequency signal belongs;
if the first NFC antenna receives the NFC radio frequency signal, determining that the NFC radio frequency signal is a signal of the first radio frequency field;
and if the NFC radio frequency signal is received by the second NFC antenna, determining that the NFC radio frequency signal is the signal of the second radio frequency field.
5. The method according to any one of claims 1 to 3, further comprising:
and outputting prompt information, wherein the prompt information is used for prompting a terminal user whether to determine to transmit the NFC radio frequency signal to a security module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs.
6. A signal processing apparatus based on Near Field Communication (NFC), wherein the apparatus is applied to a terminal with NFC functionality and at least two security modules, and an NFC antenna of the terminal is capable of receiving signals of a first radio frequency field and a second radio frequency field, and the apparatus comprises:
the receiving module is used for receiving the NFC radio frequency signal;
the judgment module is used for judging the radio frequency field to which the NFC radio frequency signal belongs when the receiving module receives the NFC radio frequency signal;
the control module is used for controlling the NFC radio frequency signal to be transmitted to the safety module corresponding to the first radio frequency field according to the corresponding relation between the preset radio frequency field and the safety module if the judgment module judges that the NFC radio frequency signal is the signal of the first radio frequency field;
the control module is further configured to control transmission of the NFC radio-frequency signal to a security module corresponding to the second radio-frequency field according to a corresponding relationship between the preset radio-frequency field and the security module if the judgment module judges that the NFC radio-frequency signal is a signal of the second radio-frequency field;
the first radio frequency field is a radio frequency field on one side of the rear shell of the terminal, and the second radio frequency field is a radio frequency field on one side of the screen of the terminal; the terminal comprises a first NFC antenna and a second NFC antenna, an isolation layer is arranged between the first NFC antenna and the second NFC antenna, signals of the first radio frequency field can only be received by the first NFC antenna, and signals of the second radio frequency field can only be received by the second NFC antenna.
7. The apparatus of claim 6, further comprising:
the preset module is used for presetting the corresponding relation between the radio frequency field and the safety module and recording the corresponding relation in a mapping table so that the judgment module triggers the control module to determine the safety module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs by inquiring the mapping table after judging the radio frequency field to which the NFC radio frequency signal belongs.
8. The apparatus of claim 6, further comprising:
the preset module is used for presetting the corresponding relation between the radio frequency field and the safety module, and the preset module specifically comprises:
the first unit is used for acquiring the identification of each security module in the terminal and acquiring the identification of a radio frequency field;
the second unit is used for outputting a configuration display interface, and the configuration display interface comprises the identification of each safety module and the identification of the radio frequency field;
and the processing unit is used for receiving and storing the configuration relationship of the security module and the radio frequency field input by the terminal user, so that the judgment module triggers the control module to determine the security module corresponding to the judged radio frequency field to which the NFC radio frequency signal belongs by inquiring the configuration relationship after judging the radio frequency field to which the NFC radio frequency signal belongs.
9. The device according to any one of claims 6 to 8, wherein the terminal includes a first NFC antenna and a second NFC antenna, and the determining module is specifically configured to:
judging the NFC antenna to which the NFC radio-frequency signal belongs;
if the judgment module judges that the first NFC antenna receives the NFC radio-frequency signal, the NFC radio-frequency signal is determined to be a signal of the first radio-frequency field;
and if the judgment module judges that the second NFC antenna receives the NFC radio-frequency signal, determining that the NFC radio-frequency signal is the signal of the second radio-frequency field.
10. The apparatus of any one of claims 6 to 8, further comprising:
and the output module is used for outputting prompt information, and the prompt information is used for prompting a terminal user whether to determine that the NFC radio-frequency signal is transmitted to the safety module corresponding to the judged radio-frequency field to which the NFC radio-frequency signal belongs.
CN201611265209.6A 2016-12-30 2016-12-30 Signal processing method and device based on Near Field Communication (NFC) Active CN106685485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611265209.6A CN106685485B (en) 2016-12-30 2016-12-30 Signal processing method and device based on Near Field Communication (NFC)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611265209.6A CN106685485B (en) 2016-12-30 2016-12-30 Signal processing method and device based on Near Field Communication (NFC)

Publications (2)

Publication Number Publication Date
CN106685485A CN106685485A (en) 2017-05-17
CN106685485B true CN106685485B (en) 2020-08-14

Family

ID=58849709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611265209.6A Active CN106685485B (en) 2016-12-30 2016-12-30 Signal processing method and device based on Near Field Communication (NFC)

Country Status (1)

Country Link
CN (1) CN106685485B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109041025A (en) * 2018-08-15 2018-12-18 合肥云序科技有限公司 A kind of personal identification method of near-field communication

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065107A (en) * 2011-10-21 2013-04-24 ***通信集团公司 Method and device of achieving non-contact card swiping application
CN103491589A (en) * 2012-06-08 2014-01-01 美国博通公司 Near field communication application identification routing in card emulation
TW201441779A (en) * 2013-04-24 2014-11-01 Hon Hai Prec Ind Co Ltd Watch with wireless communication function
WO2015185954A1 (en) * 2014-06-04 2015-12-10 Thomson Licensing Information exchange for hand-held electronic devices
CN106101989A (en) * 2016-06-22 2016-11-09 依偎科技(南昌)有限公司 A kind of method selecting safe unit and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2683032B1 (en) * 2012-07-06 2015-11-18 BlackBerry Limited A device having a quadrature near field communication antenna
US20140370804A1 (en) * 2013-06-14 2014-12-18 Broadcom Corporation Nfc communications with multiple nfc antennas
US20150118958A1 (en) * 2013-10-25 2015-04-30 Devicefidelity, Inc. Switching between near-field communication systems
US10658870B2 (en) * 2015-05-18 2020-05-19 Amosense Co., Ltd. Combo antenna unit and wireless power receiving module comprising same
CN105933038B (en) * 2016-04-20 2019-07-16 Oppo广东移动通信有限公司 A kind of near-field communication smart card and deck

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065107A (en) * 2011-10-21 2013-04-24 ***通信集团公司 Method and device of achieving non-contact card swiping application
CN103491589A (en) * 2012-06-08 2014-01-01 美国博通公司 Near field communication application identification routing in card emulation
TW201441779A (en) * 2013-04-24 2014-11-01 Hon Hai Prec Ind Co Ltd Watch with wireless communication function
WO2015185954A1 (en) * 2014-06-04 2015-12-10 Thomson Licensing Information exchange for hand-held electronic devices
CN106101989A (en) * 2016-06-22 2016-11-09 依偎科技(南昌)有限公司 A kind of method selecting safe unit and mobile terminal

Also Published As

Publication number Publication date
CN106685485A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
US10820188B2 (en) Electronic device and method for providing communication service based on subscriber identity information in electronic device
US11979202B2 (en) Emulated card selection method and mobile device
AU2008298581B2 (en) Updating mobile devices with additional elements
US9209866B2 (en) Securing of a telecommunication device equipped with a near-field communication module
US20180310157A1 (en) Near field communication method and mobile terminal
EP3797508B1 (en) Electronic device, external electronic device, and method of managing embedded subscriber identity modules of external electronic device
KR102374740B1 (en) Electronic apparatus and Method for operating bidirectional communication in the Electronic apparatus
US11171407B2 (en) Electronic device, and method for controlling amplifier on basis of state of electronic device
US11283909B2 (en) Electronic device supporting multiple SIMs and operation method thereof
US11570611B2 (en) Electronic device, external electronic device, and method for managing eSIM of external electronic device
US9697396B2 (en) Interactive processing method and device and electronic apparatus
CN114401508A (en) SIM card management method and electronic equipment
CN106685485B (en) Signal processing method and device based on Near Field Communication (NFC)
US8594570B2 (en) Telecommunication intelligent card and method for signaling interaction with external non-contact card
US20220386105A1 (en) Electronic device, and method for processing profile policy rule of embedded subscriber identification module by electronic device
US20190172051A1 (en) Electronic device and method for processing remote payment
EP4106488A1 (en) Electronic device supporting plurality of sims and operating method therefor
US20230336970A1 (en) Electronic device performing verification using embedded sim and operating method therefor

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