Control method for NFC apparatus, and vehicle

WO2026200291A1PCT designated stage Publication Date: 2026-10-01BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/077239
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-03-28
Filing Date
2026-02-05
Publication Date
2026-10-01

Smart Images

  • Figure CN2026077239_01102026_PF_FP_ABST
    Figure CN2026077239_01102026_PF_FP_ABST
Patent Text Reader

Abstract

A control method for an NFC apparatus, and a vehicle. The method comprises: acquiring device information of a terminal device that is approaching; and on the basis of the device information of the terminal device, controlling an NFC apparatus to perform NFC communication or not.
Need to check novelty before this filing date? Find Prior Art

Description

NFC device control methods and vehicles

[0001] Cross-references to related applications

[0002] This application is based on and claims priority to Chinese Patent Application No. 202510398880.0, filed on March 28, 2025, the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of electronic technology, and more specifically, to a control method for an NFC device and a vehicle, as well as electronic devices, computer-readable storage media, and computer program products. Background Technology

[0004] With the continuous development of electronic product technology, users' demand for intelligence is also increasing. Wireless charging devices and near-field communication devices are widely used in many industries, such as the automotive industry, which integrates wireless charging devices and near-field communication devices into vehicle components to improve vehicle intelligence. However, due to the characteristics of near-field communication (NFC), for NFC-enabled terminal devices, such as mobile phones, once an NFC field is detected, a card ejection operation is automatically triggered. Although this operation simplifies the process to some extent, frequent or unnecessary card ejection leads to a poor user experience. Summary of the Invention

[0005] This application aims to address at least one of the technical problems existing in the prior art. To this end, this application proposes a control method for an NFC device and a vehicle, as well as electronic devices, computer-readable storage media, and computer program products, which can solve the problem of frequent card ejection during NFC communication by NFC-enabled devices, affecting user experience.

[0006] In a first aspect, embodiments of this application provide a control method for an NFC device, including:

[0007] Obtain device information from nearby terminal devices;

[0008] The device information of the terminal device is used to control whether the NFC device performs NFC communication.

[0009] In a second aspect, embodiments of this application provide an electronic device, including: a processor and a memory, wherein the memory stores computer instructions executable on the processor, and the computer instructions, when executed by the processor, implement the steps of the control method for the NFC device as described in the first aspect.

[0010] Thirdly, embodiments of this application provide a vehicle including the electronic device described in the third aspect, wherein the memory of the electronic device stores computer instructions that can run on a processor, and when the computer instructions are executed by the processor, implement the steps of the control method of the NFC device as described in the first aspect.

[0011] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the steps of the control method for the NFC device as described in the first aspect.

[0012] Fifthly, embodiments of this application provide a computer program product in which computer instructions, when executed by a processor, implement the steps of the control method for the NFC device described above.

[0013] The technical solution provided in this application obtains the device information of a nearby terminal device, and then controls whether the NFC device performs NFC communication based on the device information. Because this technical solution controls the NFC device based on device information, it ensures that terminal devices that do not require device authentication do not perform NFC communication, thereby effectively avoiding unnecessary card activation transactions, significantly reducing the number of times the card is ejected from the terminal device, and ultimately improving the overall user experience and product satisfaction.

[0014] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0015] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:

[0016] Figure 1 is a flowchart illustrating a control method for an NFC device in some embodiments of this application;

[0017] Figure 2 is a schematic diagram of an execution card protection detection process in some embodiments of this application;

[0018] Figure 3 is a flowchart illustrating the process of a terminal device executing a corresponding operation based on a trigger command in some embodiments of this application;

[0019] Figure 4 is a flowchart illustrating a control method for another NFC device in some embodiments of this application;

[0020] Figure 5 is a schematic diagram of the structure of an electronic device in some embodiments of this application;

[0021] Figure 6 is a structural schematic diagram of a vehicle in some embodiments of this application. Embodiments of the present invention

[0022] Embodiments of this application will now be described in more detail with reference to the accompanying drawings. While some embodiments of this application are shown in the drawings, it should be understood that this application can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this application. It should be understood that the drawings and embodiments of this application are for illustrative purposes only and are not intended to limit the scope of protection of this application.

[0023] It should be understood that the steps described in the method embodiments of this application may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this application is not limited in this respect.

[0024] In related technologies, terminal devices that support NFC (Near Field Communication), such as mobile phones, will automatically pop up an NFC wallet and conduct corresponding NFC transactions when charging with a wireless charging device equipped with NFC. This causes the terminal device to pop up the NFC wallet frequently, especially when the user has not actively requested an NFC transaction. This not only interrupts the user's normal usage process but may also cause unnecessary confusion or misoperation, thus greatly affecting the user's overall user experience and satisfaction.

[0025] In addition, when using existing wireless charging devices that include wireless charging and NFC devices to charge terminal devices, the wireless charging device needs to send high-frequency energy pulse waves during charging, and the NFC device's radio frequency antenna also needs to send high-frequency waveforms when it is working. Therefore, when the two devices are close to each other, they will interfere with each other, causing problems such as abnormal card reading of NFC device or interruption of wireless charging.

[0026] Therefore, the technical solution provided in this application obtains the device information of a nearby terminal device, and then controls whether the NFC device performs NFC communication based on the device information. Since the above technical solution controls the NFC device based on device information, it can ensure that terminal devices that do not require device authentication will not perform NFC communication after determining the type of the terminal device based on the device information. This effectively avoids unnecessary device authentication, significantly reduces the number of times the SIM card is ejected from the terminal device, and thus improves the overall user experience and satisfaction.

[0027] Figure 1 is a flowchart illustrating a control method for an NFC device according to an embodiment of this application. As shown in Figure 1, the method includes the following steps:

[0028] Step 101: Obtain device information of nearby terminal devices;

[0029] The terminal device in the technical solution provided in this application can be a device that supports NFC functionality, such as a mobile phone, watch, or tablet computer. The device type information, used to distinguish different types of terminal devices, may include information such as the device model, brand, and operating system. Near Field Communication (NFC) is a short-range wireless communication technology that allows two devices to perform contactless data transmission and exchange within a short distance, such as 10cm.

[0030] Step 102: Control whether the NFC device performs NFC communication based on the device information of the terminal device.

[0031] The NFC device can be installed in other devices, such as wireless charging devices or vehicles, to conduct NFC communication with nearby terminal devices. After obtaining the device information of the nearby terminal device in step 101, it can be further determined whether the terminal device should conduct NFC communication with the NFC device based on the aforementioned device information. That is, it is determined whether to activate the NFC device and conduct NFC communication based on the device information of the terminal device to complete data exchange and information transmission.

[0032] As described above, the method can control the NFC device based on the device information of the terminal device. Therefore, when a nearby terminal device is located, after determining that it is not necessary to activate the NFC device for NFC communication based on its device information, the NFC device will not send a signal. This can effectively avoid unnecessary device authentication, thereby significantly reducing the number of times the terminal device needs to eject its SIM card, and thus improving the overall user experience and satisfaction.

[0033] In this embodiment, when a terminal device is near another device equipped with an NFC device, its device information can be obtained through non-NFC communication methods. For example, it can be obtained through Bluetooth, WiFi (Wireless Fidelity), or wireless charging communication. In this application, when wireless charging communication is available, it is preferred to use this method to obtain the terminal device's device information. The wireless charging communication method generally includes the following stages: detection stage, Ping stage, authentication and configuration stage, and power transmission stage. In the detection stage: when the terminal device is in the charging area of ​​the wireless charging device, the transmitter of the wireless charging device detects the presence of a receiver on the terminal device by transmitting a signal at a fixed frequency, such as a mobile phone receiver, or by detecting changes in capacitance. In the Ping stage: during the detection stage... After detecting the receiver of the terminal device, the transmitter of the wireless charging device attempts to establish communication with it. The transmitter sends a signal to activate the receiver's communication function. Upon sensing this signal, the receiver returns a signal strength indicator packet, ensuring the transmitter maintains its power signal upon receiving it. In the authentication and configuration phase, the receiver sends basic device information, such as device details and maximum charging power, to the transmitter. The transmitter then adjusts its parameters based on the received information to complete the charging configuration. In the power transfer phase, after completing the charging configuration in the previous stage, the transmitter begins transferring power to the receiver. This non-NFC communication method allows for background interaction of device information, eliminating the need for manual user intervention and effectively avoiding the card ejection issue caused by NFC activation, thus improving the user experience.

[0034] Throughout the wireless charging communication process, the transmitter of the wireless charging device and the receiver of the terminal device can interact through specific communication protocols. For example, in the Qi protocol (Qi Wireless Power Transfer Standard), the communication from the receiver to the transmitter usually uses amplitude modulation, while the communication from the transmitter to the receiver uses frequency modulation.

