CN114363997A - Charging method and device - Google Patents

Charging method and device Download PDF

Info

Publication number
CN114363997A
CN114363997A CN202011050083.7A CN202011050083A CN114363997A CN 114363997 A CN114363997 A CN 114363997A CN 202011050083 A CN202011050083 A CN 202011050083A CN 114363997 A CN114363997 A CN 114363997A
Authority
CN
China
Prior art keywords
shell
type identifier
application program
shell device
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011050083.7A
Other languages
Chinese (zh)
Inventor
戴璇
娄鋆
郑志勇
支渠成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011050083.7A priority Critical patent/CN114363997A/en
Priority to PCT/CN2021/120557 priority patent/WO2022068708A1/en
Publication of CN114363997A publication Critical patent/CN114363997A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/73Battery saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a charging method and a charging device, which are applied to the technical field of terminal equipment. The method comprises the following steps: when the electronic equipment detects the shell device, determining at least one application program associated with the shell device; the shell device is used for providing auxiliary functions for users based on electric energy; the electronic equipment charges the shell device when detecting that the first application program is started, wherein the first application program is any one of at least one application program corresponding to the shell device. Exemplarily, when the electronic device can use the wireless reverse charging technology to charge the housing device, the electronic device can start the wireless reverse charging function when detecting that the housing device is worn and the first application program associated with the housing device is started, the electronic device is not required to start the wireless charging function all the time, so that the power consumption is avoided, the housing device can be charged in time, and the user experience is improved.

Description

