WO2021134234A1 - Nfc通讯控制方法、装置、设备及计算机存储介质 - Google Patents

Nfc通讯控制方法、装置、设备及计算机存储介质 Download PDF

Info

Publication number
WO2021134234A1
WO2021134234A1 PCT/CN2019/129984 CN2019129984W WO2021134234A1 WO 2021134234 A1 WO2021134234 A1 WO 2021134234A1 CN 2019129984 W CN2019129984 W CN 2019129984W WO 2021134234 A1 WO2021134234 A1 WO 2021134234A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
radio frequency
electronic device
nfc communication
nfc
Prior art date
Application number
PCT/CN2019/129984
Other languages
English (en)
French (fr)
Inventor
张国庆
Original Assignee
歌尔股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 歌尔股份有限公司 filed Critical 歌尔股份有限公司
Priority to PCT/CN2019/129984 priority Critical patent/WO2021134234A1/zh
Publication of WO2021134234A1 publication Critical patent/WO2021134234A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/20Circuit arrangements or systems for wireless supply or distribution of electric power using microwaves or radio frequency waves
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers

Definitions

  • This application relates to the field of wireless charging technology, and in particular to an NFC communication control method, device, equipment, and computer storage medium.
  • the contacts are metal components, and the aging of the metal components will reduce the conductivity, and the contacts are in the charging plug of the charging chip. Wear and tear may occur during the pulling process, which will affect the normal data communication function of the contact. Therefore, the traditional contact contact communication method easily deteriorates the communication function between the electronic device and the power device, thereby reducing the communication efficiency between the electronic device and the power device, affecting the normal adjustment of the charging method, and then reducing the charging efficiency and affecting the electronic device. Normal use.
  • the main purpose of this application is to provide an NFC communication control method, device, device, and computer storage medium, aiming to improve the efficiency of data communication between the electronic device and the power supply device, thereby improving the charging efficiency.
  • an embodiment of the present application provides an NFC communication control method, and the NFC communication control method includes:
  • a preset charging radio frequency field is activated for charging the electronic device.
  • the method further includes:
  • the step of activating a preset charging radio frequency field according to the first charging radio frequency power for charging the electronic device includes:
  • a preset charging radio frequency field is activated according to the first charging radio frequency power for charging the electronic device.
  • the method further includes:
  • the charging radio frequency field is stopped, and an alarm indication sound is output.
  • the step of obtaining the first charging request information of the device information includes:
  • the charging status of the device information is detected
  • the NFC communication control method includes:
  • the charging radio frequency field is turned off to stop charging the electronic device.
  • the step of acquiring the device information of the electronic device based on NFC wireless communication includes:
  • NFC communication request of the electronic device If the NFC communication request of the electronic device is detected, obtain the current first NFC communication version, and obtain the second NFC communication version of the electronic device according to the NFC communication request;
  • the device information of the electronic device is acquired based on NFC wireless communication.
  • the present application also provides an NFC communication control device, and the NFC communication control device includes:
  • the request module is configured to obtain the device information of the electronic device based on NFC wireless communication if the NFC communication request of the electronic device is detected;
  • the power module is configured to obtain the first charging request information of the device information, and determine the first charging radio frequency power according to the first charging request information;
  • the activation module is configured to activate a preset charging radio frequency field according to the first charging radio frequency power for charging the electronic device.
  • the NFC communication control device further includes:
  • An obtaining module configured to obtain the second charging request information of the electronic device based on NFC wireless communication every first preset time
  • a determining module configured to determine the second charging radio frequency power according to the second charging request information
  • the adjustment module is configured to adjust the power of the charging radio frequency field according to the second charging radio frequency power if the second charging radio frequency power is inconsistent with the first charging radio frequency power.
  • the startup module includes:
  • the first obtaining unit is configured to obtain the current radio frequency power available for charging
  • the first determining unit is configured to send a first prompt message of insufficient power to the electronic device based on NFC wireless communication if the available charging radio frequency power is less than the first charging radio frequency power;
  • the second determining unit is configured to, if the available charging radio frequency power is greater than or equal to the first charging radio frequency power, start a preset charging radio frequency field according to the first charging radio frequency power for the electronic device to perform Recharge.
  • the NFC communication control device further includes:
  • the power change module is used to obtain the power change value sent by the electronic device based on NFC wireless communication in real time;
  • the stop module is configured to stop the charging radio frequency field and output an alarm indication sound if it is detected that the power change value is greater than the first warning value within the second preset time period.
  • the power module further includes:
  • the status unit is used to detect the charging status of the device information
  • a judging unit for judging whether there is peripheral charging information in the charging state
  • the rejection unit is configured to, if yes, reject the NFC communication request based on NFC wireless communication
  • the second acquiring unit is configured to, if not, acquire the first charging request information of the device information.
  • the NFC communication control device includes:
  • the temperature module is used to obtain the current first real-time temperature, and obtain the second real-time temperature of the electronic device based on NFC wireless communication;
  • the shutdown module is configured to shut down the charging radio frequency field to stop charging the electronic device if it is detected that the first real-time temperature or the second real-time temperature is greater than a second warning value.
  • the request module includes:
  • the detecting unit is configured to obtain the current first NFC communication version if the NFC communication request of the electronic device is detected, and obtain the second NFC communication version of the electronic device according to the NFC communication request;
  • the inconsistency unit is configured to send a second prompt message for updating the NFC communication version to the electronic device if the first NFC communication version is inconsistent with the second NFC communication version;
  • the consistency unit is configured to obtain the device information of the electronic device based on NFC wireless communication if the first NFC communication version is consistent with the second NFC communication version.
  • the present application also provides a device, the device including: a memory, a processor, and an NFC communication control program stored on the memory and running on the processor, wherein:
  • this application also provides a computer storage medium
  • the computer storage medium stores an NFC communication control program, and when the NFC communication control program is executed by a processor, the steps of the above-mentioned NFC communication control method are realized.
  • the device information of the electronic device is obtained based on NFC wireless communication; the first charging request information of the device information is obtained, and the first charging request information is determined according to the first charging request information.
  • Metal aging or contact wear causes abnormal data communication to occur, thereby improving the efficiency of data communication between electronic equipment and power supply equipment, ensuring the normal interaction of charging data between electronic equipment and power supply equipment, so as to ensure that the power supply equipment can be based on the electronic equipment in real time.
  • the charging data of the device adjusts the charging method, thereby improving the charging efficiency and ensuring the normal use of the electronic device.
  • FIG. 1 is a schematic diagram of a device structure of a hardware operating environment involved in a solution of an embodiment of the application
  • FIG. 2 is a schematic flowchart of an embodiment of an NFC communication control method according to this application.
  • FIG. 3 is a schematic diagram of interaction of an embodiment of the NFC communication control method of this application.
  • the main idea of the solution in the embodiments of the present application is: if the NFC communication request of the electronic device is detected, the device information of the electronic device is obtained based on NFC wireless communication; the first charging request information of the device information is obtained, and according to the The first charging request information determines the first charging radio frequency power; according to the first charging radio frequency power, a preset charging radio frequency field is activated for the electronic device to charge.
  • this application converts the traditional contact contact communication method to the NFC communication control method, so that the electronic device and the power supply device can communicate with each other through NFC communication, avoiding the traditional contact contact communication due to the contact.
  • Metal aging or contact wear causes abnormal data communication to occur, thereby improving the efficiency of data communication between electronic equipment and power supply equipment, ensuring the normal interaction of charging data between electronic equipment and power supply equipment, so as to ensure that the power supply equipment can be based on the electronic equipment in real time.
  • the charging data of the device adjusts the charging method, thereby improving the charging efficiency and ensuring the normal use of the electronic device.
  • the charging contact is a metal element
  • the aging of the metal element will reduce the conductivity, and the contact may wear out during the charging and plugging process of the charging chip, which affects the normal operation of the contact.
  • Data communication function Therefore, the traditional contact contact communication method easily deteriorates the communication function between the electronic device and the power device, thereby reducing the communication efficiency between the electronic device and the power device, affecting the normal adjustment of the charging method, and then reducing the charging efficiency and affecting the electronic device. Normal use.
  • This application provides a solution.
  • this application converts the traditional contact communication method to the NFC communication control method, so that the electronic device and the power supply device can communicate with each other through NFC communication, avoiding
  • abnormal data communication occurs due to the aging of the contact metal or wear of the contact, which improves the efficiency of data communication between the electronic device and the power supply device, and ensures the normal interaction of charging data between the electronic device and the power supply device , So as to ensure that the power supply device can adjust the charging method according to the charging data of the electronic device in real time, thereby improving the charging efficiency and ensuring the normal use of the electronic device.
  • FIG. 1 is a schematic diagram of the device structure of the hardware operating environment involved in the solution of the embodiment of the present application.
  • the device in the embodiment of the present application may be a PC or a server device.
  • the device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as a magnetic disk memory.
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
  • FIG. 1 does not constitute a limitation on the device, and may include more or fewer components than those shown in the figure, or a combination of certain components, or different component arrangements.
  • the memory 1005 which is a computer storage medium, may include an operating system, a network communication module, a user interface module, and an NFC communication control program.
  • the network interface 1004 is mainly used to connect to the back-end server and communicate with the back-end server; the user interface 1003 is mainly used to connect to the client (user side) and communicate with the client; and the processor 1001 can be used to call the NFC communication control program stored in the memory 1005, and perform operations in the following various embodiments of the NFC communication control method.
  • the NFC communication control method includes:
  • Step S10 if the NFC communication request of the electronic device is detected, the device information of the electronic device is acquired based on NFC wireless communication;
  • Step S20 Obtain the first charging request information of the device information, and determine the first charging radio frequency power according to the first charging request information;
  • step S30 a preset charging radio frequency field is activated according to the first charging radio frequency power for charging the electronic device.
  • the NFC communication control method is mainly applied to power supply equipment.
  • the equipment involved in the method can be mobile terminals (such as mobile phones and power banks, tablets and charging power supplies, etc.), wearable devices (such as smart bracelets and bracelets). Power banks, TWS headsets and charging boxes, smart glasses and charging boxes, etc.), fixed terminals (such as smart fans and power supplies, smart water purifiers and power supplies, etc.).
  • the specific content is as follows:
  • Step S10 if the NFC communication request of the electronic device is detected, the device information of the electronic device is acquired based on NFC wireless communication;
  • NFC Near Field Communication
  • RFID radio frequency identification
  • interconnection technologies integrates inductive card readers and sensors on a single chip.
  • the functions of smart cards and point-to-point communication use mobile terminals to realize applications such as mobile payment, electronic ticketing, access control, mobile identification, and anti-counterfeiting.
  • Both the electronic device and the power supply device are provided with an NFC communication module, and the electronic device and the power supply device can realize data interaction between the two through the NFC communication module. Therefore, the charging data interaction between the electronic device and the power supply device can also be realized through NFC communication. Since NFC communication belongs to wireless communication, after the power supply device obtains the NFC communication request of the electronic device, it will obtain the device information of the power supply device through NFC wireless communication.
  • the device information refers to device status information of the current electronic device.
  • the step of acquiring the device information of the electronic device based on NFC wireless communication includes:
  • Step A1 if the NFC communication request of the electronic device is detected, obtain the current first NFC communication version, and obtain the second NFC communication version of the electronic device according to the NFC communication request;
  • Step A2 if the first NFC communication version is inconsistent with the second NFC communication version, sending a second prompt message for updating the NFC communication version to the electronic device;
  • Step A3 If the first NFC communication version is consistent with the second NFC communication version, the device information of the electronic device is acquired based on NFC wireless communication.
  • the power supply device needs to ensure that the NFC communication versions of the two are the same before obtaining the device information of the electronic device.
  • the power supply device obtains the current first NFC communication version of its own, and parses out the second NFC communication version of the electronic device included in the NFC communication request. NFC communication version.
  • the power supply device compares the first NFC communication version with the second NFC communication version. If the two are inconsistent, it will prompt the electronic device to update the NFC communication version.
  • the chip of the electronic device is burned into the latest version at the factory.
  • the version of the NFC communication version, and the NFC communication version data package on the power supply device can be obtained through the communication process with the power supply device to ensure real-time updates.
  • Step S20 Obtain the first charging request information of the device information, and determine the first charging radio frequency power according to the first charging request information;
  • the power supply device When the power supply device obtains the device information, it parses the first charging request information obtained in the device information.
  • the first charging request information refers to the current required charging power of the electronic device, the required charging voltage, and the charging mode , The charging power and other required charging specification information.
  • the power supply device can adjust its own charging chip according to the first charging request information to meet the current charging specifications of the electronic device.
  • the electronic device specifies the power required to charge the electronic device as the first charging radio frequency power to the power supply device through the first charging request information.
  • the power supply device adjusts the parameters of the charging chip according to the first charging request information, and determines the charging power of the power supply device to the electronic device according to the specification information of the electronic device in the first charging request information.
  • the step of obtaining the first charging request information of the device information includes:
  • Step B1 detecting the charging status of the device information
  • Step B2 judging whether there is peripheral charging information in the charging state
  • Step B3 if yes, reject the NFC communication request based on NFC wireless communication
  • Step B4 if not, obtain the first charging request information of the device information.
  • the power supply device acquires the charging state in the device information, and the charging state includes current charging device state information, charging voltage information, and so on.
  • the electronic device can support multiple charging methods, such as radio frequency field charging through NFC wireless communication and power supply equipment, inductive charging through a charging board of the QI protocol, and so on. Assuming that the user charges the electronic device through the external device at this time, the current electronic device not only recharges the power through the external device, but also replenishes the power through the radio frequency field of the power supply device. If two kinds of charging are used to replenish power, it is easy to cause accidents in electronic devices.
  • the charging status includes peripheral charging information
  • the power supply device needs to reject the NFC communication request of the electronic device through NFC wireless communication, to avoid accidents; if there is no peripheral charging information in the charging state, it proves that the electronic device can be charged by the power supply device. At this time, obtain the device information The first charging request information.
  • step S30 a preset charging radio frequency field is activated according to the first charging radio frequency power for charging the electronic device.
  • the power supply device will charge the electronic device when it receives a charging request from the electronic device.
  • the way for the power supply device to charge the electronic device is to emit an electromagnetic induction magnetic field through the charging radio frequency field, which is induced by the electronic device in the coil and rectified and filtered, so that the electronic device obtains power. Therefore, after the power supply device obtains the first charging radio frequency power, it will start the charging radio frequency field preset by the power supply device itself, and determine and adjust the current magnetic field strength and direction of the charging radio frequency field through the first charging radio frequency power determined by the charging chip. and many more. In this way, the power supply device can determine whether to charge the electronic device and the charging power required by the electronic device during the NFC communication with the electronic device, and adjust the parameters of the charging radio frequency factory through the charging chip to achieve the charging power. To charge electronic devices.
  • the electronic device shown in Figure 3 is a TWS headset (Listener), and the power device shown is a charging box (Poller).
  • the charging box There are two chips in the charging box: Application Processor and NFC Poller.
  • Application Processor uses NFC Poller to control NFC Wireless charging and receiving the data sent by the NTAG chip in the TWS headset.
  • the charging power in the charging box can come from the battery and USB.
  • the NTAG chip is used for protocol interaction with the charging box for wireless charging, and the interaction information is transmitted to the MCU chip; the MCU chip is used to process all the information control instructions of the TWS headset.
  • the status information of the CHARGER chip determine the next charging power and other information and use the NTAG chip to transmit the control information to the charging box.
  • the CHARGER chip saves the current status information of the battery power of the TWS headset.
  • the TWS headset controls the NTAG chip to transmit an NFC communication request to the charging box through the MCU chip.
  • the charging box obtains the device information in the NFC communication request.
  • the device information includes the first charging request information, such as the specification information for charging the TWS headset.
  • the charging box can adjust its own charging parameters under the control of the Application Processor to adapt to the charging required by the TWS headset
  • the specification information of the TWS headset reaches the first charging RF power required by the TWS headset.
  • the first charging request information indicates that the current TWS headset requires a static charging mode, that is, a high-power charging mode that requires large voltage and high current.
  • the charging box will adjust the RF field in the current charging box according to the charging requirements of the high-power charging mode.
  • the charging parameters enable the radio frequency field to be adjusted to the high-power charging output mode for high-power charging of the TWS headset.
  • the step of activating a preset charging radio frequency field according to the first charging radio frequency power for charging the electronic device includes:
  • Step C1 obtaining the current RF power available for charging
  • Step C2 if the available charging radio frequency power is less than the first charging radio frequency power, sending a first prompt message of insufficient power to the electronic device based on NFC wireless communication;
  • Step C3 If the available charging radio frequency power is greater than or equal to the first charging radio frequency power, a preset charging radio frequency field is activated according to the first charging radio frequency power for charging the electronic device.
  • the radio frequency power available for charging refers to the charging power that the power supply device can provide to the electronic device under the condition that the power supply device can ensure the normal operation of its own device.
  • the standard to ensure the normal operation of the power supply device is that after the power supply device provides the electronic device with the required electrical power, it can still perform its own device functions normally within the preset time, for example, even if the power supply device provides the electronic device After the 10W power capacity that meets the headset specifications, it can still maintain normal operation within 15 minutes. Then the 10W power quantity is the current RF power available for charging of the power supply device.
  • the power supply device may not be able to provide sufficient charging power for the electronic device.
  • the first charging request information of the electronic device indicates that the first charging radio frequency power is 15W, and the current power supply device adjusts the charging according to the power situation.
  • the maximum power that the parameter can give is only 5W. That is to say, the available charging radio frequency power is less than the first charging radio frequency power, and the current power supply device cannot provide sufficient output charging power for the electronic device. Even if the power supply device charges the electronic device, it cannot provide sufficient power.
  • the power supply device may not be able to be used normally due to insufficient power of its own device. Therefore, the first charging radio frequency power obtained based on the NFC wireless communication is compared with the available charging radio frequency power of the power supply device itself, and the charging control is performed according to the comparison result.
  • the power supply device When the power supply device detects that the available charging radio frequency power is less than the first charging radio frequency power, it will send a first prompt message of insufficient power to the electronic device based on NFC wireless communication, so that the electronic device can perform the headset power consumption according to the first prompt message. Adjust or prompt the user to recharge the battery manually.
  • the first prompt message may also include a forced charging trigger button, that is, the current electronic device needs to answer a certain message urgently, which has emergency timeliness, then the forced charging trigger button on the first prompt message can be triggered to generate a forced charging instruction, and Based on NFC wireless communication technology, it is transmitted to the power supply device to force the power supply device to start the charging radio frequency field to charge the electronic device.
  • the current power supply device determines that the first charging radio frequency power is 10W according to the first charging request, and the current power supply device’s available charging radio frequency power is 11W, and the available charging radio frequency power is greater than the first charging radio frequency power.
  • the first charging radio frequency power activates the preset charging radio frequency field to charge the electronic device.
  • this application if the NFC communication request of the electronic device is detected, the device information of the electronic device is acquired based on NFC wireless communication; the first charging request information of the device information is acquired, and the determination is made according to the first charging request information The first charging radio frequency power; according to the first charging radio frequency power, a preset charging radio frequency field is activated for the electronic device to charge.
  • Metal aging or contact wear causes abnormal data communication to occur, thereby improving the efficiency of data communication between electronic equipment and power supply equipment, ensuring the normal interaction of charging data between electronic equipment and power supply equipment, so as to ensure that the power supply equipment can be based on the electronic equipment in real time.
  • the charging data of the device adjusts the charging method, thereby improving the charging efficiency and ensuring the normal use of the electronic device.
  • the preset charging radio frequency field is activated according to the first charging radio frequency power for the After the step of charging the electronic device, it also includes:
  • Step a Acquire second charging request information of the electronic device based on NFC wireless communication every first preset time period;
  • Step b Determine the second charging radio frequency power according to the second charging request information
  • Step c If the second charging radio frequency power is inconsistent with the first charging radio frequency power, power adjustment is performed on the charging radio frequency field according to the second charging radio frequency power.
  • the power supply device When the power supply device is charging the electronic device, as the charging time increases, the amount of power in the electronic device will continue to increase. Assuming that the power in the electronic device is large, the charging power of the electronic device needs to be reduced to avoid damage to the battery in the electronic device or temperature rise due to excessive charging, which would affect the battery life. If the power in the electronic device is low and the current battery adapts to the charging state, the charging power of the electronic device needs to be increased to speed up the charging efficiency.
  • the power supply device and the electronic device are in NFC wireless communication, there is real-time data interaction between the power supply device and the electronic device, and corresponding charging interaction data are also transmitted to each other during the charging process.
  • the electronic device detects that the power of the headset itself is large, for example, when it reaches 80% of the required power, in order to ensure the continuous and normal operation of the battery of the electronic device, the electronic device will reduce the required charging power and use trickle charging for small Power charging.
  • the TWS detects that the headset itself has less power and the battery has adapted to the current charging state, the electronic device will increase the required charging power and use fast charging for high-power charging. It is understandable that these power adjustment data will be written into the second charging request information.
  • the power supply device will obtain the second charging request information of the electronic device through NFC wireless communication at a preset time interval, and determine the second request information The second charging radio frequency power in, the determination process is consistent with the first charging radio frequency power process. After obtaining the second charging radio frequency power, the power supply device compares the numerical value of the second charging radio frequency power and the first charging radio frequency power. If the second charging radio frequency power is different from the first charging radio frequency power, the power supply device needs to adjust the power of the charging radio frequency field according to the second charging radio frequency power, such as adjusting the magnetic field strength, the direction of the magnetic field, and so on.
  • the power supply device obtains the NFC wireless communication charging request of the electronic device every first preset time period, thereby adjusting its own charging radio frequency field power, and then adjusting the charging power output to the electronic device.
  • the method further includes:
  • Step d Acquire the power change value sent by the electronic device based on NFC wireless communication in real time
  • Step e If it is detected that the power change value is greater than the first warning value within the second preset time period, the charging radio frequency field is stopped, and an alarm indication sound is output.
  • the power supply device will perform detection to obtain the power change value sent by the electronic device based on NFC wireless communication.
  • the power change value refers to the change in the actual charging power of the electronic device during the adjacent unit time during the charging process. Amplitude. Assuming that the second preset duration is 5 seconds, if the actual charging power of the electronic device in the first second is 9W, the actual charging power in the second second is 10W, the actual charging power in the third second is 5W, and the actual charging power in the fourth second It is 11W, and the actual charging power in the 5th second is 6W. Then the power change value of the electronic device within 5 seconds is 1W, 5W, 6W, 5W.
  • This embodiment sets the first warning value. If the power change value is greater than the first warning value, it proves that the current charging is abnormal, and the power supply device needs to stop charging the electronic device to avoid accidents.
  • the first warning value is 3W
  • the above-mentioned power change value is greater than the first warning value (3W) in the second preset time period (5 seconds). At this time, the power supply device will stop charging the radio frequency.
  • the function of the field is to disconnect the charging connection between the power supply device and the electronic device, and emit an alarm indicator sound to remind the user.
  • the phenomenon that causes the power change value to be greater than the first warning value may be that there is an object that affects the magnetic field induction between the electronic device and the power device, such as a metal block; or it may be that the power device and the charging chip in the electronic device are short-circuited abnormally, causing charging The power change value of the process is too large, which affects normal charging.
  • the NFC communication control method includes:
  • Step f acquiring the current first real-time temperature, and acquiring the second real-time temperature of the electronic device based on NFC wireless communication;
  • step g if it is detected that the first real-time temperature or the second real-time temperature is greater than a second warning value, the charging radio frequency field is turned off to stop charging the electronic device.
  • the power supply device or the electronic device may not be able to realize the normal charging process because of the abnormality of the charging chip. For example, the circuit is short-circuited, the chip is burned out, etc. This abnormal situation may cause the temperature of the power supply and electronic equipment to rise, so real-time temperature detection of the power supply and electronic equipment is required.
  • the power supply device acquires the first real-time temperature of the device in real time, and acquires the second real-time temperature of the electronic device in real time through NFC wireless communication.
  • the second warning value refers to the warning reference value of the real-time charging temperature. If the first real-time temperature or the second real-time temperature is greater than the second warning value, it proves that the real-time charging temperature of the current power supply device or electronic device is abnormal and is in a dangerous state , There is a danger that the circuits of current electronic equipment and power supply equipment will explode due to excessive temperature. At this time, the power supply equipment will directly stop charging the electronic equipment by turning off the charging radio frequency field. It is understandable that NFC wireless communication can quickly exchange the real-time temperature of the two to avoid the situation that the traditional information communication method does not respond in time.
  • an embodiment of the present application also proposes an NFC communication control device, and the NFC communication control device includes:
  • the request module is configured to obtain the device information of the electronic device based on NFC wireless communication if the NFC communication request of the electronic device is detected;
  • the power module is configured to obtain the first charging request information of the device information, and determine the first charging radio frequency power according to the first charging request information;
  • the activation module is configured to activate a preset charging radio frequency field according to the first charging radio frequency power for charging the electronic device.
  • the NFC communication control device further includes:
  • An obtaining module configured to obtain the second charging request information of the electronic device based on NFC wireless communication every first preset time
  • a determining module configured to determine the second charging radio frequency power according to the second charging request information
  • the adjustment module is configured to adjust the power of the charging radio frequency field according to the second charging radio frequency power if the second charging radio frequency power is inconsistent with the first charging radio frequency power.
  • the startup module includes:
  • the first obtaining unit is configured to obtain the current radio frequency power available for charging
  • the first determining unit is configured to send a first prompt message of insufficient power to the electronic device based on NFC wireless communication if the available charging radio frequency power is less than the first charging radio frequency power;
  • the second determining unit is configured to, if the available charging radio frequency power is greater than or equal to the first charging radio frequency power, start a preset charging radio frequency field according to the first charging radio frequency power for the electronic device to perform Recharge.
  • the NFC communication control device further includes:
  • the power change module is used to obtain the power change value sent by the electronic device based on NFC wireless communication in real time;
  • the stop module is configured to stop the charging radio frequency field and output an alarm indication sound if it is detected that the power change value is greater than the first warning value within the second preset time period.
  • the power module further includes:
  • the status unit is used to detect the charging status of the device information
  • a judging unit for judging whether there is peripheral charging information in the charging state
  • the rejection unit is configured to, if yes, reject the NFC communication request based on NFC wireless communication
  • the second acquiring unit is configured to, if not, acquire the first charging request information of the device information.
  • the NFC communication control device includes:
  • the temperature module is used to obtain the current first real-time temperature, and obtain the second real-time temperature of the electronic device based on NFC wireless communication;
  • the shutdown module is configured to shut down the charging radio frequency field to stop charging the electronic device if it is detected that the first real-time temperature or the second real-time temperature is greater than a second warning value.
  • the request module includes:
  • the detecting unit is configured to obtain the current first NFC communication version if the NFC communication request of the electronic device is detected, and obtain the second NFC communication version of the electronic device according to the NFC communication request;
  • the inconsistency unit is configured to send a second prompt message for updating the NFC communication version to the electronic device if the first NFC communication version is inconsistent with the second NFC communication version;
  • the consistency unit is configured to obtain the device information of the electronic device based on NFC wireless communication if the first NFC communication version is consistent with the second NFC communication version.
  • an embodiment of the present application also proposes a device.
  • the device includes a memory 109, a processor 110, and an NFC communication control program stored on the memory 109 and running on the processor 110.
  • the NFC communication control program is controlled by the processor 110.
  • the steps of each embodiment of the above-mentioned NFC communication control method are realized.
  • the present application also provides a computer storage medium that stores an NFC communication control program, and the NFC communication control program can also be executed by a processor to implement the various embodiments of the above-mentioned NFC communication control method. step.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

本申请公开了一种NFC通讯控制方法、装置、设备及计算机存储介质,所述NFC通讯控制方法包括:若检测到电子设备的NFC通讯请求,则基于NFC无线通讯获取所述电子设备的设备信息;获取所述设备信息的第一充电请求信息,并根据所述第一充电请求信息确定第一充电射频功率;根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。本申请提高了电子设备与电源设备之间的数据通讯效率,从而提高充电效率。

Description

NFC通讯控制方法、装置、设备及计算机存储介质 技术领域
本申请涉及无线充电技术领域,尤其涉及一种NFC通讯控制方法、装置、设备及计算机存储介质。
背景技术
随着终端电子设备的快速发展,电子设备对电池电量的需求越来越高,因此电子设备的日常充电需求也越来越频繁。目前,大部分的电子设备充电方案都是通过触点接触进行充电,即电子设备上有一个设备触点,该设备触点上设置充电芯片,通过与其他电源设备进行触点接触,从而实现设备充电,同时电子设备在充电过程中,会通过触点与电源设备进行数据通讯,并根据通讯结果调整充电方式,从而为电子设备提供灵活的充电方案。
但是,以上这种通过触点接触实现电子设备与电源设备进行通讯的方式有很大的缺陷,例如触点是金属元件,而金属元件老化会降低导电性能,并且触点在充电芯片的充电插拔过程中可能发生磨损,影响触点正常的数据通讯功能。因此传统的触点接触的通讯方式容易劣化电子设备与电源设备之间的通讯功能,从而降低电子设备与电源设备之间的通讯效率,影响充电方式的正常调整,进而降低充电效率,影响电子设备的正常使用。
因此,如何提高电子设备与电源设备之间的数据通讯效率,进而提高充电效率,是当前亟待解决的技术问题。
发明内容
本申请的主要目的在于提供一种NFC通讯控制方法、装置、设备及计算机存储介质,旨在提高电子设备与电源设备之间的数据通讯效率,从而提高充电效率。
为实现上述目的,本申请实施例提供一种NFC通讯控制方法,所述NFC通讯控制方法包括:
若检测到电子设备的NFC通讯请求,则基于NFC无线通讯获取所述电子设备的设备信息;
获取所述设备信息的第一充电请求信息,并根据所述第一充电请求信息确定第一充电射频功率;
根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。
可选地,所述根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电的步骤之后还包括:
每隔第一预设时长基于NFC无线通讯获取所述电子设备的第二充电请求信息;
根据所述第二充电请求信息确定第二充电射频功率;
若所述第二充电射频功率与所述第一充电射频功率不一致,则根据所述第二充电射频功率对所述充电射频场进行功率调整。
可选地,所述根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电的步骤包括:
获取当前的可供充电射频功率;
若所述可供充电射频功率小于所述第一充电射频功率,则基于NFC无线通讯向所述电子设备发送功率不足的第一提示信息;
若所述可供充电射频功率大于或等于所述第一充电射频功率,则根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。
可选地,所述根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电的步骤之后还包括:
实时获取所述电子设备基于NFC无线通讯发送的功率变化值;
若在第二预设时长内检测到所述功率变化值大于第一警戒值,则停止所述充电射频场,并输出警报指示音。
可选地,所述获取所述设备信息的第一充电请求信息的步骤包括:
检测到设备信息的充电状态;
判断所述充电状态中是否存在外设充电信息;
若是,则基于NFC无线通讯拒绝所述NFC通讯请求;
若否,则获取所述设备信息的第一充电请求信息。
可选地,所述NFC通讯控制方法包括:
获取当前的第一实时温度,并基于NFC无线通讯获取所述电子设备的第二实时温度;
若检测到所述第一实时温度或第二实时温度大于第二警戒值,则关闭所述充电射频场,以停止向所述电子设备进行充电。
可选地,所述若检测到所述电子设备的NFC通讯请求,则基于NFC无线通讯获取所述电子设备的设备信息的步骤包括:
若检测到所述电子设备的NFC通讯请求,则获取当前的第一NFC通讯版本,并根据所述NFC通讯请求中获取所述电子设备的第二NFC通讯版本;
若所述第一NFC通讯版本与所述第二NFC通讯版本不一致,则向所述电子设备发送NFC通讯版本更新的第二提示信息;
若所述第一NFC通讯版本与所述第二NFC通讯版本一致,则基于NFC无线通讯获取所述电子设备的设备信息。
本申请还提供一种NFC通讯控制装置,所述NFC通讯控制装置包括:
请求模块,用于若检测到电子设备的NFC通讯请求,则基于NFC无线通讯获取所述电子设备的设备信息;
功率模块,用于获取所述设备信息的第一充电请求信息,并根据所述第一充电请求信息确定第一充电射频功率;
启动模块,用于根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。
可选地,所述NFC通讯控制装置还包括:
获取模块,用于每隔第一预设时长基于NFC无线通讯获取所述电子设备的第二充电请求信息;
确定模块,用于根据所述第二充电请求信息确定第二充电射频功率;
调整模块,用于若所述第二充电射频功率与所述第一充电射频功率不一致,则根据所述第二充电射频功率对所述充电射频场进行功率调整。
可选地,所述启动模块包括:
第一获取单元,用于获取当前的可供充电射频功率;
第一判断单元,用于若所述可供充电射频功率小于所述第一充电射频功 率,则基于NFC无线通讯向所述电子设备发送功率不足的第一提示信息;
第二判断单元,用于若所述可供充电射频功率大于或等于所述第一充电射频功率,则根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。
可选地,所述NFC通讯控制装置还包括:
功率变化模块,用于实时获取所述电子设备基于NFC无线通讯发送的功率变化值;
停止模块,用于若在第二预设时长内检测到所述功率变化值大于第一警戒值,则停止所述充电射频场,并输出警报指示音。
可选地,所述功率模块还包括:
状态单元,用于检测到设备信息的充电状态;
判断单元,用于判断所述充电状态中是否存在外设充电信息;
拒绝单元,用于若是,则基于NFC无线通讯拒绝所述NFC通讯请求;
第二获取单元,用于若否,则获取所述设备信息的第一充电请求信息。
可选地,所述NFC通讯控制装置包括:
温度模块,用于获取当前的第一实时温度,并基于NFC无线通讯获取所述电子设备的第二实时温度;
关闭模块,用于若检测到所述第一实时温度或第二实时温度大于第二警戒值,则关闭所述充电射频场,以停止向所述电子设备进行充电。
可选地,所述请求模块包括:
检测单元,用于若检测到所述电子设备的NFC通讯请求,则获取当前的第一NFC通讯版本,并根据所述NFC通讯请求中获取所述电子设备的第二NFC通讯版本;
不一致单元,用于若所述第一NFC通讯版本与所述第二NFC通讯版本不一致,则向所述电子设备发送NFC通讯版本更新的第二提示信息;
一致单元,用于若所述第一NFC通讯版本与所述第二NFC通讯版本一致,则基于NFC无线通讯获取所述电子设备的设备信息。
此外,为实现上述目的,本申请还提供一种设备,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的NFC通讯控制 程序,其中:
所述NFC通讯控制程序被所述处理器执行时实现如上所述的NFC通讯控制方法的步骤。
此外,为实现上述目的,本申请还提供计算机存储介质;
所述计算机存储介质上存储有NFC通讯控制程序,所述NFC通讯控制程序被处理器执行时实现如上述的NFC通讯控制方法的步骤。
本申请若检测到电子设备的NFC通讯请求,则基于NFC无线通讯获取所述电子设备的设备信息;获取所述设备信息的第一充电请求信息,并根据所述第一充电请求信息确定第一充电射频功率;根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。通过以上方案,本申请将传统的触点接触通讯的方式,转换为NFC通讯控制的方式,使得电子设备与电源设备之间可以通过NFC通讯进行数据通讯,避免传统的触点接触通讯因触点金属老化或触点磨损造成数据通讯异常的情况发生,进而提升电子设备与电源设备之间的数据通讯效率,确保电子设备与电源设备之间充电数据的正常交互,从而保障电源设备能够实时根据电子设备的充电数据调整充电方式,进而提升充电效率,保障电子设备的正常使用。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一部分附图,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。
图1为本申请实施例方案涉及的硬件运行环境的设备结构示意图;
图2为本申请NFC通讯控制方法一实施例的流程示意图;
图3为本申请NFC通讯控制方法一实施例的交互示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实 施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例方案的主要思路是:若检测到电子设备的NFC通讯请求,则基于NFC无线通讯获取所述电子设备的设备信息;获取所述设备信息的第一充电请求信息,并根据所述第一充电请求信息确定第一充电射频功率;根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。通过以上方案,本申请将传统的触点接触通讯的方式,转换为NFC通讯控制的方式,使得电子设备与电源设备之间可以通过NFC通讯进行数据通讯,避免传统的触点接触通讯因触点金属老化或触点磨损造成数据通讯异常的情况发生,进而提升电子设备与电源设备之间的数据通讯效率,确保电子设备与电源设备之间充电数据的正常交互,从而保障电源设备能够实时根据电子设备的充电数据调整充电方式,进而提升充电效率,保障电子设备的正常使用。
本申请实施例考虑到,由于现有技术中,充电触点是金属元件,而金属元件老化会降低导电性能,并且触点在充电芯片的充电插拔过程中可能发生磨损,影响触点正常的数据通讯功能。因此传统的触点接触的通讯方式容易劣化电子设备与电源设备之间的通讯功能,从而降低电子设备与电源设备之间的通讯效率,影响充电方式的正常调整,进而降低充电效率,影响电子设备的正常使用。
本申请提供一种解决方案,通过所述方案,本申请将传统的触点接触通讯的方式,转换为NFC通讯控制的方式,使得电子设备与电源设备之间可以通过NFC通讯进行数据通讯,避免传统的触点接触通讯因触点金属老化或触点磨损造成数据通讯异常的情况发生,进而提升电子设备与电源设备之间的数据通讯效率,确保电子设备与电源设备之间充电数据的正常交互,从而保障电源设备能够实时根据电子设备的充电数据调整充电方式,进而提升充电效率,保障电子设备的正常使用。
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的设备结构示意图。
本申请实施例设备可以是PC机或服务器设备。
如图1所示,该设备可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。
本领域技术人员可以理解,图1中示出的设备结构并不构成对设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及NFC通讯控制程序。
在图1所示的设备中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的NFC通讯控制程序,并执行下述NFC通讯控制方法各个实施例中的操作。
基于上述硬件结构,提出本申请NFC通讯控制方法实施例。
本申请提供一种NFC通讯控制方法,在NFC通讯控制方法一实施例中,参照图2,所述NFC通讯控制方法包括:
步骤S10,若检测到电子设备的NFC通讯请求,则基于NFC无线通讯获取所述电子设备的设备信息;
步骤S20,获取所述设备信息的第一充电请求信息,并根据所述第一充电请求信息确定第一充电射频功率;
步骤S30,根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。
该NFC通讯控制方法主要应用于电源设备上,所述方法中所涉及的设备可以是移动终端(如手机与充电宝、平板电脑与充电电源等),穿戴式设备(如智能手环手环与充电宝、TWS耳机与充电盒、智能眼镜与充电盒等), 固定终端(如智能风扇与电源、智能净水器与电源等)等,所述具体内容如下:
步骤S10,若检测到电子设备的NFC通讯请求,则基于NFC无线通讯获取所述电子设备的设备信息;
本申请中,电子设备与电源设备不采用传统的触点接触的方式进行数据交互,而是利用NFC通讯模块进行数据交互。NFC(Near Field Communication,近场通信),是一种通过非接触式射频识别(RFID)及互连互通技术整合演变而来的数据通讯技术,通过在单一芯片上集成感应式读卡器、感应式卡片和点对点通信的功能,利用移动终端实现移动支付、电子票务、门禁、移动身份识别、防伪等应用。
在电子设备与电源设备中均设置有NFC通讯模块,电子设备与电源设备可通过NFC通讯模块实现二者之间的数据交互。因此,电子设备与电源设备之间的充电数据交互也可通过NFC通讯方式实现。由于NFC通讯属于无线通讯,因此电源设备在获取到电子设备的NFC通讯请求后,将通过NFC无线通讯获取到电源设备的设备信息。所述设备信息指的是当前电子设备的设备状态信息。
进一步地,所述若检测到所述电子设备的NFC通讯请求,则基于NFC无线通讯获取所述电子设备的设备信息的步骤包括:
步骤A1,若检测到所述电子设备的NFC通讯请求,则获取当前的第一NFC通讯版本,并根据所述NFC通讯请求中获取所述电子设备的第二NFC通讯版本;
步骤A2,若所述第一NFC通讯版本与所述第二NFC通讯版本不一致,则向所述电子设备发送NFC通讯版本更新的第二提示信息;
步骤A3,若所述第一NFC通讯版本与所述第二NFC通讯版本一致,则基于NFC无线通讯获取所述电子设备的设备信息。
若电子设备和电源设备的NFC通讯版本不一致,则容易产生二者的充电通讯数据异常。因此,电源设备需要在获取电子设备的设备信息之前,确保二者的NFC通讯版本一致,电源设备获取当前自身的第一NFC通讯版本,并通过解析出NFC通讯请求中包含的电子设备的第二NFC通讯版本。电源设备对第一NFC通讯版本和第二NFC通讯版本进行比对,若二者不一致,则向所 述电子设备提示进行NFC通讯版本更新的提示信息,电子设备的芯片在出厂时烧入了最新版本的NFC通讯版本,并且可通过与电源设备的通讯过程获取电源设备上的NFC通讯版本数据包,以保障实时更新。
步骤S20,获取所述设备信息的第一充电请求信息,并根据所述第一充电请求信息确定第一充电射频功率;
电源设备在获取到设备信息时,解析获取到设备信息中的第一充电请求信息,所述第一充电请求信息中指的是当前电子设备的所需充电电量,所需充电电压,所述充电模式,所述充电功率等等所需充电的规格信息。电源设备可根据第一充电请求信息调整自身的充电芯片,以符合当前电子设备的充电规格。例如,第一充电请求信息中指定了电子设备当前所需的充电规格为直流电压为5V,直流电流为2A,充电模式为静态充电模式。那么电源设备将根据第一充电请求信息对充电芯片进行规格限定,以得到符合电源设备规定的第一充电射频功率为P=UI=5*2=10W。电子设备通过第一充电请求信息向电源设备指定了向电子设备进行充电时所需的功率为第一充电射频功率。电源设备根据第一充电请求信息进行充电芯片的参数调整,并根据第一充电请求信息中电子设备的规格信息确定电源设备向电子设备的充电功率。
进一步地,所述获取所述设备信息的第一充电请求信息的步骤包括:
步骤B1,检测到设备信息的充电状态;
步骤B2,判断所述充电状态中是否存在外设充电信息;
步骤B3,若是,则基于NFC无线通讯拒绝所述NFC通讯请求;
步骤B4,若否,则获取所述设备信息的第一充电请求信息。
电源设备在向所述电子设备进行充电的过程中,获取设备信息中的充电状态,所述充电状态中包括了当前的充电设备状态信息,充电电压信息等等。在本实施例中,电子设备可以支持多种充电方式,例如通过NFC无线通讯与电源设备进行射频场充电,通过QI协议的充电板进行感应充电等等。假设此时用户通过外部设备对电子设备进行充电,那么当前电子设备既通过外设进行充电补充电量,又通过电源设备的射频场补充电量。如果通过两种充电补充电量则容易造成电子设备出现意外事故,因此在检测到充电状态中包含有外设充电信息时,证明当前有两种或多种充电方式在对电子设备进行电量补充,此时,电源设备需要通过NFC无线通讯拒绝电子设备的NFC通讯请求, 以避免发生意外;若充电状态中没有外设充电信息,则证明电子设备当前可通过电源设备进行充电,此时获取设备信息中的第一充电请求信息。
步骤S30,根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。
正常情况下,电源设备在接收到电子设备的充电请求时,将会向电子设备进行充电。在本实施例中,电源设备向电子设备进行充电的方式是通过充电射频场发射电磁感应磁场,由电子设备在线圈中感应到并整流过滤,从而使得电子设备得到电量。因此电源设备在获取到第一充电射频功率后,将启动电源设备设备自身预设的充电射频场,并通过充电芯片确定的第一充电射频功率确定调整当前的充电射频场的磁场强度,磁场方向等等。这样,电源设备能够在与电子设备进行NFC通讯的过程中,确定是否对电子设备进行充电,以及电子设备所需要的充电功率,并通过充电芯片对充电射频厂进行参数调整,以达到充电功率,以供电子设备进行充电。
进一步地,为方便理解,以下将通过举例对本申请进行解释说明:
参照图3,图3中所示电子设备为TWS耳机(Listener),所示电源设备为充电盒(Poller),充电盒中有两颗芯片:Application Processor和NFC Poller,Application Processor利用NFC Poller控制NFC无线充电以及接收TWS耳机中NTAG芯片发送过来的数据,充电盒中充电电源可来自于电池和USB。在TWS耳机中有NTAG、MCU以及CHARGER 3颗芯片,NTAG芯片用于与充电盒进行无线充电的协议交互,并且将交互信息传送给MCU芯片;MCU芯片用于处理TWS耳机所有信息控制指令,可以根据CHARGER芯片的状态信息,判断下一步的充电功率等信息并且利用NTAG芯片将控制信息传送给充电盒。CHARGER芯片保存当前TWS耳机电池电量的状态信息。
具体地,TWS耳机通过MCU芯片控制NTAG芯片向充电盒发射NFC通讯请求,充电盒通过NFC Poller芯片接收到NFC通讯请求后,得到NFC通讯请求中的设备信息。设备信息中包括第一充电请求信息,例如TWS耳机所需充电的规格信息,而根据第一充电请求信息,充电盒能够在Application Processor的控制下调整自身的充电参数,以适应TWS耳机所需充电的规格信息,达到TWS耳机所需要的第一充电射频功率。例如第一充电请求信息中指代了当前TWS耳机需要静态充电模式,即需要大电压大电流的高功率充电模式,此时 充电盒将根据高功率充电模式的充电需求调整当前充电盒中射频场的充电参数,使得射频场调整至高功率充电输出模式,以供TWS耳机实现高功率充电。
进一步地,所述根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电的步骤包括:
步骤C1,获取当前的可供充电射频功率;
步骤C2,若所述可供充电射频功率小于所述第一充电射频功率,则基于NFC无线通讯向所述电子设备发送功率不足的第一提示信息;
步骤C3,若所述可供充电射频功率大于或等于所述第一充电射频功率,则根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。
所述可供充电射频功率指的是电源设备在保障自身设备能够正常运行的情况下所能提供给电子设备的充电功率。在本实施例中,保障电源设备能够正常运行的标准是电源设备为电子设备提供符合要求的电能功率之后,依旧能够在预设时间内正常执行自身的设备功能,例如即使电源设备为电子设备提供了符合耳机规格的10W功率电量之后,依旧能够在15分钟之内保持正常工作。那么所述10W功率电量即为当前电源设备的可供充电射频功率。
现实情况中,电源设备不一定能够为电子设备提供足够的充电功率,例如电子设备的第一充电请求信息指代了第一充电射频功率为15W,而当前电源设备根据电量情况所调整后的充电参数所能给出的最大功率仅为5W。也就是说,所述可供充电射频功率小于所述第一充电射频功率,当前电源设备无法为电子设备提供足够的输出充电功率,即使电源设备为电子设备进行充电,也无法提供足够的电量,同时,电源设备可能因为自身设备电量不足而无法正常使用。故基于NFC无线通讯获取到的第一充电射频功率,将与电源设备自身的可供充电射频功率进行比对,并根据比对结果进行充电控制。
电源设备检测到可供充电射频功率小于第一充电射频功率时,将基于NFC无线通讯向所述电子设备发送功率不足的第一提示信息,以供电子设备根据第一提示信息进行耳机功耗的调整或者提示用户进行人工充电的方式补充电量。所述第一提示信息还可以包括强制充电触发按钮,即当前电子设备需要紧急接听某个信息,具有紧急时效性,那么可触发第一提示信息上的强制充电触发按钮,生成强制充电指令,并基于NFC无线通讯技术传输至电源 设备,以强制电源设备启动充电射频场对电子设备进行充电。
进一步地,若可供充电射频功率大于或等于所述第一充电射频功率,证明当前电源设备能够为电子设备提供足够的充电功率,同时不影响到电源设备设备本身的正常运行。例如当前电源设备根据第一充电请求确定第一充电射频功率为10W,而当前电源设备的可供充电射频功率为11W,可供充电射频功率大于第一充电射频功率,此时,电源设备将根据第一充电射频功率启动预设的充电射频场,为电子设备进行充电。
本申请中,若检测到电子设备的NFC通讯请求,则基于NFC无线通讯获取所述电子设备的设备信息;获取所述设备信息的第一充电请求信息,并根据所述第一充电请求信息确定第一充电射频功率;根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。通过以上方案,本申请将传统的触点接触通讯的方式,转换为NFC通讯控制的方式,使得电子设备与电源设备之间可以通过NFC通讯进行数据通讯,避免传统的触点接触通讯因触点金属老化或触点磨损造成数据通讯异常的情况发生,进而提升电子设备与电源设备之间的数据通讯效率,确保电子设备与电源设备之间充电数据的正常交互,从而保障电源设备能够实时根据电子设备的充电数据调整充电方式,进而提升充电效率,保障电子设备的正常使用。
进一步地,基于第一实施例,提出本申请NFC通讯控制方法的第二实施例,在该实施例中,所述根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电的步骤之后还包括:
步骤a,每隔第一预设时长基于NFC无线通讯获取所述电子设备的第二充电请求信息;
步骤b,根据所述第二充电请求信息确定第二充电射频功率;
步骤c,若所述第二充电射频功率与所述第一充电射频功率不一致,则根据所述第二充电射频功率对所述充电射频场进行功率调整。
电源设备在向电子设备进行充电的过程中,随着充电时间的增加,电子设备中的电量将持续增加。假设电子设备中的电量较多,则需要降低电子设备的充电功率,以避免由于充电过快导致电子设备中的电池受损或温度升高 影响电池寿命。若电子设备中的电量较少且当前电池适应充电状态后,则需要提升电子设备的充电功率,以加快充电效率。
由于电源设备和电子设备处于NFC无线通讯中,因此电源设备和电子设备之间存在实时的数据交互,在充电过程中也相互传输相应的充电交互数据。电子设备在检测到耳机自身的电量较多时,例如达到所需电量的80%时,为保障电子设备电池的持续正常运行,电子设备会降低所需的充电功率,采用涓流充电的方式进行小功率充电。TWS在检测到耳机自身的电量较少,且电池已经适应当前的充电状态,电子设备会提高所需的充电功率,采用快速充电的方式进行大功率充电。可以理解的是,这些功率调整数据将写入第二充电请求信息中。
由于电子设备的充电需求会随时间变化而变化,因此本实施例中,电源设备将每隔得一预设时长通过NFC无线通讯获取到电子设备的第二充电请求信息,并确定第二请求信息中的第二充电射频功率,所述确定过程与第一充电射频功率的过程一致。获取到第二充电射频功率之后,电源设备将比对第二充电射频功率和第一充电射频功率的数值大小。若第二充电射频功率和第一充电射频功率不一致,则电源设备需要根据第二充电射频功率对充电射频场进行功率调整,例如调整磁场强度,磁场方向等等。
电源设备通过与电子设备的NFC无线通讯交互,每隔第一预设时长获取电子设备的NFC无线通讯充电请求,从而调整自身的充电射频场功率,进而调整对电子设备所输出的充电功率。
更进一步地,所述根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电的步骤之后还包括:
步骤d,实时获取所述电子设备基于NFC无线通讯发送的功率变化值;
步骤e,若在第二预设时长内检测到所述功率变化值大于第一警戒值,则停止所述充电射频场,并输出警报指示音。
在进行充电的过程中,电源设备将实施检测获取电子设备基于NFC无线通讯发送的功率变化值,所述功率变化值指的是电子设备在充电过程中的相邻单位时间内实际充电功率的变化幅度。假设第二预设时长为5秒,若电子设备第1秒的实际充电功率为9W,第2秒的实际充电功率为10W,第3秒的实际充电功率为5W,第4秒的实际充电功率为11W,第5秒的实际充电功率为6W。 那么在5秒内电子设备的功率变化值为1W,5W,6W,5W。这证明在电子设备获取充电电量的过程中,充电功率存在一定的变化幅度,若变化幅度过大,则证明充电过程不稳定。这种情况通常是充电出现异常,容易造成安全隐患。因此需要对第二预设时长内检测功率变化值的变化幅度。本实施例设置了第一警戒值,若功率变化值大于第一警戒值,则证明当前充电出现异常,电源设备需要停止向电子设备进行充电,避免发生意外。例如第一警戒值为3W,而如上所述的功率变化值在第二预设时长(5秒)内存在功率变化值大于第一警戒值(3W)的情况,此时电源设备将停止充电射频场的功能,以断开电源设备与电子设备的充电连接,并发出警报指示音,以提示用户。
造成发生功率变化值大于第一警戒值的现象可能是电子设备和电源设备之间存在影响磁场感应的物件,若金属块;或者可能是电源设备以及电子设备中的充电芯片发生短路异常,导致充电过程的功率变化值过大,影响正常充电。
进一步地,基于第一实施例,提出本申请NFC通讯控制方法的第三实施例,在该实施例中,所述NFC通讯控制方法包括:
步骤f,获取当前的第一实时温度,并基于NFC无线通讯获取所述电子设备的第二实时温度;
步骤g,若检测到所述第一实时温度或第二实时温度大于第二警戒值,则关闭所述充电射频场,以停止向所述电子设备进行充电。
在本实施例中,电源设备或电子设备可能因为充电芯片发生异常导致二者无法实现正常的充电过程。例如电路短路,芯片烧坏等情况,这种异常情况可能会造成电源设备以及电子设备发生温度上升,因此需要对电源设备和电子设备进行实时温度检测。本实施例中,电源设备实时获取设备自身的第一实时温度,并通过NFC无线通讯实时获取电子设备的第二实时温度。
所述第二警戒值指的是实时充电温度的警戒参考值,若第一实时温度或第二实时温度大于第二警戒值,证明当前电源设备或电子设备的实时充电温度不正常,处于危险状态,具有造成当前电子设备和电源设备的电路因温度过高而发生爆炸的危险,此时电源设备将通过关闭充电射频场,以直接停止向所述电子设备充电。可以理解的是,NFC无线通讯可快速将二者的实时温 度进行数据交互,避免传统信息通讯方法响应不及时的情况发生。
此外,本申请实施例还提出一种NFC通讯控制装置,所述NFC通讯控制装置包括:
请求模块,用于若检测到电子设备的NFC通讯请求,则基于NFC无线通讯获取所述电子设备的设备信息;
功率模块,用于获取所述设备信息的第一充电请求信息,并根据所述第一充电请求信息确定第一充电射频功率;
启动模块,用于根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。
可选地,所述NFC通讯控制装置还包括:
获取模块,用于每隔第一预设时长基于NFC无线通讯获取所述电子设备的第二充电请求信息;
确定模块,用于根据所述第二充电请求信息确定第二充电射频功率;
调整模块,用于若所述第二充电射频功率与所述第一充电射频功率不一致,则根据所述第二充电射频功率对所述充电射频场进行功率调整。
可选地,所述启动模块包括:
第一获取单元,用于获取当前的可供充电射频功率;
第一判断单元,用于若所述可供充电射频功率小于所述第一充电射频功率,则基于NFC无线通讯向所述电子设备发送功率不足的第一提示信息;
第二判断单元,用于若所述可供充电射频功率大于或等于所述第一充电射频功率,则根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。
可选地,所述NFC通讯控制装置还包括:
功率变化模块,用于实时获取所述电子设备基于NFC无线通讯发送的功率变化值;
停止模块,用于若在第二预设时长内检测到所述功率变化值大于第一警戒值,则停止所述充电射频场,并输出警报指示音。
可选地,所述功率模块还包括:
状态单元,用于检测到设备信息的充电状态;
判断单元,用于判断所述充电状态中是否存在外设充电信息;
拒绝单元,用于若是,则基于NFC无线通讯拒绝所述NFC通讯请求;
第二获取单元,用于若否,则获取所述设备信息的第一充电请求信息。
可选地,所述NFC通讯控制装置包括:
温度模块,用于获取当前的第一实时温度,并基于NFC无线通讯获取所述电子设备的第二实时温度;
关闭模块,用于若检测到所述第一实时温度或第二实时温度大于第二警戒值,则关闭所述充电射频场,以停止向所述电子设备进行充电。
可选地,所述请求模块包括:
检测单元,用于若检测到所述电子设备的NFC通讯请求,则获取当前的第一NFC通讯版本,并根据所述NFC通讯请求中获取所述电子设备的第二NFC通讯版本;
不一致单元,用于若所述第一NFC通讯版本与所述第二NFC通讯版本不一致,则向所述电子设备发送NFC通讯版本更新的第二提示信息;
一致单元,用于若所述第一NFC通讯版本与所述第二NFC通讯版本一致,则基于NFC无线通讯获取所述电子设备的设备信息。
此外,本申请实施例还提出一种设备,设备包括:存储器109、处理器110及存储在存储器109上并可在处理器110上运行的NFC通讯控制程序,所述NFC通讯控制程序被处理器110执行时实现上述的NFC通讯控制方法各实施例的步骤。
此外,本申请还提供了一种计算机存储介质,所述计算机存储介质存储有NFC通讯控制程序,所述NFC通讯控制程序还可被处理器执行以用于实现上述NFC通讯控制方法各实施例的步骤。
本申请设备及计算机存储介质的具体实施方式的拓展内容与上述NFC通讯控制方法各实施例基本相同,在此不做赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意 在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本申请的保护之内。

