Near field communication system and electronic equipment

By introducing a peripheral microcontroller unit in conjunction with a near-field communication integrated circuit into electronic devices, the problem of NFC function loss when electronic devices are powered off is solved, enabling NFC card emulation in the powered-off state and improving the user experience.

CN121396271APending Publication Date: 2026-01-23VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511582264.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-31
Publication Date
2026-01-23

AI Technical Summary

Technical Problem

When an electronic device is powered off, the main system's central processing unit loses power, causing some NFC functions to fail and affecting the user experience.

Method used

By introducing a peripheral microcontroller unit into the electronic device, and using it to interact with the near-field communication integrated circuit, the NFC card emulation function can be realized in the power-off state. In the power-on state, the main system central processing unit and the near-field communication integrated circuit interact with each other to complete the NFC card emulation function.

Benefits of technology

It can still perform NFC card emulation when the device is powered off, improving the user experience and avoiding the loss of functionality due to device shutdown.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121396271A_ABST
    Figure CN121396271A_ABST
Patent Text Reader

Abstract

The invention discloses a near field communication system and electronic equipment, and belongs to the technical field of communication. The near field communication system is applied to the electronic equipment, and comprises a near field communication integrated circuit, a main system central processing unit electrically connected with the near field communication integrated circuit, and a peripheral micro-control unit electrically connected with the near field communication integrated circuit, wherein the near field communication integrated circuit performs near field communication data interaction with the main system central processing unit in a first state and performs near field communication data interaction with the peripheral micro-control unit in a second state, the first state is a power-on state of the electronic equipment, and the second state is a power-off state of the electronic equipment. The second state is a shutdown state of the electronic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of communication, and particularly relates to a near field communication system and an electronic device. BACKGROUND

[0002] At present, in order to meet the user's mobile payment demand, optimize the experience of traffic travel, realize the intelligentization of access control, and expand the interaction mode between devices, the near field communication (NFC) function has been integrated with the mobile phone technology. The NFC chip, antenna and related circuit are built-in the mobile phone, and the functions of data processing and data encryption are integrated, so as to work with the processor of the mobile phone to complete the data interaction with the external NFC device or tag.

[0003] However, in order to reduce the cost, the NFC scheme of the mobile phone can only realize part of the NFC functions, including not supporting the power-off bus card, car key and the like, so as to avoid the problem of insufficient processing capacity of the NFC chip caused by large transaction data. Therefore, the data processing process of realizing the functions of the NFC traffic card, car key and the like is moved to the main system central processor for processing. However, the main system central processor is powered off in the power-off state, and the functions of the NFC traffic card, car key and the like are not supported. SUMMARY

[0004] The purpose of the embodiments of the present application is to provide a near field communication system and an electronic device, which can solve the problem that the main system central processor is powered off in the power-off state, and part of the NFC functions cannot be realized.

[0005] In a first aspect, the embodiments of the present application provide a near field communication system applied to an electronic device, comprising:

[0006] a near field communication integrated circuit, a main system central processor electrically connected with the near field communication integrated circuit, and a peripheral micro control unit electrically connected with the near field communication integrated circuit; wherein

[0007] the near field communication integrated circuit interacts with the main system central processor in a first state, and interacts with the peripheral micro control unit in a second state, the first state is a power-on state of the electronic device, and the second state is a power-off state of the electronic device.

[0008] Optionally, the main system central processor stores identity recognition data of near field communication and address information of the near field communication integrated circuit, and

[0009] the identity recognition data and the address information are transmitted to the peripheral micro control unit before the electronic device is powered off.

[0010] Optionally, a first interface of the main system central processor is electrically connected with a first interface of the peripheral micro control unit, forming a first transmission channel; a second interface of the main system central processor is electrically connected with a first interface of the near field communication integrated circuit, forming a second transmission channel; and

[0011] In the second state, the peripheral micro control unit calls the second transmission channel via the first transmission channel according to the address information, and completes the interaction of the near field communication data with the near field communication integrated circuit.

[0012] Optionally, a third interface of the main system central processor is electrically connected with a second interface of the peripheral micro control unit, forming a third transmission channel; and

[0013] The peripheral micro control unit judges whether to interact with the near field communication integrated circuit for the near field communication data by monitoring the state information in the third transmission channel;

[0014] The state information is used to indicate whether the main system central processor is in a normal working state.

[0015] Optionally, the peripheral micro control unit is provided with an analog encryption and decryption component and a storage component;

