Data interaction method, system and device and storage medium

By enabling the analog card function of the NFC module in a dual-chip architecture, the conflict between non-connected RF and native NFC functions in resource use is resolved, achieving higher data integrity.

CN119814082APending Publication Date: 2025-04-11SHENZHEN XINGUODU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411618553.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

When the dual-chip architecture supports non-connected RF and native NFC functions, data transmission failure or errors may occur due to resource conflicts, affecting data integrity.

Method used

When it is detected that the NFC module and the non-connected RF module need to interact at the same time, the analog card function of the NFC module is turned on, and the NFC data interaction is performed through the analog card function, and the non-connected RF data interaction is performed through the radio frequency module built in the terminal to avoid resource conflicts.

Benefits of technology

Reduces the conflict between NFC function and non-connected RF function in resource use, reduces the situation of data transmission failure or error, and improves data integrity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119814082A_ABST
    Figure CN119814082A_ABST
Patent Text Reader

Abstract

The invention discloses a data interaction method, system and device and a storage medium, and is applied to a terminal, and the terminal comprises an NFC module and a non-contact RF module, and is used for reducing the conflict of an NFC function and a non-contact RF function in resource use. The method comprises the steps that when it is detected that both the NFC module and the non-contact RF module need to conduct data interaction at present, the simulation card function of the NFC module is started, and the simulation card function is used for representing that a simulation card is in place and waits to be removed; nFC data interaction of the NFC module is carried out through the simulation card function, and non-contact RF data interaction of the non-contact RF module is carried out through a built-in radio frequency module of the terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data interaction method, system, device and storage medium. Background Art

[0002] In order to meet the high-efficiency data processing capabilities of the application processor AP and the high security requirements of the security processor SP, current devices generally adopt a dual-chip (AP+SP) architecture. However, the dual-chip architecture has some problems when supporting contactless RF (Radio Frequency) and native NFC (Near Field Communication) functions:

[0003] Usually only one contactless chip is set in the device (usually as part of the RF Module). The native NFC function and the contactless RF function have a direct conflict in resource usage. When both try to open and interact at the same time, data transmission will fail or error due to communication conflict and interference. Specifically, NFC and contactless RF functions usually work in the same frequency range (for example, 13.56MHz). Therefore, if the two work in this frequency range at the same time, signal interference is very likely to occur, resulting in data truncation, loss or damage, thereby causing data integrity issues.

[0004] Based on this, the present application provides a data interaction method to solve the above technical problems. Summary of the invention

[0005] In order to solve the above technical problems, the present application provides a data interaction method, system, device and storage medium, which can reduce the conflict in resource usage between NFC function and contactless RF function.

[0006] The technical solution provided in this application is described below:

[0007] The first aspect of the present application provides a data interaction method, which is applied to a terminal, wherein the terminal includes an NFC module and a contactless RF module, including:

[0008] When it is detected that both the NFC module and the contactless RF module currently need to perform data interaction, a simulated card function of the NFC module is enabled, wherein the simulated card function is used to indicate that the simulated card is in place and waiting to be removed;

[0009] The NFC data interaction of the NFC module is performed through the simulated card function, and the contactless RF data interaction of the contactless RF module is performed through the built-in radio frequency module of the terminal.

[0010] Optionally, after the contactless RF data interaction of the contactless RF module is performed through the built-in RF module of the terminal, the data interaction method further includes:

[0011] After detecting that the contactless RF data interaction of the contactless RF module is completed, the card simulation function of the NFC module is turned off.

[0012] Optionally, after turning off the card simulation function of the NFC module, the data interaction method further includes:

[0013] The NFC data interaction of the NFC module is performed through the radio frequency module built into the terminal.

[0014] Optionally, enabling the card simulation function of the NFC module includes:

[0015] Determine the card type of the NFC card that currently needs to perform data interaction with the NFC module;

[0016] Calling a simulated card that matches the card type of the NFC card;

[0017] Enable the simulated card function of the NFC module corresponding to the simulated card.