Claims (10)

  1. 一种NFC通讯控制方法,其特征在于,所述NFC通讯控制方法包括:
    若检测到电子设备的NFC通讯请求,则基于NFC无线通讯获取所述电子设备的设备信息;
    获取所述设备信息的第一充电请求信息,并根据所述第一充电请求信息确定第一充电射频功率;
    根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。
  2. 如权利要求1所述的NFC通讯控制方法,其特征在于,所述根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电的步骤之后还包括:
    每隔第一预设时长基于NFC无线通讯获取所述电子设备的第二充电请求信息;
    根据所述第二充电请求信息确定第二充电射频功率;
    若所述第二充电射频功率与所述第一充电射频功率不一致,则根据所述第二充电射频功率对所述充电射频场进行功率调整。
  3. 如权利要求1所述的NFC通讯控制方法,其特征在于,所述根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电的步骤包括:
    获取当前的可供充电射频功率;
    若所述可供充电射频功率小于所述第一充电射频功率,则基于NFC无线通讯向所述电子设备发送功率不足的第一提示信息;
    若所述可供充电射频功率大于或等于所述第一充电射频功率,则根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。
  4. 如权利要求1所述的NFC通讯控制方法,其特征在于,所述根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电的步骤之后还包括:
    实时获取所述电子设备基于NFC无线通讯发送的功率变化值;
    若在第二预设时长内检测到所述功率变化值大于第一警戒值,则停止所述充电射频场,并输出警报指示音。
  5. 如权利要求1所述的NFC通讯控制方法,其特征在于,所述获取所述设备信息的第一充电请求信息的步骤包括:
    检测到设备信息的充电状态;
    判断所述充电状态中是否存在外设充电信息;
    若是,则基于NFC无线通讯拒绝所述NFC通讯请求;
    若否,则获取所述设备信息的第一充电请求信息。
  6. 如权利要求1所述的NFC通讯控制方法,其特征在于,所述NFC通讯控制方法包括:
    获取当前的第一实时温度,并基于NFC无线通讯获取所述电子设备的第二实时温度;
    若检测到所述第一实时温度或第二实时温度大于第二警戒值,则关闭所述充电射频场,以停止向所述电子设备进行充电。
  7. 如权利要求1-6任一项所述的NFC通讯控制方法,其特征在于,所述若检测到所述电子设备的NFC通讯请求,则基于NFC无线通讯获取所述电子设备的设备信息的步骤包括:
    若检测到所述电子设备的NFC通讯请求,则获取当前的第一NFC通讯版本,并根据所述NFC通讯请求中获取所述电子设备的第二NFC通讯版本;
    若所述第一NFC通讯版本与所述第二NFC通讯版本不一致,则向所述电子设备发送NFC通讯版本更新的第二提示信息;
    若所述第一NFC通讯版本与所述第二NFC通讯版本一致,则基于NFC无线通讯获取所述电子设备的设备信息。
  8. 一种NFC通讯控制装置,其特征在于,所述NFC通讯控制装置包括:
    请求模块,用于若检测到电子设备的NFC通讯请求,则基于NFC无线 通讯获取所述电子设备的设备信息;
    功率模块,用于获取所述设备信息的第一充电请求信息,并根据所述第一充电请求信息确定第一充电射频功率;
    启动模块,用于根据所述第一充电射频功率启动预设的充电射频场,以供所述电子设备进行充电。
  9. 一种设备,其特征在于,所述设备包括:存储器、处理器及存储在所述存储器上并可在处理器上运行的NFC通讯控制程序,所述NFC通讯控制程序被所述处理器执行时实现如权利要求1至7中任一项所述的NFC通讯控制方法的步骤。
  10. 一种计算机存储介质,其特征在于,所述计算机存储介质上存储有NFC通讯控制程序,所述NFC通讯控制程序被处理器执行时实现如权利要求1至7中任一项所述的NFC通讯控制方法的步骤。
PCT/CN2019/129984 2019-12-30 2019-12-30 Nfc通讯控制方法、装置、设备及计算机存储介质 WO2021134234A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/129984 WO2021134234A1 (zh) 2019-12-30 2019-12-30 Nfc通讯控制方法、装置、设备及计算机存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/129984 WO2021134234A1 (zh) 2019-12-30 2019-12-30 Nfc通讯控制方法、装置、设备及计算机存储介质

Publications (1)

Publication Number Publication Date
WO2021134234A1 true WO2021134234A1 (zh) 2021-07-08

Family

ID=76687466

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/129984 WO2021134234A1 (zh) 2019-12-30 2019-12-30 Nfc通讯控制方法、装置、设备及计算机存储介质

Country Status (1)

Country Link
WO (1) WO2021134234A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090137209A1 (en) * 2007-11-23 2009-05-28 Compal Communications, Inc. Method and apparatus for wireless charging
CN103683400A (zh) * 2013-11-30 2014-03-26 深圳小木科技有限公司 基于nfc的无线充电控制方法及系统
CN106451631A (zh) * 2016-10-31 2017-02-22 努比亚技术有限公司 无线充电位置校准方法及装置
CN106786904A (zh) * 2016-12-26 2017-05-31 广东欧珀移动通信有限公司 充电选择方法、装置及充电设备
US20180054087A1 (en) * 2015-03-24 2018-02-22 Tendyron Corporation Method for controlling power supply and system
CN109698562A (zh) * 2019-03-05 2019-04-30 捷德(中国)信息科技有限公司 无线充电方法、供电设备及受电设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090137209A1 (en) * 2007-11-23 2009-05-28 Compal Communications, Inc. Method and apparatus for wireless charging
CN103683400A (zh) * 2013-11-30 2014-03-26 深圳小木科技有限公司 基于nfc的无线充电控制方法及系统
US20180054087A1 (en) * 2015-03-24 2018-02-22 Tendyron Corporation Method for controlling power supply and system
CN106451631A (zh) * 2016-10-31 2017-02-22 努比亚技术有限公司 无线充电位置校准方法及装置
CN106786904A (zh) * 2016-12-26 2017-05-31 广东欧珀移动通信有限公司 充电选择方法、装置及充电设备
CN109698562A (zh) * 2019-03-05 2019-04-30 捷德(中国)信息科技有限公司 无线充电方法、供电设备及受电设备