[0035] In this embodiment, the obtained device information of the terminal device can be used to characterize the device type of the terminal device, that is, to distinguish different terminal devices. The device type can be determined based on information such as device model, device brand, and operating system in the device information. For example, when distinguishing different mobile phones based on the device model, the device model iPhone 14 Pro Max (A2896) can be identified as an Apple phone; the device model Huawei Mate 50 Pro can be identified as a Huawei phone. In this way, determining the device type of the terminal device based on the terminal device information can improve the efficiency of distinguishing different terminal devices, thereby reducing the user's waiting time and improving the user experience.

[0036] In this embodiment, after determining the device type of the terminal device in the above embodiments, it can be further determined whether to perform NFC communication with the NFC device based on the device type. If the terminal device is determined to be of the first device type, it is controlled not to perform NFC communication with the NFC device. In this case, when the terminal device is near the NFC device, the NFC device is not activated to avoid NFC communication. If the terminal device is determined to be of the second device type, it is controlled to perform NFC communication with the NFC device. In this case, the NFC device is activated and the NFC communication is completed. Thus, controlling whether the terminal device performs NFC communication with the NFC device based on its device type allows for simpler and more efficient control of the NFC device, effectively reducing unnecessary NFC communication and improving the user experience.

[0037] The first device type mentioned above can be one that does not require device authentication, while the second device type can be one that does require device authentication. This authentication is 3C certification (China Compulsory Certification), which involves 3C digital key authentication of the terminal device. This 3C digital key authentication uses standardized radio technologies, such as NFC, BLE (Bluetooth Low Energy), and UWB (Ultra-Wideband), to achieve secure communication between the vehicle and the device. During authentication, asymmetric cryptography is used to mutually sign and authenticate the vehicle and the device. Only by using the private key corresponding to the public key stored in the vehicle to perform signature calculations can the vehicle unlock, lock, start the engine, and perform other functions. Thus, by using NFC devices to perform 3C digital key authentication only on terminal devices of the second device type, it effectively avoids authenticating all nearby terminal devices, thereby reducing unnecessary authentication processes and improving the user experience.

[0038] In this embodiment, after determining that the nearby terminal device is a second device type, the user can choose whether to control the terminal device to communicate with the NFC device via NFC. Upon the user's choice, the NFC device is activated to open the NFC field, and then the card activation process begins. The system checks whether the terminal device has undergone 3C certification. If it hasn't, a card activation transaction prompt is displayed to remind the user. When the user chooses to perform a card activation transaction, the terminal device pops up an NFC wallet for the transaction. If the user chooses not to perform a card activation transaction, the card activation process ends, the NFC device is turned off, and other operations are performed. If the terminal device has undergone 3C certification, the card activation process ends, the NFC device is turned off, and other operations are performed. For example, for an Apple phone, when it approaches a device with an NFC device, the NFC device activates, and after determining that the phone hasn't undergone 3C certification, the phone's interface will pop up an NFC wallet for the transaction. If the user chooses not to communicate with the NFC device, the NFC device remains off. The aforementioned NFC field is an electromagnetic field formed between an NFC device and a nearby terminal device after the NFC device is activated. This electromagnetic field enables data interaction and information transmission between the two devices. Card activation transactions refer to writing information about NFC-enabled devices, such as NFC-enabled access cards, public transport cards, and vehicle data keys, into a nearby terminal device using specific methods such as defined software and services. This allows the terminal device to simulate the functions of the aforementioned devices. For example, writing information about a vehicle digital key into a mobile phone enables the phone to function as a digital key and unlock the vehicle. The aforementioned action of a terminal device popping out an NFC wallet application is considered a card pop-out operation. An NFC wallet is an application based on near-field communication technology that allows users to integrate information from various payment and identity verification cards, such as bank cards, public transport cards, and access cards, into a single digital wallet and perform contactless payments and identity verification through NFC-enabled smart devices. By allowing NFC communication only between terminal devices requiring device authentication and the NFC communication device, unnecessary card activation transactions can be reduced, thereby decreasing the number of card pop-out operations and improving the user experience.

[0039] In some embodiments, the NFC device can be integrated with a wireless charging device in the same device, for example, within a wireless charging device. In this case, the terminal device can be a device that supports both NFC and wireless charging, such as a mobile phone, watch, or tablet. Taking the integration of the NFC device with a wireless charging device as an example, if the terminal device's device type is determined to be a first device type, the wireless charging device within the wireless charging device can be used to charge the terminal device directly. However, if the terminal device's device type is determined to be a second device type, the NFC device within the wireless charging device can first communicate with the terminal device via NFC. After the communication is complete, the charging device within the wireless charging device can then be used to charge the terminal device. This not only reduces unnecessary device authentication and significantly decreases the number of times the SIM card is ejected from the terminal device, but also improves the compatibility of the wireless charging device, thereby enhancing the overall user experience. The wireless charging device can charge devices that support wireless charging. Wireless charging is a contactless power transfer technology that utilizes electromagnetic induction, electromagnetic resonance, radio frequency, microwave, or laser methods to transfer electrical energy through the air medium, thus completing the charging of the device.

[0040] In some embodiments, the wireless charging device described above can be installed inside the vehicle, such as around the central control screen or in the center armrest. This satisfies the user's need for convenient charging while avoiding situations where improper placement of the charging device may interfere with driving, thereby improving the user experience.

[0041] In this embodiment of the application, before activating the NFC device, the wireless charging device needs to be turned off. Before determining that the terminal device belongs to the second device type and before determining that it is communicating with the NFC device via NFC, the wireless charging device of the wireless charging device near the terminal device needs to be turned off. This can effectively avoid the impact of the wireless charging device on NFC transactions, thereby improving the user experience.

[0042] In some embodiments, when charging a terminal device using a wireless charging device, a card protection detection can be performed first, and then the terminal device can be charged, as shown in Figure 2, including the following steps:

[0043] Step 201: Perform card protection detection and obtain the detection results;

[0044] After determining that the terminal device belongs to the first device type, or the second device type, and controlling the NFC device to establish NFC communication with it, card protection detection can be performed. This involves detecting whether a physical card supporting NFC functionality, such as an NFC-enabled bus card or access card, exists on the wireless charging device or within a preset range. After detection, a corresponding detection result is generated; for example, detection can be performed on an area within 10cm of the wireless charging device. The wireless charging device generates electromagnetic waves. When the aforementioned physical card is present on the wireless charging device or within the preset range, the chip inside the card senses these electromagnetic waves and generates a corresponding response, thus completing the card protection detection. The preset range is a detection range set based on the performance parameters of the wireless charging device and safety considerations, and its value can be adjusted according to the needs of actual applications.

[0045] Step 202: Based on the detection results, charge the terminal device using a wireless charging device.

[0046] Based on step 201, according to the generated detection results, it is determined when to use the wireless charging device to charge the terminal device. If the detection result indicates the presence of a physical card (i.e., a physical card supporting NFC functionality exists on the wireless charging device or within a preset range), charging the terminal device is prohibited, and the user is reminded to remove the physical card to prevent it from being burned during wireless charging. After the user removes the physical card, the terminal device is then charged using the wireless charging device. Conversely, if the detection result indicates the absence of a physical card (i.e., no physical card supporting NFC functionality exists on the wireless charging device or within a preset range), the terminal device is immediately charged using the wireless charging device. This card protection detection before charging the terminal device not only effectively protects the NFC physical card from damage but also ensures the safety and efficiency of the charging process, thereby improving the user experience and ease of device use.

[0047] In some embodiments, before acquiring device information from a nearby terminal device, the states of each device within the wireless charging device can be set to determine the operating mode of the wireless charging device. For example, after the wireless charging device is initialized, its included wireless charging devices can be set to standby mode, while the NFC devices can be set to off mode. This ensures that the wireless charging device is in wireless charging mode and waits for other devices, such as a terminal device, to approach. This setting not only improves the working efficiency of the wireless charging device but also reduces unnecessary device authentication by the terminal device, thereby reducing the number of times the terminal device needs to eject its SIM card, and ultimately improving the overall user experience. The aforementioned standby state refers to the state where the wireless charging device remains on but does not perform actual charging operations.

[0048] In some embodiments, before acquiring device information of a nearby terminal device, or during the process of charging the terminal device using a wireless charging device, in response to the wireless charging device receiving a trigger command, a corresponding operation is performed according to the aforementioned command. As shown in Figure 3, the steps include:

[0049] Step 301: Receive trigger command;

[0050] The trigger-type instructions include card activation instructions and card reading instructions. Card activation instructions are used to instruct the terminal device to perform a card activation operation, that is, to write the relevant information of NFC-enabled devices, such as NFC-enabled access control cards, public transport cards, and vehicle data keys, into the nearby terminal device through specified software, services, or other specific methods, so that it can simulate the functions of the aforementioned devices. For example, writing the relevant information of a vehicle data key into a mobile phone enables it to function as a vehicle digital key. Card reading instructions are used to instruct the terminal device to perform a card reading operation, that is, to read the relevant information of an NFC-enabled physical card in a contactless manner, such as the physical card's identifier, balance, and transaction history. The specific information read is determined by the type and purpose of the physical card.

[0051] In this embodiment, the aforementioned triggered instructions can be generated in various ways, such as by the user triggering the terminal device or the user triggering the local device. The user performs a preset operation on the terminal device or the local device, such as a wireless device, to generate the corresponding instruction. For example, when the NFC page is opened on a mobile phone and the function button for opening or reading a card is selected, the system will immediately generate an instruction for opening or reading the card.

[0052] Step 302: Based on the trigger command, turn off the wireless charging device and switch to NFC communication between the NFC device and the terminal device.

[0053] Based on step 301, after receiving the trigger command, the wireless charging device can execute the corresponding operation according to the trigger command. Upon receiving the trigger command, the wireless charging device first shuts down its built-in wireless charging unit, then switches to NFC operation and communicates with the terminal device via NFC, i.e., performs operations such as card activation and card reading on the terminal device. For example, after receiving a card activation command generated by a mobile phone, the in-vehicle wireless charging device can write the relevant information of the vehicle's digital key into the mobile phone, enabling it to function as a vehicle's digital key.

[0054] In some embodiments, after the wireless charging device switches to an NFC device and establishes NFC communication with the terminal device, the state of the devices included in the wireless charging device can be adjusted to ensure that the wireless charging device is in wireless charging mode for subsequent operations. After the wireless charging device completes NFC communication with the terminal device, the NFC device is turned off, and then the wireless charging device is switched to a standby state to allow subsequent use of the wireless charging device to charge the terminal device.

[0055] In this embodiment, when it is determined that the terminal device has finished charging, or when the user removes the terminal device from the wireless charging device, the wireless charging device automatically adjusts its built-in wireless charging state, switching from charging to standby mode and waiting for other terminal devices to approach. When the terminal device or the wireless charging device indicates that charging is complete, or when the phone is removed by the user, the wireless charging device switches from charging to standby mode and waits for other terminal devices to approach. For example, the phone screen lights up and displays "Charging Complete" to notify the user that charging is finished. This improves the flexibility and efficiency of the wireless charging device, providing users with a more convenient and intelligent charging experience.

[0056] In this embodiment of the application, when the terminal device is a mobile phone and the wireless charging device is an in-vehicle wireless charging device, the process of using the above-mentioned wireless charging control method to charge the mobile phone is shown in Figure 4, including the following steps:

[0057] Step 401: Initialize the vehicle-mounted wireless charging device;

[0058] Before using the in-vehicle wireless charging device to charge your phone, you need to initialize the device by setting its built-in wireless charging device to standby mode and the NFC device to be turned off, so that the wireless charging device can be used to identify the type of phone.

[0059] Step 402: Determine the type of mobile phone;

[0060] Based on step 401, the mobile phone is brought close to the vehicle wireless charging device, and the device information of the mobile phone is obtained through wireless charging communication to determine the type of the mobile phone. If it belongs to the second device type, step 403 is executed; otherwise, step 405 is executed.

[0061] Step 403: Establish NFC communication between the mobile phone and the NFC device;

[0062] In step 402 above, if the mobile phone is determined to be a second type of device, the wireless charging device is turned off, and the mobile phone communicates with the NFC device via NFC. This enables the NFC device to perform transactions such as card opening and card reading. For example, the relevant information of the vehicle digital key is written into the mobile phone so that it can perform the relevant functions of the vehicle digital key.

[0063] Step 404: Determine whether the NFC communication of the mobile phone has ended or the NFC communication has timed out;

[0064] Based on step 403, it is determined whether the NFC communication of the mobile phone has ended or the NFC communication has timed out. If the NFC communication of the mobile phone ends or the NFC communication times out, that is, after the card opening transaction is completed, step 405 is executed. Otherwise, the mobile phone continues to conduct NFC communication to complete the card opening transaction.

[0065] Step 405: Perform card protection detection;