[0018] Optionally, performing NFC data interaction of the NFC module through the simulated card function includes:

[0019] The simulated card function is used to keep the simulated NFC card in place and wait for removal, and return interaction data to the NFC card that currently needs to interact with the NFC module.

[0020] Optionally, after responding to the NFC data interaction of the NFC module through the simulated card function, the data interaction method further includes:

[0021] It is prohibited to perform NFC data interaction of the NFC module through the radio frequency module built into the terminal.

[0022] Optionally, the terminal further includes a control unit, and the control unit is used to control turning on and off the analog card function of the NFC module.

[0023] A second aspect of the present application provides a data interaction system, including:

[0024] An enabling unit, configured to enable a simulated card function of the NFC module when it is detected that both the NFC module and the contactless RF module currently need to perform data interaction, wherein the simulated card function is used to indicate that the simulated card is in place and waiting to be removed;

[0025] The first interaction unit is used to perform NFC data interaction of the NFC module through the simulated card function, and to perform contactless RF data interaction of the contactless RF module through the radio frequency module built into the terminal.

[0026] Optionally, the data interaction system further includes:

[0027] The closing unit is used to close the card simulation function of the NFC module after detecting that the contactless RF data interaction of the contactless RF module is completed.

[0028] Optionally, the data interaction system further includes:

[0029] The second interaction unit is used to perform NFC data interaction of the NFC module through the radio frequency module built into the terminal.

[0030] Optionally, the opening unit includes:

[0031] A determination module, used to determine the card type of the NFC card that currently needs to perform data interaction with the NFC module;

[0032] A calling module, used for calling a simulated card matching the card type of the NFC card;

[0033] The enabling module is used to enable the simulated card function of the NFC module corresponding to the simulated card.

[0034] Optionally, the first interaction unit includes:

[0035] The return module keeps the simulated NFC card in place and waits for removal through the simulated card function, and returns the interaction data to the NFC card that currently needs to interact with the NFC module.

[0036] Optionally, the data interaction system further includes:

[0037] The prohibition unit is used to prohibit the NFC data interaction of the NFC module through the radio frequency module built into the terminal.

[0038] Optionally, the terminal further includes a control unit, and the control unit is used to control turning on and off the analog card function of the NFC module.

[0039] A third aspect of the present application provides a data interaction device, including:

[0040] Processor, memory, input-output unit, and bus;

[0041] The processor is connected to the memory, the input and output unit, and the bus;

[0042] The memory stores a program, and the processor calls the program to execute the first aspect and the optional data interaction method of any one of the first aspect.

[0043] A fourth aspect of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed on a computer, the program executes the first aspect and any optional data interaction method in the first aspect.

[0044] It can be seen from the above technical solutions that this application has the following advantages:

[0045] The present application is applied to a terminal that has both an NFC module and a contactless RF module built in. When it is detected that both the NFC module and the contactless RF module currently need to interact with data, the analog card function of the NFC module is turned on, and the analog card function is used to characterize that the analog card is in place and waiting to be removed; then NFC data interaction of the NFC module is performed through the analog card function, and contactless RF data interaction of the contactless RF module is performed through the radio frequency module built into the terminal. Therefore, when the NFC function and the contactless RF function try to be turned on and interacted with each other at the same time, the analog card function of one NFC module is turned on, NFC data interaction is performed with the NFC module through the analog card function, and contactless RF data interaction with the contactless RF module is performed preferentially through the radio frequency module, which can avoid conflicts in resource usage between the NFC function and the contactless RF function, thereby reducing data transmission failures or errors and improving data integrity. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solution in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0047] Figure 1 A schematic diagram of an embodiment of a data interaction method provided by the present application;

[0048] Figure 2 A schematic diagram of another embodiment of a data interaction method provided by the present application;

[0049] Figure 3 A schematic diagram of another embodiment of a data interaction method provided by the present application;

[0050] Figure 4 is a schematic diagram of a terminal in this application;

[0051] Figure 5A schematic diagram of an embodiment of a data interaction system provided by the present application;

[0052] Figure 6 A schematic diagram of another embodiment of a data interaction system provided by the present application;

[0053] Figure 7 A schematic diagram of an embodiment of a data interaction device provided in the present application. DETAILED DESCRIPTION

[0054] In view of the direct conflict between the native NFC function and the contactless RF function in the prior art in terms of resource usage, which causes communication conflicts and interference, this application provides a data interaction method, system, device and storage medium, which can reduce the conflict between the NFC function and the contactless RF function in terms of resource usage. The specific content is described as follows:

[0055] See also Figure 1 The present application provides an embodiment of a data interaction method, which includes:

[0056] 101. When it is detected that the NFC module and the contactless RF module both need to perform data interaction, a simulated card function of the NFC module is enabled, where the simulated card function is used to indicate that the simulated card is in place and waiting to be removed.

[0057] The terminal is equipped with both an NFC module and a contactless RF module, that is, it has both NFC and contactless RF functions; the analog card function simulates the presence of a physical card (simulated card), but in fact there is no real card inserted. It is a virtual representation at the software level, allowing the NFC module to simulate the existence of a virtual card without the actual physical card inserted, so that the NFC module is active without turning off the NFC module.

[0058] The in-place and waiting to be removed state indicates that the simulated card is in the state of data interaction with the NFC function, and the simulated card is waiting to be removed. In this state, the terminal can display a waiting card removal message to the user to prompt the user to wait. The NFC module can interact normally without directly occupying the RF module.

[0059] Real-time detection of whether the NFC module and the contactless RF module need to interact with data at the same time. In the event that both modules need to interact with data, such as when NFC data interaction is in progress and a contactless RF data interaction request is received, or when contactless RF data interaction is in progress and an NFC data interaction request is received, in these cases, the analog card function of the NFC module is turned on to ensure that the contactless RF data interaction is given priority. The analog card function is used instead of the NFC function shutdown operation to reduce the problem of high power consumption caused by frequent opening and closing.

[0060] 102. Perform NFC data interaction of the NFC module through the simulated card function, and perform contactless RF data interaction of the contactless RF module through the built-in RF module of the terminal.

[0061] There is only one RF module in the terminal. When the NFC function and the contactless RF function are used at the same time, the single RF module cannot be called by both functions at the same time. Therefore, the analog card function is started in step 101, and the analog card function is used to interact with the NFC module for NFC data, ensuring that the RF module is called by the contactless RF function first. The NFC function will keep the instructions to allow normal interaction (data interaction with the analog card), but will not call the RF module downward, ensuring that the RF module is released to the contactless RF function for data interaction.

[0062] In the embodiment, after the simulated card function is turned on, the NFC module starts the simulated data interaction process. Due to the existence of the simulated card function, the NFC module can participate in the interaction as a virtual "card" without the need for an actual physical card. At this time, the contactless RF module sends and receives radio frequency signals through the built-in radio frequency module (including radio frequency circuit and antenna) of the terminal to complete the read and write operations of contactless RF data. Contactless RF data interaction involves interaction with RFID tags, contactless payment terminals or other devices that support contactless radio frequency communication. The NFC data interaction in this embodiment can be data interaction with a simulated card through the simulated card function, or data interaction with an external physical NFC card through the simulated card function.

[0063] In one achievable manner, the specific process of performing NFC data interaction of the NFC module through the simulated card function is: the simulated card function is used to keep the simulated NFC card in place and waiting for removal, and return the interaction data to the NFC card that currently needs to interact with the NFC module. After the simulated card function is enabled, the simulated card function keeps the simulated NFC card in place and waiting, the simulated card interacts with the NFC module, sends the data prepared by the NFC module to the simulated card, and then returns the data from the simulated card to the external NFC card that needs to interact with the NFC module through the simulated card function. Thus, without the need for a radio frequency module, the NFC data interaction between the NFC module and an external NFC card can be indirectly realized through the simulated card function and the simulated card.

[0064] In addition, for the situation where contactless RF is accessed when NFC data interaction is in progress (the RF module is performing NFC data interaction of the NFC module), in another feasible method, after the NFC data interaction of the NFC module is performed through the simulated card function, the NFC data interaction of the NFC module through the RF module built into the terminal is prohibited; at this time, the two modules are triggered to be used simultaneously at the current time, the simulated card function is turned on to perform NFC data interaction with the NFC module, and the NFC data interaction being performed by the RF module at this time is prohibited, and then the RF module is in idle state, and the RF module can be configured to the contactless RF module for contactless RF data interaction.

[0065] In this application, when the NFC module and the contactless RF module need to perform data interaction at the same time, the simulated card function of the NFC module is turned on, and the virtual data interaction of the NFC module is performed through the simulated card function, and then the contactless RF data interaction of the contactless RF module is performed through the built-in RF module of the terminal, thereby ensuring that a single RF module is preferentially configured to the contactless RF function for data interaction, thereby avoiding the communication interference caused when the NFC module and the contactless RF module call the RF module at the same time, and reducing the conflict in resource use between the NFC function and the contactless RF function. In addition, there is no need to repeatedly turn off the NFC function and the contactless RF function, which greatly shortens the time consumed by the frequent switching of the two functions and reduces energy consumption.

[0066] See also Figure 2 , the present application provides another embodiment of a data interaction method, the embodiment comprising:

[0067] 201. When it is detected that the NFC module and the contactless RF module both need to perform data interaction, a simulated card function of the NFC module is enabled, where the simulated card function is used to indicate that the simulated card is in place and waiting to be removed.

[0068] 202. Perform NFC data interaction of the NFC module through the simulated card function, and perform contactless RF data interaction of the contactless RF module through the radio frequency module built into the terminal.

[0069] Steps 201-202 in this embodiment are similar to those in the previous Figure 1 Steps 101-102 in the embodiment are similar, and the specific contents have been described in detail in the aforementioned embodiment and will not be repeated here.

[0070] 203. After detecting that the contactless RF data interaction of the contactless RF module is completed, turning off the card simulation function of the NFC module.

[0071] 204. Perform NFC data interaction of the NFC module through the radio frequency module built into the terminal.

[0072] After the contactless RF data interaction of the contactless RF module is carried out through the built-in RF module of the terminal, the contactless RF data interaction process is detected in real time. After the interaction is completed, the RF module turns to the idle state, specifically: detect whether there is any ongoing processing business at the RF module at the current moment. If not, the working state of the RF module is determined to be idle, and the processing business includes communication sessions, data packets or commands waiting to be processed. Or check whether the RF module is participating in any communication session (for example, data is being sent or received, or some form of handshake protocol is being carried out). If it is participating, the RF module is determined to be in a non-idle state, that is, a busy state; or, the NFC control unit checks the internal queue or buffer of the RF module to determine whether there are data packets or commands waiting to be processed. The data packets or commands come from previous communication sessions, or from other system components (such as applications or services) submitted to the RF module for processing. If the queue or buffer is not empty, that is, there are data packets or commands waiting to be processed, the RF module is still determined to be in a non-idle state.

[0073] In this embodiment, after determining that the contactless RF module has completed data interaction, that is, when the RF module is in an idle state, the simulated card function being executed is turned off, and the RF module can be configured to the NFC module for NFC data interaction.

[0074] For the process of enabling the NFC module's emulation card function, see Figure 3 , the present application provides another embodiment of a data interaction method, the embodiment comprising:

[0075] 301. Determine the card type of the NFC card that currently needs to perform data interaction with the NFC module.

[0076] When the terminal contacts the physical NFC card to achieve interaction, the basic information of the physical NFC card is obtained, including the card type of the physical NFC card. The types of NFC cards may include but are not limited to credit cards, debit cards, access cards, bus cards, etc. Different types of NFC cards have different data structures and interaction protocols.