[0016] The analog encryption and decryption component is used to encrypt or decrypt the near field communication data;

[0017] The storage component is used to store key information, and the key information is used for encryption or decryption of the near field communication data.

[0018] Optionally, the main system central processor transmits the key information to the peripheral micro control unit before the electronic device is powered off.

[0019] Optionally, the key information is generated by the main system central processor according to an identification of the near field communication integrated circuit, password data, a password key and a random number.

[0020] Optionally, the system further comprises:

[0021] A power management integrated circuit, a first interface of the power management integrated circuit is electrically connected with a third interface of the peripheral micro control unit, forming a fourth transmission channel, and

[0022] In the second state, the power management integrated circuit provides electric energy to the peripheral micro control unit through the fourth transmission channel.

[0023] Optionally, the system further comprises:

[0024] The near field communication antenna structure is used to complete near field communication between the near field communication integrated circuit and external equipment.

[0025] In a second aspect, the embodiments of the present application provide an electronic device, which comprises the near field communication system according to the first aspect.

[0026] In the near field communication system according to the embodiments of the present application, not only can the NFC card simulation (such as NFC traffic card, vehicle key, etc.) function in the open state of the electronic device be realized through the interaction of the near field communication data between the NFC integrated circuit and the central processor of the main system, but also the NFC card simulation function in the closed state of the electronic device can be realized through the interaction of the near field communication data between the NFC integrated circuit and the micro control unit of the external device, thereby avoiding the problem that part of the NFC function cannot be realized due to the shutdown of the electronic device and improving the user experience of NFC use. BRIEF DESCRIPTION OF DRAWINGS

[0027] Figure 1 is a schematic diagram of the near field communication system according to the embodiments of the present application;

[0028] Figure 2 is a schematic diagram of the near field communication system according to the embodiments of the present application;

[0029] Figure 3 is a schematic diagram of the electronic device according to the embodiments of the present application. DETAILED DESCRIPTION

[0030] The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art belong to the scope of protection of the present application.

[0031] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than that illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of a kind and are not limited to the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / ", generally indicates that the objects before and after are in an "or" relationship.

[0032] The technical terms involved in the present application are explained as follows:

[0033] Near Field Communication (NFC), also known as close-range wireless communication, is a short-range high-frequency wireless communication technology that allows electronic devices to exchange data in a non-contact point-to-point data transmission. NFC technology is based on electromagnetic induction coupling principle, that is, when an alternating current flows in a coil, an alternating magnetic field is generated around the coil; if there is another coil nearby, the alternating magnetic field will induce an electromotive force in the coil, and then generate an electric current. In the NFC system, the core components include an NFC reader and an NFC tag (or device). The antenna coil built-in the reader generates an alternating current when powered on, exciting an alternating magnetic field around itself. When the NFC tag or device enters the magnetic field coverage range (typical distance is 0-20 cm), the internal antenna coil of the tag or device will sense the magnetic field change, thereby generating an induced electromotive force to drive the tag or device to work. NFC system works in a specific frequency band of 13.56 MHz to achieve non-contact data exchange between devices, and its typical working range is initially limited to within 0-15 cm, with transmission speeds of 106 kpbs, 212 kbps, 424 kbps, and 848 kbps, of which 106 kpbs is the most commonly used rate.

[0034] NFC function can support read-write mode, mobile phone as a card reader, reading and writing card data; card simulation mode, mobile phone simulating card, communicating with card reader; point-to-point mode, realizing data transmission between mobile phones. To realize the full function of NFC, the mainstream solution of mobile phone NFC is NFC+eSE (combined into one IC, IC has two chips inside, one is NFC chip and the other is eSE chip). The function of NFC chip is mainly to interact with external tags or card readers and protocol analysis; eSE chip stores all card data and completes data processing. NFC chip and eSE chip will enter low power mode when in the off state, ensuring that NFC chip and eSE chip remain in the off state, even if the mobile phone AP processor is powered off, the card simulation function of traffic card, access control card and car key can still be realized. However, the hardware cost of two chips is high.

[0035] In order to reduce the cost of mobile phone, a scheme of realizing only NFC chip to realize part of NFC function is proposed, which moves the data processing process of realizing NFC traffic card, car key and other functions to the main system central processor for processing. However, the main system central processor is powered off in the off state, and does not support NFC traffic card, car key and other functions, reducing the use experience.

[0036] The application will be described in detail below in combination with the drawings and through specific embodiments and application scenarios.