Similar Documents

Publication Publication Date Title
US10868585B2 (en) Method for preventing abnormality during wireless charging
US10498156B2 (en) Charging control method, charging control device and terminal
US11539400B2 (en) Power supply apparatus and electronic apparatus configured to carry out wireless power supply
US9654182B2 (en) Apparatus for wirelessly communicating with and supplying power to another apparatus, electronic apparatus, and method for controlling power supply
US11652372B2 (en) Wireless power transmitter and wireless power receiver, and operation methods therefor
US10469131B2 (en) Power supply apparatus, power supply method, and recording medium
KR102434405B1 (ko) 전자 장치의 상태에 기반하여, 무선 전력 수신 회로를 비활성화하는 방법 및 그 전자 장치
US11657137B2 (en) Electronic device and authentication method of electronic device
KR102659965B1 (ko) 전자 장치 및 그의 주파수 간섭 제어 방법
KR20150098381A (ko) 전자 장치의 전원 제어방법 및 그 전자 장치
CN111585314A (zh) 无线充电发送器和无线电力传送方法
US9489002B2 (en) Providing power to a component
US20150358912A1 (en) Electronic device
US20180301935A1 (en) Power reception device, electronic apparatus, and power supply system
KR20200101035A (ko) 전자 장치 및 전자 장치에서 외부 객체 검출 기반의 무선 전력 전송 방법
KR20200113864A (ko) 무선 전력 수신 장치 및 그 제어 방법
KR20200101096A (ko) 무선 충전을 제어하는 전자 장치 및 그의 제어 방법
CN110768332B (zh) 充电盒及其充电控制方法、可读存储介质
US11942800B2 (en) Method for wireless power transfer and electronic device thereof
CN106532876B (zh) 供电控制方法、装置和计算机设备
CN110768382A (zh) 无线充电方法、装置、存储介质及电子设备
WO2021134234A1 (zh) Nfc通讯控制方法、装置、设备及计算机存储介质
KR20210089529A (ko) 무선 충전 중에 이물질을 검출하는 무선 충전 방법 및 시스템
CN111030325A (zh) Nfc通讯控制方法、装置、设备及计算机存储介质
CN112542867B (zh) 移动终端供电控制方法、装置、终端设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19958613

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19958613

Country of ref document: EP

Kind code of ref document: A1