CN111030325A - NFC communication control method, device, equipment and computer storage medium - Google Patents

NFC communication control method, device, equipment and computer storage medium Download PDF

Info

Publication number
CN111030325A
CN111030325A CN201911423235.0A CN201911423235A CN111030325A CN 111030325 A CN111030325 A CN 111030325A CN 201911423235 A CN201911423235 A CN 201911423235A CN 111030325 A CN111030325 A CN 111030325A
Authority
CN
China
Prior art keywords
charging
radio frequency
nfc
electronic equipment
nfc communication
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201911423235.0A
Other languages
Chinese (zh)
Inventor
张国庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Inc
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN201911423235.0A priority Critical patent/CN111030325A/en
Publication of CN111030325A publication Critical patent/CN111030325A/en
Pending legal-status Critical Current

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/80Circuit arrangements or systems for wireless supply or distribution of electric power involving the exchange of data, concerning supply or distribution of electric power, between transmitting devices and receiving devices
    • 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
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/72Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/79Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for data transfer in combination with power transfer

Landscapes

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

Abstract

The invention discloses an NFC communication control method, an NFC communication control device, NFC communication control equipment and a computer storage medium, wherein the NFC communication control method comprises the following steps: if the NFC communication request of the electronic equipment is detected, acquiring equipment information of the electronic equipment based on NFC wireless communication; acquiring first charging request information of the equipment information, and determining first charging radio frequency power according to the first charging request information; and starting a preset charging radio frequency field according to the first charging radio frequency power so as to charge the electronic equipment. The invention improves the data communication efficiency between the electronic equipment and the power supply equipment, thereby improving the charging efficiency.

Description