[0037] As Figure 1 , Figure 2 shown, a near field communication system of an embodiment of the present application is applied to an electronic device, comprising:

[0038] a near field communication integrated circuit 1, a main system central processor 2 electrically connected with the near field communication integrated circuit 1, and a peripheral micro control unit 3 electrically connected with the near field communication integrated circuit 1; wherein,

[0039] the near field communication integrated circuit 1 interacts with the main system central processor 2 in a first state, and interacts with the peripheral micro control unit 3 in a second state, the first state is a power-on state of the electronic device, and the second state is a power-off state of the electronic device.

[0040] In this way, the near field communication system of the embodiment of the present application not only can realize the NFC card simulation (such as NFC traffic card, vehicle key, etc.) function in the power-on state of the electronic device through the interaction of the near field communication data of the NFC integrated circuit 1 and the main system central processor 2, but also can realize the NFC card simulation function in the power-off state of the electronic device through the interaction of the near field communication data of the NFC integrated circuit 1 and the peripheral micro control unit 3, thereby avoiding the problem that part of the NFC function cannot be realized due to the power-off of the electronic device, and improving the user NFC use experience.

[0041] Optionally, in the embodiment of the present application, the near field communication integrated circuit is also called NFC chip (NFC IC), which can realize part of the NFC function, such as the read-write function (the electronic device as a card reader, reading and writing card data), and the point-to-point data transmission function; and in combination with the main system central processor (Central Processing Unit, CPU) or the peripheral micro control unit (Microcontroller Unit, MCU), another part of the NFC function, such as the card simulation function, can be realized.

[0042] Optionally, in the embodiment of the present application, the peripheral MCU is an MCU for realizing a specific function in the electronic device, such as an audio power amplification integrated circuit (Audio PA IC). Multiplexing the peripheral MCU to complete part of the NFC function can not only make up for the problem that part of the NFC function cannot be realized due to the power-off of the electronic device, but also can avoid increasing the manufacturing cost.

[0043] Optionally, in the embodiment of the present application, the main system central processor 2 stores the identity recognition data of the near field communication and the address information of the near field communication integrated circuit 1, and

[0044] Before the electronic device is powered off, the identity recognition data and the address information are transmitted to the peripheral micro control unit 3.

[0045] In an optional implementation, the identity recognition data can be card data used for identity recognition when the NFC card simulation function is implemented, and the identity recognition data is added or set by a user and has completed authentication with a server.

[0046] In an optional implementation, the address information indicates a physical address of the NFC chip.

[0047] In another optional implementation, the identity recognition data and the address information are stored in the main system CPU to implement an NFC card simulation function, such as a car key card. The identity recognition data and the address information are stored in the memory of the main system CPU. Taking the NFC car key card as an example, in an on-field scenario, when the electronic device is close to a handlebar, the handlebar initiates a communication process, the electronic device is switched to a corresponding card (a car key), the NFC chip, the main system CPU, and the handlebar complete an NFC car key recognition process, and the handlebar is unlocked. To ensure near-field communication of the NFC chip and the peripheral MCU in a second state, the main system CPU transmits the identity recognition data and the address information to the peripheral MCU for storage before the electronic device is powered off. Similarly, in an off-field scenario, when the electronic device is close to the handlebar, the handlebar initiates a communication process, the electronic device is switched to a corresponding card (a car key), the NFC chip, the main system CPU, and the handlebar complete an NFC car key recognition process, and the handlebar is unlocked.

[0048] Optionally, in the embodiment of the application, the first interface of the main system central processor 2 is electrically connected to the first interface of the peripheral micro control unit 3 to form a first transmission channel, the second interface of the main system central processor 2 is electrically connected to the first interface of the near-field communication integrated circuit 1 to form a second transmission channel, and

[0049] In the second state, the peripheral micro control unit 3 calls the second transmission channel according to the address information via the first transmission channel to complete interaction of near-field communication data with the near-field communication integrated circuit 1.

[0050] That is, the peripheral MCU can call the second transmission channel to complete interaction of near-field communication data with the NFC chip together with the first transmission channel according to the address information previously informed by the main system CPU.

[0051] In an optional implementation, the main system CPU can also transmit the identity recognition data and the address information via the first transmission channel.

[0052] Optionally, in the embodiment of the present application, the first transmission channel and the second transmission channel are both Inter-Integrated Circuit (I2C) channels.

[0053] Optionally, in the embodiment of the present application, the near field communication system can also be provided with an independent transmission channel for the peripheral MCU and the NFC chip, and the near field communication data interaction is performed in the power-off state of the electronic device.

[0054] Optionally, in the embodiment of the present application, the third interface of the main system central processor 2 is electrically connected with the second interface of the peripheral micro control unit 3, forming a third transmission channel; and

[0055] The peripheral micro control unit 3 judges whether to perform the near field communication data interaction with the near field communication integrated circuit 1 by monitoring the state information in the third transmission channel.

[0056] The state information is used to indicate whether the main system central processor 2 is in a normal working state.

[0057] In this way, the peripheral MCU can know whether the main system CPU is in a normal working state by monitoring the state information in the third transmission channel, so as to judge whether to perform the near field communication data interaction with the NFC chip.

[0058] In an optional implementation, the state information is the level of the signal output by the third interface of the main system CPU, and the signal is a GPIO_INT signal. In the power-on state of the electronic device, the main system CPU is in a normal working state, and the GPIO_INT signal is at a high level; in the power-off state of the electronic device, the main system CPU is in an abnormal working state, and the GPIO_INT signal is at a low level. The third interface of the main system CPU can also be referred to as a GPIO_INT IO port, and the state of the GPIO_INT IO port is set to PU, that is, the default output is a high level. In this way, when the electronic device is powered on, the input and output power supply of the main system CPU is 1.2V / 1.8V for the system, the GPIO_INT level is 1.2V / 1.8V, and the GPIO_INT voltage is 1.2V / 1.8V; when the electronic device is powered off, the input and output power supply of the main system CPU is powered off, and the GPIO_INT voltage is 0V.

[0059] Optionally, in the embodiment of the present application, as shown in Figure 2 The peripheral micro control unit 3 is provided with an analog encryption and decryption component 31 and a storage component 32.

[0060] The analog encryption and decryption component 31 is configured to encrypt or decrypt the near field communication data.

[0061] The storage component 32 is configured to store key information, which is used for encryption or decryption of the near field communication data.

[0062] The storage component can be a One Time Programmable (OTP) storage component.

[0063] In an optional implementation, the main system CPU negotiates and stores the key information used for encryption or decryption of the near field communication data during production of the electronic device. Similarly, the peripheral MCU can negotiate and store the key information during production of the electronic device, to ensure security of NFC communication and data. However, the peripheral MCU also needs to implement specific functions, and reserving space for long-term storage of the key information will affect implementation of the functions of the peripheral MCU.

[0064] Optionally, in the embodiment of the application, the main system central processor 2 transmits the key information to the peripheral micro control unit 3 before the electronic device is powered off.

[0065] In an optional implementation, the main system CPU transmits the key information to the peripheral MCU before the electronic device is powered off, for example, the main system CPU transmits the key information to the peripheral MCU through the second transmission channel, to ensure security of NFC communication and data. In this way, after the electronic device is powered on, the peripheral MCU can clear the key information, to improve storage space, and before the electronic device is powered on, the peripheral MCU can receive the key information, for NFC communication.

[0066] Optionally, in the embodiment of the application, the key information is generated by the main system central processor 2 according to an identifier of the near field communication integrated circuit 1, cipher data, a cipher key, and a random number.

[0067] That is, the main system CPU generates the key information based on an encryption algorithm, by using the identifier (ID) of the NFC chip, the cipher data (Cipher-Data), the cipher key (Cipher-AES), and the random number. The key information is stored in a Trusted Execution Environment (TEE) security module of the main system CPU.

[0068] Optionally, in the embodiment of the application, the near field communication system further includes:

[0069] The power management integrated circuit 4 is electrically connected to the third interface of the peripheral micro control unit 3 through a first interface of the power management integrated circuit 4, to form a fourth transmission channel, and

[0070] In the second state, the power management integrated circuit 4 provides power to the peripheral micro control unit 3 through the fourth transmission channel.

[0071] That is, the power supply of the peripheral MCU is replaced by the always-on power supply, ensuring that it has power in the off scene and realizing the NFC function in the off scene.

[0072] In an optional embodiment, the third interface of the peripheral MCU is the power supply end (VDD) of the peripheral MCU, and the power management integrated circuit (PMIC) provides the front-stage power supply phase voltage (VPH) such as SYS_1P8 / SYS_1P2 for the peripheral MCU. The input power supply of the PMIC is VPH.

[0073] Optionally, in the embodiment of the application, the near field communication system further comprises:

[0074] The near field communication antenna structure 5 is used to complete the near field communication between the near field communication integrated circuit 1 and the external device.