Charging method and device
Technical Field
The present application relates to the field of terminal device technologies, and in particular, to a charging method and apparatus.
Background
The cell-phone protective housing presents diversified development, compares with the protective housing that only has protection and decoration, and the function shell has more functions, for example can have light filling function etc.. According to different functions, the function shell can comprise a light supplement lamp function shell, a game function shell and the like. For example, when a mobile phone is used for taking pictures or shooting videos, a light supplement lamp functional shell installed on the mobile phone can provide illumination by consuming the electric quantity of the shell.
With the development of the wireless reverse charging technology of the mobile phone, the mobile phone can charge the functional shell installed on the mobile phone through the wireless reverse charging technology, that is, the mobile phone is used as Tx (transmitting) equipment, the functional shell is used as Rx (receiving) equipment, and the mobile phone reversely supplies power to the functional shell. One of the reverse power supply modes is as follows: after the mobile phone detects the functional shell, the wireless reverse charging function of the mobile phone end is kept normally open, but the wireless reverse charging starting time of the mobile phone is long and the power consumption is high in the mode; the other reverse power supply mode is as follows: the user opens the wireless reverse charging function of the mobile phone end manually, but in this way, the user needs manual operation, and the experience is poor.
Therefore, it is necessary to provide a new charging method to achieve the purpose of saving energy and improving user experience.
Disclosure of Invention
The application provides a charging method and a charging device, which are used for improving user experience and reducing electric energy consumption as much as possible.
In a first aspect, the present application provides a charging method, which may be performed by an electronic device (e.g., a terminal device) or implemented by a component of the electronic device, such as a processing device, a circuit, a chip, and the like in the electronic device. The method comprises the following steps: when the electronic equipment detects the shell device, determining at least one application program associated with the shell device; the shell device is used for providing auxiliary functions for users based on electric energy; the electronic equipment charges the shell device when detecting that a first application program is started, wherein the first application program is any one of the at least one application program.
By the method, the electronic equipment charges the shell device when detecting that the first application program is started, illustratively, when the electronic equipment can charge the shell device by using a wireless reverse charging technology, the electronic equipment can start a wireless reverse charging function when detecting that the shell device is worn and the first application program associated with the shell device is started, the electronic equipment is not required to start the wireless charging function all the time, electric energy consumption is avoided, and the shell device can be charged in time.
In one possible implementation method, determining at least one application associated with the shell device includes: the electronic equipment acquires a type identifier of the shell device; the electronic equipment queries corresponding relation information of a preset type identifier and an application program according to the type identifier to obtain at least one application program corresponding to the type identifier, wherein the corresponding relation information of the type identifier and the application program is at least used for indicating the at least one application program corresponding to the type identifier of the shell device.
According to the method, the functional shells are distinguished by different type identifications, and the type identifications are bound with the application programs, so that the application programs corresponding to the functional shells are determined by the type identifications of the functional shells, the type identifications can represent the same type of functional shells, namely the first preset corresponding relation which needs to be maintained by the electronic equipment is simple, when the type identifications of the functional shells are written, the type identifications of the functional shells of the same type are the same, and batch writing can be carried out. Alternatively, the type identifier may be replaced by an identifier of the function shell, and the identifier of the function shell may be unique, that is, the identifier of each function shell may be different, which is not limited in this embodiment of the application.
In a possible implementation method, the correspondence information at least indicates at least one application program corresponding to the type identifier of the shell device, including: the corresponding relation information at least comprises a type identifier of the shell device and a name of at least one application program corresponding to the type identifier; or, the corresponding relationship information at least includes a type identifier of the shell device and application type information corresponding to the type identifier.
In one possible implementation method, the obtaining, by the electronic device, a type identifier of the casing device includes: the electronic equipment sends a first message to the shell device, receives a second message which is from the shell device and carries the type identifier of the shell device, and acquires the type identifier of the shell device carried by the second message; or the electronic equipment sends a first message to the shell device, receives a second message from the shell device, and queries preset corresponding relationship information of resources and shell device types according to resources used by the second message to obtain a type identifier of the shell device corresponding to the resources used by the second message, wherein the corresponding relationship information of the resources and the shell device types at least comprises resource indication information used by the second message and the type identifier of the corresponding shell device.
By the method, the method for acquiring the type identifier of the functional shell is various, and the acquisition mode is more flexible.
In one possible implementation, the method further includes: the electronic equipment stops charging the shell device after detecting that a charging stop condition is met; wherein the stop charging condition includes any one of: the first application is closed; the electric quantity of the electronic equipment is lower than a first set value; the electric quantity of the shell device is not lower than a second set value; the electronic device detects that the housing apparatus is detached from the electronic device.
In one possible implementation, the electronic device starts a wireless reverse charging function to charge the housing device.
In one possible implementation method, the electronic device is an electronic device, and the housing device is a detachable functional housing; the electronic device detects the housing means, comprising: the electronic device detects that the housing apparatus is worn on the electronic device.
In a second aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where the memory is used for storing one or more computer programs; the one or more computer programs stored in the memory, when executed by the processor, enable the terminal device to implement any of the possible design methods of any of the aspects described above.
In a third aspect, an electronic device is further provided, including: means for performing the method of the first aspect or any one of the possible designs of the first aspect; these modules/units may be implemented by hardware, or by hardware executing corresponding software.
In a fourth aspect, a chip is further provided, where the chip is coupled with the memory in the electronic device according to the first aspect, so that the chip calls the program instructions stored in the memory when running to implement the method according to the first aspect.
In a fifth aspect, there is also provided a computer-readable storage medium comprising a computer program which, when run on an electronic device, causes the electronic device to perform the method as provided in the first aspect above.
In a sixth aspect, there is also provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method as provided in the first aspect above.
For the above beneficial effects of the second aspect to the sixth aspect, please refer to the first aspect to provide beneficial effects of various technical solutions, and repeated descriptions are omitted here.
Drawings
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a mobile terminal device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a functional shell according to an embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram of another functional housing provided in an embodiment of the present application;
fig. 5a is a schematic flowchart illustrating a charging method according to an embodiment of the present disclosure;
fig. 5b is a schematic diagram of a wireless reverse charging interface according to an embodiment of the present disclosure;
fig. 5c is a schematic flow chart illustrating charging of the functional shell according to the embodiment of the present application;
fig. 6 is a schematic flowchart of a complete charging method according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
In order to solve the problems mentioned in the background art, an embodiment of the present application provides a charging method, where when an electronic device detects a shell device, a type identifier of the shell device is obtained, and at least one application program corresponding to the shell device is determined according to a preset correspondence; and when detecting that the target application program is started, charging the shell device, wherein the target application program is any one of at least one application program corresponding to the type identifier of the shell device in the preset corresponding relationship. When electronic equipment uses wireless reverse charging technology to charge for casing device, electronic equipment need not open wireless function of charging always, avoids power consumption to can in time charge for casing device, this application is a timely, energy-conserving charging mode.
Referring to fig. 1, a schematic view of an application scenario provided in the embodiment of the present application is shown. As shown in fig. 1, the application scenario illustrates an electronic device 100 and a housing device 101.
An electronic device is a device providing voice and/or data connectivity to a user, for example, a portable device with a wireless connection function, such as a mobile phone, a tablet computer, a wearable device with a wireless communication function, and the like.
The housing means is for supporting communication and may be used in conjunction with an electronic device, for example, the housing means is a removable protective case that matches the model of the electronic device, the housing means having one or more ancillary functions in addition to providing protection and decoration to the electronic device. Of course, the housing means may cause power consumption when providing the auxiliary function.
Alternatively, the housing devices may be classified into different types according to the difference in the auxiliary functions provided by the housing devices or the combination of the plurality of auxiliary functions provided. Currently, some examples of housing devices are: light filling lamp function shell and recreation function shell. Of course, the above description is only an example and does not limit the application scope of the present application, and any existing functional shell, as well as functional shells that may not be present in the future, such as a heart rate protective shell, are suitable for the embodiments of the present application.
It should be understood that fig. 1 illustrates the electronic device as a mobile phone and the housing device as a protective case of the mobile phone, but the electronic device and the housing device in the embodiment of the present application are not limited thereto.
Hereinafter, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
An application (app for short) related to the embodiments of the present application is a computer program capable of implementing one or more specific functions. Generally, a plurality of applications may be installed in an electronic device. Such as a camera application, a game application, a nail application, etc. The application mentioned below may be an application that is installed in the electronic device when the electronic device is shipped from a factory, or an application that is downloaded by a user from a network side during use of the electronic device.
As follows, taking a mobile phone as an example, the internal structure of the electronic device is described, please refer to fig. 2, and fig. 2 shows a schematic structural diagram of the mobile phone 100.
The mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 151, a wireless communication module 152, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a gyroscope sensor 180A, an acceleration sensor 180B, a fingerprint sensor 180H, a temperature sensor 180J, and a touch sensor 180K (of course, the mobile phone 100 may also include other sensors, such as a hall magnetic sensor, an ambient light sensor, a pressure sensor, an acceleration sensor, a gyroscope sensor, and the like, which are not shown in the figure).
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the mobile phone 100. In other embodiments of the present application, the handset 100 may include more or fewer components than shown, or some components may be combined, some components may be separated, or a different arrangement of components may be used. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Among other things, processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors. The controller may be a neural center and a command center of the cell phone 100, among others. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the cell phone 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The cameras 193 (front camera or rear camera, or one camera may be both front camera and rear camera) are used to capture still images or video. In general, the camera 193 may include a photosensitive element such as a lens group including a plurality of lenses (convex lenses or concave lenses) for collecting an optical signal reflected by an object to be photographed and transferring the collected optical signal to an image sensor, and an image sensor. And the image sensor generates an original image of the object to be shot according to the optical signal.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the cellular phone 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Wherein the storage program area may store an operating system, codes of application programs (such as a camera application, a WeChat application, etc.), and the like. The data storage area can store data created during the use of the mobile phone 100 (such as images, videos and the like acquired by a camera application), and the like.
The internal memory 121 may also store codes of the image capturing algorithm provided by the embodiment of the present application. When the code of the image capturing algorithm stored in the internal memory 121 is run by the processor 110, an image capturing function is implemented, and an image with better image quality is captured.
In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
Of course, the codes of the image capturing algorithm provided in the embodiment of the present application may also be stored in the external memory. In this case, the processor 110 may execute the code of the image capturing algorithm stored in the external memory through the external memory interface 120 to implement an image capturing function, and capture an image with better image quality.
The function of the sensor module 180 is described below.
The gyro sensor 180A may be used to determine the motion attitude of the cellular phone 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180A. I.e., the gyro sensor 180A may be used to detect the current state of motion of the handset 100, such as shaking or standing still.
The acceleration sensor 180B can detect the magnitude of acceleration of the cellular phone 100 in various directions (typically three axes). I.e., the gyro sensor 180A may be used to detect the current state of motion of the handset 100, such as shaking or standing still.
The gyro sensor 180A (or the acceleration sensor 180B) may transmit the detected motion state information (such as an angular velocity) to the processor 110. The processor 110 determines whether the mobile phone is currently in the hand-held state or the tripod state (for example, when the angular velocity is not 0, it indicates that the mobile phone 100 is in the hand-held state) based on the motion state information.
The fingerprint sensor 180H is used to collect a fingerprint. The mobile phone 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, take a photograph of the fingerprint, answer an incoming call with the fingerprint, and the like.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the mobile phone 100, different from the position of the display 194.
The hall magnetic sensor 180J is a sensor for detecting a magnetic field and changes thereof, and is usually indirectly used for detecting the position of a ferromagnetic substance, the magnetic substance is in close contact with the mobile phone, and the size of the magnetic field at the position of the hall magnetic sensor can be changed, so that the magnetic field is detected by the hall magnetic sensor and an electric signal value is output, and illustratively, the mobile phone can send a screen locking sleep instruction after receiving the electric signal. For example, a conventional flip cover protective case has a magnetic element built in the flip cover. When the flip cover is sleeved with the mobile phone, the magnetic element is close to the Hall sensor, the Hall sensor senses the signal and closes the screen display, otherwise, the screen display is opened.
The wireless communication function of the mobile phone 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 151, the wireless communication module 152, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 151 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 151 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 151 may receive electromagnetic waves from the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit the electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 151 may be provided in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 151 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 152 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 152 may be one or more devices integrating at least one communication processing module. The wireless communication module 152 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 152 may also receive a signal to be transmitted from the processor 110, frequency-modulate it, amplify it, and convert it into electromagnetic waves via the antenna 2 to radiate it.
In addition, the mobile phone 100 can implement an audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playing, recording, etc. The handset 100 may receive key 190 inputs, generating key signal inputs relating to user settings and function controls of the handset 100. The handset 100 can generate a vibration alert (e.g., an incoming call vibration alert) using the motor 191. The indicator 192 in the mobile phone 100 may be an indicator light, and may be used to indicate a charging status, a power change, or a message, a missed call, a notification, etc. The SIM card interface 195 in the handset 100 is used to connect a SIM card. The SIM card can be attached to and detached from the cellular phone 100 by being inserted into the SIM card interface 195 or being pulled out from the SIM card interface 195.
It should be understood that in practical applications, the mobile phone 100 may include more or less components than those shown in fig. 2, and the embodiment of the present application is not limited thereto.
Referring to fig. 3, which is a schematic view of a light supplement lamp functional shell, as shown in fig. 3 (a), a movable rotating shaft 31 is arranged outside a protective shell of the light supplement lamp functional shell, the rotating shaft 31 and the light supplement lamp 33 can be integrally formed, LEDs 32 can be uniformly distributed on the light supplement lamp 33, a switch 34 is arranged outside the protective shell, and the switch 34 can control the rotating shaft 31 to bounce and turn on the light supplement lamp 33, see fig. 3 (b). The light filling lamp function shell can provide the light filling service, and for example, electronic equipment is the cell-phone, and this cell-phone is worn the light filling lamp function shell, and when user's surrounding environment is dim, can open the switch of light filling lamp function shell to carry out the light filling, reinforcing luminance.
Referring to fig. 4, which is a schematic view of a game function shell, as shown in fig. 4, the game function shell has operation keys, for example, including a key 1 and a key 2, when the electronic device is a mobile phone, after the mobile phone is worn on the game function shell, a short-distance connection, for example, a bluetooth connection, a Wi-Fi connection, etc., may be established with the game function shell, and when a user runs a game application on the mobile phone, the game control may be performed through the operation keys of the game function shell.
It should be noted that (1) the structures of the functional shells shown in fig. 3 and fig. 4 in this application are only examples, and the structure of the functional shell that realizes the same function is not limited in this embodiment of the application, for example, the structure of the functional shell of the fill-in light further includes: light supplement lamps are arranged around the shell. The structure of the functional shell which can realize the same function is not limited in the embodiment of the application. (2) The names of the functional shells are only examples for convenience of description, and in different scenarios, the names of the functional shells may not be changed or may be replaced by other names, which are not limited in this application. (3) The types of the functional shells are only examples, and the embodiment of the present application does not limit the types of the functional shells, and for example, the functional shells may further include a protective shell having other functional shells, such as a future heart rate monitoring function or a future sleep state monitoring function, and the embodiment of the present application does not limit this. And one or more functions can be deployed in the same functional shell without conflict, and for convenience of description, the following description will take an example in which one function is deployed in one functional shell.
At present, the function shell can consume electric quantity to provide service for users, and plays a key role in ensuring the normal operation of the function shell for the function shell charging technology. With the development of the wireless reverse charging technology of the mobile phone, the mobile phone can charge the functional shell through the wireless reverse charging technology, that is, the mobile phone is used as Tx (transmitting) equipment, the functional shell is used as Rx (receiving) equipment, and the mobile phone reversely supplies power to the functional shell.
The charging method provided by the embodiment of the present application is described in detail below with reference to specific drawings.
Referring to fig. 5a, a schematic flow chart corresponding to a charging method provided in the embodiment of the present application is shown. As shown in fig. 5a, the process includes:
step 501: when the electronic equipment detects the shell device, at least one application program associated with the electronic equipment is determined.
The electronic device is a mobile phone, and the housing device is a functional housing.
Because the types of the function shells are various, in the embodiment of the application, the function shells of different types are distinguished by the type identifiers, and the function shells of different types have different type identifiers, for example, the type identifier of the light supplement lamp function shell is 01, and the type identifier of the game function shell is 02. The function shell is internally preset with type marks corresponding to the types of the function shell. In one example, the type identification may be written inside an RX IC (chip) of the functional cover, and a subsequent RX IC may send the type identification to the handset.
In this application, a correspondence between the type identifier of the function shell and the application program (denoted as a first preset correspondence) may be preset, and in one example, when the mobile phone detects the function shell, the mobile phone may obtain the type identifier of the function shell, and determine at least one application program associated with the function shell according to the first preset correspondence and the obtained type identifier of the function shell.
For example, when the mobile phone detects the function shell, it can also be understood that the mobile phone obtains the type identifier of the function shell once when the mobile phone is worn on the function shell. For example, the mobile phone can detect that the functional shell is worn by means of a contact sensor or a hall magnetic sensor, and after the functional shell is detected, the wireless reverse charging is started, and the type identifier of the functional shell is obtained by means of a wireless reverse charging technology; and after the type identification of the functional shell is obtained, closing the wireless reverse charging.
In an implementation manner, after the mobile phone starts wireless reverse charging, the mobile phone tries to handshake with a peripheral device supporting wireless charging, and the functional shell can send the type identifier of the functional shell to the mobile phone in the process of handshaking. Illustratively, the handshake procedure includes: the mobile phone sends a first message, wherein the first message is used for requesting the type identification of the function shell, and after receiving the first message, the function shell sends a second message to the mobile phone, wherein the second message contains the type identification of the function shell.
In another implementation manner, it may be predefined that different resources, such as different frequency domain resources or different channels, are used for the messages sent by different types of shell devices, and the electronic device (e.g., a mobile phone) may determine the type of the shell device according to the resources used by the messages sent by the shell device. Specifically, a corresponding relationship (denoted as a second preset corresponding relationship) between the type identifier of the different function shells and the resource for the function shell to send the second message is preset, that is, the different types of function shells send the second message using different resources, so that the terminal device can determine the type identifier of the function shell to send the second message according to the second preset corresponding relationship and the resource for carrying the second message.
It should be understood that the above-mentioned manner for determining the type identifier of the function shell is only an example, and the manner for determining the type identifier of the function shell is not limited in this embodiment of the application, for example, the type identifier of the function shell may also be interacted through a communication manner such as bluetooth or Wi-Fi, or the type identifier of the function shell may also be determined by detecting different positions where the sensor of the function shell is located, which is not limited in this embodiment of the application.
It should be noted that, the mobile phone may obtain the type identifier of the functional shell once from the time when the mobile phone detects that the functional shell is not worn to the time when the mobile phone detects that the functional shell is worn, for example, if the mobile phone detects the sensor, the mobile phone generates a signal change in the sensor, and the changed signal triggers obtaining the type identifier of the functional shell after the functional shell is detected, and if the mobile phone keeps wearing the functional shell subsequently, the mobile phone does not need to repeatedly obtain the type identifier of the functional shell. For example, when the contact sensor detects whether the functional shell is worn, the type identifier of the functional shell is acquired once when the functional shell is worn, and the type identifier of the functional shell does not need to be acquired again in the process of continuously wearing the functional shell.
As described above, the process of determining the type identifier of the functional shell may be followed by determining, by the electronic device, at least one application associated with the shell device according to the first preset correspondence and the type identifier of the shell device.
Still taking the mobile phone and the function shell as examples, a first preset corresponding relationship is stored in the mobile phone, where the first preset corresponding relationship defines a corresponding relationship between at least one type identifier and at least one application program corresponding to each type identifier in the at least one type identifier, and exemplarily, the first preset corresponding relationship may include a name of the application program or a type of the application program, as shown in table 1 below, an illustration of the first preset corresponding relationship provided in the embodiment of the present application is provided.
TABLE 1
Type identification Application program
01 Camera, beauty camera
02 The Wangzi is glorious and peaceful elite
…… ……
The application programs shown in table 1 may include installed application programs and/or uninstalled application programs on the electronic device, which is not limited in this embodiment of the present application.
As shown in table 2 below, another first preset correspondence is provided for an example of the present application.
TABLE 2
Type identification Application program
01 Cameras and the like
02 Game class
…… ……
It should be understood that the category to which the application belongs is recorded in the application, for example, royal glory, peace and elite, etc. belong to the game class, and beauty cameras, etc. belong to the camera class. That is to say, in the embodiment of the present application, one or more application programs corresponding to the same type identifier in the first preset corresponding relationship may be provided, and the embodiment of the present application does not limit this.
It should be noted that the type identifier of the functional cover is only an example, and the embodiment of the present application does not limit the expression form of the type identifier of the functional cover, and may include, but is not limited to, one or more of the following: a number, letter, or symbol. In addition, the number of bits of the type identifier of the functional shell is not limited.
After the mobile phone obtains the type identifier of the functional shell in step 501, at least one application program corresponding to the functional shell, that is, at least one application program corresponding to the type identifier of the functional shell in the first preset corresponding relationship, is determined according to the preset corresponding relationship and the obtained type identifier.
Step 502: and when the electronic equipment detects that the target application program is started, the shell device is charged.
Continuing to take the mobile phone and the function shell as an example, when the mobile phone detects that one application program of the one or more application programs corresponding to the worn function shell is opened, the function shell is charged. The target application is any one of the at least one application corresponding to the functional shell determined in step 501. It should be understood that, when the target application is started, the function switch of the function shell may be manually turned on by a user, or may be automatically turned on, for example, when the target application is started by default, the function switch of the function shell is turned on, which is not limited in this embodiment of the application.
Specifically, when the electronic device charges the housing device, the housing device may be charged through wireless reverse charging, and illustratively, when the electronic device detects that the target application is turned on, the switch of the wireless reverse charging function is turned on, and the housing device is charged through wireless reverse charging.
For the process of charging the function shell, in an implementable manner, when it is detected that the target application is turned on, the terminal device may automatically turn on the wireless reverse charging switch, as shown in fig. 5b, which is an interface schematic diagram of the turned-on wireless reverse charging switch, and in the interface, the name of the terminal device, the device scanned by the terminal device through the wireless reverse charging protocol, and the paired (charged) device may also be displayed. It should be noted that fig. 5b is only an illustration, and in practice, more or less interfaces than those shown in fig. 5b may be displayed, which is not limited in the embodiment of the present application.
In another implementable manner, when it is detected that the target application is opened, the terminal device may display a popup to notify a user that the function shell can be charged, and if the user selects the determination key, turn on the wireless reverse charging switch, and if the user selects the cancel key, keep the wireless reverse charging switch off. Taking the light supplement lamp function shell as an example, as shown in fig. 5c, detecting that the user turns on the camera (see interface 100), starting the camera application (see interface 101), displaying a popup window, inquiring whether the user charges the function shell (see interface 102), if the user selects the determination key, turning on the wireless reverse charging switch (the interface for turning on the wireless reverse charging switch can participate in fig. 5b), and if the user selects the cancel key, keeping the wireless reverse charging switch off, and not charging the function shell. Optionally, the pop-up window may further display other information, for example, a duration of charging the function shell, where the duration refers to a duration of continuously charging the function shell after the wireless reverse charging switch is turned on, and the terminal device turns off the wireless reverse charging switch when the duration is reached.
In one possible example, if a first target application is in a running state, and if a second target application is started, the wireless reverse charging function switch does not need to be repeatedly started since the wireless reverse charging function switch is in a starting state, wherein the first target application is one of the at least one application corresponding to the functional shell, and the second target application is any one of the rest of the at least one application except for the first target application corresponding to the functional shell. Wherein the first target application is in a running state may also include a background running state, and the first target application is closed when the first target application is cleared in the background. If the first target application program is closed at the front end or the background of the mobile phone, the second target application program is detected to be opened again, and the functional shell can be charged again when the functional shell is not charged currently.
The above-described method of charging the functional housing is only an example, and for example, the housing device may be charged in a wired manner.
Optionally, when the electronic device detects that the charging stop condition is met, stopping charging the housing device; illustratively, the stop charging condition includes, but is not limited to, any of the following: the target application is closed; the electric quantity of the electronic equipment is lower than a first set value; the electric quantity of the shell device is not lower than a second set value; the detachment of the housing arrangement from the electronic device is detected.
For example, the charging stop condition is that the target application program is closed, and when the mobile phone detects that the target application program is closed, the mobile phone closes the wireless reverse charging switch to stop charging the function shell. Further illustratively, the charging stop condition is that the electric quantity of the electronic device itself is lower than a first set value, for example, the first set value is 20% of the total electric quantity of the battery, and when the mobile phone detects that the remaining electric quantity of the battery itself is lower than 20% of the total electric quantity, the wireless reverse charging switch is turned off, and the charging of the function shell is stopped. Also illustratively, the charging stop condition is that the electric quantity of the functional cover is not lower than a second set value, and when the mobile phone monitors that the electric quantity of the functional cover is not lower than the second set value, for example, the second set value is 90% of the total electric quantity of the functional cover, the mobile phone turns off the wireless reverse charging switch, and stops charging the functional cover. In one example, when the mobile phone detects that the target application program is opened and closed, if the total power of the function shell is lower than 90%, the function shell can be continuously charged until the power of the function shell is not lower than 90%, and the function shell can be stopped being charged. Further illustratively, the condition of stopping charging is that the casing device is detected to be separated from the electronic device, and when the mobile phone detects that the functional shell is separated, the wireless reverse charging switch is turned off to stop charging the functional shell.
The above description is merely an example, and the charging stop condition may be one or more of the above description, which is not limited in the embodiment of the present application. For example, the charging stop condition may be that the power of the electronic device is lower than a first set value, or/and the power of the housing means is not lower than a second set value. For another example, the charging stop condition includes that the target application is turned off, or/and the power of the housing device is not lower than the second set value. In one example, the charging stop condition includes that the target application program is closed and the power of the shell device is not lower than a second set value, and assuming that the second set value is 80%, for example, the mobile phone detects that the power of the functional shell is not lower than 80%, and when the target application program is not closed, the charging of the functional shell can be continued; as another example, when it is detected that the target application is closed and the power of the function shell is lower than 80%, the function shell may also continue to be charged; and when the target application program is monitored to be closed and the electric quantity of the functional shell is not lower than 80%, closing the wireless reverse charging switch and stopping charging the functional shell. The technical solution of the present application will be described in detail with reference to specific examples.
Referring to fig. 6, a schematic flow chart of the first embodiment of the present application is shown, in the first embodiment, an electronic device is taken as a mobile phone, and a housing device is taken as a light supplement lamp functional shell matched with the model of the mobile phone. As shown in fig. 6, the process includes the following steps:
step 601: the mobile phone detects that the functional shell is worn.
Step 602: the mobile phone starts a wireless direction charging switch to obtain the type identification of the functional shell.
Step 603: the mobile phone turns off the wireless reverse charging switch.
In an implementable manner, after the mobile phone determines that the type identifier of the functional shell is obtained, the wireless reverse charging switch is turned off. In another practical manner, the mobile phone turns on the wireless reverse charging switch, and turns off the wireless reverse charging switch after the preset time. For example, the mobile phone turns on the wireless reverse charging switch, and turns off the wireless reverse charging switch after 10ms, that is, the turning off of the wireless reverse charging switch does not depend on whether the mobile phone obtains the type identifier of the functional cover. It should be understood that the predetermined time should be at least the minimum time required for the handset to obtain the function shell type identifier.
Step 604 a: if the type identifier of the function shell is 1, determining at least one application program corresponding to the type identifier (ID ═ 1) of the function shell according to the first preset corresponding relationship.
Assuming that the first preset corresponding relationship is table 1, the type identifier of the function shell is 01, and it can be determined that the function shell is a fill-in light function shell, and it is determined according to table 1 that at least one application program corresponding to the fill-in light function shell includes applications such as a camera and a beauty camera.
Step 605 a: and when the mobile phone detects that the target application program is started, the light supplement lamp function shell is charged.
In an achievable scene, a user starts a camera in the mobile phone, simultaneously starts a function switch of the light supplement lamp function shell to supplement light for the user, and when the mobile phone detects that the camera is started, the wireless direction charging switch is turned on to charge the light supplement lamp function shell.
It should be noted that, the function switch for the user to turn on the light supplement lamp function shell can also be implemented by controlling the function shell by the mobile phone, for example, the mobile phone sends an indication message to the function shell, and the function shell is indicated to turn on the light supplement lamp. The embodiments of the present application do not limit this.
In another implementation scenario, if the user turns on the camera and does not turn on the fill light of the function shell, the mobile phone may also charge the function shell, or the mobile phone detects one of the target applications, for example, after the camera is turned on, it may be detected through the light sensation transmitter whether the function shell turns on the fill light, if the function shell turns on the fill light, the function shell is charged, and if the function shell does not turn on the fill light, the function shell is not charged.
Step 606 a: and after the mobile phone determines that the target application program is closed, stopping charging the functional shell.
The charging stop condition can be referred to above, and is not described herein. If the mobile phone charges the function shell through wireless reverse charging, the wireless reverse charging switch is closed after the condition of stopping charging is determined to be met, and the function shell is stopped to be charged. It should be understood that the step 606a is illustrated as the stop charging condition that the target application is turned off, but the stop charging condition is not limited in the embodiment of the present application.
Step 604 b: if the type identifier of the function shell is 2, determining at least one application program corresponding to the type identifier (ID ═ 1) of the function shell according to the first preset corresponding relationship.
Assuming that the first preset corresponding relationship is table 1, the type identifier of the function shell is 02, and the function shell can be determined to be a game function shell, and it is determined according to table 1 that at least one application program corresponding to the light supplement lamp function shell includes applications such as royal glory.
Step 605 b: and when the mobile phone detects that the target application program is started, the light supplement lamp function shell is charged.
Illustratively, when the mobile phone detects that the royal is glory and started, the wireless direction charging switch is turned on to charge the game function shell.
Step 606 a: and after the mobile phone determines that the target application program is closed, stopping charging the functional shell.
In the embodiments provided in the present application, the method provided in the embodiments of the present application is described from the perspective of an electronic device as an execution subject. In order to implement the functions in the method provided by the embodiments of the present application, the electronic device may include a hardware structure and/or a software module, and the functions are implemented in the form of a hardware structure, a software module, or a hardware structure and a software module. Whether any of the above-described functions is implemented as a hardware structure, a software module, or a hardware structure plus a software module depends upon the particular application and design constraints imposed on the technical solution.
Based on the above embodiments and the same concept, fig. 7 is a schematic diagram of an electronic device provided in the embodiments of the present application, and as shown in fig. 7, the electronic device 700 may be a chip or a circuit, such as a chip or a circuit that can be disposed in the electronic device.
As shown in fig. 7, the electronic device 700 may include a detection unit 701, a communication unit 702, a processing unit 703, and a charging unit 704. The communication unit 702 may further include a transmitting unit and a receiving unit.
In one embodiment, the processing unit 703 is configured to determine at least one application associated with the housing device when the detecting unit 701 detects that the housing device is worn; the shell device is used for providing auxiliary functions for users based on electric energy;
a charging unit 704, configured to charge the shell device when it is detected that a first application program is opened, where the first application program is any one of the at least one application program.
In an optional design, the processing unit 703 is specifically configured to obtain a type identifier of the shell device when determining at least one application associated with the shell device; and inquiring corresponding relation information of a preset type identifier and an application program according to the type identifier to obtain at least one application program corresponding to the type identifier, wherein the corresponding relation information of the type identifier and the application program is at least used for indicating the at least one application program corresponding to the type identifier of the shell device.
In an optional design, the correspondence information at least indicates at least one application program corresponding to the type identifier of the shell device, and includes: the corresponding relation information at least comprises a type identifier of the shell device and a name of at least one application program corresponding to the type identifier; or, the corresponding relationship information at least includes a type identifier of the shell device and application type information corresponding to the type identifier.
In an alternative embodiment, the transmitting unit is used for transmitting a first message to the housing device; the receiving unit is used for receiving a second message carrying the type identifier of the shell device from the shell device; the processing unit 703 is configured to obtain a type identifier of the shell device carried in the second packet; or
A sending unit, configured to send a first message to the housing device; a receiving unit, configured to receive a second message from the housing device; a processing unit 703, configured to query, according to the resource used by the second packet, preset correspondence information between the resource and the type of the shell device, to obtain a type identifier of the shell device corresponding to the resource used by the second packet, where the correspondence information between the resource and the type of the shell device at least includes resource indication information used by the second packet and the type identifier of the corresponding shell device.
In an alternative design, the charging unit 704 is further configured to: stopping charging the housing device upon detecting that a stop-charging condition is satisfied; wherein the stop charging condition includes any one of: the first application is closed; the electric quantity of the electronic equipment is lower than a first set value; the electric quantity of the shell device is not lower than a second set value; the electronic device detects that the housing apparatus is detached from the electronic device.
In an alternative embodiment, the charging unit 704 is used to charge the housing device, in particular to: and starting a wireless reverse charging function to charge the shell device.
Similar to the above concept, as shown in fig. 8, the present application provides an electronic device 800, which electronic device 800 may include a processor 801 and a memory 802. Further, the apparatus may further include a communication interface 804, which may be a transceiver, or a network card. Further, the device 800 may also include a bus system 803.
The processor 801, the memory 802 and the communication interface 804 may be connected via the bus system 803, the memory 802 may store instructions, and the processor 801 may be configured to execute the instructions stored in the memory 802 to control the communication interface 804 to receive or transmit signals, so as to implement the steps of the method shown in fig. 2.
The memory 802 may be integrated in the processor 801 or may be a physical entity different from the processor 801.
As an implementation manner, the function of the communication interface 804 may be realized by a transceiver circuit or a dedicated chip for transceiving. The processor 801 may be considered to be implemented by a dedicated processing chip, processing circuit, processor, or general purpose chip.
As another implementation manner, a manner of using a computer may be considered to implement the first computing node or the function of the first computing node provided in the embodiment of the present application. Program code that implements the functions of processor 801 and communication interface 804 is stored in memory 802, and a general-purpose processor may implement the functions of processor 801 and communication interface 804 by executing the code in memory.
For the concepts, explanations, and detailed descriptions related to the technical solutions provided in the present application and other steps related to the apparatus 800, reference may be made to the descriptions of the foregoing methods or other embodiments for these matters, which are not described herein again.
In an example of the present application, the apparatus 800 may be configured to execute the step of executing the main body in the process shown in fig. 5a or fig. 6, for which reference is specifically made to the description of the process shown in fig. 5a or fig. 6, which is not described herein again.
The embodiment of the present application further provides a computer storage medium, where a computer instruction is stored in the computer storage medium, and when the computer instruction runs on a terminal device, the terminal device is enabled to execute the relevant method steps to implement the method in the foregoing embodiment.
The embodiment of the present application further provides a computer program product, which when running on a computer, causes the computer to execute the above related steps to implement the method in the above embodiment.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the method in the above method embodiments.
In addition, the terminal device, the computer storage medium, the computer program product, or the chip provided in the embodiments of the present application are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the terminal device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely one type of logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be discarded or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A method of charging, comprising:
when the electronic equipment detects that the shell device is worn, determining at least one application program associated with the shell device; the shell device is used for providing auxiliary functions for users based on electric energy;
the electronic equipment charges the shell device when detecting that a first application program is started, wherein the first application program is any one of the at least one application program.
2. The method of claim 1, wherein determining at least one application associated with the shell device comprises:
the electronic equipment acquires a type identifier of the shell device;
the electronic equipment queries corresponding relation information of a preset type identifier and an application program according to the type identifier to obtain at least one application program corresponding to the type identifier, wherein the corresponding relation information of the type identifier and the application program is at least used for indicating the at least one application program corresponding to the type identifier of the shell device.
3. The method of claim 2, wherein the correspondence information at least indicates at least one application to which a type identifier of the shell device corresponds, including:
the corresponding relation information at least comprises a type identifier of the shell device and a name of at least one application program corresponding to the type identifier; alternatively, the first and second electrodes may be,
the corresponding relation information at least comprises a type identifier of the shell device and application program type information corresponding to the type identifier.
4. The method of claim 2 or 3, wherein the electronic device obtaining the type identification of the case apparatus comprises:
the electronic equipment sends a first message to the shell device, receives a second message which is from the shell device and carries the type identifier of the shell device, and acquires the type identifier of the shell device carried by the second message; or
The electronic equipment sends a first message to the shell device, receives a second message from the shell device, and queries preset corresponding relation information of resources and shell device types according to resources used by the second message to obtain a shell device type identifier corresponding to the resources used by the second message, wherein the corresponding relation information of the resources and the shell device types at least comprises resource indication information used by the second message and the corresponding shell device type identifier.
5. A method according to any of claims 1-3, characterized in that the method further comprises:
the electronic equipment stops charging the shell device after detecting that a charging stop condition is met; wherein the stop charging condition includes any one of:
the first application is closed;
the electric quantity of the electronic equipment is lower than a first set value;
the electric quantity of the shell device is not lower than a second set value;
the electronic device detects that the housing apparatus is detached from the electronic device.
6. The method of any of claims 1-3, wherein the electronic device charges the housing means, comprising:
the electronic equipment starts a wireless reverse charging function to charge the shell device.
7. An electronic device, comprising:
a processing unit for determining at least one application program associated with the housing device when the detection unit detects that the housing device is worn; the shell device is used for providing auxiliary functions for users based on electric energy;
the charging unit is used for charging the shell device when detecting that a first application program is started, wherein the first application program is any one of the at least one application program.
8. The electronic device according to claim 7, wherein the processing unit is configured to obtain a type identifier of the housing device after determining at least one application associated with the housing device; and inquiring corresponding relation information of a preset type identifier and an application program according to the type identifier to obtain at least one application program corresponding to the type identifier, wherein the corresponding relation information of the type identifier and the application program is at least used for indicating the at least one application program corresponding to the type identifier of the shell device.
9. The electronic device of claim 8, wherein the correspondence information at least indicates at least one application program to which the type identifier of the housing apparatus corresponds, and comprises:
the corresponding relation information at least comprises a type identifier of the shell device and a name of at least one application program corresponding to the type identifier; alternatively, the first and second electrodes may be,
the corresponding relation information at least comprises a type identifier of the shell device and application program type information corresponding to the type identifier.
10. The electronic device according to claim 8 or 9, wherein the electronic device further comprises a communication unit;
the processing unit is used for acquiring the type identifier of the shell device, and is specifically used for:
controlling a communication unit to send a first message to the shell device and receive a second message carrying the type identifier of the shell device from the shell device; acquiring the type identifier of the shell device carried by the second message; or
Controlling a communication unit to send a first message to the shell device and receive a second message from the shell device; and inquiring preset corresponding relation information of the resources used by the second message and the type of the shell device according to the resources used by the second message to obtain the type identifier of the shell device corresponding to the resources used by the second message, wherein the corresponding relation information of the resources and the type of the shell device at least comprises the resource indication information used by the second message and the type identifier of the corresponding shell device.
11. The electronic device of any of claims 7-9, wherein the charging unit is further to:
stopping charging the housing device upon detecting that a stop-charging condition is satisfied; wherein the stop charging condition includes any one of: the first application is closed; the electric quantity of the electronic equipment is lower than a first set value; the electric quantity of the shell device is not lower than a second set value; the electronic device detects that the housing apparatus is detached from the electronic device.
12. The electronic device according to any of claims 7-9, wherein the charging unit, when charging the housing arrangement, is specifically configured to: and starting a wireless reverse charging function to charge the shell device.
13. An electronic device, wherein the apparatus comprises a processor, a memory, and a communication interface;
the memory for storing computer programs or instructions;
the processor, for executing computer programs or instructions in the memory, for performing the method of any of claims 1-6 via the communication interface.
14. A computer-readable storage medium, comprising a computer program which, when run on an electronic device, causes the electronic device to perform the method of any of claims 1-6.
CN202011050083.7A 2020-09-29 2020-09-29 Charging method and device Pending CN114363997A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011050083.7A CN114363997A (en) 2020-09-29 2020-09-29 Charging method and device
PCT/CN2021/120557 WO2022068708A1 (en) 2020-09-29 2021-09-26 Charging method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011050083.7A CN114363997A (en) 2020-09-29 2020-09-29 Charging method and device