[0066] After determining in step 402 that the mobile phone belongs to the first type of device, i.e., a mobile phone that does not need to perform NFC communication, or after determining in step 404 that the mobile phone's NFC communication has ended or the NFC communication has timed out, a card protection detection is performed on the vehicle wireless charging device to detect whether there is a physical card supporting NFC function on the device or within a preset range, and a detection result is generated.

[0067] Step 406: Determine whether charging the phone is permitted;

[0068] Based on step 405, according to the detection result of card protection detection, it is determined whether the vehicle wireless charging device allows the mobile phone to charge. If the detection result is that there is no physical card supporting NFC function, then step 407 is executed; otherwise, step 401 is executed.

[0069] Step 407: Charge the phone;

[0070] After determining in step 406 that the in-vehicle wireless charging device allows the mobile phone to be charged, the mobile phone is charged using the wireless charging device.

[0071] Step 408: Determine if the phone has finished charging or if the phone has been moved away;

[0072] Based on step 407, it is determined whether the phone has finished charging or has been moved away. If the phone has finished charging or has been moved away, step 401 is executed; otherwise, the phone continues to charge.

[0073] Step 409: Determine if the mobile phone has received a triggered SIM card activation command;

[0074] Based on step 401 or step 407, it is determined whether the mobile phone has received a triggered card activation command. If the mobile phone has received the triggered card activation command, for example, if the user opens the NFC page on the mobile phone and selects the card activation function button, then step 410 is executed; otherwise, subsequent operations are performed, such as continuing to charge the mobile phone.

[0075] Step 410: Adjust the device's status and perform the SIM card activation operation on the mobile phone;

[0076] In step 409 above, after determining that the mobile phone has received the triggered card opening instruction, the wireless charging device of the vehicle wireless charging equipment is turned off according to the instruction, and the NFC device is automatically switched to perform the card opening operation on the mobile phone.

[0077] Step 411: Determine if the card activation process is complete;

[0078] Based on step 410, it is determined whether the SIM card activation of the mobile phone has ended. If the SIM card activation of the mobile phone has ended, step 407 can be executed, or step 401 can be executed. Here, step 407 will be used as an example for explanation.

[0079] Step 412: Determine whether the mobile phone has received a triggered card reading command;

[0080] Based on step 401 or step 407, it is determined whether the mobile phone has received a triggered card reading command. If the mobile phone has received a triggered card reading command, for example, if the user opens the NFC page on the mobile phone and selects the card reading function button, then step 413 is executed; otherwise, subsequent operations are performed, such as continuing to charge the mobile phone.

[0081] Step 413: Adjust the device's status and perform a card reading operation on the mobile phone;

[0082] In step 412 above, after determining that the mobile phone has received the triggered card reading command, the wireless charging device of the vehicle wireless charging equipment is turned off according to the command, and the NFC device is automatically switched to perform a card reading operation on the mobile phone.

[0083] Step 414: Determine if the phone has finished reading the card.

[0084] Based on step 413, it is determined whether the mobile phone has finished reading the card. If the mobile phone has finished reading the card, step 407 can be executed, or step 401 can be executed. Here, we will take executing step 407 as an example.

[0085] In the embodiments of this application, the aforementioned functional devices, such as wireless charging devices and NFC devices, can be integrated into a single processing device or equipment, or each device can exist physically separately or in different devices, or two or more devices can be integrated into one device. The integrated device can be implemented in hardware or in a combination of hardware and software functional devices.

[0086] This application also provides an electronic device, as shown in FIG5, which includes a processor 11 and a memory 12. The memory 12 stores computer instructions that can be executed on the processor. When the computer instructions are executed by the processor, they implement the steps of the control method of the NFC device as shown in FIG1-FIG4.

[0087] This application also provides a vehicle, as shown in FIG6, which includes the electronic device 21 described in FIG5, wherein the memory of the electronic device stores computer instructions that can run on a processor, and when the computer instructions are executed by the processor, implement the steps of the control method of the NFC device described in FIG1-FIG4.

[0088] This application also provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, implement the steps of the control method for the NFC device as shown in Figures 1-4.

[0089] This application provides a computer program product in which computer instructions, when executed by a processor, implement the steps of the control method for the NFC device as shown in Figures 1-4.

[0090] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0091] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of computer software products plus necessary general-purpose hardware platforms, and of course, they can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM (Read-Only Memory), RAM (Random Access Memory), magnetic disk, optical disk, etc.), and includes several instructions to cause the terminal or network-side device to execute the methods described in the various embodiments of this application.

[0092] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are illustrative and not restrictive. Those skilled in the art can make many other implementations under the guidance of this application without departing from the spirit and scope of the claims. All of these implementations are within the protection scope of this application.

Claims

1. A control method of an NFC device, wherein, The method comprises: acquiring device information of a terminal device in proximity; controlling whether the NFC device performs NFC communication according to the device information of the terminal device.

2. The method of claim 1, wherein, The acquisition of the device information of the terminal device in proximity comprises: acquiring the device information of the terminal device through a non-NFC communication mode in response to the terminal device being in proximity.

3. The method of claim 2, wherein, The non-NFC communication mode comprises at least one of Bluetooth, WiFi, and wireless charging communication.

4. The method of any one of claims 1-3, wherein, The device information is used to represent a device type of the terminal device, and the control of whether the NFC device performs NFC communication according to the device information of the terminal device comprises: controlling the terminal device not to perform NFC communication in response to the device type being a first device type.

5. The method of claim 4, wherein, The first device type is a device authentication type that does not need to be performed.

6. The method of claim 4 or 5, wherein, The method further comprises: directly charging the terminal device by using a wireless charging device.

7. The method of claim 1, wherein, The device information is used to represent a device type of the terminal device, and the control whether the NFC device performs NFC communication according to the device information of the terminal device comprises: controllin the terminal device to perform NFC communication in response to the device type being a second device type.

8. The method of claim 7, wherein, The second device type is a device authentication type that needs to be performed.

9. The method of claim 7, wherein, The device authentication is 3C authentication, and the control of the terminal device to perform NFC communication comprises: starting the NFC device and performing NFC communication with the terminal device, and performing a card opening transaction in the NFC communication process.

10. The method of any one of claims 7-9, wherein, After the control of the terminal device to perform NFC communication, the method further comprises: charging the terminal device by using a wireless charging device.

11. The method of claim 10, wherein, Before the control of the terminal device to perform NFC communication, the method further comprises: turning off the wireless charging device.

12. The method of claim 6 or 10, wherein, The charging of the terminal device by using the wireless charging device comprises: performing card protection detection to obtain a detection result; based on the detection result, charging the terminal device by using the wireless charging device.

13. The method of claim 12, wherein, The performance of card protection detection to obtain the detection result comprises: detecting whether an NFC physical card exists within a preset range. The charging of the terminal device by using the wireless charging device based on the detection result comprises: when it is determined that no NFC physical card exists within a preset area, charging the terminal device by using the wireless charging device.

14. The method of any one of claims 1-13, wherein, The device information comprises at least one of a device model, a device brand, and an operating system.

15. The method of any one of claims 1-14, wherein, Before the acquisition of the device information of the terminal device in proximity, the method comprises: determining that the wireless charging device is in a standby state, and that the NFC device is in an off state.

16. The method of any one of claims 1-15, wherein, The method further comprises: receiving a trigger instruction; based on the trigger instruction, turning off the wireless charging device and switching to the NFC device performing NFC communication with the terminal device.

17. The method of claim 16, wherein, The trigger instruction comprises a card opening instruction and / or a card reading instruction.

18. The method of claim 17, wherein, After the switching to the NFC device performing NFC communication with the terminal device, the method further comprises: turning off the NFC device, switching to the wireless charging device, and determining that the wireless charging device is in a standby state.

19. The method of claim 17 or 18, wherein, The trigger instruction can be obtained by a user triggering one of the terminal device or the local device.

20. An electronic device, comprising: Comprising: a processor and a memory storing computer instructions executable on the processor, the computer instructions, when executed by the processor, implementing the control method of the NFC device according to any one of claims 1 to 19.

21. A vehicle, wherein, The electronic device of claim 20, wherein the memory of the electronic device stores computer instructions executable on the processor, the computer instructions, when executed by the processor, implementing the control method of the NFC device according to any one of claims 1 to 19.

22. A computer readable storage medium, wherein, The computer instructions stored on the readable storage medium, the computer instructions, when executed by the processor, implementing the control method of the NFC device according to any one of claims 1 to 19.

23. A computer program product, wherein, The computer instructions in the computer program product, the computer instructions, when executed by the processor, implementing the control method of the NFC device according to any one of claims 1 to 19.