[0075] The near field communication antenna structure 5 is electrically connected with the near field communication integrated circuit 1, and the two can interact with NFC data. Specifically, the near field communication antenna structure receives the NFC data of the NFC IC and transmits it to the external device; the near field communication antenna structure receives the NFC data of the external device and transmits it to the NFC IC.

[0076] Next, the application of the near field communication system of the embodiment of the application will be described in combination with specific scenes (taking the identity recognition data as the bus card / vehicle key card data as an example):

[0077] Scene one,

[0078] In the on scene, the bus card / vehicle key card data is stored in the memory of the main system CPU after being encrypted by the NFC chip, and when the electronic device approaches the bus gate / vehicle handle, the bus gate / vehicle handle initiates the communication process, the electronic device is switched to the corresponding card (bus card / vehicle key), and the main system CPU and the bus gate / vehicle handle perform the data processing process. Among them, after the NFC data is parsed by the NFC chip, it is transmitted to the main system CPU through the I2C channel (the first transmission channel); the reply data is transmitted to the NFC chip through the I2C channel, and after encoding by the NFC chip, it is transmitted to the external bus gate / vehicle handle through the NFC antenna structure, and the above process is repeated to complete the NFC process between the electronic device and the bus gate / vehicle handle.

[0079] In the power-off scenario, the data processing process of the bus card / car key card transaction is moved to the external MCU. Before the electronic device triggers the power-off process and the formal power-off process starts, the main system CPU initiates the bus card / car key card data transfer process according to the default card selection setting in the wallet application, for example, when the default card selection setting is the bus card, the main system CPU initiates the card data (encrypted data through the NFC chip) transfer process, and stores the encrypted card data through the NFC chip in the Flash space of the external MCU through the I2C channel (second transmission channel). After completing the card data transfer work, the electronic device starts the power-off process, at this time the external MCU and the NFC chip have power, in the power-off scenario the GPIO INT signal is low, triggering the external MCU to enter low-power mode (similar to the NFC chip and eSE chip). When the electronic device is close to the bus gate / handlebar, the bus gate / handlebar initiates the communication process, and after the external MCU receives the data through the I2C channel (first transmission channel and second transmission channel), it calls the bus card, and the external MCU and the bus gate / handlebar perform the data processing process. The reply data is transmitted to the NFC chip through the I2C channel (first transmission channel and second transmission channel), the NFC chip encodes, and then transmits to the external bus gate / handlebar through the NFC antenna structure, and repeats the above process to complete the NFC process between the electronic device and the bus gate / handlebar.

[0080] Scenario two,

[0081] In the power-off scenario, the main system CPU is powered off, and the data processing process of the bus card / vehicle key card transaction is completed by the peripheral MCU. Before the electronic device triggers the power-off process and the formal power-off process starts, the main system CPU initiates the bus card / vehicle key card data transfer process according to the default card setting in the wallet application program. For example, when the default card setting is a bus card, the main system CPU initiates the card data transfer process. The card data is encrypted by the main system CPU simulation encryption / decryption module, and is stored in the Flash space of the peripheral MCU (simulation decryption module) through the I2C channel (second transmission channel). After completing the card data transfer work, the electronic device starts the power-off process. At this time, the peripheral MCU and the NFC chip have power, and the GPIO_INT signal is low in the power-off scenario, triggering the peripheral MCU to enter the low-power mode (similar to the NFC chip and the eSE chip). When the electronic device is close to the bus gate / vehicle handle, the bus gate / vehicle handle initiates the communication process, and the peripheral MCU receives the data through the I2C channel (first transmission channel and second transmission channel) and then triggers the bus card. The peripheral MCU and the bus gate / vehicle handle perform data processing. The reply data is transmitted to the NFC chip through the I2C channel (first transmission channel and second transmission channel), the NFC chip encodes, and then transmits to the external bus gate / vehicle handle through the NFC antenna structure. The above process is repeated to complete the NFC process between the electronic device and the bus gate / vehicle handle.

[0082] In summary, the near field communication system of the embodiment of the application can help the low-cost NFC scheme to realize the power-off scenario NFC card simulation function, align with the NFC+eSE scheme NFC function, and greatly improve the user NFC use experience.

[0083] As shown in Figure 3 The embodiment of the application also provides an electronic device 300, which comprises the near field communication system as described above.

[0084] The electronic device 300 comprises a processor 301 and a memory 302, and the memory 302 stores programs or instructions executable on the processor 301.