Publications (1)

Publication Number Publication Date
CN114363997A true CN114363997A (en) 2022-04-15

Family

ID=80951179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011050083.7A Pending CN114363997A (en) 2020-09-29 2020-09-29 Charging method and device

Country Status (2)

Country Link
CN (1) CN114363997A (en)
WO (1) WO2022068708A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351479A (en) * 2019-05-30 2019-10-18 华为技术有限公司 Light supplement control method, light filling lamp fitting and electronic equipment
CN110535995A (en) * 2019-09-27 2019-12-03 深圳市皓阳电子有限公司 A kind of wireless reverse charging mobile phone shell
CN111313500A (en) * 2020-03-16 2020-06-19 Oppo广东移动通信有限公司 Charging management method and device, electronic equipment and computer readable storage medium
CN111525645A (en) * 2020-04-30 2020-08-11 歌尔科技有限公司 Intelligent charging method, system and related equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005236933A (en) * 2004-02-17 2005-09-02 Masatoshi Sugai Portable telephone set and electric torch for portable telephone set
CN204105138U (en) * 2014-03-17 2015-01-21 青岛华世基电子有限公司 A kind of cell-phone cover with luminous charge function
CN204442477U (en) * 2014-12-23 2015-07-01 许志胜 A kind of light filling cell-phone cover
CA2933572A1 (en) * 2016-06-20 2017-12-20 Zhu Xuan Dong Intelligent phone case that changes color using a mobile application and features custom led notification service
CN206100145U (en) * 2016-09-30 2017-04-12 深圳欧尔佳科技有限公司 Mobile phone cover
CN206596031U (en) * 2016-12-08 2017-10-27 聂海辉 Mobile phone shell and the mobile phone including the mobile phone shell
DE202017005673U1 (en) * 2017-10-30 2017-11-17 Alessandro Piras Mobile Phone Case

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351479A (en) * 2019-05-30 2019-10-18 华为技术有限公司 Light supplement control method, light filling lamp fitting and electronic equipment
CN110535995A (en) * 2019-09-27 2019-12-03 深圳市皓阳电子有限公司 A kind of wireless reverse charging mobile phone shell
CN111313500A (en) * 2020-03-16 2020-06-19 Oppo广东移动通信有限公司 Charging management method and device, electronic equipment and computer readable storage medium
CN111525645A (en) * 2020-04-30 2020-08-11 歌尔科技有限公司 Intelligent charging method, system and related equipment