[0077] 302. Call a simulated card that matches the card type of the NFC card.

[0078] The terminal pre-stores several types of simulated cards corresponding to NFC cards. According to the card type determined in step 301, a simulated card matching the card type of the NFC card is determined from among several preset types.

[0079] The simulated card contains the basic information of the physical NFC card and the corresponding data format.

[0080] 303. Enable the simulated card function of the NFC module corresponding to the simulated card.

[0081] The simulated card function on the NFC module has different configuration and control for each type of simulated card. Therefore, after calling the required simulated card, the simulated card function is first configured according to the simulated card so that the simulated card function corresponds to the simulated card, and then the simulated card function is started on the NFC module.

[0082] In addition, in one feasible method, the user can set the priority of the NFC function and the contactless RF function of the terminal. When the two functions are used at the same time, the built-in RF module of the terminal is configured to the function with higher priority. For example, the user sets the priority of the NFC function higher than the priority of the contactless RF function. When both the NFC module and the contactless RF module need to exchange data, the NFC data of the NFC module is first exchanged through the RF module, and the contactless RF function is suspended at this time. When the user sets the priority of the contactless RF function higher than the priority of the NFC function, the above Figures 1 to 3 The real-time step is to enable the simulated card function for the NFC module.

[0083] See also Figure 4 , Figure 4 A schematic diagram of a terminal provided in this application, the terminal includes:

[0084] Control unit 401, NFC module 402 and contactless RF module 403, control unit 401 is used to control the opening and closing of the analog card function of NFC module 402, and configure the corresponding module (NFC module or contactless RF module) for the RF module to perform data interaction during data interaction.

[0085] See also Figure 5The present application provides an embodiment of a data interaction system, which includes:

[0086] The activation unit 501 is used to activate the analog card function of the NFC module when it is detected that the NFC module and the contactless RF module both need to perform data interaction, wherein the analog card function is used to indicate that the analog card is in place and waiting to be removed;

[0087] The first interaction unit 502 is used to perform NFC data interaction of the NFC module through the simulated card function, and perform contactless RF data interaction of the contactless RF module through the radio frequency module built into the terminal.

[0088] In this embodiment, first, when it is detected that both the NFC module and the contactless RF module currently need to perform data interaction, the analog card function of the NFC module is turned on through the turning-on unit 501, and the analog card function is used to characterize that the analog card is in place and waiting to be removed. Then, through the first interaction unit 502, the NFC data interaction of the NFC module is performed through the analog card function, and the contactless RF data interaction of the contactless RF module is performed through the radio frequency module built into the terminal. Therefore, when the NFC function and the contactless RF function try to be turned on and interacted at the same time, the analog card function of one NFC module is turned on, and NFC data interaction is performed with the NFC module through the analog card function. The radio frequency module is preferentially configured to perform contactless RF data interaction with the contactless RF module, which can avoid conflicts in resource usage between the NFC function and the contactless RF function, thereby reducing data transmission failures or errors and improving data integrity.

[0089] See also Figure 6 , the present application provides another embodiment of a data interaction system, the embodiment comprising:

[0090] The activation unit 601 is used to activate the analog card function of the NFC module when it is detected that the NFC module and the contactless RF module both need to perform data interaction, wherein the analog card function is used to indicate that the analog card is in place and waiting to be removed;

[0091] The opening unit 601 comprises:

[0092] A determination module 6011 is used to determine the card type of the NFC card that currently needs to perform data interaction with the NFC module;

[0093] A calling module 6012 is used to call a simulated card that matches the card type of the NFC card;

[0094] The enabling module 6013 is used to enable the simulated card function of the NFC module corresponding to the simulated card;

[0095] The first interaction unit 602 is used to perform NFC data interaction of the NFC module through the simulated card function, and to perform contactless RF data interaction of the contactless RF module through the radio frequency module built into the terminal;

[0096] The first interaction unit 602 includes:

[0097] Return module 6021, keeps the simulated NFC card in place and waiting for removal through the simulated card function, and returns the interaction data to the NFC card that currently needs to interact with the NFC module;

[0098] Optionally, the data interaction system also includes:

[0099] A closing unit 603 is used to close the NFC module's card simulation function after detecting that the contactless RF data interaction of the contactless RF module is completed;

[0100] Optionally, the data interaction system also includes:

[0101] The second interaction unit 604 is used to perform NFC data interaction of the NFC module through the radio frequency module built into the terminal;

[0102] Optionally, the data interaction system also includes:

[0103] The prohibition unit 605 is used to prohibit the NFC data interaction of the NFC module through the radio frequency module built into the terminal.

[0104] See also Figure 7 , the present application also provides a data interaction device, including:

[0105] Processor 701, memory 702, input and output unit 703, bus 704;

[0106] The processor 701 is connected to the memory 702, the input and output unit 703 and the bus 704;

[0107] The memory 702 stores a program, and the processor 701 calls the program to execute the following steps: Figures 1 to 3 Any embodiment of the embodiments.

[0108] The present application also relates to a computer-readable storage medium, on which a program is stored, and when the program is run on a computer, the computer executes the following Figures 1 to 3 Any embodiment of the embodiments.

[0109] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0110] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0111] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0112] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0113] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

Claims

1. A data interaction method, characterized in that: Applied to a terminal, the terminal includes an NFC module and a contactless RF module, and the method includes: When it is detected that both the NFC module and the contactless RF module currently need to perform data interaction, a simulated card function of the NFC module is enabled, wherein the simulated card function is used to indicate that the simulated card is in place and waiting to be removed; The NFC data interaction of the NFC module is performed through the simulated card function, and the contactless RF data interaction of the contactless RF module is performed through the built-in radio frequency module of the terminal.

2. The data interaction method according to claim 1, characterized in that: After the contactless RF data interaction of the contactless RF module is performed through the built-in RF module of the terminal, the data interaction method further includes: After detecting that the contactless RF data interaction of the contactless RF module is completed, the card simulation function of the NFC module is turned off.

3. The data interaction method according to claim 2, characterized in that: After the NFC module's simulated card function is turned off, the data interaction method further includes: The NFC data interaction of the NFC module is performed through the radio frequency module built into the terminal.

4. The data interaction method according to claim 1, characterized in that: The step of enabling the card simulation function of the NFC module includes: Determine the card type of the NFC card that currently needs to perform data interaction with the NFC module; Calling a simulated card that matches the card type of the NFC card; Enable the simulated card function of the NFC module corresponding to the simulated card.

5. The data interaction method according to claim 1, characterized in that: The NFC data interaction of the NFC module through the simulated card function includes: The simulated card function is used to keep the simulated NFC card in place and waiting for removal, and return interaction data to the NFC card that currently needs to interact with the NFC module.

6. The data interaction method according to claim 1, characterized in that: After the NFC data interaction of the NFC module is performed through the simulated card function, the data interaction method further includes: It is prohibited to perform NFC data interaction of the NFC module through the radio frequency module built into the terminal.

7. The data interaction method according to any one of claims 1 to 6, characterized in that: The terminal also includes a control unit, and the control unit is used to control the opening and closing of the analog card function of the NFC module.

8. A data interaction system, characterized in that: include: An enabling unit, configured to enable a simulated card function of the NFC module when it is detected that both the NFC module and the contactless RF module currently need to perform data interaction, wherein the simulated card function is used to indicate that the simulated card is in place and waiting to be removed; The first interaction unit is used to perform NFC data interaction of the NFC module through the simulated card function, and to perform contactless RF data interaction of the contactless RF module through the radio frequency module built into the terminal.

9. A data interaction device, characterized in that: include: Processor, memory, input-output unit, and bus; The processor is connected to the memory, the input and output unit, and the bus; The memory stores a program, and the processor calls the program to execute the data interaction method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a program stored thereon, wherein the program, when executed on a computer, performs the data interaction method according to any one of claims 1 to 7.