[0085] The electronic device in the embodiments of the present application can also be a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and can also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, and the like, and the embodiments of the present application are not limited in this regard.

[0086] The electronic device in the embodiments of the present application can be an electronic device having an operating system. The operating system can be an Android operating system, can be an ios operating system, or can be other possible operating systems, and the embodiments of the present application are not limited in this regard.

[0087] The electronic device provided in the embodiments of the present application can implement Figure 1 or Figure 2 the processes implemented by the near field communication system embodiments, and thus repeated descriptions are not provided herein.

[0088] It should be understood that the chip mentioned in the embodiments of the present application can also be referred to as a system-level chip, a system chip, a chip system, or a system-on-chip, and the like.

[0089] It should be noted that, in the present document, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element. Furthermore, it is to be understood that the method and apparatus of the present application can be carried out by more than one process, method, article, or apparatus either simultaneously, concurrently, or with intervening action that are carried out at the same time, either in a simultaneous fashion or in a fashion that is interleaved in time. For example, the described methods can be performed in a different order from that described, and / or various steps can be combined or omitted, and / or additional steps can be added, without departing from the scope of the present application. Also, features described with respect to certain examples can be combined in other examples.

[0090] From the above description of the embodiments, it is apparent that the method of the above-described embodiments can be realized by means of software and general-purpose hardware platforms. Of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such an understanding, the technical solutions of the present application, essentially or in other words, the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as a ROM / RAM, magnetic disk, or optical disk) and includes a number of instructions for causing a terminal (which can be a mobile phone, computer, server, or network device) to execute the methods described in the various embodiments of the present application.

[0091] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-described specific embodiments, which are merely illustrative rather than restrictive, and a person of ordinary skill in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the protection scope of the claims, which are all within the protection scope of the present application.

Claims

1. A near field communication system, characterized in that, Applied to an electronic device, comprising: a near field communication integrated circuit, a main system central processing unit electrically connected with the near field communication integrated circuit, and a peripheral micro control unit electrically connected with the near field communication integrated circuit; wherein, the near field communication integrated circuit interacts with the main system central processing unit in a first state, and interacts with the peripheral micro control unit in a second state, the first state being a power-on state of the electronic device, and the second state being a power-off state of the electronic device.

2. The system of claim 1, wherein, the main system central processing unit stores identity identification data of near field communication and address information of the near field communication integrated circuit, and the identity identification data and the address information are transmitted to the peripheral micro control unit before the electronic device is powered off.

3. The system of claim 1 or 2, wherein, a first interface of the main system central processing unit is electrically connected with a first interface of the peripheral micro control unit to form a first transmission channel; a second interface of the main system central processing unit is electrically connected with a first interface of the near field communication integrated circuit to form a second transmission channel; and in the second state, the peripheral micro control unit calls the second transmission channel according to the address information via the first transmission channel to complete the interaction of near field communication data with the near field communication integrated circuit.

4. The system according to any one of claims 1 to 3, characterized in that, a third interface of the main system central processing unit is electrically connected with a second interface of the peripheral micro control unit to form a third transmission channel; and the peripheral micro control unit judges whether to interact with the near field communication integrated circuit in near field communication data by monitoring state information in the third transmission channel; the state information is used to indicate whether the main system central processing unit is in a normal working state.

5. The system according to any one of claims 1 to 4, characterized in that, the peripheral micro control unit is provided with an analog encryption and decryption component and a storage component; the analog encryption and decryption component is used to encrypt or decrypt the near field communication data; the storage component is used to store key information, and the key information is used for encryption or decryption of the near field communication data.

6. The system of claim 5, wherein, the main system central processing unit transmits the key information to the peripheral micro control unit before the electronic device is powered off.

7. The system of claim 6, wherein, the key information is generated by the main system central processing unit according to an identification of the near field communication integrated circuit, password data, a password key and a random number.

8. The system of claim 1, wherein, Further comprising: a power management integrated circuit, a first interface of the power management integrated circuit is electrically connected with a third interface of the peripheral micro control unit to form a fourth transmission channel, and in the second state, the power management integrated circuit provides electric energy to the peripheral micro control unit through the fourth transmission channel.

9. The system of claim 1, wherein, Further comprising: a near field communication antenna structure, the near field communication antenna structure is used to complete near field communication between the near field communication integrated circuit and an external device.

10. An electronic device, comprising: The electronic device comprises the near field communication system according to any one of claims 1 to 9.