Also Published As

Publication number Publication date
WO2022068708A1 (en) 2022-04-07

Similar Documents

Publication Publication Date Title
CN112351322B (en) Terminal device, method and system for realizing touch screen projection through remote controller
WO2020168965A1 (en) Method for controlling electronic device having folding screen, and electronic device
WO2021063311A1 (en) Display control method for electronic device having foldable screen, and electronic device
CN110730114B (en) Method and equipment for configuring network configuration information
WO2021043198A1 (en) Bluetooth pairing method, and related device
WO2021043219A1 (en) Bluetooth reconnection method and related apparatus
WO2022089000A1 (en) File system check method, electronic device, and computer readable storage medium
WO2020019355A1 (en) Touch control method for wearable device, and wearable device and system
CN113676339B (en) Multicast method, device, terminal equipment and computer readable storage medium
CN111835907A (en) Method, equipment and system for switching service across electronic equipment
CN112684969B (en) Always displaying method and mobile device
WO2022100219A1 (en) Data transfer method and related device
CN112738794B (en) Network residing method, chip, mobile terminal and storage medium
CN113645622A (en) Device authentication method, electronic device, and storage medium
CN113810532B (en) Positioning method and related device
CN115119336B (en) Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
CN114363997A (en) Charging method and device
CN114116610A (en) Method, device, electronic equipment and medium for acquiring storage information
CN114554012A (en) Incoming call answering method, electronic equipment and storage medium
CN113867520A (en) Device control method, electronic device, and computer-readable storage medium
CN116208705B (en) Equipment abnormality recovery method and electronic equipment
WO2023207715A1 (en) Screen-on control method, electronic device, and computer-readable storage medium
CN114125144B (en) Method, terminal and storage medium for preventing false touch
CN117062039B (en) Bluetooth connection method, electronic equipment and computer readable storage medium
CN114363820A (en) Electronic equipment searching method and electronic equipment

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