CN117996985B - Wireless charging control method, device, equipment and storage medium - Google Patents
Wireless charging control method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN117996985B CN117996985B CN202410398906.7A CN202410398906A CN117996985B CN 117996985 B CN117996985 B CN 117996985B CN 202410398906 A CN202410398906 A CN 202410398906A CN 117996985 B CN117996985 B CN 117996985B
- Authority
- CN
- China
- Prior art keywords
- area
- preset area
- preset
- charging
- magnetic field
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000001514 detection method Methods 0.000 claims abstract description 54
- 238000012790 confirmation Methods 0.000 claims abstract description 23
- 238000006073 displacement reaction Methods 0.000 claims abstract description 14
- 238000012795 verification Methods 0.000 claims description 28
- 238000004422 calculation algorithm Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 11
- 230000009466 transformation Effects 0.000 claims description 8
- 238000012360 testing method Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000013021 overheating Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The application relates to the technical field of wireless charging, and provides a wireless charging control method, a device, equipment and a storage medium, wherein the method is applied to terminal equipment and comprises the following steps: after the access confirmation is passed, receiving electric energy output by the charging equipment at a minimum power value; acquiring the moving authority of a transmitting coil of the terminal equipment; sending a scanning instruction to the charging equipment so that the charging equipment controls the transmitting coil to displace in a preset direction, detecting according to preset standard information and magnetic field information collected in a displacement process, and generating a detection result, wherein the detection result comprises: whether foreign matters exist in the first preset area, the second preset area or the third preset area; if the detection result is that the foreign matter exists, stopping charging, setting a first preset area, a second preset area or a third preset area with the foreign matter as a target area, generating a foreign matter alarm prompt according to the target area, and sending the foreign matter alarm prompt to a user.
Description
Technical Field
The present application relates to the field of wireless charging technologies, and in particular, to a method, an apparatus, a device, and a storage medium for controlling wireless charging.
Background
Currently, most well-known branded wireless chargers, particularly those that follow the Qi wireless charging standard, typically incorporate a magnetic field sensor to detect changes in the magnetic field to achieve Foreign Object Detection (FOD). However, the above wireless charger can only prompt the user that a foreign object exists, but cannot locate the area where the foreign object exists, and if the foreign object locating function is to be integrated into the wireless charger, the calculation power requirement on the charging chip of the wireless charger is increased, which leads to the increase of the cost of the charging chip of the wireless charger.
Disclosure of Invention
The application provides a wireless charging control method, a wireless charging control device, wireless charging control equipment and a wireless charging control storage medium, which are used for detecting foreign matters in a joint area of terminal equipment and charging equipment and positioning the area where the foreign matters are located.
In a first aspect, an embodiment of the present application provides a control method for wireless charging, which is applied to a terminal device, where the terminal device is provided with a receiving coil, and the receiving coil is used to receive electric energy delivered by a transmitting coil of a charging device, and the charging device includes: a placing tray and a magnetic field sensor, a first side of the placing tray being used for placing the terminal device, an active area generated by displacement of the transmitting coil in a preset direction being capable of covering the first side, the method comprising:
performing access confirmation with the charging equipment according to a preset charging protocol;
after the access confirmation is passed, negotiating with the charging equipment, and receiving electric energy output by the charging equipment at a preset power value, wherein the preset power value is the minimum output power value of the charging equipment;
Transmitting identity information to the charging equipment so that the charging equipment opens the mobile authority of the transmitting coil to the terminal equipment according to the identity information;
Sending a scanning instruction to the charging equipment so that the charging equipment controls the transmitting coil to displace in the preset direction, and respectively acquiring first magnetic field information, second magnetic field information and third magnetic field information corresponding to the displacement of the transmitting coil to a first preset area, a second preset area and a third preset area through the magnetic field sensor;
according to the first specification information, the second specification information and the third specification information which are stored in advance, the first magnetic field information, the second magnetic field information and the third magnetic field information which are recovered by the charging equipment are detected respectively, and a detection result is generated, wherein the detection result comprises: whether foreign matter exists in the first preset area, the second preset area or the third preset area;
if the detection result is that the foreign matter exists, stopping charging, setting the first preset area, the second preset area or the third preset area with the foreign matter as a target area, generating a foreign matter alarm prompt according to the target area, and sending the foreign matter alarm prompt to a user.
In a second aspect, an embodiment of the present application provides a wireless charging control device, where the wireless charging control device is provided with a receiving coil, and the receiving coil is used to receive electric energy delivered by a transmitting coil of a charging device, and the charging device includes: place layer board and magnetic field sensor, place the first side of layer board is used for placing wireless controlling means who charges, the transmission coil carries out the activity area that the displacement produced in predetermineeing the direction can cover first side, wireless controlling means who charges includes:
The access confirmation module is used for carrying out access confirmation with the charging equipment according to a preset charging protocol;
The charging test module is used for negotiating with the charging equipment after the access confirmation is passed, and receiving electric energy output by the charging equipment at a preset power value, wherein the preset power value is the minimum output power value of the charging equipment;
The identity authentication module is used for sending identity information to the charging equipment so that the charging equipment opens the moving authority of the transmitting coil to the wireless charging control device according to the identity information;
the information acquisition module is used for sending a scanning instruction to the charging equipment so that the charging equipment controls the transmitting coil to displace in the preset direction, and respectively acquiring first magnetic field information, second magnetic field information and third magnetic field information corresponding to the displacement of the transmitting coil to a first preset area, a second preset area and a third preset area through the magnetic field sensor;
The foreign matter detection module is used for respectively detecting the first magnetic field information, the second magnetic field information and the third magnetic field information recovered by the charging equipment according to the first specification information, the second specification information and the third specification information which are stored in advance, and generating detection results, wherein the detection results comprise: whether foreign matter exists in the first preset area, the second preset area or the third preset area;
and the prompt output module is used for stopping charging when the detection result is that the foreign matter exists, setting the first preset area, the second preset area or the third preset area with the foreign matter as a target area, generating a foreign matter alarm prompt according to the target area, and sending the foreign matter alarm prompt to a user.
In a third aspect, an embodiment of the present application provides a terminal device, where the terminal device includes a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute the computer program and implement the wireless charging control method according to any one of the embodiments of the present application when the computer program is executed.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program, which when executed by a processor causes the processor to implement a method for controlling wireless charging according to any one of the embodiments of the present application.
The embodiment of the application provides a wireless charging control method, which is applied to terminal equipment, wherein the terminal equipment is provided with a receiving coil, the receiving coil is used for receiving electric energy transmitted by a transmitting coil of charging equipment, and the charging equipment comprises: placing a supporting plate and a magnetic field sensor, wherein a first side surface of the placing supporting plate is used for placing terminal equipment, and an active area generated by displacement of a transmitting coil in a preset direction can cover the first side surface, and the method comprises the following steps: performing access confirmation with the charging equipment according to a preset charging protocol; after the access confirmation is passed, negotiating with the charging equipment, and receiving electric energy output by the charging equipment at a preset power value, wherein the preset power value is the minimum output power value of the charging equipment; the identity information is sent to the charging equipment, so that the charging equipment opens the mobile authority of the transmitting coil to the terminal equipment according to the identity information; transmitting a scanning instruction to the charging equipment so that the charging equipment controls the transmitting coil to displace in a preset direction, and respectively acquiring first magnetic field information, second magnetic field information and third magnetic field information corresponding to the displacement of the transmitting coil to a first preset area, a second preset area and a third preset area through a magnetic field sensor; according to the first specification information, the second specification information and the third specification information which are stored in advance, the first magnetic field information, the second magnetic field information and the third magnetic field information which are recovered by the charging equipment are detected respectively, and a detection result is generated, wherein the detection result comprises: whether foreign matters exist in the first preset area, the second preset area or the third preset area; if the detection result is that the foreign matter exists, stopping charging, setting a first preset area, a second preset area or a third preset area with the foreign matter as a target area, generating a foreign matter alarm prompt according to the target area, and sending the foreign matter alarm prompt to a user. By the method, when wireless charging is performed, the area where the charging coil is located is scanned by the charging equipment, information obtained by scanning is sent to the terminal equipment, whether foreign matters exist or not is analyzed through the terminal equipment, and the foreign matter detection and positioning are realized without consuming the computational power resources of the charging equipment.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a charging device according to an embodiment of the present application;
FIG. 2 is a schematic view of a pallet according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a wireless charging control method according to an embodiment of the present application;
fig. 4 is a schematic block diagram of a wireless charging control device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
It is also to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1, fig. 1 shows a schematic diagram of a charging device 100 according to an embodiment of the application. As shown in fig. 1, the charging apparatus 100 includes: a base 11, a placement pallet 12 and a coil unit 13. Placing pallet 12 sets up on base 11, places pallet 12 and includes: a first side 121 and a second side 122, the first side 121 and the second side 122 being opposite. The first side 121 is used for placing the terminal device 200. The coil unit 13 is disposed inside the placement pallet 12, and the coil unit 13 can be displaced in a preset direction in the placement pallet 12. The coil unit 13 is provided with a transmitting coil for transmitting electric power to a receiving coil inside the terminal device 200.
Referring to fig. 2, fig. 2 is a schematic diagram of a placement pallet 12 according to an embodiment of the application. As shown in fig. 2, an active area generated by displacement of the coil unit 13 in a preset direction can cover the first side 121.
In some embodiments, the upper edge of the first preset area coincides with the upper edge of the active area, the lower edge of the first preset area coincides with the middle line of the second preset area, the middle line of the first preset area coincides with the upper edge of the second preset area, the upper edge of the third preset area coincides with the middle line of the second preset area, the middle line of the third preset area coincides with the lower edge of the second preset area, and the lower edge of the third preset area coincides with the lower edge of the active area.
Referring to fig. 3, fig. 3 is a schematic flowchart of a wireless charging control method according to an embodiment of the application. The control method of wireless charging shown in fig. 3 is applied to the terminal device 200, and the terminal device 200 is used with the charging device 100 shown in fig. 1, and the specific steps of the control method of wireless charging include: S101-S106.
S101, performing access confirmation with the charging equipment 100 according to a preset charging protocol.
The preset charging protocol is, for example, qi wireless charging protocol, and when the terminal device 200 and the charging device 100 are capable of wireless communication, they perform identity authentication with each other based on Qi protocol, and negotiate charging items.
In some embodiments, performing access confirmation with the charging device 100 according to a preset charging protocol includes: acquiring the hardware flag code sent by the charging device 100, and if the hardware flag code is found in the preset hardware flag table, performing dynamic verification, where the step of dynamic verification includes: S1011-S1014.
S1011, acquiring a first conversion number, a second conversion number and an encryption number transmitted by the charging apparatus 100, wherein the first conversion number is: and generating according to the preset first random number, elliptic curve exchange algorithm and base points on the elliptic curve exchange algorithm. The second transform number is: generated according to the second random number, elliptic curve exchange algorithm and the base point. The encryption number is: the hash value corresponding to the hardware flag code is multiplied by the product of the first random number and the sum of the second random number.
Illustratively, the specific formulas for calculating the first transform number, the second transform number, and the encryption number are respectively:
;
;
;
wherein K is a first transformation number, s is a first random number, R is a second transformation number, j is a second random number, G is a base point on an elliptic curve corresponding to an elliptic curve exchange algorithm, H is an encryption number, M is a hardware identification code, and hash (M) is a hash value of the hardware identification code. The first random number and the second random number are integers, and when the integers are multiplied by G, elliptic curve multiplication in an elliptic curve exchange algorithm is followed.
It should be noted that the first conversion number, the second conversion number, and the encryption number are generated by the charging device 100, the charging device 100 knows its calculation process, and the terminal device 200 does not know its calculation process, and the terminal device 200 only needs to verify it.
S1012, adding the second transformation number to the product of the hash value corresponding to the hardware mark code and the first transformation number to obtain a first verification code.
Exemplary, the specific formula for calculating the first verification code is:
;
wherein X is a first verification code.
S1013, determining a second verification code according to the encryption number, the elliptic curve exchange algorithm and the base point.
Exemplary, the specific formula for calculating the second verification code is:
;
Wherein Y is the second verification code.
S1014, comparing the first verification code with the second verification code, and if the first verification code is the same as the second verification code, confirming the access of the charging device 100.
By the asymmetric authentication mechanism described above, data security between the charging device 100 and the terminal device 200 is ensured to prevent malicious attacks. It should be noted that the authentication mechanism described above may also be used for authentication of the terminal device 200 by the charging device 100.
S102, negotiating with the charging device 100 after the access confirmation is passed, and receiving the electric energy output by the charging device 100 at a preset power value, wherein the preset power value is the minimum output power value of the charging device 100.
Illustratively, after the identity authentication is completed between the terminal device 200 and the charging device 100, the terminal device 200 negotiates charging items with the charging device 100, the charging items including: the charging voltage value, the charging current value and the charging power are used for ensuring the safety of the charging process.
During charging, metallic foreign matter may exist between the terminal device 200 and the charging device 100, and the magnetic field generated by the transmitting coil causes eddy currents to appear on the metallic foreign matter, which in turn generate heat, which may cause not only a reduction in charging power but also overheating of the charging device 100 or the terminal device 200.
Therefore, before detecting the metallic foreign matter, wireless charging is performed between the terminal device 200 and the charging device 100 at the minimum output power value of the charging device 100 to assist in completing the metallic foreign matter detection
S103, the identity information is sent to the charging device 100, so that the charging device 100 opens the mobile authority of the transmitting coil to the terminal device 200 according to the identity information.
For example, the terminal device 200 and the charging device 100 provided in the embodiment of the present application are used together, and the terminal device 200 needs further secondary identity authentication to start the metal foreign object detection process between the wireless charging device 100.
After the secondary identity authentication of the terminal device 200 by the charging device 100, the terminal device 200 is allowed to control the transmitting coil to move.
And S104, sending a scanning instruction to the charging equipment 100 so that the charging equipment 100 controls the transmitting coil to displace in a preset direction, and respectively acquiring first magnetic field information, second magnetic field information and third magnetic field information corresponding to the displacement of the transmitting coil to a first preset area, a second preset area and a third preset area through the magnetic field sensor.
For example, in order to improve the accuracy of the detection result of the metallic foreign matter and to locate the position of the metallic foreign matter, a plurality of pieces of magnetic field information are checked. Specifically, the charging apparatus 100 displaces the transmitting coil to a plurality of regions, and collects one set of magnetic field information in each region by the magnetic field sensor, for example, first magnetic field information in a first preset region, second magnetic field information in a second preset region, and third magnetic field information in a third preset region, respectively.
S105, detecting the first magnetic field information, the second magnetic field information, and the third magnetic field information recovered by the charging device 100 according to the first specification information, the second specification information, and the third specification information stored in advance, to generate detection results, where the detection results include: whether foreign matter exists in the first preset area, the second preset area or the third preset area.
In some embodiments, detecting the first magnetic field information, the second magnetic field information, and the third magnetic field information recovered by the charging device 100 according to the first specification information, the second specification information, and the third specification information stored in advance, respectively, includes: comparing the first magnetic field information with the first specification information, and if the similarity between the first magnetic field information and the first specification information is smaller than a preset threshold value, generating a detection result comprising: foreign matter exists in the first preset area; comparing the second magnetic field information with the second standard information, and if the similarity between the second magnetic field information and the second standard information is smaller than a preset threshold value, generating a detection result comprising: foreign matter exists in the second preset area; comparing the third magnetic field information with the third standard information, and if the similarity of the third magnetic field information and the third standard information is smaller than a preset threshold value, generating a detection result comprising: foreign matter exists in the third preset area.
It should be noted that, under the condition that the first specification information is normal charging, the magnetic field sensor collects magnetic field information corresponding to the first preset area; the second standard information is magnetic field information corresponding to a second preset area collected by the magnetic field sensor under the condition of normal charging. And the third standard information is magnetic field information corresponding to a third preset area collected by the magnetic field sensor under the condition of normal charging.
Through the above-mentioned process, through magnetic field information and normative information contrast, whether have had the foreign matter in the first preset area, the second preset area or the third preset area to improve the security of charging process.
And S106, if the detection result shows that the foreign matter exists, stopping charging, setting the first preset area, the second preset area or the third preset area with the foreign matter as a target area, generating a foreign matter alarm prompt according to the target area, and sending the foreign matter alarm prompt to a user.
In some embodiments, when the terminal device 200 determines that the foreign object exists according to the detection result, the first preset area, the second preset area, or the third preset area in which the foreign object exists is set as the target area, including: reading a detection result; if only the first preset area is read to have foreign matters, determining a non-overlapping area of the first preset area and the second preset area as a target area; if foreign matters exist in the first preset area and the second preset area, determining an overlapping area of the first preset area and the second preset area as a target area; if only the third preset area is read to have foreign matters, determining a non-overlapping area of the third preset area and the second preset area as a target area; if the third preset area and the second preset area are both read to have foreign matters, determining the superposition area of the first preset area and the second preset area as a target area.
In some embodiments, after detecting the first magnetic field information, the second magnetic field information, and the third magnetic field information recovered by the charging device 100 according to the first specification information, the second specification information, and the third specification information stored in advance, respectively, and generating a detection result, the method further includes: if foreign matters exist in the first preset area, the second preset area and the third preset area, the foreign matters are not read, the foreign matters are negotiated with the charging equipment 100, and the charging is performed by switching to the maximum power value allowed by the charging protocol.
In some embodiments, the terminal device 200 further comprises: the display interface generates a foreign matter alarm prompt according to the target area, and comprises the following steps: determining a matching area on the display interface according to the target area, wherein the matching area is as follows: when the terminal equipment 200 is placed on the placing support plate 12, the target area corresponds to the area on the display interface; and selecting a matching area on the display interface in a frame mode, highlighting the matching area, and generating a text warning prompt in the matching area to prompt a user that foreign matters exist in the matching area.
By the method, when wireless charging is performed, the area where the charging coil is located is scanned by the charging equipment 100, information obtained by scanning is sent to the terminal equipment 200, whether foreign matters exist or not is analyzed by the terminal equipment 200, and the detection and positioning of the foreign matters are realized without consuming the computational power resources of the charging equipment 100.
The embodiment of the application provides a wireless charging control device, which is applied to terminal equipment, wherein the terminal equipment is also provided with a receiving coil, the receiving coil is used for receiving electric energy transmitted by a transmitting coil of the charging equipment, and the charging equipment comprises: place layer board and magnetic field sensor, place the first side of layer board and be used for placing wireless controlling means who charges, the transmitter coil carries out the activity area that the displacement produced in the direction of predetermineeing and can cover first side.
Referring to fig. 4, fig. 4 is a schematic block diagram of a wireless charging control device according to an embodiment of the application. As shown in fig. 4, the wireless charging control device 300 includes: an access confirmation module 301, a charging test module 302, an identity authentication module 303, an information acquisition module 304, a foreign matter detection module 305 and a prompt output module 306.
The access confirmation module 301 is configured to perform access confirmation with the charging device according to a preset charging protocol.
The access confirmation module 301, when configured to perform access confirmation with the charging device according to a preset charging protocol, is specifically configured to perform: acquiring a hardware mark code sent by charging equipment, and if the hardware mark code is found in a preset hardware mark table, performing dynamic verification, wherein the step of dynamic verification comprises the following steps: acquiring a first conversion number, a second conversion number and an encryption number sent by a charging device, wherein the first conversion number is: generating according to a preset first random number, an elliptic curve exchange algorithm and a base point on the elliptic curve exchange algorithm; the second transform number is: generating according to the second random number, the elliptic curve exchange algorithm and the base point; the encryption number is: multiplying the hash value corresponding to the hardware mark code by the product of the first random number and the sum of the second random number; adding a second transformation number to the product of the hash value corresponding to the hardware mark code and the first transformation number to obtain a first verification code; determining a second verification code according to the encryption number, the elliptic curve exchange algorithm and the base point; and comparing the first verification code with the second verification code, and if the first verification code is the same as the second verification code, confirming the access of the charging equipment.
The charging test module 302 is configured to negotiate with the charging device after the access confirmation is passed, and receive the electric energy output by the charging device at a preset power value, where the preset power value is a minimum output power value of the charging device.
The identity authentication module 303 is configured to send identity information to the charging device, so that the charging device opens the mobile authority of the transmitting coil to the wireless charging control device according to the identity information.
The information acquisition module 304 is configured to send a scan instruction to the charging device, so that the charging device controls the transmitting coil to displace in a preset direction, and respectively acquire, through the magnetic field sensor, first magnetic field information, second magnetic field information, and third magnetic field information corresponding to when the transmitting coil displaces to a first preset area, a second preset area, and a third preset area.
The foreign matter detection module 305 is configured to detect, according to the first specification information, the second specification information, and the third specification information stored in advance, the first magnetic field information, the second magnetic field information, and the third magnetic field information recovered by the charging device, and generate a detection result, where the detection result includes: whether foreign matter exists in the first preset area, the second preset area or the third preset area.
In some embodiments, when the foreign object detection module 305 is configured to detect the first magnetic field information, the second magnetic field information, and the third magnetic field information recovered by the charging device according to the first specification information, the second specification information, and the third specification information stored in advance, the foreign object detection module is specifically configured to implement: comparing the first magnetic field information with the first specification information, and if the similarity between the first magnetic field information and the first specification information is smaller than a preset threshold value, generating a detection result comprising: foreign matter exists in the first preset area; comparing the second magnetic field information with the second standard information, and if the similarity between the second magnetic field information and the second standard information is smaller than a preset threshold value, generating a detection result comprising: foreign matter exists in the second preset area; comparing the third magnetic field information with the third standard information, and if the similarity of the third magnetic field information and the third standard information is smaller than a preset threshold value, generating a detection result comprising: foreign matter exists in the third preset area.
The prompt output module 306 is configured to stop charging when the detection result indicates that the foreign object exists, set the first preset area, the second preset area, or the third preset area where the foreign object exists as a target area, generate a foreign object alarm prompt according to the target area, and send the foreign object alarm prompt to the user.
In some embodiments, if the detection result is that the foreign object exists, the prompt output module 306 is specifically configured to, when configured to set the first preset area, the second preset area, or the third preset area in which the foreign object exists as the target area: reading a detection result; if only the first preset area is read to have foreign matters, determining a non-overlapping area of the first preset area and the second preset area as a target area; if foreign matters exist in the first preset area and the second preset area, determining an overlapping area of the first preset area and the second preset area as a target area; if only the third preset area is read to have foreign matters, determining a non-overlapping area of the third preset area and the second preset area as a target area; if the third preset area and the second preset area are both read to have foreign matters, determining the superposition area of the first preset area and the second preset area as a target area.
In some embodiments, the prompt output module 306 is configured to detect the first magnetic field information, the second magnetic field information, and the third magnetic field information recovered by the charging device according to the first specification information, the second specification information, and the third specification information, and after generating the detection result, further specifically is configured to implement: if foreign matters exist in the first preset area, the second preset area and the third preset area, negotiating with the charging equipment, and switching to the maximum power value allowed by the charging protocol for charging.
In some embodiments, hint output module 306 further includes: the display interface, the prompt output module 306 is specifically configured to implement: determining a matching area on the display interface according to the target area, wherein the matching area is as follows: when the terminal equipment is placed on the placing support plate, the target area is in a corresponding area on the display interface; and selecting a matching area on the display interface in a frame mode, highlighting the matching area, and generating a text warning prompt in the matching area to prompt a user that foreign matters exist in the matching area.
The embodiment of the application provides terminal equipment, which comprises a memory and a processor; the memory is used for storing a computer program; the processor is configured to execute the computer program and implement the wireless charging control method according to any one of the embodiments of the present application when the computer program is executed.
A computer-readable storage medium according to an embodiment of the present application stores a computer program that, when executed by a processor, causes the processor to implement a method for controlling wireless charging according to any one of the embodiments of the present application.
While the application has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the application. Therefore, the protection scope of the application is subject to the protection scope of the claims.
Claims (10)
1. A control method of wireless charging, characterized by being applied to a terminal device, the terminal device being mounted with a receiving coil for receiving electric energy delivered by a transmitting coil of a charging device, the charging device comprising: a placing tray and a magnetic field sensor, a first side of the placing tray being used for placing the terminal device, an active area generated by displacement of the transmitting coil in a preset direction being capable of covering the first side, the method comprising:
performing access confirmation with the charging equipment according to a preset charging protocol;
after the access confirmation is passed, negotiating with the charging equipment, and receiving electric energy output by the charging equipment at a preset power value, wherein the preset power value is the minimum output power value of the charging equipment;
Transmitting identity information to the charging equipment so that the charging equipment opens the mobile authority of the transmitting coil to the terminal equipment according to the identity information;
Sending a scanning instruction to the charging equipment so that the charging equipment controls the transmitting coil to displace in the preset direction, and respectively acquiring first magnetic field information, second magnetic field information and third magnetic field information corresponding to the displacement of the transmitting coil to a first preset area, a second preset area and a third preset area through the magnetic field sensor;
according to the first specification information, the second specification information and the third specification information which are stored in advance, the first magnetic field information, the second magnetic field information and the third magnetic field information which are recovered by the charging equipment are detected respectively, and a detection result is generated, wherein the detection result comprises: whether foreign matter exists in the first preset area, the second preset area or the third preset area;
If the detection result is that the foreign matter exists, stopping charging, setting the first preset area, the second preset area or the third preset area with the foreign matter as a target area, generating a foreign matter alarm prompt according to the target area, and sending the foreign matter alarm prompt to a user.
2. The method for controlling wireless charging according to claim 1, wherein detecting the first magnetic field information, the second magnetic field information, and the third magnetic field information, respectively, recovered by the charging device according to the first specification information, the second specification information, and the third specification information stored in advance, comprises:
comparing the first magnetic field information with the first specification information, and if the similarity between the first magnetic field information and the first specification information is smaller than a preset threshold, generating the detection result including: foreign matter exists in the first preset area;
Comparing the second magnetic field information with the second specification information, and if the similarity between the second magnetic field information and the second specification information is smaller than a preset threshold, generating the detection result including: foreign matter exists in the second preset area;
Comparing the third magnetic field information with the third specification information, and if the similarity between the third magnetic field information and the third specification information is smaller than a preset threshold, generating the detection result including: and foreign matters exist in the third preset area.
3. The method of claim 2, wherein a top line of the first preset area coincides with a top line of the active area, a bottom line of the first preset area coincides with a middle line of the second preset area, the middle line of the first preset area coincides with a top line of the second preset area, a top line of the third preset area coincides with a middle line of the second preset area, the middle line of the third preset area coincides with a bottom line of the second preset area, and the bottom line of the third preset area coincides with a bottom line of the active area.
4. The method for controlling wireless charging according to claim 3, wherein if the detection result is that a foreign object exists, setting the first preset area, the second preset area, or the third preset area in which a foreign object exists as a target area, comprises:
reading the detection result;
If only the first preset area is read to have foreign matters, determining a non-overlapping area of the first preset area and the second preset area as the target area;
If the first preset area and the second preset area are read to have foreign matters, determining an overlapping area of the first preset area and the second preset area as the target area;
If only the third preset area is read to have foreign matters, determining a non-overlapping area of the third preset area and the second preset area as the target area;
If the third preset area and the second preset area are both read to have foreign matters, determining the superposition area of the first preset area and the second preset area as the target area.
5. The method according to claim 4, wherein after detecting the first magnetic field information, the second magnetic field information, and the third magnetic field information, respectively, returned from the charging device according to the first specification information, the second specification information, and the third specification information stored in advance, and generating a detection result, the method further comprises:
If foreign matters exist in the first preset area, the second preset area and the third preset area, negotiating with the charging equipment, and switching to the maximum power value allowed by the charging protocol for charging.
6. The control method of wireless charging according to claim 1, wherein the terminal device further comprises: the display interface is used for generating a foreign matter alarm prompt according to the target area, and comprises the following steps:
Determining a matching area on the display interface according to the target area, wherein the matching area is as follows: when the terminal equipment is placed on the placing support plate, the target area is a corresponding area on the display interface;
and selecting the matching area on the display interface in a frame mode, highlighting the matching area, and generating a text warning prompt in the matching area to prompt a user that foreign matters exist in the matching area.
7. The method for controlling wireless charging according to claim 1, wherein the performing access confirmation with the charging device according to a preset charging protocol includes:
Acquiring a hardware mark code sent by the charging equipment, and if the hardware mark code is found in a preset hardware mark table, performing dynamic verification, wherein the step of dynamic verification comprises the following steps:
Acquiring a first conversion number, a second conversion number and an encryption number sent by the charging equipment, wherein the first conversion number is: generating according to a preset first random number, an elliptic curve exchange algorithm and a base point on the elliptic curve exchange algorithm; the second transform number is: generating according to a second random number, the elliptic curve exchange algorithm and the base point; the encryption number is: multiplying the hash value corresponding to the hardware mark code by the product of the first random number and the sum of the first random number and the second random number;
adding the second transformation number to the product of the hash value corresponding to the hardware mark code and the first transformation number to obtain a first verification code;
determining a second verification code according to the encryption number, the elliptic curve exchange algorithm and the base point;
Comparing the first verification code with the second verification code, and if the first verification code is the same as the second verification code, confirming the access of the charging equipment.
8. A control device for wireless charging, characterized in that it is applied to a terminal device, the terminal device is equipped with a receiving coil, the receiving coil is used for receiving the electric energy that the transmitting coil of a charging device carried, the charging device includes: place layer board and magnetic field sensor, place the first side of layer board is used for placing wireless controlling means who charges, the transmission coil carries out the activity area that the displacement produced in predetermineeing the direction can cover first side, wireless controlling means who charges includes:
The access confirmation module is used for carrying out access confirmation with the charging equipment according to a preset charging protocol;
The charging test module is used for negotiating with the charging equipment after the access confirmation is passed, and receiving electric energy output by the charging equipment at a preset power value, wherein the preset power value is the minimum output power value of the charging equipment;
The identity authentication module is used for sending identity information to the charging equipment so that the charging equipment opens the moving authority of the transmitting coil to the wireless charging control device according to the identity information;
the information acquisition module is used for sending a scanning instruction to the charging equipment so that the charging equipment controls the transmitting coil to displace in the preset direction, and respectively acquiring first magnetic field information, second magnetic field information and third magnetic field information corresponding to the displacement of the transmitting coil to a first preset area, a second preset area and a third preset area through the magnetic field sensor;
The foreign matter detection module is used for respectively detecting the first magnetic field information, the second magnetic field information and the third magnetic field information recovered by the charging equipment according to the first specification information, the second specification information and the third specification information which are stored in advance, and generating detection results, wherein the detection results comprise: whether foreign matter exists in the first preset area, the second preset area or the third preset area;
and the prompt output module is used for stopping charging when the detection result is that the foreign matter exists, setting the first preset area, the second preset area or the third preset area with the foreign matter as a target area, generating a foreign matter alarm prompt according to the target area, and sending the foreign matter alarm prompt to a user.
9. A terminal device, characterized in that the terminal device comprises a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute the computer program and implement the control method of wireless charging according to any one of claims 1 to 7 when the computer program is executed.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to implement the control method of wireless charging according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410398906.7A CN117996985B (en) | 2024-04-03 | 2024-04-03 | Wireless charging control method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410398906.7A CN117996985B (en) | 2024-04-03 | 2024-04-03 | Wireless charging control method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117996985A CN117996985A (en) | 2024-05-07 |
CN117996985B true CN117996985B (en) | 2024-06-25 |
Family
ID=90892686
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410398906.7A Active CN117996985B (en) | 2024-04-03 | 2024-04-03 | Wireless charging control method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117996985B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110212615A (en) * | 2019-06-28 | 2019-09-06 | Oppo广东移动通信有限公司 | Wireless charging pedestal and wireless charging pedestal control method |
CN111600398A (en) * | 2019-02-19 | 2020-08-28 | Lg电子株式会社 | Wireless power transmission apparatus and control method thereof |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5838262B2 (en) * | 2012-05-23 | 2016-01-06 | パイオニア株式会社 | Power transmission equipment |
US20160164333A1 (en) * | 2013-07-18 | 2016-06-09 | Panasonic Intellectual Property Management Co., Ltd. | Contactless charger, program therefor, and automobile equipped with same |
EP3086436B1 (en) * | 2013-12-16 | 2018-04-18 | Panasonic Intellectual Property Management Co., Ltd. | Contactless charging device, program therefor, and automobile having contactless charging device mounted therein |
WO2018146973A1 (en) * | 2017-02-09 | 2018-08-16 | パナソニックIpマネジメント株式会社 | Method for controlling power transmission device in wireless power transmission system, and power transmission device |
KR102532469B1 (en) * | 2018-11-19 | 2023-05-12 | 엘지전자 주식회사 | Wireless power transfer appratus |
CN116685491A (en) * | 2020-10-02 | 2023-09-01 | 英特迪科技有限公司 | Wireless power transmission system |
KR20220117683A (en) * | 2021-02-17 | 2022-08-24 | 주식회사 히타치엘지 데이터 스토리지 코리아 | Apparatus and method for transmitting power wirelessly |
KR20230025998A (en) * | 2021-08-17 | 2023-02-24 | 주식회사 히타치엘지 데이터 스토리지 코리아 | Apparatus and method for transmitting power wirelessly |
CN115296447A (en) * | 2022-08-16 | 2022-11-04 | 浙江大学 | System and method for detecting metal foreign matters and positions of wireless power transmission system |
CN117691766A (en) * | 2022-09-09 | 2024-03-12 | 荣耀终端有限公司 | Wireless charging foreign matter temperature detection system and detection method |
-
2024
- 2024-04-03 CN CN202410398906.7A patent/CN117996985B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111600398A (en) * | 2019-02-19 | 2020-08-28 | Lg电子株式会社 | Wireless power transmission apparatus and control method thereof |
CN110212615A (en) * | 2019-06-28 | 2019-09-06 | Oppo广东移动通信有限公司 | Wireless charging pedestal and wireless charging pedestal control method |
Also Published As
Publication number | Publication date |
---|---|
CN117996985A (en) | 2024-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11095154B2 (en) | System, apparatus and method for supplying electric power, apparatus and method for receiving electric power, storage medium and program | |
US11252544B2 (en) | Information providing system and server | |
JP5999566B2 (en) | Unauthorized connection detection device, unauthorized connection detection system, and unauthorized connection detection method | |
US20200021335A1 (en) | Power supply apparatus, power supply method, and recording medium | |
CN108900536B (en) | Authentication method, authentication device, computer equipment and storage medium | |
JP2006501583A5 (en) | ||
JPWO2009040998A1 (en) | Contactless charger | |
JP6092529B2 (en) | Charging system for electric mobile body and server device included therein | |
JP6772978B2 (en) | Power transmission device | |
JP5960512B2 (en) | Charging system for electric mobile object, charging device for electric mobile object, portable communication terminal and server device included therein, and charging method for electric mobile object | |
KR20120068566A (en) | Method and system for wireless charge | |
CN117996985B (en) | Wireless charging control method, device, equipment and storage medium | |
CN104252352A (en) | Information processing method and electronic equipment | |
JP2013027249A (en) | Portable terminal, portable terminal charging system, portable terminal charging method, and program | |
EP3046207A1 (en) | Wireless charger | |
CN112421787A (en) | Wireless charging device, system, control method, charging apparatus, and storage medium | |
JP2006099217A (en) | Communication system | |
CN105979519A (en) | Method and device for controlling network access through charging state | |
KR102193383B1 (en) | Mobile Charger for Electric Vehicle | |
JP4049199B1 (en) | Information processing apparatus, information processing method, and program | |
JP4809422B2 (en) | Information display device and information display method | |
KR101729987B1 (en) | Mobile payment authentication system and method in online and offline | |
CN109993014A (en) | Accept equipment, mobile terminal and bar code reading and control method thereof | |
CN117955263B (en) | Wireless charging method and system for intelligent equipment | |
CN113715774B (en) | Vehicle control device, vehicle control system, and recording medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |