Wireless charging control method, device and equipment, storage medium and vehicle
Through short-distance communication, the wireless charging function is automatically turned on, which solves the problem of users manually turning on wireless charging in the prior art, improving user experience and reducing safety risks.
Patent Information
- Application Number
- CN202311236821.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2025-03-25
AI Technical Summary
The wireless charging function of existing devices requires users to manually turn on, and they cannot automatically charge according to the device's power, resulting in users being unable to charge when it is inconvenient, affecting the user's experience.
The power information of the second device is received through short-distance communication. When the power is less than the set threshold, an on command is automatically sent to enable the wireless charging function, and the wireless charging function is automatically turned on.
It avoids the hassle of users needing to manually turn on the wireless charging function, improves the user experience, and reduces safety risks caused by charging operations distracting the driver's attention during driving.
Smart Images

Figure CN119696208A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of wireless charging technology, and in particular to a wireless charging control method, device, equipment, storage medium and vehicle. Background Art
[0002] With the development of technology, more and more devices have wireless charging function. When using wireless charging function, the device does not need to be connected through a charging cable when charging, getting rid of the limitation of the line.
[0003] The wireless charging function of the current device needs to be turned on by the user manually clicking. If the user needs to charge but it is inconvenient to click to turn on the wireless charging function, the wireless charging function cannot be used for charging, which cannot meet the user's needs. Summary of the invention
[0004] In view of this, the purpose of the present disclosure is to provide a wireless charging control method, device, equipment, storage medium and vehicle to solve the problem that the wireless charging function can only be turned on manually by the user.
[0005] Based on the above purpose, a first aspect of the present disclosure provides a wireless charging control method, the method comprising:
[0006] Receiving first power information sent by a second device via short-distance communication;
[0007] It is determined that the first power information is less than a first power threshold, and an enable instruction is sent to control the wireless charging module to enable the wireless charging function.
[0008] Based on the same inventive concept, the second aspect of the present disclosure proposes a wireless charging control device, comprising:
[0009] A power information receiving module, configured to receive first power information sent by a second device via short-distance communication;
[0010] The charging function activation module is configured to determine that the first power information is less than a first power threshold, and send an activation instruction to control the wireless charging module to activate the wireless charging function.
[0011] Based on the same inventive concept, the third aspect of the present disclosure proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method as described above when executing the computer program.
[0012] Based on the same inventive concept, a fourth aspect of the present disclosure proposes a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method as described above.
[0013] Based on the same inventive concept, the fifth aspect of the present disclosure provides a vehicle, comprising the wireless charging control device described in the second aspect or the electronic device described in the third aspect or the storage medium described in the fourth aspect.
[0014] From the above, it can be seen that the present disclosure proposes a wireless charging control method, device, equipment, storage medium and vehicle. After the first device establishes a short-distance communication connection with the second device, the first device receives the first power information sent by the second device through short-distance communication, so as to judge whether to turn on the wireless charging function according to the first power information. When it is determined that the first power information is less than the first power threshold, a start instruction is sent to the wireless charging module, so that the wireless charging module turns on the wireless charging function after receiving the start instruction. It is judged whether to turn on the wireless charging function based on the first power information to avoid unnecessary function activation operations when the second device does not need to be charged. At the same time, the wireless charging function is automatically turned on according to the first power information, without the need for manual operation by the user, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0016] Figure 1 is a flow chart of a wireless charging control method according to an embodiment of the present disclosure;
[0017] Figure 2 is a structural block diagram of a wireless charging control device according to an embodiment of the present disclosure;
[0018] Figure 3 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0019] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0020] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0021] The terms used in this disclosure are explained as follows:
[0022] Wi-Fi: Wireless communication technology, a trademark of the Wi-Fi Alliance manufacturer as a brand certification for products, is a wireless local area network technology created based on the IEEE 802.11 standard.
[0023] BLE: Bluetooth Low Energy (BLE) technology is a low-cost, short-range, interoperable, robust wireless technology that operates in the unlicensed 2.4GHz ISM radio frequency band.
[0024] ZigBee: ZigBee is a low-speed, short-distance wireless network protocol.
[0025] IrDA: It is a technology that uses infrared rays for point-to-point communication and is the first technology to realize wireless personal area networks (PANs).
[0026] NFC: Near Field Communication (NFC). NFC is developed based on contactless radio frequency identification (RFID) technology combined with wireless interconnection technology.
[0027] UWB Ultra Wide Band: Wireless carrier communication technology (Ultra Wide Band, UWB). Because it uses nanosecond non-sinusoidal narrow pulses instead of sine wave carriers to transmit data, UWB can transmit signals with a very wide bandwidth.
[0028] Based on the above description, this embodiment proposes a wireless charging control method, which is applied to a first device, such as Figure 1 As shown, the method includes:
[0029] Step 101: receiving first power information sent by a second device via short-distance communication.
[0030] In specific implementation, the first device and the second device are both devices with wireless charging function, and the first device and the second device are connected through short-distance communication, wherein the short-distance communication method includes at least one of the following: Wi-Fi, BLE, ZigBee, IrDA, NFC or UWB ultra-wideband, the first device includes at least one of the following: car machine, mobile phone, power bank, charger, smart bracelet, smart watch or Bluetooth headset, and the second device includes at least one of the following: car machine, mobile phone, power bank, charger, smart bracelet, smart watch or Bluetooth headset. In this embodiment, the first device is preferably a car machine, the second device is preferably a mobile phone, and the first device and the second device are preferably connected through Bluetooth.
[0031] After the first device establishes a short-distance communication connection with the second device, the first device receives its own first power information sent by the second device via short-distance communication, so as to subsequently determine whether to turn on the wireless charging function according to the first power information.
[0032] Step 102: determine that the first power information is less than a first power threshold, and send an enable instruction to control the wireless charging module to enable the wireless charging function.
[0033] In a specific implementation, when the wireless charging function in the first device is turned off, the first device receives the first power information sent by the second device, and when it is determined that the first power information is less than the first power threshold, it sends an enable instruction to the wireless charging module, so that the wireless charging module can enable the wireless charging function after receiving the enable instruction. After the wireless charging function is turned on, when the user places the second device in the wireless charging area of the first device, the second device can be wirelessly charged.
[0034] Exemplarily, the first device is a car computer, and the second device is a mobile phone. The car computer and the mobile phone are connected via Bluetooth, and the first power threshold is 40%. When the car computer receives that the power of the mobile phone is 30%, it sends an opening instruction to the wireless charging module inside the car computer. After receiving the opening instruction, the wireless charging module executes the opening instruction and turns on the wireless charging function. At this time, the user can place the mobile phone in the wireless charging area inside the car computer to realize wireless charging of the mobile phone using the wireless charging function of the car computer. Among them, the wireless charging area includes at least one of the following: the armrest box area between the main driver's seat and the co-driver's seat, the armrest box area between the back seats, or the instrument panel.
[0035] Through the above scheme, after the first device and the second device establish a short-distance communication connection, the first device receives the first power information sent by the second device through short-distance communication, so as to determine whether to turn on the wireless charging function based on the first power information. When it is determined that the first power information is less than the first power threshold, an enable instruction is sent to the wireless charging module, so that the wireless charging module can turn on the wireless charging function after receiving the enable instruction. Whether to turn on the wireless charging function is determined by the first power information, so as to avoid unnecessary function activation operations when the second device does not need to be charged. At the same time, the wireless charging function is automatically turned on according to the first power information, without the need for manual operation by the user, so as to avoid the need for the user to manually turn on the wireless charging function when the user wants to charge the device while driving, which distracts the driver's attention and causes safety accidents, reduces safety hazards, improves driving safety, and improves user experience.
[0036] In some embodiments, after step 102, the method further includes:
[0037] Step 103: Send a first prompt message, where the first prompt message is used to prompt that the wireless charging function is turned on.
[0038] In a specific implementation, when the wireless charging function is turned on, a first prompt message is sent, wherein the content type of the first prompt message includes at least one of the following: voice, text, picture, video and rich text.
[0039] Exemplarily, the first device is a car computer, the second device is a mobile phone, and the content type of the first prompt information is text, such as "the wireless charging function is turned on"; in another example, the content type of the first prompt information is a picture, then a picture containing the content information "the wireless charging function is turned on" is displayed to the user.
[0040] The prompting method of the first prompting information includes at least one of the following: voice broadcast, HUD display, instrument display, central control screen display, window display and in-vehicle device linkage, etc. The HUD display is a head-up display. The first prompting information prompts the user that the wireless charging function is turned on, and the second device can be charged by placing it in the wireless charging area.
[0041] For example, when the prompt mode of the first prompt information is HUD display, the first prompt information will be projected in front of the eyes of the message information display object. In another example, when the prompt mode of the first prompt information is voice broadcast, the first prompt information is voice broadcasted to the user, such as "wireless charging function is turned on".
[0042] In some embodiments, step 101 specifically includes:
[0043] Step 1011, sending a first broadcast to the second device, so that when the second device receives the first broadcast, it generates a second broadcast including first power information according to the first broadcast and sends it to the first device, wherein the first broadcast includes power request information.
[0044] In a specific implementation, after the first device establishes a short-distance communication connection with the second device, the first device sends a first broadcast to the second device via short-distance communication, wherein the first broadcast includes power request information. When the second device receives the first broadcast in the channel via short-distance communication, it generates a second broadcast including its own first power information, and sends the second broadcast to the first device via short-distance communication.
[0045] Step 1012: Receive the second broadcast and obtain the first power level information in the second broadcast.
[0046] During specific implementation, the first device receives the second broadcast, parses the second broadcast, and extracts the first power information contained therein.
[0047] Through the above solution, after the first device establishes a short-distance communication connection with the second device, the first power information of the second device is obtained by broadcasting, so that the first device can subsequently determine whether to turn on its own wireless charging function according to the first power information.
[0048] In some embodiments, after step 102, the method further includes:
[0049] Step 10A: While the second device is being charged using the wireless charging function, second power information of the second device is detected.
[0050] In a specific implementation, when the second device is charged using the wireless charging function, the second power information of the second device is detected in real time, so as to determine whether the wireless charging function needs to be turned off according to the second power information.
[0051] Step 10B: determine that the second power information is greater than a second power threshold, and send a first shutdown instruction to control the wireless charging module to shut down the wireless charging function, wherein the second power threshold is greater than the first power threshold.
[0052] In specific implementation, during the charging process, when it is detected that the second power information of the second device is greater than the second power threshold, a first shutdown instruction is sent to the wireless charging module. The wireless charging module receives and executes the first shutdown instruction to control the wireless charging function to be turned off to avoid unnecessary power consumption. In this embodiment, the second power threshold is preferably 99%.
[0053] Exemplarily, the second power threshold is 99%. When it is detected that the power of the second device is 100%, it means that the second device is fully charged, and a first shutdown instruction is sent to the wireless charging module to turn off the wireless charging function.
[0054] Through the above scheme, when the second device is charged using the wireless charging function, the power of the second device is detected in real time. When the second device is fully charged, the wireless charging function is turned off to avoid unnecessary power consumption.
[0055] In some embodiments, after step 10B, the method further includes:
[0056] Step 10C: Send a second prompt message, where the second prompt message is used to prompt that the wireless charging function is turned off.
[0057] In specific implementation, when it is detected that the second power information of the second device is greater than the second power threshold, the wireless charging function is turned off and a second prompt message is sent to prompt the user to turn off the wireless charging function and stop charging the second device, wherein the content type of the second prompt message includes at least one of the following: voice, text, picture, video and rich text.
[0058] Exemplarily, the first device is a vehicle computer, the second device is a mobile phone, and the second prompt information includes at least one of the following: voice broadcast, HUD display, instrument display, central control screen display, window display, and in-vehicle device linkage, etc. HUD display is a head-up display. The second prompt information is used to remind the user that the wireless charging function has been turned off. When the second power threshold is 99%, the second prompt information is sent to remind the user that the second device is fully charged.
[0059] In some embodiments, after step 10A, the method further includes:
[0060] Step 10Z: Send a third prompt message including the second power information, wherein the third prompt message is used to prompt the power level of the second device.
[0061] In a specific implementation, when the second device is charging using the wireless charging function, the second power information of the second device is detected in real time, and a third prompt information containing the second power information is sent. The display area of the third prompt information includes at least one of the following: HUD display, instrument display, central control screen display, window display, and door display.
[0062] Exemplarily, the first device is a vehicle computer, and the second device is a mobile phone. When the display area of the third prompt information is an instrument display, when the mobile phone is charging using the wireless charging function, the real-time power level of the mobile phone is displayed on the vehicle computer dashboard.
[0063] Through the above solution, the third prompt information is used to prompt the user of the real-time power of the second device, so as to avoid the user being unable to obtain the power information of the second device during the wireless charging process. At the same time, the user does not need to lower his head or tilt his head to check the second device to obtain the power information of the second device while driving, so as to avoid not paying attention to the driving environment when checking, causing safety accidents, and improving driving safety.
[0064] In some embodiments, when the wireless charging function is in an on state, after step 101, the method further includes:
[0065] Step 10a: determine that the first power information is greater than a third power threshold, and send a second shutdown instruction to control the wireless charging module to shut down the wireless charging function, wherein the third power threshold is greater than the first power threshold.
[0066] In specific implementation, when the wireless charging function of the first device is turned on, when the first power information of the second device is obtained to be greater than the third power threshold, a second shutdown instruction is sent to the wireless charging module. After receiving the second shutdown instruction, the wireless charging module turns off the wireless charging function.
[0067] Exemplarily, the third power threshold is 80%, and when the power level of the second device received through short-range communication is 85%, the wireless charging function is controlled to be turned off.
[0068] Through the above scheme, the first power information of the second device is judged. When it is greater than the third power threshold, it is deemed that there is no need to provide power to the second device, and the wireless charging function is controlled to be turned off to avoid unnecessary power loss.
[0069] In some embodiments, the short-distance communication connection established between the first device and the second device includes a first short-distance communication and a second short-distance communication, and step 101 specifically further includes:
[0070] Step 101A: receiving the first power information through a first short-distance communication, and determining a reception status of the first power information.
[0071] Step 101B: determine that the receiving state of the first power information is reception failure, and receive the first power information by using a second short-distance communication.
[0072] In a specific implementation, when the first device and the second device have multiple identical hardware devices for establishing a short-distance communication connection at the same time, multiple short-distance communication connections can be established at the same time, wherein the hardware devices are devices that support short-distance communication, such as NFC hardware devices and V2X hardware devices. Exemplarily, when the first device and the second device establish a connection through at least two short-distance communication methods, the first power information is first received through the first short-distance communication, and after a preset time, the reception status of the first power information at this time is determined. When it is determined that the reception of the first power information fails, the first power information is received through the second short-distance communication.
[0073] For example, the first device is a vehicle computer, and the second device is a mobile phone. The mobile phone and the vehicle computer are connected via Bluetooth and WIFI. The vehicle computer first receives the power information of the mobile phone via Bluetooth. If the power information is not received within a preset time, it is determined that the reception via Bluetooth fails, and the power information is received via WIFI.
[0074] In some embodiments, when a first device establishes multiple short-range communication connections with a second device, the order of short-range communication methods for receiving the first power information is determined according to a preset priority sorting, wherein the preset priority sorting may be an order set by the first device before leaving the factory, or an order set by a user using the first device.
[0075] Exemplarily, the short-distance communication methods established between the first device and the second device include BLE and NFC, and the preset priority order from high to low is NFC, BLE, Wi-Fi, ZigBee, IrDA, and UWB ultra-wideband. The first power information is first obtained through NFC, and if it is not obtained within the preset time, it is obtained through BLE.
[0076] In some embodiments, if the first power information is not obtained through all short-distance communications established between the first device and the second device, a fourth prompt message is sent to prompt the user that the power information acquisition failed and the intelligent control of the wireless charging function cannot be performed.
[0077] Through the above scheme, when there are multiple short-distance communication connection modes between the first device and the second device, each established short-distance communication connection mode is attempted to be used to receive the first power information to ensure normal intelligent control of the wireless charging function.
[0078] In some embodiments, the method further comprises:
[0079] Step 10A, in response to receiving the function control instruction, controlling the wireless charging module according to the function control instruction to enable or disable the wireless charging function.
[0080] In the specific implementation, taking the first device as a car computer and the second device as a mobile phone as an example, after the first device receives the wireless charging intelligent control instruction, it turns on the wireless charging intelligent control function and executes the above steps 101 to 102, steps 10A to 10B, and steps 101A to 101B to realize the intelligent control of the wireless charging function without the need for user operation access. Among them, the triggering and sending method of the wireless charging intelligent control instruction includes at least one of the following: clicking the first virtual button on the central control screen in the car, pressing the first physical button in the car, calling for opening through voice commands, pressing the corresponding button on the steering wheel, and through trigger gestures pre-stored in the car computer, such as raising your hand, facing the palm to the camera device in the car, etc.
[0081] When the first device receives a function control instruction, it controls the turning on or off of the wireless charging function according to the function control instruction, wherein the triggering and sending method of the function control instruction includes at least one of the following: clicking a second virtual button on the central control screen in the car, pressing a second physical button in the car, summoning to turn on through a voice command, pressing a corresponding button on the steering wheel, and through trigger gestures pre-stored in the car computer, such as raising your hand, facing your palm towards the camera device in the car, etc. The trigger gesture corresponding to the wireless charging intelligent control instruction is different from the trigger gesture of the function control instruction.
[0082] Exemplarily, when the vehicle computer turns on the wireless charging intelligent control function, when the first power information received from the second device is greater than the third power threshold, the wireless charging function is controlled to be turned off. At this time, a function control instruction is received, that is, the user wants to turn on the wireless charging function to charge the second device with a power greater than the third power threshold, and the wireless charging function is turned on according to the function control instruction.
[0083] At the same time, after receiving the function control instruction, the first device automatically turns off the wireless charging intelligent control function to prevent the vehicle computer from falling into an infinite control loop.
[0084] The first device can memorize the state of the wireless charging intelligent control function, and after the first device is powered off, the state of the wireless charging intelligent control function can be maintained when it is powered on again. For example, if the state of the wireless charging intelligent control function of the vehicle computer is turned on before the vehicle computer is powered off, then after the vehicle computer is powered on again, the wireless charging intelligent control function is still turned on and continues to intelligently control the wireless charging function.
[0085] Through the above solution, no matter whether the first device turns on the wireless charging intelligent control function, as long as the first device receives the function control instruction, it controls the turning on or off of the wireless charging function according to the function control instruction to meet the needs of users.
[0086] In some embodiments, before step 101, the method further includes:
[0087] Step 1001: In response to detecting a second device within a preset distance, obtain device information of the second device.
[0088] Step 1002: determine whether the second device is a historical device based on the device information, wherein the historical device is a device that has established a short-distance communication connection with the first device.
[0089] In a specific implementation, when the first device and the second device both start a short-distance communication connection, when the first device detects the second device within a preset distance, the device information of the second device is obtained, and it is determined based on the device information whether the second device is a device that has established a connection with the first device.
[0090] Exemplarily, the Bluetooth of the first device and the Bluetooth of the second device are both turned on, and the first device detects the second device within a preset distance and obtains the device information of the second device.
[0091] Step 1003, determining that the second device is a historical device, and establishing a communication connection with the second device; or,
[0092] Step 1004: determine that the second device is not a historical device, and send a communication connection establishment request to the second device.
[0093] In specific implementation, when it is determined that the second device is a device that has established a short-distance communication connection before, a connection is automatically established with the second device. When it is determined that the second device has not established a connection, a communication connection request is sent to the second device, and the connection can only be established after the second device receives the communication connection request and agrees to establish the connection.
[0094] In some embodiments, the method further comprises:
[0095] Before starting the wireless charging function, power information of the first device is obtained. When the power information of the first device is less than a fourth power threshold, the wireless charging function is stopped.
[0096] Exemplarily, before turning on the wireless charging function, obtain the current power information of the vehicle computer. When it is determined that the current power information of the vehicle computer is lower than the fourth power threshold, stop turning on the wireless charging function to avoid the vehicle computer battery power loss due to wireless charging, which may cause the vehicle to be unable to operate normally.
[0097] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.
[0098] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0099] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a wireless charging control device.
[0100] refer to Figure 2 , Figure 2 The wireless charging control device of the embodiment includes:
[0101] The power information receiving module 201 is configured to receive first power information sent by the second device via short-distance communication;
[0102] The charging function activation module 202 is configured to determine that the first power information is less than a first power threshold, and send an activation instruction to control the wireless charging module to activate the wireless charging function.
[0103] In some embodiments, the power information receiving module 201 specifically includes:
[0104] a first broadcast sending unit, configured to send a first broadcast to the second device, so that when the second device receives the first broadcast, it generates a second broadcast including first power information according to the first broadcast, and sends the second broadcast to the first device, wherein the first broadcast includes power request information;
[0105] The second broadcast receiving unit is configured to receive the second broadcast and obtain the first power information in the second broadcast.
[0106] In some embodiments, the device further includes a first closing instruction sending module, and the first closing instruction sending module specifically includes:
[0107] a power information detection unit, configured to detect second power information of the second device when the second device is charged using the wireless charging function;
[0108] The shutdown instruction sending unit is configured to determine that the second power information is greater than a second power threshold, and send a first shutdown instruction to control the wireless charging module to turn off the wireless charging function, wherein the second power threshold is greater than the first power threshold.
[0109] In some embodiments, when the wireless charging function is in an on state, the device also includes a second shutdown instruction sending module, and the second shutdown instruction sending module is specifically configured to: determine that the first power information is greater than a third power threshold, and send a second shutdown instruction to control the wireless charging module to turn off the wireless charging function, wherein the third power threshold is greater than the first power threshold.
[0110] In some embodiments, the short-distance communication connection established between the first device and the second device includes a first short-distance communication and a second short-distance communication, and the power information receiving module 201 is configured as follows:
[0111] receiving the first power information through a first short-distance communication, and determining a reception status of the first power information;
[0112] It is determined that the reception state of the first power information is reception failure, and the first power information is received by using a second short-distance communication.
[0113] In some embodiments, the apparatus further includes a device detection module, and the device detection module specifically includes: in response to detecting a second device within a preset distance, acquiring device information of the second device;
[0114] determining, according to the device information, whether the second device is a historical device, wherein the historical device is a device that has established a short-distance communication connection with the first device;
[0115] determining that the second device is a historical device, and establishing a communication connection with the second device; or,
[0116] Determine that the second device is not a historical device, and send a communication connection establishment request to the second device.
[0117] For the convenience of description, the above device is described by dividing it into various modules according to its functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0118] The device of the above embodiment is used to implement the corresponding wireless charging control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0119] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the wireless charging control method described in any of the above embodiments is implemented.
[0120] Figure 3A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0121] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0122] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0123] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0124] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0125] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0126] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0127] The electronic device of the above embodiment is used to implement the corresponding wireless charging control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0128] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the wireless charging control method described in any of the above embodiments.
[0129] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0130] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the wireless charging control method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0131] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides a vehicle, including the wireless charging control device in the above-mentioned embodiments, the electronic device in the above-mentioned embodiments, and the computer-readable storage medium in the above-mentioned embodiments, and the vehicle equipment implements the wireless charging control method described in any of the above embodiments.
[0132] The vehicle of the above-mentioned embodiment is used to implement the wireless charging control method described in any of the above-mentioned embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0133] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.
[0134] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0135] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0136] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0137] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.
[0138] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present disclosure difficult to understand, the known power / ground connections to the integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it is apparent to those skilled in the art that the embodiments of the present disclosure can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0139] Although the present disclosure has been described in conjunction with specific embodiments of the present disclosure, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0140] The embodiments of the present disclosure are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.
Claims
1. A wireless charging control method, characterized in that: Applied to a first device, the first device establishes a short-distance communication connection with a second device, including: Receiving first power information sent by a second device via short-distance communication; It is determined that the first power information is less than a first power threshold, and an enable instruction is sent to control the wireless charging module to enable the wireless charging function.
2. The method according to claim 1, characterized in that The receiving first power information sent by the second device includes: Sending a first broadcast to the second device, so that when the second device receives the first broadcast, it generates a second broadcast including first power information according to the first broadcast, and sends the second broadcast to the first device, wherein the first broadcast includes power request information; The second broadcast is received to obtain the first power level information in the second broadcast.
3. The method according to claim 1, characterized in that After turning on the wireless charging function, it also includes: During the charging process of the second device using the wireless charging function, detecting second power information of the second device; It is determined that the second power information is greater than a second power threshold, and a first shutdown instruction is sent to control the wireless charging module to shut down the wireless charging function, wherein the second power threshold is greater than the first power threshold.
4. The method according to claim 1, characterized in that: When the wireless charging function is turned on, After receiving the first power information sent by the second device, the method further includes: It is determined that the first power information is greater than a third power threshold, and a second shutdown instruction is sent to control the wireless charging module to shut down the wireless charging function, wherein the third power threshold is greater than the first power threshold.
5. The method according to claim 1, characterized in that The short-distance communication connection established between the first device and the second device includes a first short-distance communication and a second short-distance communication, The receiving first power information sent by the second device via short-distance communication includes: receiving the first power information through a first short-distance communication, and determining a reception status of the first power information; It is determined that the reception state of the first power information is reception failure, and the first power information is received by using a second short-distance communication.
6. The method according to claim 1, characterized in that Before receiving the first power information sent by the second device, the method further includes: In response to detecting a second device within a preset distance, acquiring device information of the second device; determining, according to the device information, whether the second device is a historical device, wherein the historical device is a device that has established a short-distance communication connection with the first device; determining that the second device is a historical device, and establishing a communication connection with the second device; or, Determine that the second device is not a historical device, and send a communication connection establishment request to the second device.
7. A wireless charging control device, characterized in that: include: A power information receiving module, configured to receive first power information sent by a second device via short-distance communication; The charging function activation module is configured to determine that the first power information is less than a first power threshold, and send an activation instruction to control the wireless charging module to activate the wireless charging function.
8. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the wireless charging control method according to any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the wireless charging control method according to any one of claims 1 to 6.
10. A vehicle, characterized in that: Includes the wireless charging control device according to claim 7, the electronic device according to claim 8, or the computer-readable storage medium according to claim 9.