An information interaction method and device based on NFC and a storage medium
Patent Information
- Application Number
- CN202510470066.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-15
- Publication Date
- 2026-10-30
AI Technical Summary
这一过程中,数据依赖NFC芯片作为中介进行传输,即数据需要在用户层与NFC芯片之间进行多次中转,传输路径较长,导致整体响应时间延长,且依赖芯片通道进行传输,导致整个交互流程耗时较长,从而影响用户的体验
[0037]本申请在NFC芯片中设置了一个缓存区用于存储模拟卡的缓存数据,通过直接从缓存区中获取所需数据,减少对芯片传输通道的依赖和降低数据丢失或错误的风险,确保了数据的完整性和准确性。直接根据配置信息对NFC芯片进行配置,优化寻卡激活流程,避免数据传输的中转环节,从而缩短了整体响应时间,满足实时交互的需求,减少交互流程的耗时,提升了整体交互效率,为用户提供了更加流畅的体验。
Smart Images

Figure CN123013983A_ABST
Abstract
Description
Technical Field
[0001] This application relates to near field communication technology, and more particularly to an information interaction method, device and storage medium based on NFC. Background Technology
[0002] With the rapid development of Near Field Communication (NFC) technology, NFC chips have been widely used in mobile payments, access control systems, public transportation, and other fields. NFC technology enables short-range data transmission between devices through wireless communication, offering convenience, efficiency, and security. Card emulation is one of the important applications of NFC technology, allowing NFC devices to mimic the behavior of traditional smart cards, thereby enabling interaction with card readers.
[0003] In existing technical solutions, data transmission typically involves multiple steps. Data is first transmitted from the user layer to the NFC chip, and then forwarded by the NFC chip to the interactive device. This process relies on the NFC chip as an intermediary, meaning data needs to be transferred multiple times between the user layer and the NFC chip. This long transmission path leads to a prolonged overall response time, and the dependence on the chip channel further lengthens the entire interaction process, impacting the user experience. Summary of the Invention
[0004] To address the aforementioned technical problems, this application provides an information interaction method, apparatus, and storage medium based on NFC.
[0005] The technical solution provided in this application is described below:
[0006] The first aspect of this application provides an information interaction method based on NFC, the method comprising:
[0007] Obtain the configuration information of the simulation card, wherein the configuration information includes the cache data of the simulation card, and the cache data is data to be cached;
[0008] The NFC chip is configured according to the configuration information, and the cached data is stored in the cache area within the NFC chip, wherein the configured NFC chip has card emulation function;
[0009] When a read request from an interactive device is detected, the NFC chip initiates a card search and activation process with the interactive device to enter the activation state.
[0010] The information exchange operation between the NFC chip and the interactive device is performed based on the cached data.
[0011] Optionally, before storing the cached data in the buffer within the NFC chip, the method further includes:
[0012] A buffer area is set within the NFC chip;
[0013] Read the size field of the cached data from the configuration information of the simulation card;
[0014] Based on the size field of the cached data, the initial storage space in the cache area is allocated according to a preset ratio.
[0015] Optionally, the method further includes:
[0016] The preset ratio of the cache area is dynamically adjusted based on the size of the cached data and the data growth trend of the simulation card.
[0017] Optionally, obtaining the configuration information of the simulation card includes:
[0018] Obtain at least one configuration information from the following: type of the emulated card, UID, ATQA, and T2T format information data.
[0019] Optionally, when a read request from the interactive device is detected, the following steps are included:
[0020] The communication port of the NFC chip is monitored in real time, and when a read command is received from the interactive device, it is determined that a read request has been detected.
[0021] Optionally, upon receiving a read instruction from the interactive device, after determining that a read request has been detected, the method further includes:
[0022] The NFC chip receives a read command from the interactive device.
[0023] According to the read instruction of the interactive device, the data required for interaction is extracted from the cached data and the data required for interaction is sent to the interactive device.
[0024] Optionally, when performing the information interaction operation between the NFC chip and the interactive device based on the cached data, the method further includes:
[0025] If the cached data is incorrect or incomplete, the information interaction operation is stopped and an error message is sent to the interactive device via the NFC chip.
[0026] A second aspect of this application provides an information interaction device, the device comprising:
[0027] The acquisition unit is used to acquire the configuration information of the simulation card, wherein the configuration information includes the cache data of the simulation card, and the cache data is data to be cached;
[0028] A configuration unit is used to configure an NFC chip according to the configuration information and store the cached data in a buffer area within the NFC chip, wherein the configured NFC chip has card emulation functionality.
[0029] The activation unit is used to initiate a card search and activation process with the interactive device through the NFC chip when a reading request from the interactive device is detected, so as to enter the activation state.
[0030] An execution unit is used to perform information interaction operations between the NFC chip and the interactive device based on the cached data.
[0031] A third aspect of this application provides an information interaction device, the device comprising:
[0032] Processor, memory, input / output units, and bus;
[0033] The processor is connected to the memory, the input / output unit, and the bus;
[0034] The memory stores a program, which the processor invokes to execute the first aspect and any optional information interaction method of the first aspect.
[0035] A fourth aspect of this application provides a computer-readable storage medium storing a program that, when executed on a computer, performs the information interaction method of the first aspect and any one of the first aspects.
[0036] As can be seen from the above technical solutions, this application has the following advantages:
[0037] This application incorporates a buffer within the NFC chip to store cached data from the simulated card. By directly retrieving the required data from this buffer, reliance on the chip's transmission channel is reduced, lowering the risk of data loss or error and ensuring data integrity and accuracy. The NFC chip is configured directly based on configuration information, optimizing the card search and activation process and avoiding intermediate data transmission steps. This shortens the overall response time, meets the demands of real-time interaction, reduces the time consumed in the interaction process, improves overall interaction efficiency, and provides users with a smoother experience. Attached Figure Description
[0038] To more clearly illustrate the technical solutions in this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0039] Figure 1 A schematic flowchart of an embodiment of the NFC-based information interaction method provided in this application;
[0040] Figure 2 A schematic flowchart of an embodiment of the configuration cache area provided in this application;
[0041] Figure 3 A schematic flowchart illustrating an embodiment of information exchange operations between the NFC chip and the interactive device provided in this application;
[0042] Figure 4 A structural diagram of an embodiment of an information interaction device provided in this application;
[0043] Figure 5 This is a structural diagram of another embodiment of an information interaction device provided in this application. Detailed Implementation
[0044] It should be noted that the NFC-based information interaction method provided in this application can be applied to terminals, systems, and servers. For example, the terminal can be a smartphone, computer, tablet, smart TV, smartwatch, portable computer terminal, or a desktop computer or other fixed terminal.
[0045] The technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0046] The method of this application can be applied to a terminal. The following description takes a terminal as the execution subject.
[0047] Please see Figure 1 This application first provides an embodiment of an information interaction method based on NFC, which includes:
[0048] S101. Obtain the configuration information of the simulation card. The configuration information includes the cache data of the simulation card, and the cache data is the data to be cached.
[0049] The configuration information is read from the emulator card's storage medium. This information may be in JSON file format and includes parameters such as the storage location, size, and type of the cached data. The read configuration information is parsed to extract the relevant parameters for the cached data. Specifically, after parsing the JSON file, the starting address (0x1000), data length (1024 bytes), and data type (binary or structured data) are obtained. Based on the parsing results, the data to be cached is extracted from the emulator card's storage area. For example, 1024 bytes of data are read starting at address 0x1000 as the data to be cached, and then the extracted data is temporarily stored in memory or a temporary buffer.
[0050] S102. Configure the NFC chip according to the configuration information and store cached data in the cache area of the NFC chip. The configured NFC chip has card emulation function.
[0051] The acquired configuration information is passed to the NFC chip's driver. The driver initializes the NFC chip based on this information, including setting the NFC chip's register values to determine parameters such as its operating mode, communication frequency, and data transfer rate. After configuration, the NFC chip enters card emulation mode. Relevant transaction or authentication data is temporarily stored in the NFC chip's buffer. This transaction or authentication data will be used in subsequent communications to complete transactions or authentication. The NFC chip's buffer can temporarily store sensitive data, which is encrypted within the buffer and only used when interacting with legitimate reader / writer devices.
[0052] S103. When a reading request from an interactive device is detected, the NFC chip initiates a card search and activation process with the interactive device to enter the activation state.
[0053] The terminal continuously emits NFC signals at a specific frequency to scan its surroundings. Upon detecting an NFC response signal from a nearby interactive device, it recognizes a read request. Once detected, the interactive device sends a card-finding command to the terminal. Upon receiving the command, the terminal's internal NFC chip begins operation. Based on its configuration information, the NFC chip searches its list of simulated cards for the corresponding simulated card information. After finding the matching simulated card, the NFC chip performs a series of communication handshake operations with the interactive device to complete the activation process. This includes verifying the identities of both parties, confirming the communication protocol and data format, etc.
[0054] S104. Perform information exchange operations between the NFC chip and the interactive device based on the cached data.
[0055] When an NFC chip needs to interact with a device, it first checks its local cache for the relevant information. If the required information is present, the NFC chip reads the data directly from the cache and performs the corresponding interaction operations, such as data transfer or command execution. If the required information is not present in the cache, the NFC chip attempts to establish a connection with the device and reads the required information from the device in real time. This information is then cached in local storage for later use.
[0056] Taking a student's purchase in the cafeteria as an example, the NFC chip encapsulates the cached data according to a specific communication protocol and then sends it to the payment terminal. After receiving the data, the payment terminal parses and verifies it. Once the data is confirmed to be correct, the payment terminal calculates the cost based on the student's selected dishes and sends a deduction instruction to the NFC chip. Upon receiving the instruction, the NFC chip updates the account balance data in its cache and returns confirmation information to the payment terminal.
[0057] In this embodiment, a buffer area is set in the NFC chip to store cached information. By directly retrieving the required data from the buffer area, the dependence on the chip's transmission channel is reduced, and the risk of data loss or error is lowered, ensuring data integrity and accuracy. The NFC chip is configured directly according to the configuration information, optimizing the card search and activation process and avoiding intermediate data transmission steps. This shortens the overall response time, meets the needs of real-time interaction, reduces the time consumed in the interaction process, improves overall interaction efficiency, and provides users with a smoother experience.
[0058] Please see Figure 2 , Figure 2 for Figure 1 One embodiment of configuring the cache in S102 of the embodiment includes the following steps:
[0059] S201. Obtain at least one configuration information from the following: type of the simulation card, UID, ATQA, and T2T format information data;
[0060] The system retrieves configuration information from a local database or downloads it from a server over the network, including at least one of the following: card type, UID, ATQA, and T2T format information. This configuration information is received and parsed to extract the specific card type, UID, ATQA, and T2T format information. For example, for a T2T format card, the system needs to parse out information such as the card's storage structure, data block size, and access permissions.
[0061] S202. Set up a buffer area within the NFC chip;
[0062] During the integrated circuit design phase of NFC chips, a dedicated storage area is planned as a buffer. The size and storage structure of the buffer are determined based on the application scenario and the expected amount of data to be processed. For example, for NFC chips primarily used for simple authentication, the buffer can be relatively small; while for NFC chips that need to process large amounts of transaction data, such as mobile payment chips, a larger buffer is required.
[0063] The buffer is initialized and configured in the NFC chip's driver and operating system. This includes setting read / write permissions, data storage format, and data update strategy. When the NFC chip interacts with external devices, it stores temporarily processed data in the buffer. This temporary data can include received request information, pending response information, and intermediate calculation results. Simultaneously, a data cleanup and update mechanism is established to ensure that the data in the buffer is always up-to-date and valid. For example, after each data interaction, temporary data in the buffer is promptly cleared to prepare for the next interaction.
[0064] S203. Read the size field of the cached data in the configuration information of the simulation card;
[0065] When the NFC chip's simulated card function is activated, the terminal first retrieves the simulated card's configuration information from local storage or from a server via the network. This configuration information is typically stored in a specific data format, such as XML or JSON, and includes various attributes and parameters of the simulated card, including the cache data size field. The retrieved configuration information is parsed, and the cache data size field is located according to predefined data structures and format specifications. For example, in a JSON-formatted configuration file, the cache data size field might be defined as "cache_data_size". The system accurately reads the value of this field using parsing functions provided by the programming language. Assuming the value of this field is "512 bytes", the system recognizes this value and stores it in memory.
[0066] After reading the value of the cached data size field, the terminal verifies this value to ensure it is within a reasonable range and conforms to the NFC chip's technical specifications. For example, if the NFC chip's maximum cache capacity is 1024 bytes, but the read cached data size field value is 2048 bytes, this value is deemed unreasonable, and the corresponding error handling mechanism is triggered, such as prompting the user that the configuration information is incorrect or attempting to re-obtain the configuration information from another reliable source. If the field value is reasonable, subsequent operations such as cache area settings, data storage, and interaction strategy planning are performed based on this value.
[0067] S204. Allocate the initial storage space in the cache area according to the size field of the cached data and a preset ratio.
[0068] The system pre-determines the proportions of different data types stored in the buffer. These pre-defined proportions were determined through repeated testing and optimization based on the application scenarios and data processing requirements of the NFC chip. Based on the value of the read buffer data size field and the pre-defined proportions, the initial storage space size for each data type within the buffer is calculated. According to the calculation results, corresponding storage areas are allocated within the NFC chip's buffer for different data types. By managing the memory addresses of the buffer, it is ensured that each area has independent and contiguous storage space.
[0069] S205. Dynamically adjust the preset ratio of the cache area according to the size of the cached data of the emulator card and the data growth trend.
[0070] Continuously monitor the cached data size of the analog card. During data interaction between the NFC chip and external devices, record the real-time storage volume of different data types, such as transaction data, authentication data, and auxiliary information. Use simple linear regression analysis or more complex time series analysis methods to predict future data volume growth. By statistically analyzing the changes in the storage volume of different types of data over a period of time, determine their growth trend. Based on the system's performance requirements and actual application scenarios, set corresponding adjustment thresholds for the cached data volume and growth trend of different data types.
[0071] Based on the size of the cached data and its growth trend, the preset proportions for storing different types of data in the cache are recalculated. According to the newly calculated preset proportions, the storage space for different types of data within the cache is reallocated. The system will re-plan the memory addresses of the cache to ensure that each type of data has an appropriate storage area.
[0072] In this embodiment, by acquiring different configuration information, the NFC chip can simulate different types of cards, such as bus cards, bank cards, and access control cards. This enhances the versatility of NFC devices, enabling them to be used in various scenarios. By allocating the initial storage space within the cache area according to a preset ratio based on the size field of the cached data in the configuration information, waste or insufficiency of cache area space can be avoided, improving the utilization rate of cache area resources. Dynamically adjusting the preset ratio of the cache area allows for flexible allocation of cache area resources based on actual conditions.
[0073] Please see Figure 3 , Figure 3 for Figure 1 An embodiment of the information exchange operation between the NFC chip and the interactive device in S104 of the embodiment includes the following steps:
[0074] S301: Monitor the communication port of the NFC chip in real time, and determine that a reading request has been detected when a reading command is received from the interactive device;
[0075] When the monitoring program receives a signal from the communication port, it parses and judges the signal. Read commands typically have a specific format and identifier. The monitoring program matches the received signal according to pre-defined command format specifications and recognition rules. If the signal matches the characteristics of a read command, such as containing specific command codes, data length, checksums, etc., it is determined that a read request from the interactive device has been detected. For example, in a mobile payment scenario, the read command sent by the payment terminal to the NFC chip may contain relevant information about the payment transaction, such as the transaction amount and transaction type. The monitoring program identifies this characteristic information to determine that the signal is a read command.
[0076] S302, Receives a read command from the interactive device via the NFC chip;
[0077] The NFC chip monitors its surroundings in real time through its communication port. When an interactive device initiates a read operation, it sends a specific formatted read command to the NFC chip. This command propagates in the near field as an electromagnetic wave signal. The NFC chip's antenna senses these signals and converts them into electrical signals. Next, the NFC chip's internal signal processing module amplifies and filters the electrical signals to enhance signal strength and clarity and reduce interference. Then, the processed signal is parsed according to a pre-set communication protocol to extract the read command information contained within.
[0078] Read commands typically have a specific format, including a command header, command code, data segment, and checksum. The command header identifies the start of the command, the command code indicates the specific operation type, the data segment contains the specific data related to the operation, and the checksum is used to verify the integrity and accuracy of the command. When receiving a command, the NFC chip checks and verifies each of these parts to ensure that the received command is valid.
[0079] S303. Extract the data required for interaction from the cached data according to the read instruction of the interactive device and send the data required for interaction to the interactive device;
[0080] When the NFC chip receives a read command from the interactive device, it first parses the command. Based on the parsed command, the NFC chip locates and retrieves the data required for the interaction from its buffer. The data in the buffer is stored and organized according to certain rules. The NFC chip uses the identification information in the command to quickly locate the required data in the buffer and retrieve it. After retrieving the data, the NFC chip encapsulates it according to a pre-agreed communication protocol. The encapsulation process includes adding data headers, checksums, and other information to ensure the integrity and accuracy of the data during transmission. Then, the encapsulated data is sent to the interactive device via the NFC communication link. During transmission, the NFC chip adjusts the data transmission rate and power according to the communication environment and the requirements of the interactive device to ensure reliable data transmission.
[0081] S304. If the cached data is incorrect or incomplete, stop the information interaction operation and send an error message to the interactive device via the NFC chip.
[0082] Before initiating an information exchange operation, the NFC chip performs a completeness and accuracy check on the data in its buffer. If errors or incompleteness are detected in the buffered data, the NFC chip immediately halts the ongoing or upcoming information exchange operation to prevent erroneous or incomplete data from being transmitted to the interacting device and avoiding subsequent problems. Simultaneously, the NFC chip generates an error message containing detailed information such as the error type, a description of the erroneous data, and the time the error occurred.
[0083] In this embodiment, by monitoring the communication port of the NFC chip in real time, read commands from the interactive device can be quickly captured, and the read request can be determined immediately. This shortens the time from command issuance to system response, making the payment process smoother and improving transaction efficiency. Based on the read command from the interactive device, the required data is accurately extracted from the cached data. Because the cached data has been pre-organized and stored, the target data can be quickly located, improving the speed and accuracy of data acquisition. In addition, errors or incompleteness in the cached data are detected, and the information interaction operation is immediately stopped once a problem is detected. This avoids resource waste caused by using incorrect or incomplete data for interaction.
[0084] Please see Figure 4 This application also provides an information interaction device, including:
[0085] The acquisition unit 401 is used to acquire the configuration information of the simulation card. The configuration information includes the cache data of the simulation card, and the cache data is the data to be cached.
[0086] Optionally, the acquisition unit 401 is also used for:
[0087] Obtain at least one configuration information from the following: type of the emulated card, UID, ATQA, and T2T format information data.
[0088] Optionally, an allocation unit 402 is also included, for:
[0089] Set up a buffer area within the NFC chip;
[0090] Read the size field of the cached data from the configuration information of the simulation card;
[0091] Based on the size field of the cached data, allocate the initial storage space in the cache area according to a preset ratio.
[0092] Optionally, the allocation unit 402 is also used for:
[0093] The preset ratio of the cache area is dynamically adjusted based on the size of the cached data on the emulator card and the data growth trend.
[0094] Configuration unit 403 is used to configure the NFC chip according to configuration information and store cached data in the cache area within the NFC chip, wherein the configured NFC chip has card emulation function.
[0095] The activation unit 404 is used to initiate a card search and activation process with the interactive device through the NFC chip when a reading request from the interactive device is detected, so as to enter the activation state.
[0096] Optionally, activation unit 404 is also used for:
[0097] The communication port of the NFC chip is monitored in real time. When a read command is received from an interactive device, it is determined that a read request has been detected.
[0098] Optionally, a transmitting unit 405 is also included, for:
[0099] Receive read commands from interactive devices via NFC chip;
[0100] Extract the necessary data for interaction from the cached data according to the read instructions of the interactive device, and send the necessary data for interaction to the interactive device.
[0101] The execution unit 406 is used to perform information exchange operations between the NFC chip and the interactive device based on the cached data.
[0102] Optionally, execution unit 406 is also used for:
[0103] If the cached data is incorrect or incomplete, the information interaction operation will be stopped and an error message will be sent to the interactive device via the NFC chip.
[0104] For specific implementation methods, please refer to [the example]. Figures 1-3 Examples are not detailed here.
[0105] Please see Figure 5 This application also provides an information interaction device, including:
[0106] Processor 501, memory 502, input / output unit 503, bus 504;
[0107] The processor 501 is connected to the memory 502, the input / output unit 503, and the bus 504;
[0108] The memory 502 stores a program, and the processor 501 calls the program to execute any of the above information interaction methods.
[0109] This application also relates to a computer-readable storage medium on which a program is stored, which, when run on a computer, causes the computer to perform any of the above-described information interaction methods.
[0110] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0111] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.
[0112] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0113] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0114] If the integrated unit is implemented as 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 this application, in essence, 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
Claims
1. An information interaction method based on NFC, characterized in that, The method includes: Obtain the configuration information of the simulation card, wherein the configuration information includes the cache data of the simulation card, and the cache data is data to be cached; The NFC chip is configured according to the configuration information, and the cached data is stored in the cache area within the NFC chip, wherein the configured NFC chip has card emulation function; When a read request from an interactive device is detected, the NFC chip initiates a card search and activation process with the interactive device to enter the activation state. The information exchange operation between the NFC chip and the interactive device is performed based on the cached data.
2. The information interaction method according to claim 1, characterized in that, Before storing the cached data in the buffer area within the NFC chip, the method further includes: A buffer area is set within the NFC chip; Read the size field of the cached data from the configuration information of the simulation card; Based on the size field of the cached data, the initial storage space in the cache area is allocated according to a preset ratio.
3. The information interaction method according to claim 1 or 2, characterized in that, The method further includes: The preset ratio of the cache area is dynamically adjusted based on the size of the cached data and the data growth trend of the simulation card.
4. The information interaction method according to claim 1 or 2, characterized in that, The process of obtaining the configuration information of the simulation card includes: Obtain at least one configuration information from the following: type of the emulated card, UID, ATQA, and T2T format information data.
5. The information interaction method according to claim 1 or 2, characterized in that, When a read request from an interactive device is detected, the following is included: The communication port of the NFC chip is monitored in real time, and when a read command is received from the interactive device, it is determined that a read request has been detected.
6. The information interaction method according to claim 5, characterized in that, Upon receiving a read command from the interactive device, after determining that a read request has been detected, the process further includes: The NFC chip receives a read command from the interactive device. According to the read instruction of the interactive device, the data required for interaction is extracted from the cached data and the data required for interaction is sent to the interactive device.
7. The information interaction method according to claim 1 or 2, characterized in that, When performing the information interaction operation between the NFC chip and the interactive device based on the cached data, the method further includes: If the cached data is incorrect or incomplete, the information interaction operation is stopped and an error message is sent to the interactive device via the NFC chip.
8. An information interaction device, characterized in that, The device includes: The acquisition unit is used to acquire the configuration information of the simulation card, wherein the configuration information includes the cache data of the simulation card, and the cache data is data to be cached; A configuration unit is used to configure an NFC chip according to the configuration information and store the cached data in a cache area within the NFC chip, wherein the configured NFC chip has card emulation functionality. The activation unit is used to initiate a card search and activation process with the interactive device through the NFC chip when a reading request from the interactive device is detected, so as to enter the activation state. An execution unit is used to perform information interaction operations between the NFC chip and the interactive device based on the cached data.
9. An information interaction device, characterized in that, The device includes: Processor, memory, input / output units, and bus; The processor is connected to the memory, the input / output unit, and the bus; The memory stores a program, which the processor invokes to execute the information interaction method as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a program stored thereon, the program executing, when executed on a computer, the information interaction method as described in any one of claims 1 to 7.