NFC communication control method, device, equipment and computer storage medium
Technical Field
The invention relates to the technical field of wireless charging, in particular to an NFC communication control method, an NFC communication control device, NFC communication control equipment and a computer storage medium.
Background
With the rapid development of terminal electronic devices, the demand of the electronic devices on the battery power is higher and higher, and therefore the daily charging demand of the electronic devices is more and more frequent. At present, most electronic equipment charging scheme all charges through the contact, has an equipment contact promptly on the electronic equipment, sets up the chip that charges on this equipment contact, through carrying out the contact with other power supply unit to realize that equipment charges, electronic equipment can carry out data communication through contact and power supply unit simultaneously in the charging process, and adjust the mode of charging according to the communication result, thereby provide nimble charging scheme for electronic equipment.
However, the above manner of implementing communication between the electronic device and the power supply device through contact has great defects, for example, the contact is a metal element, and the aging of the metal element may reduce the conductivity, and the contact may be worn during the charging process of the charging chip, which affects the normal data communication function of the contact. Therefore, the traditional contact communication mode is easy to degrade the communication function between the electronic equipment and the power supply equipment, thereby reducing the communication efficiency between the electronic equipment and the power supply equipment, influencing the normal adjustment of the charging mode, further reducing the charging efficiency and influencing the normal use of the electronic equipment.
Therefore, how to improve the data communication efficiency between the electronic device and the power device, and further improve the charging efficiency, is a technical problem to be solved urgently at present.
Disclosure of Invention
The invention mainly aims to provide an NFC communication control method, an NFC communication control device, NFC communication control equipment and a computer storage medium, and aims to improve data communication efficiency between electronic equipment and power supply equipment so as to improve charging efficiency.
In order to achieve the above object, an embodiment of the present invention provides an NFC communication control method, where the NFC communication control method includes:
if the NFC communication request of the electronic equipment is detected, acquiring equipment information of the electronic equipment based on NFC wireless communication;
acquiring first charging request information of the equipment information, and determining first charging radio frequency power according to the first charging request information;
and starting a preset charging radio frequency field according to the first charging radio frequency power so as to charge the electronic equipment.
Optionally, after the step of starting a preset charging radio frequency field according to the first charging radio frequency power to charge the electronic device, the method further includes:
acquiring second charging request information of the electronic equipment based on NFC wireless communication every other first preset time;
determining second charging radio frequency power according to the second charging request information;
and if the second charging radio frequency power is not consistent with the first charging radio frequency power, performing power adjustment on the charging radio frequency field according to the second charging radio frequency power.
Optionally, the step of starting a preset charging radio frequency field according to the first charging radio frequency power to charge the electronic device includes:
acquiring current chargeable radio frequency power;
if the chargeable radio frequency power is smaller than the first chargeable radio frequency power, sending first prompt information with insufficient power to the electronic equipment based on NFC wireless communication;
and if the chargeable radio frequency power is greater than or equal to the first charging radio frequency power, starting a preset charging radio frequency field according to the first charging radio frequency power so as to charge the electronic equipment.
Optionally, after the step of starting a preset charging radio frequency field according to the first charging radio frequency power to charge the electronic device, the method further includes:
acquiring a power change value sent by the electronic equipment based on NFC wireless communication in real time;
and if the power change value is detected to be larger than the first warning value within a second preset time period, stopping the charging radio frequency field and outputting an alarm indicating sound.
Optionally, the step of obtaining the first charging request information of the device information includes:
detecting a charging state of the device information;
judging whether peripheral charging information exists in the charging state;
if so, rejecting the NFC communication request based on NFC wireless communication;
and if not, acquiring first charging request information of the equipment information.
Optionally, the NFC communication control method includes:
acquiring a current first real-time temperature, and acquiring a second real-time temperature of the electronic equipment based on NFC wireless communication;
and if the first real-time temperature or the second real-time temperature is detected to be greater than a second warning value, closing the charging radio frequency field to stop charging the electronic equipment.
Optionally, if the NFC communication request of the electronic device is detected, the step of acquiring the device information of the electronic device based on NFC wireless communication includes:
if the NFC communication request of the electronic equipment is detected, acquiring a current first NFC communication version, and acquiring a second NFC communication version of the electronic equipment according to the NFC communication request;
if the first NFC communication version is inconsistent with the second NFC communication version, sending second prompt information for updating the NFC communication version to the electronic equipment;
and if the first NFC communication version is consistent with the second NFC communication version, acquiring the equipment information of the electronic equipment based on NFC wireless communication.
The present invention also provides an NFC communication control device, including:
the request module is used for acquiring equipment information of the electronic equipment based on NFC wireless communication if an NFC communication request of the electronic equipment is detected;
the power module is used for acquiring first charging request information of the equipment information and determining first charging radio frequency power according to the first charging request information;
and the starting module is used for starting a preset charging radio frequency field according to the first charging radio frequency power so as to charge the electronic equipment.
Optionally, the NFC communication control apparatus further includes:
the acquisition module is used for acquiring second charging request information of the electronic equipment based on NFC wireless communication every other first preset time;
the determining module is used for determining second charging radio frequency power according to the second charging request information;
and the adjusting module is used for adjusting 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.
Optionally, the starting module includes:
the first acquisition unit is used for acquiring the current chargeable radio frequency power;
the first judgment unit is used for sending first prompt information with insufficient power to the electronic equipment based on NFC wireless communication if the radio frequency power available for charging is smaller than the first charging radio frequency power;
and the second judging unit is used for starting a preset charging radio frequency field according to the first charging radio frequency power to charge the electronic equipment if the chargeable radio frequency power is greater than or equal to the first charging radio frequency power.
Optionally, the NFC communication control apparatus further includes:
the power change module is used for acquiring a power change value sent by the electronic equipment based on NFC wireless communication in real time;
and the stopping module is used for stopping the charging radio frequency field and outputting an alarm indicating sound if the power change value is detected to be greater than the first warning value within a second preset time period.
Optionally, the power module further comprises:
a state unit for detecting a charging state of the device information;
the judging unit is used for judging whether peripheral charging information exists in the charging state;
a rejecting unit configured to reject the NFC communication request based on NFC wireless communication if the determination result is positive;
and the second acquisition unit is used for acquiring the first charging request information of the equipment information if the equipment information does not exist.
Optionally, the NFC communication control device includes:
the temperature module is used for acquiring a current first real-time temperature and acquiring a second real-time temperature of the electronic equipment based on NFC wireless communication;
and the closing module is used for closing the charging radio frequency field to stop charging the electronic equipment if the first real-time temperature or the second real-time temperature is detected to be greater than a second warning value.
Optionally, the request module includes:
the detection unit is used for acquiring a current first NFC communication version if the NFC communication request of the electronic equipment is detected, and acquiring a second NFC communication version of the electronic equipment according to the NFC communication request;
an inconsistency unit, 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;
and the consistency unit is used for acquiring the equipment information of the electronic equipment based on NFC wireless communication if the first NFC communication version is consistent with the second NFC communication version.
Further, to achieve the above object, the present invention also provides an apparatus comprising: memory, a processor and an NFC communications control program stored on the memory and executable on the processor, wherein:
the NFC communication control program, when executed by the processor, implements the steps of the NFC communication control method described above.
In addition, to achieve the above object, the present invention also provides a computer storage medium;
the computer storage medium stores an NFC communication control program, and the steps of the NFC communication control method are implemented when the NFC communication control program is executed by a processor.
If the NFC communication request of the electronic equipment is detected, acquiring equipment information of the electronic equipment based on NFC wireless communication; acquiring first charging request information of the equipment information, and determining first charging radio frequency power according to the first charging request information; and starting a preset charging radio frequency field according to the first charging radio frequency power so as to charge the electronic equipment. Through the scheme, the traditional contact communication mode is converted into the NFC communication control mode, so that data communication can be carried out between the electronic equipment and the power supply equipment through NFC, the phenomenon that data communication is abnormal due to contact metal aging or contact abrasion in the traditional contact communication is avoided, the data communication efficiency between the electronic equipment and the power supply equipment is improved, the normal interaction of charging data between the electronic equipment and the power supply equipment is ensured, the power supply equipment is ensured to adjust the charging mode according to the charging data of the electronic equipment in real time, the charging efficiency is improved, and the normal use of the electronic equipment is ensured.
Drawings
FIG. 1 is a schematic diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an NFC communication control method according to an embodiment of the present invention;
fig. 3 is an interaction diagram of an NFC communication control method according to an embodiment of the present invention.
The objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main idea of the embodiment scheme of the invention is as follows: if the NFC communication request of the electronic equipment is detected, acquiring equipment information of the electronic equipment based on NFC wireless communication; acquiring first charging request information of the equipment information, and determining first charging radio frequency power according to the first charging request information; and starting a preset charging radio frequency field according to the first charging radio frequency power so as to charge the electronic equipment. Through the scheme, the traditional contact communication mode is converted into the NFC communication control mode, so that data communication can be carried out between the electronic equipment and the power supply equipment through NFC, the phenomenon that data communication is abnormal due to contact metal aging or contact abrasion in the traditional contact communication is avoided, the data communication efficiency between the electronic equipment and the power supply equipment is improved, the normal interaction of charging data between the electronic equipment and the power supply equipment is ensured, the power supply equipment is ensured to adjust the charging mode according to the charging data of the electronic equipment in real time, the charging efficiency is improved, and the normal use of the electronic equipment is ensured.
In the embodiment of the invention, the charging contact is a metal element in the prior art, the aging of the metal element can reduce the conductivity, and the contact is possibly worn in the charging plugging and unplugging process of the charging chip to influence the normal data communication function of the contact. Therefore, the traditional contact communication mode is easy to degrade the communication function between the electronic equipment and the power supply equipment, thereby reducing the communication efficiency between the electronic equipment and the power supply equipment, influencing the normal adjustment of the charging mode, further reducing the charging efficiency and influencing the normal use of the electronic equipment.
The invention provides a solution, and through the solution, the traditional contact communication mode is converted into an NFC communication control mode, so that data communication can be carried out between electronic equipment and power supply equipment through NFC, the occurrence of abnormal data communication caused by contact metal aging or contact abrasion in the traditional contact communication is avoided, the data communication efficiency between the electronic equipment and the power supply equipment is further improved, the normal interaction of charging data between the electronic equipment and the power supply equipment is ensured, the power supply equipment is ensured to adjust the charging mode according to the charging data of the electronic equipment in real time, the charging efficiency is further improved, and the normal use of the electronic equipment is ensured.
As shown in fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The device of the embodiment of the invention can be a PC or a server device.
As shown in fig. 1, the apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the apparatus shown in fig. 1 is not intended to be limiting of the apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an NFC communication control program.
In the device shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the NFC communication control program stored in the memory 1005 and perform operations in various embodiments of the NFC communication control method described below.
Based on the above hardware structure, an embodiment of the NFC communication control method of the present invention is provided.
In an embodiment of the NFC communication control method, referring to fig. 2, the NFC communication control method includes:
step S10, if the NFC communication request of the electronic equipment is detected, acquiring the equipment information of the electronic equipment based on the NFC wireless communication;
step S20, acquiring first charging request information of the equipment information, and determining first charging radio frequency power according to the first charging request information;
step S30, a preset charging rf field is started according to the first charging rf power, so as to charge the electronic device.
The NFC communication control method is mainly applied to power supply equipment, the equipment related in the method can be a mobile terminal (such as a mobile phone, a charger baby, a tablet computer, a charging power supply and the like), wearable equipment (such as an intelligent bracelet, a charger baby, a TWS earphone, a charging box, intelligent glasses, a charging box and the like), a fixed terminal (such as an intelligent fan, a power supply, an intelligent water purifier, a power supply and the like) and the like, and the specific contents are as follows:
step S10, if the NFC communication request of the electronic equipment is detected, acquiring the equipment information of the electronic equipment based on the NFC wireless communication;
in the invention, the electronic equipment and the power supply equipment do not adopt the traditional contact mode to carry out data interaction, but utilize the NFC communication module to carry out data interaction. Near Field Communication (NFC) is a data Communication technology integrated and evolved through a non-contact Radio Frequency Identification (RFID) and an interconnection technology, and realizes applications such as mobile payment, electronic ticketing, door control, mobile identity recognition, anti-counterfeiting and the like by integrating functions of an induction card reader, an induction card and point-to-point Communication on a single chip and using a mobile terminal.
NFC communication modules are arranged in the electronic equipment and the power supply equipment, and data interaction between the electronic equipment and the power supply equipment can be realized through the NFC communication modules. Therefore, the charging data interaction between the electronic equipment and the power supply equipment can also be realized in an NFC communication mode. Because the NFC communication belongs to wireless communication, the power supply equipment acquires the equipment information of the power supply equipment through the NFC wireless communication after acquiring the NFC communication request of the electronic equipment. The device information refers to device state information of the current electronic device.
Further, if the NFC communication request of the electronic device is detected, 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 equipment is detected, acquiring a current first NFC communication version, and acquiring a second NFC communication version of the electronic equipment according to the NFC communication request;
step A2, if the first NFC communication version is inconsistent with the second NFC communication version, sending second prompt information for updating the NFC communication version to the electronic equipment;
step a3, if the first NFC communication version is consistent with the second NFC communication version, acquiring device information of the electronic device based on NFC wireless communication.
If the NFC communication versions of the electronic device and the power supply device are not consistent, charging communication data between the electronic device and the power supply device are likely to be abnormal. Therefore, before acquiring the device information of the electronic device, the power supply device needs to ensure that the NFC communication versions of the electronic device and the electronic device are consistent, and the power supply device acquires the current first NFC communication version of the power supply device and analyzes the second NFC communication version of the electronic device included in the NFC communication request. The power supply equipment compares the first NFC communication version with the second NFC communication version, if the first NFC communication version and the second NFC communication version are inconsistent, prompt information for updating the NFC communication versions is prompted to the electronic equipment, the NFC communication versions of the latest versions are burnt into a chip of the electronic equipment when the chip leaves a factory, and an NFC communication version data packet on the power supply equipment can be acquired through the communication process with the power supply equipment so as to guarantee real-time updating.
Step S20, acquiring first charging request information of the equipment information, and determining first charging radio frequency power according to the first charging request information;
when the power supply equipment acquires the equipment information, analyzing and acquiring first charging request information in the equipment information, wherein the first charging request information refers to specification information of charging required by the current electronic equipment, such as required charging electric quantity, required charging voltage, charging mode, charging power and the like. The power supply equipment can adjust the charging chip thereof according to the first charging request information so as to accord with the charging specification of the current electronic equipment. For example, the first charging request message specifies that the currently required charging specification of the electronic device is that the dc voltage is 5V, the dc current is 2A, and the charging mode is the static charging mode. The power supply device will perform specification limitation on the charging chip according to the first charging request information to obtain a first charging radio frequency power meeting the specification of the power supply device, i.e., P ═ UI ═ 5 ═ 2 ═ 10W. The electronic device specifies the power required for charging the electronic device to the power supply device as the first charging radio frequency power through the first charging request information. The power supply equipment adjusts parameters of the charging chip according to the first charging request information, and determines charging power of the power supply equipment to the electronic equipment according to specification information of the electronic equipment in the first charging request information.
Further, the step of acquiring the first charging request information of the device information includes:
step B1, detecting the charging state of the device information;
step B2, judging whether the charging state has peripheral charging information;
step B3, if yes, rejecting the NFC communication request based on NFC wireless communication;
and step B4, if not, acquiring first charging request information of the equipment information.
The method comprises the steps that in the process of charging the electronic equipment, the power supply equipment acquires the charging state in the equipment information, wherein the charging state comprises the current charging equipment state information, charging voltage information and the like. In this embodiment, the electronic device may support a plurality of charging modes, such as charging in a radio frequency field with the power supply device through NFC wireless communication, performing induction charging through a charging pad of a QI protocol, and the like. If the user charges the electronic device through the external device, the current electronic device is charged through the external device to supplement the electric quantity, and the electric quantity is supplemented through the radio frequency field of the power supply device. If the electric quantity is supplemented through two kinds of charging, accidents of the electronic equipment are easily caused, so that when the charging state is detected to contain peripheral charging information, the fact that two or more charging modes are used for supplementing the electric quantity to the electronic equipment at present is proved, and at the moment, the power supply equipment needs to refuse an NFC communication request of the electronic equipment through NFC wireless communication so as to avoid accidents; if no external charging information exists in the charging state, the fact that the electronic equipment can be charged through the power supply equipment is proved, and at the moment, first charging request information in the equipment information is obtained.
Step S30, a preset charging rf field is started according to the first charging rf power, so as to charge the electronic device.
Normally, the power supply device charges the electronic device when receiving a charging request from the electronic device. In this embodiment, the power device charges the electronic device by emitting an electromagnetic induction magnetic field through the charging radio frequency field, and the electronic device induces, rectifies and filters the electromagnetic induction magnetic field in the coil, so that the electronic device obtains electric quantity. Therefore, after the power supply equipment acquires the first charging radio frequency power, the charging radio frequency field preset by the power supply equipment is started, and the magnetic field intensity, the magnetic field direction and the like of the current charging radio frequency field are determined and adjusted through the first charging radio frequency power determined by the charging chip. Therefore, the power supply equipment can determine whether to charge the electronic equipment and the charging power required by the electronic equipment in the process of carrying out NFC communication with the electronic equipment, and carries out parameter adjustment on a charging radio frequency factory through the charging chip so as to achieve the charging power and charge the electronic equipment.
Further, for ease of understanding, the present invention will be explained by way of example below:
referring to fig. 3, the electronic device shown in fig. 3 is a TWS headset (Listener), the power supply device is a charging box (Poller), and two chips are disposed in the charging box: the Application Processor and the NFC Poller, the Application Processor controls the NFC to wirelessly charge and receives data sent by an NTAG chip in the TWS earphone by utilizing the NFC Poller, and a charging power supply in the charging box can be from a battery and a USB. The TWS earphone is provided with NTAG, MCU and CHARGER 3 chips, wherein the NTAG chip is used for carrying out protocol interaction of wireless charging with the charging box and transmitting interaction information to the MCU chip; the MCU chip is used for processing all information control instructions of the TWS earphone, judging the information such as the charging power of the next step and the like according to the state information of the CHARGER chip, and transmitting the control information to the charging box by using the NTAG chip. The CHARGER chip stores the state information of the current TWS earphone battery power.
Specifically, the TWS headset controls the NTAG chip to transmit the NFC communication request to the charging box through the MCU chip, and the charging box receives the NFC communication request through the NFC poler chip to obtain the device information in the NFC communication request. The device information includes first charging request information, for example, specification information of charging required by the TWS headset, and according to the first charging request information, the charging box can adjust its charging parameters under the control of the Application Processor to adapt to the specification information of charging required by the TWS headset, so as to achieve a first charging radio frequency power required by the TWS headset. For example, the first charging request information indicates that the TWS headset needs a static charging mode, i.e., a high-power charging mode requiring a large voltage and a large current, at this time, the charging box adjusts the charging parameters of the radio frequency field in the current charging box according to the charging requirement of the high-power charging mode, so that the radio frequency field is adjusted to a high-power charging output mode, so that the TWS headset can realize high-power charging.
Further, the step of starting a preset charging radio frequency field according to the first charging radio frequency power to charge the electronic device includes:
step C1, acquiring the current available charging radio frequency power;
step C2, if the chargeable radio frequency power is smaller than the first chargeable radio frequency power, sending first prompt information with insufficient power to the electronic equipment based on NFC wireless communication;
step C3, if the chargeable rf power is greater than or equal to the first charging rf power, starting a preset charging rf field according to the first charging rf power, so as to charge the electronic device.
The chargeable radio frequency power refers to charging power which can be provided for the electronic equipment by the power supply equipment under the condition of ensuring normal operation of the equipment. In this embodiment, the standard for ensuring the normal operation of the power supply device is that after the power supply device provides the electric energy power meeting the requirement for the electronic device, the power supply device can still perform its own device function normally within a preset time, for example, even after the power supply device provides the electronic device with 10W power electric quantity meeting the specification of an earphone, the power supply device can still keep working normally within 15 minutes. Then the 10W power capacity is the available rechargeable rf power of the current power supply device.
In a practical situation, the power supply device may not be able to provide sufficient charging power for the electronic device, for example, the first charging request information of the electronic device indicates that the first charging rf power is 15W, and the maximum power that can be provided by the charging parameter adjusted by the current power supply device according to the power condition is only 5W. That is to say, the chargeable rf power is smaller than the first chargeable rf power, the current power supply device cannot provide sufficient output charging power for the electronic device, and even if the power supply device charges the electronic device, the power supply device cannot provide sufficient electric quantity, and meanwhile, the power supply device may not be normally used due to insufficient electric quantity of the device itself. 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 equipment, and charging control is carried out according to the comparison result.
When the power supply equipment detects that the chargeable radio frequency power is smaller than the first chargeable radio frequency power, first prompt information with insufficient power is sent to the electronic equipment based on NFC wireless communication, so that the electronic equipment can adjust the power consumption of the earphone according to the first prompt information or prompt a user to supplement electric quantity in a manual charging mode. The first prompt message can also include a forced charging trigger button, that is, the current electronic device needs to answer a certain message urgently, and has urgency timeliness, so that the forced charging trigger button on the first prompt message can be triggered to generate a forced charging instruction, and the forced charging instruction is transmitted to the power supply device based on the NFC wireless communication technology, so that the power supply device is forced to start a charging radio frequency field to charge the electronic device.
Further, if the available charging radio frequency power is greater than or equal to the first charging radio frequency power, it is proved that the current power supply device can provide sufficient charging power for the electronic device, and meanwhile, the normal operation of the power supply device is not affected. For example, the current power supply device determines that the first charging radio frequency power is 10W according to the first charging request, the available charging radio frequency power of the current power supply device is 11W, and the available charging radio frequency power is greater than the first charging radio frequency power, at this time, the power supply device starts a preset charging radio frequency field according to the first charging radio frequency power to charge the electronic device.
In the invention, if an NFC communication request of electronic equipment is detected, equipment information of the electronic equipment is acquired based on NFC wireless communication; acquiring first charging request information of the equipment information, and determining first charging radio frequency power according to the first charging request information; and starting a preset charging radio frequency field according to the first charging radio frequency power so as to charge the electronic equipment. Through the scheme, the traditional contact communication mode is converted into the NFC communication control mode, so that data communication can be carried out between the electronic equipment and the power supply equipment through NFC, the phenomenon that data communication is abnormal due to contact metal aging or contact abrasion in the traditional contact communication is avoided, the data communication efficiency between the electronic equipment and the power supply equipment is improved, the normal interaction of charging data between the electronic equipment and the power supply equipment is ensured, the power supply equipment is ensured to adjust the charging mode according to the charging data of the electronic equipment in real time, the charging efficiency is improved, and the normal use of the electronic equipment is ensured.
Further, based on the first embodiment, a second embodiment of the NFC communication control method according to the present invention is provided, where in this embodiment, the step of starting a preset charging radio frequency field according to the first charging radio frequency power to charge the electronic device further includes:
step a, acquiring second charging request information of the electronic equipment based on NFC wireless communication every other first preset time;
b, determining second charging radio frequency power according to the second charging request information;
and c, if the second charging radio frequency power is not consistent with the first charging radio frequency power, performing power adjustment on the charging radio frequency field according to the second charging radio frequency power.
In the process of charging the electronic device by the power supply device, the electric quantity in the electronic device continuously increases along with the increase of the charging time. If the amount of 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 the battery life being affected by temperature increase due to too fast charging. If the electric quantity in the electronic device is small and the current battery is adapted to the charging state, the charging power of the electronic device needs to be increased to accelerate the charging efficiency.
Because the power supply equipment and the electronic equipment are in NFC wireless communication, real-time data interaction exists between the power supply equipment and the electronic equipment, and corresponding charging interaction data are mutually transmitted in the charging process. When the electronic device detects that the electric quantity of the earphone is large, for example, 80% of the required electric quantity is reached, in order to ensure continuous normal operation of a battery of the electronic device, the electronic device reduces the required charging power, and small-power charging is performed in a trickle charging mode. When the TWS detects that the electric quantity of the earphone is small and the battery adapts to the current charging state, the electronic equipment can improve the required charging power and carry out high-power charging in a quick charging mode. It is to be understood that these power adjustment data will be written in the second charge request information.
In this embodiment, the power supply device acquires second charging request information of the electronic device through NFC wireless communication every preset time period, and determines second charging radio frequency power in the second request information, where the determination process is consistent with the process of the first charging radio frequency power. After the second charging radio frequency power is obtained, the power supply equipment compares the second charging radio frequency power with the first charging radio frequency power. If the second charging rf power is not consistent with the first charging rf power, the power supply device needs to perform power adjustment on the charging rf field according to the second charging rf power, for example, adjusting the magnetic field strength, the magnetic field direction, and the like.
The power supply equipment acquires the NFC wireless communication charging request of the electronic equipment every first preset time through NFC wireless communication interaction with the electronic equipment, so that the charging radio frequency field power of the power supply equipment is adjusted, and the charging power output to the electronic equipment is adjusted.
Further, the step of starting a preset charging rf field according to the first charging rf power for charging the electronic device further includes:
step d, acquiring a power change value sent by the electronic equipment based on NFC wireless communication in real time;
and e, if the power change value is detected to be larger than the first warning value within a second preset time period, stopping the charging radio frequency field and outputting an alarm indication sound.
In the charging process, the power supply device performs detection to acquire a power change value sent by the electronic device based on NFC wireless communication, wherein the power change value refers to the change amplitude of actual charging power of the electronic device in adjacent unit time in the charging process. Assuming that the second preset time period is 5 seconds, if the actual charging power of the electronic device in the 1 st second is 9W, the actual charging power in the 2 nd second is 10W, the actual charging power in the 3 rd second is 5W, the actual charging power in the 4 th second is 11W, and the actual charging power in the 5 th second is 6W. Then the power change value of the electronic device is 1W, 5W, 6W, 5W in 5 seconds. This proves that there is a certain variation range in the charging power in the process of acquiring the charging electric quantity by the electronic device, and if the variation range is too large, the charging process is proved to be unstable. In this case, charging is usually abnormal, which is likely to cause a safety hazard. Therefore, the variation amplitude of the detected power variation value within the second preset time length is required. In this embodiment, the first warning value is set, and if the power variation value is greater than the first warning value, it is proved that the current charging is abnormal, and the power supply device needs to stop charging the electronic device, so as to avoid an accident. For example, the first warning value is 3W, and if the power variation value is greater than the first warning value (3W) within the second preset time period (5 seconds), the power supply device will stop the function of charging the rf field, so as to disconnect the charging connection between the power supply device and the electronic device, and send out a warning indication tone to prompt the user.
The phenomenon that the power change value is larger than the first warning value is caused to be that an object influencing magnetic field induction exists between the electronic equipment and the power supply equipment if the metal block exists; or short circuit abnormality may occur in the charging chips in the power supply device and the electronic device, which may cause an excessive power variation value in the charging process and affect normal charging.
Further, based on the first embodiment, a third embodiment of the NFC communication control method according to the present invention is provided, where in this embodiment, the NFC communication control method includes:
step f, acquiring a current first real-time temperature, and acquiring a second real-time temperature of the electronic equipment based on NFC wireless communication;
and g, if the first real-time temperature or the second real-time temperature is detected to be greater than a second warning value, closing the charging radio frequency field to stop charging the electronic equipment.
In this embodiment, the power supply device or the electronic device may not realize a normal charging process because the charging chip is abnormal. Such as short circuit, chip burning, etc., which may cause temperature rise of the power supply device and the electronic device, and thus real-time temperature detection of the power supply device and the electronic device is required. In this embodiment, the power supply device obtains a first real-time temperature of the device itself in real time, and obtains a second real-time temperature of the electronic device in real time through NFC wireless communication.
And if the first real-time temperature or the second real-time temperature is greater than the second warning value, the current real-time charging temperature of the power supply equipment or the electronic equipment is proved to be abnormal and in a dangerous state, so that the danger of explosion of the current electronic equipment and a circuit of the power supply equipment due to overhigh temperature is caused, and at the moment, the power supply equipment directly stops charging the electronic equipment by closing the charging radio frequency field. It can be understood that the NFC wireless communication can carry out data interaction on the real-time temperatures of the NFC wireless communication and the NFC wireless communication, and the situation that the response of the traditional information communication method is not timely is avoided.
In addition, an embodiment of the present invention further provides an NFC communication control device, where the NFC communication control device includes:
the request module is used for acquiring equipment information of the electronic equipment based on NFC wireless communication if an NFC communication request of the electronic equipment is detected;
the power module is used for acquiring first charging request information of the equipment information and determining first charging radio frequency power according to the first charging request information;
and the starting module is used for starting a preset charging radio frequency field according to the first charging radio frequency power so as to charge the electronic equipment.
Optionally, the NFC communication control apparatus further includes:
the acquisition module is used for acquiring second charging request information of the electronic equipment based on NFC wireless communication every other first preset time;
the determining module is used for determining second charging radio frequency power according to the second charging request information;
and the adjusting module is used for adjusting 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.
Optionally, the starting module includes:
the first acquisition unit is used for acquiring the current chargeable radio frequency power;
the first judgment unit is used for sending first prompt information with insufficient power to the electronic equipment based on NFC wireless communication if the radio frequency power available for charging is smaller than the first charging radio frequency power;
and the second judging unit is used for starting a preset charging radio frequency field according to the first charging radio frequency power to charge the electronic equipment if the chargeable radio frequency power is greater than or equal to the first charging radio frequency power.
Optionally, the NFC communication control apparatus further includes:
the power change module is used for acquiring a power change value sent by the electronic equipment based on NFC wireless communication in real time;
and the stopping module is used for stopping the charging radio frequency field and outputting an alarm indicating sound if the power change value is detected to be greater than the first warning value within a second preset time period.
Optionally, the power module further comprises:
a state unit for detecting a charging state of the device information;
the judging unit is used for judging whether peripheral charging information exists in the charging state;
a rejecting unit configured to reject the NFC communication request based on NFC wireless communication if the determination result is positive;
and the second acquisition unit is used for acquiring the first charging request information of the equipment information if the equipment information does not exist.
Optionally, the NFC communication control device includes:
the temperature module is used for acquiring a current first real-time temperature and acquiring a second real-time temperature of the electronic equipment based on NFC wireless communication;
and the closing module is used for closing the charging radio frequency field to stop charging the electronic equipment if the first real-time temperature or the second real-time temperature is detected to be greater than a second warning value.
Optionally, the request module includes:
the detection unit is used for acquiring a current first NFC communication version if the NFC communication request of the electronic equipment is detected, and acquiring a second NFC communication version of the electronic equipment according to the NFC communication request;
an inconsistency unit, 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;
and the consistency unit is used for acquiring the equipment information of the electronic equipment based on NFC wireless communication if the first NFC communication version is consistent with the second NFC communication version.
In addition, an embodiment of the present invention further provides an apparatus, where the apparatus includes: the NFC controller includes a memory 109, a processor 110, and an NFC communication control program stored on the memory 109 and executable on the processor 110, where the NFC communication control program implements the steps of the embodiments of the NFC communication control method when executed by the processor 110.
In addition, the present invention also provides a computer storage medium, where the computer storage medium stores an NFC communication control program, and the NFC communication control program is further executable by a processor to implement the steps of the embodiments of the NFC communication control method.
The specific implementation of the device and the computer storage medium of the present invention is basically the same as the embodiments of the NFC communication control method, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be substantially or partially embodied in the form of a software product, which is stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a device (e.g. mobile phone, computer, server, or network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An NFC communication control method, comprising:
if the NFC communication request of the electronic equipment is detected, acquiring equipment information of the electronic equipment based on NFC wireless communication;
acquiring first charging request information of the equipment information, and determining first charging radio frequency power according to the first charging request information;
and starting a preset charging radio frequency field according to the first charging radio frequency power so as to charge the electronic equipment.
2. The NFC communication control method according to claim 1, wherein the step of starting a predetermined charging rf field according to the first charging rf power for charging the electronic device further includes:
acquiring second charging request information of the electronic equipment based on NFC wireless communication every other first preset time;
determining second charging radio frequency power according to the second charging request information;
and if the second charging radio frequency power is not consistent with the first charging radio frequency power, performing power adjustment on the charging radio frequency field according to the second charging radio frequency power.
3. The NFC communication control method according to claim 1, wherein the step of starting a predetermined charging rf field according to the first charging rf power for charging the electronic device includes:
acquiring current chargeable radio frequency power;
if the chargeable radio frequency power is smaller than the first chargeable radio frequency power, sending first prompt information with insufficient power to the electronic equipment based on NFC wireless communication;
and if the chargeable radio frequency power is greater than or equal to the first charging radio frequency power, starting a preset charging radio frequency field according to the first charging radio frequency power so as to charge the electronic equipment.
4. The NFC communication control method according to claim 1, wherein the step of starting a predetermined charging rf field according to the first charging rf power for charging the electronic device further includes:
acquiring a power change value sent by the electronic equipment based on NFC wireless communication in real time;
and if the power change value is detected to be larger than the first warning value within a second preset time period, stopping the charging radio frequency field and outputting an alarm indicating sound.
5. The NFC communication control method according to claim 1, wherein the step of acquiring the first charging request information of the device information includes:
detecting a charging state of the device information;
judging whether peripheral charging information exists in the charging state;
if so, rejecting the NFC communication request based on NFC wireless communication;
and if not, acquiring first charging request information of the equipment information.
6. The NFC communication control method according to claim 1, wherein the NFC communication control method includes:
acquiring a current first real-time temperature, and acquiring a second real-time temperature of the electronic equipment based on NFC wireless communication;
and if the first real-time temperature or the second real-time temperature is detected to be greater than a second warning value, closing the charging radio frequency field to stop charging the electronic equipment.
7. The NFC communication control method according to any one of claims 1 to 6, wherein the step of acquiring the device information of the electronic device based on NFC wireless communication if the NFC communication request of the electronic device is detected includes:
if the NFC communication request of the electronic equipment is detected, acquiring a current first NFC communication version, and acquiring a second NFC communication version of the electronic equipment according to the NFC communication request;
if the first NFC communication version is inconsistent with the second NFC communication version, sending second prompt information for updating the NFC communication version to the electronic equipment;
and if the first NFC communication version is consistent with the second NFC communication version, acquiring the equipment information of the electronic equipment based on NFC wireless communication.
8. An NFC communication control apparatus, comprising:
the request module is used for acquiring equipment information of the electronic equipment based on NFC wireless communication if an NFC communication request of the electronic equipment is detected;
the power module is used for acquiring first charging request information of the equipment information and determining first charging radio frequency power according to the first charging request information;
and the starting module is used for starting a preset charging radio frequency field according to the first charging radio frequency power so as to charge the electronic equipment.
9. An apparatus, characterized in that the apparatus comprises: memory, a processor and an NFC-communication control program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the NFC-communication control method according to any of claims 1 to 7.
10. A computer storage medium, characterized in that the computer storage medium has stored thereon an NFC communication control program that, when executed by a processor, implements the steps of the NFC communication control method according to any one of claims 1 to 7.
CN201911423235.0A 2019-12-30 2019-12-30 NFC communication control method, device, equipment and computer storage medium Pending CN111030325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911423235.0A CN111030325A (en) 2019-12-30 2019-12-30 NFC communication control method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911423235.0A CN111030325A (en) 2019-12-30 2019-12-30 NFC communication control method, device, equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN111030325A true CN111030325A (en) 2020-04-17

Family

ID=70201870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911423235.0A Pending CN111030325A (en) 2019-12-30 2019-12-30 NFC communication control method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN111030325A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637720A (en) * 2020-11-19 2021-04-09 歌尔科技有限公司 Charging system and method for TWS earphone and charging box, and earphone and charging box

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078381A (en) * 2013-01-27 2013-05-01 中国科学院电工研究所 Wireless charging device for electric vehicle and output control method thereof
CN103094965A (en) * 2013-01-31 2013-05-08 深圳市中兴移动通信有限公司 Connection method to achieve wireless charging and wireless device
CN104143845A (en) * 2013-05-09 2014-11-12 比亚迪股份有限公司 Wireless charging detecting system for electromobile

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078381A (en) * 2013-01-27 2013-05-01 中国科学院电工研究所 Wireless charging device for electric vehicle and output control method thereof
CN103094965A (en) * 2013-01-31 2013-05-08 深圳市中兴移动通信有限公司 Connection method to achieve wireless charging and wireless device
CN104143845A (en) * 2013-05-09 2014-11-12 比亚迪股份有限公司 Wireless charging detecting system for electromobile

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637720A (en) * 2020-11-19 2021-04-09 歌尔科技有限公司 Charging system and method for TWS earphone and charging box, and earphone and charging box

Similar Documents

Publication Publication Date Title
US11539400B2 (en) Power supply apparatus and electronic apparatus configured to carry out wireless power supply
US20190222073A1 (en) Electronic device and method for transmission of reason wireless charging is stopping
EP2765481A1 (en) Mobile terminal and method for adjusting operation load of mobile terminal
EP3439138B1 (en) Method and terminal for wireless charging
US11652372B2 (en) Wireless power transmitter and wireless power receiver, and operation methods therefor
JP2011078191A (en) Charger, electronic equipment, and program
CN108667094B (en) Communication method, power adapter and terminal
CN106911157B (en) Quick charging line, quick charging system and quick charging method
US9717056B2 (en) Electronic device
US20150358908A1 (en) Electronic device and power supply apparatus
CN106125878A (en) A kind of charging method and electronic equipment
US11050269B2 (en) Charge control device and computer readable storage medium
US20230093705A1 (en) Heat dissipation method and apparatus for electronic device, and storage medium
CN110768332B (en) Charging cartridge, charging control method thereof, and readable storage medium
CN106160057A (en) The wireless control system of battery charging and method
US20180301935A1 (en) Power reception device, electronic apparatus, and power supply system
CN112398187B (en) Wearable device, charging control method, and storage medium
CN111030325A (en) NFC communication control method, device, equipment and computer storage medium
KR20200041446A (en) Method for wireless power transfer and electronic device thereof
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
WO2021134234A1 (en) Nfc communication control method and apparatus, and device and computer storage medium
CN112968509A (en) Control method for wireless charging device, and storage medium
CN104219729B (en) connection processing method and electronic equipment
CN108767606B (en) Adapter, charging method, and computer-readable storage medium
US10756562B2 (en) Communication device, control program, and non contact power-supply system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200417