CN114487644A - Charging state detection method and device, electronic equipment and storage medium - Google Patents

Charging state detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114487644A
CN114487644A CN202111551535.4A CN202111551535A CN114487644A CN 114487644 A CN114487644 A CN 114487644A CN 202111551535 A CN202111551535 A CN 202111551535A CN 114487644 A CN114487644 A CN 114487644A
Authority
CN
China
Prior art keywords
charging
pulse
state
output
preset threshold
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
CN202111551535.4A
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.)
SKG Health Technologies Co Ltd.
Original Assignee
SKG Health 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 SKG Health Technologies Co Ltd. filed Critical SKG Health Technologies Co Ltd.
Priority to CN202111551535.4A priority Critical patent/CN114487644A/en
Publication of CN114487644A publication Critical patent/CN114487644A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • 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
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00036Charger exchanging data with battery
    • 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
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses a charging state detection method and device, electronic equipment and a storage medium, and belongs to the technical field of circuit control. The method is applied to the electronic equipment and comprises the following steps: the electronic equipment acquires the pulse frequency output by the charging integrated circuit in an interruption mode; after the preset acquisition time length, acquiring the pulse times acquired in each continuous period in the preset acquisition time length; and determining the charging state of the electronic equipment according to the pulse frequency acquired in each continuous period and a first preset threshold value. The pulse frequency output by the charging IC is collected in the interruption mode, the charging state is determined based on the pulse frequency in different continuous periods and the first preset threshold value, the charging state can be determined according to the pulse frequency output by the charging IC collected in the actual interruption mode, a fixed collection period is not required to be set for collection, and the accuracy of detecting the charging state in the charging process of the electronic equipment is improved.

Description

Charging state detection method and device, electronic equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of circuit control, in particular to a charging state detection method and device, electronic equipment and a storage medium.
Background
With the progress of science and technology, the types of electronic devices used in daily life of people are more and more, most of the electronic devices have charging requirements, and charging schemes adopted in different electronic devices are different.
Currently, most electronic devices usually employ an Integrated Circuit (IC) of Internet Protocol (IP) series. In different charging modes, the pulse groups output from the detection ports of the charging IC are also different. For example, the detection port of the charging IC normally outputs a low level signal when not charging, the detection port of the charging IC normally outputs a 1.5Hz interval pulse burst during charging, and the detection port of the charging IC normally outputs a continuous pulse burst when fully charged. In actual use, because a sampling period for sampling a detection port of a charging IC set by a Micro Controller Unit (MCU) in an electronic device is fixed, and because of differences between different charging ICs, in a charging process, the detection port of the charging IC theoretically outputs an interval pulse group of 1.5Hz, but the frequency of the actually output interval pulse group fluctuates (e.g., 0.5Hz or 2 Hz), at this time, the sampling period and the actually output interval pulse group do not coincide with each other, a phenomenon of erroneous judgment easily occurs, and accuracy of detecting a charging state of the electronic device in a charging process is reduced.
Disclosure of Invention
The embodiment of the application provides a charging state detection method and device, electronic equipment and a storage medium, which can improve the massage flexibility of massage equipment.
In one aspect, an embodiment of the present application provides a charging state detection method, where the method is applied to an electronic device, and the method includes:
the electronic equipment acquires the pulse frequency output by the charging integrated circuit in an interruption mode;
after the preset acquisition time length, acquiring the pulse times acquired in each continuous period in the preset acquisition time length;
and determining the charging state of the electronic equipment according to the pulse frequency acquired in each continuous period and a first preset threshold value.
Optionally, the determining the charging state of the electronic device according to the number of pulses collected in each continuous period and a first preset threshold includes:
when the pulse frequency acquired in each period is greater than the first preset threshold, determining that the charging state of the electronic equipment is a full-charge state;
when the pulse frequency acquired in each period is not greater than the first preset threshold, determining that the charging state of the electronic equipment is an uncharged state;
and when the pulse times acquired in each continuous period comprise pulse times larger than the first preset threshold value and pulse times not larger than the first preset threshold value, determining that the charging state of the electronic equipment is a charging state.
Optionally, the collecting, in an interruption manner, the number of pulses output by the charging integrated circuit includes:
initializing an input/output interface as an interrupt input interface, wherein the input/output interface is used for receiving the pulse output by the charging integrated circuit;
and acquiring the pulse frequency output by the charging integrated circuit through the interrupt input interface.
Optionally, before the initializing the input/output interface is an interrupt input interface, the method further includes:
displaying a first setting interface in a display screen of the electronic equipment, wherein the first setting interface comprises a type selection control;
and responding to the touch operation of the type selection control, and setting the selected interrupt input interface as the interface type of the input/output interface.
Optionally, before determining the charging state of the electronic device according to the number of pulses acquired in each continuous period and a first preset threshold, the method further includes:
acquiring the number of cycles of each continuous cycle;
when the number of cycles is greater than a second preset threshold, executing the step of determining the charging state of the electronic equipment according to the number of pulses acquired in each continuous cycle and a first preset threshold;
and when the period number is not greater than the second preset threshold value, the step of collecting the pulse times output by the charging integrated circuit in an interruption mode is executed again.
Optionally, after the preset acquisition duration, before acquiring the number of pulses acquired in each continuous period within the preset acquisition duration, the method further includes:
acquiring the output frequency of the output pulse of the charging integrated circuit;
and determining the cycle duration of each continuous cycle and the preset acquisition duration according to the output frequency.
Optionally, after determining the charging state of the electronic device according to the number of pulses acquired in each continuous period and a first preset threshold, the method further includes;
determining state display parameters according to the charging state, wherein the state display parameters comprise a display mode and display contents of a charging display device;
and controlling the charging display device to display according to the state display parameters.
In one aspect, an embodiment of the present application provides a charging state detection apparatus, where the apparatus is applied to an electronic device, and the apparatus includes:
the pulse acquisition module is used for acquiring the pulse frequency output by the charging integrated circuit through the electronic equipment in an interruption mode;
the frequency acquisition module is used for acquiring the pulse frequency acquired in each continuous period in the preset acquisition time after the preset acquisition time;
and the state determining module is used for determining the charging state of the electronic equipment according to the pulse frequency acquired in each continuous period and a first preset threshold value.
In another aspect, an embodiment of the present application provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to implement the charge state detection method according to the above aspect.
In another aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the charging state detection method according to the above aspect.
In another aspect, the present application provides a computer program product, which when run on a computer, causes the computer to execute the method for detecting a charging state according to the above aspect.
In another aspect, an application publishing platform is provided, and is configured to publish a computer program product, where the computer program product, when running on a computer, causes the computer to perform the charge state detection method according to the above aspect.
The technical scheme provided by the embodiment of the application can at least comprise the following beneficial effects:
the electronic equipment provided by the application acquires the pulse frequency output by the charging integrated circuit in an interruption mode; after the preset acquisition time length, acquiring the pulse times acquired in each continuous period in the preset acquisition time length; and determining the charging state of the electronic equipment according to the pulse frequency acquired in each continuous period and a first preset threshold value. The pulse frequency output by the charging IC is collected in the interruption mode, the charging state is determined based on the pulse frequency in different continuous periods and the first preset threshold value, the charging state can be determined according to the pulse frequency output by the charging IC collected in the actual interruption mode, a fixed collection period is not required to be set for collection, and the accuracy of detecting the charging state in the charging process of the electronic equipment is improved.
Drawings
Fig. 1 is a schematic diagram of a pulse waveform of a pulse group output from a detection port of a charging IC according to an exemplary embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for detecting a state of charge according to an exemplary embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for detecting a state of charge according to an exemplary embodiment of the present application;
FIG. 4 is a schematic diagram of a charging circuit for an electronic device according to an exemplary embodiment of the present application;
FIG. 5 is an interface diagram of a setup interface according to an exemplary embodiment of the present application;
fig. 6 is a block diagram of a charging state detection apparatus according to an exemplary embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The scheme provided by the application can be used for establishing short-distance wireless communication connection with the massage equipment through the electronic equipment or the terminal when people use the massage equipment in daily life, and controlling the massage equipment to massage, or a user can also directly control the massage equipment to massage in a real scene, and for convenience of understanding, a few nouns and application scenes related to the embodiment of the application are firstly and simply introduced below.
With the development of science and technology, various electronic devices are appeared in daily life of people, people can work, entertain, study and the like through terminals, and people can usually relax the body through health care devices when the body is tired. For example, a massage device with a massage function has a remarkable effect in relieving stress and fatigue as a health care device, and is popular with consumers, and people increasingly use the massage device for massage, relaxation, and the like in daily life. For another example, a mobile phone with a video chat function is used as a communication device, and people can also chat with each other through the mobile phone, communicate with the daily life through videos, and the like.
Various electronic devices are powered by batteries, and when the batteries are low, users are often required to charge the electronic devices. Currently, various electronic devices also adopt an MCU and a charging IC for charging control, and the MCU and the charging IC are matched with each other, so as to switch between different charging states. For example, a charging IC commonly used in electronic devices is an IP series based on an english-centric core, and pulse groups output by a detection port of the charging IC are different in different charging modes. For example, the detection port of the charging IC normally outputs a low level signal when not charging, the detection port of the charging IC normally outputs a 1.5Hz interval pulse burst during charging, and the detection port of the charging IC normally outputs a continuous pulse burst when fully charged.
Optionally, the electronic device related to the present application may be a mobile phone, a tablet computer, an electronic book reader, smart glasses, a smart watch, an MP3 player (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), a notebook computer, a laptop computer, a desktop computer, and the like. Or, the terminal may also be an intelligent home device, where the intelligent home device may include, but is not limited to, a smart television, an intelligent robot, an intelligent sound box, an intelligent bluetooth headset, a massage device, an intelligent refrigerator, an intelligent air conditioner, an intelligent electric cooker, an intelligent sensor (such as an infrared sensor, a light sensor, a vibration sensor, and a sound sensor), an intelligent water purifier, and other devices that are fixedly installed or move in a small range.
Optionally, the electronic device may further establish a communication connection with another device, where the communication connection is a wired network or a wireless network.
Optionally, the wireless network or wired network described above uses standard communication techniques and/or protocols. The Network is typically the Internet, but may be any Network including, but not limited to, a Local Area Network (LAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a mobile, wireline or wireless Network, a private Network, or any combination of virtual private networks. In some embodiments, data exchanged over a network is represented using techniques and/or formats including Hypertext Mark-up Language (HTML), Extensible Markup Language (XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec). In other embodiments, custom and/or dedicated data communication techniques may also be used in place of, or in addition to, the data communication techniques described above.
Referring to fig. 1, a schematic diagram of a pulse waveform of a pulse group output from a detection port of a charging IC according to an exemplary embodiment of the present application is shown. As shown in fig. 1, each pulse 101 is contained, sampling an example period 102.
As shown in fig. 1, in actual use, since a sampling period (sampling example period 102) set by the MCU in the electronic device to sample the detection port of the charging IC is fixed, the sampling period corresponds to an interval pulse group output by the detection port of the charging IC theoretically being 1.5Hz, but due to differences between different charging ICs, the frequency between pulses 101 in fig. 1 may also be 3.0Hz during charging, that is, the detection port of the charging IC outputs an interval pulse group of 3.0Hz, and at this time, the sampling period and the interval pulse group output actually do not coincide with each other, and a phenomenon of erroneous judgment easily occurs.
Although the pulse output by the detection port of the charging IC can be filtered in the charging IC at present by adding a filter capacitor and a level conversion circuit, and a small pulse group with a collection period smaller than a set fixed period is not needed in the collection process, so that the accuracy is improved, the scheme also increases the hardware cost, increases the complexity of circuit design, and has the disadvantages of inflexible applied charging scene, inaccurate corresponding obtained charging state and incapability of solving the problems essentially.
In order to avoid the problems in the technical scheme, the accuracy of detecting the charging state of the electronic equipment in the charging process is improved. The application provides a charging state detection method, which can detect in an interruption mode, determine the charging state by combining pulse times acquired in different continuous periods, avoid setting a fixed period for acquisition, realize the effect of timely acquiring the charging state in any charging scene, expand application scenes and improve the accuracy of charging state detection.
Referring to fig. 2, a flowchart of a method for detecting a charging status according to an exemplary embodiment of the present application is shown. The method may be used in the scenario architecture described above, and executed by an electronic device in the scenario, as shown in fig. 2, the method for detecting the charging state may include the following steps.
In step 201, the electronic device collects the number of pulses output by the charging integrated circuit in an interrupt manner.
The electronic equipment comprises an MCU and a charging IC, the MCU is electrically connected with the charging IC, and when the charging IC charges a battery, the MCU acquires a pulse signal output by a detection port of the charging IC in a terminal mode to acquire the pulse frequency of the charging IC. It should be noted that, in addition to the interrupt mode, the present application may also adopt an interval round-robin mode for acquisition, and subsequent steps are similar to the interrupt mode and are not described herein again.
Step 202, after the preset acquisition duration, acquiring the pulse frequency acquired in each continuous period in the preset acquisition duration.
Optionally, in the process of acquiring the pulse times, after the preset acquisition duration, the electronic device acquires the pulse times acquired in each continuous period within the preset acquisition duration. The preset acquisition time length can be preset in the electronic equipment by a developer. For example, the preset acquisition duration may be 200 milliseconds, where the 200 milliseconds include 20 periods, and the electronic device acquires the pulse frequency acquired in each continuous period, that is, the electronic device acquires 20 pulse frequencies corresponding to the 20 periods.
Step 203, determining the charging state of the electronic device according to the pulse frequency acquired in each continuous period and a first preset threshold.
Optionally, the electronic device determines the charging state of the electronic device according to the collected pulse number and a first preset threshold. The first preset threshold may also be set in the electronic device in advance by a developer. In the application, the electronic device obtains the number of pulses in each period, detects the number of pulses in each period, regards a certain period as an invalid period when the number of pulses in the certain period is not greater than a first preset threshold, regards the certain period as an valid period when the number of pulses in the certain period is greater than the first preset threshold, and determines the charging state of the electronic device by combining the number of valid periods.
In summary, the electronic device provided by the present application collects the number of pulses output by the charging integrated circuit in an interrupt manner; after the preset acquisition time length, acquiring the pulse times acquired in each continuous period in the preset acquisition time length; and determining the charging state of the electronic equipment according to the pulse frequency acquired in each continuous period and a first preset threshold value. The pulse frequency output by the charging IC is collected in the interruption mode, the charging state is determined based on the pulse frequency in different continuous periods and the first preset threshold value, the charging state can be determined according to the pulse frequency output by the charging IC collected in the actual interruption mode, a fixed collection period is not required to be set for collection, and the accuracy of detecting the charging state in the charging process of the electronic equipment is improved.
In a possible implementation manner, the electronic device needs to initialize the input/output port of the MCU, initialize the input/output port to the interrupt input port, and acquire the detection port of the charging IC in the interrupt manner, so as to achieve the effect of timely acquiring the charging state in any charging scene, expand the application scenes, and improve the accuracy of the charging state detection.
Referring to fig. 3, a flowchart of a method for detecting a charging status according to an exemplary embodiment of the present application is shown. The method may be used in the scenario architecture described above, and executed by an electronic device in the scenario, as shown in fig. 3, the method for detecting the charging state may include the following steps.
Step 301, initializing an input/output interface as an interrupt input interface, where the input/output interface is used to receive pulses output by the charging integrated circuit.
Referring to fig. 4, a schematic diagram of a charging circuit of an electronic device according to an exemplary embodiment of the present application is shown. As shown in fig. 4, the MCU 401, the charging IC 402, and an Input/Output (I/O) interface 403 are included. For example, after the charger is connected, the electronic device may initialize the I/O interface 403 on the MCU 401, and detect the pulse output by the charging IC 402 through the I/O interface 403. Alternatively, in the shutdown and restart process, the electronic device may initialize the I/O interface 403 on the MCU 401 as an interrupt input interface, and detect the pulse output by the charging IC 402 through the I/O interface 403.
In one possible implementation manner, a first setting interface is displayed in a display screen of the electronic device, and the first setting interface includes a type selection control; and responding to the touch operation of the type selection control, and setting the selected interrupt input interface as the interface type of the input/output interface. Referring to fig. 5, an interface diagram of a setup interface according to an exemplary embodiment of the present application is shown. As shown in fig. 5, various interface types 501, a type selection control 502, a confirmation control 503, and a cancel control 504 are included in the setting interface 500. The user may click the type selection control 502 corresponding to a certain interface type in the setting interface 500, and trigger the confirmation control 503, so that the electronic device selects the interface type, and sets the I/O interface as the selected interface type in the above initialization process. For example, if the selected interface type is a terminal input interface, after the interface trigger confirmation control is set, or after the charger is connected, or after the electronic device is restarted, the interface may be initialized to be an interrupt input interface, so as to receive the pulse output by the charging IC.
Step 302, the number of pulses output by the charging integrated circuit is collected through the interrupt input interface.
Namely, in the charging process of the electronic equipment, the charging IC outputs pulses to the detection port, and the electronic equipment acquires the pulse frequency output by the charging IC through the interrupt input interface of the MCU according to an interrupt mode.
Step 303, after the preset acquisition duration, acquiring the pulse frequency acquired in each continuous period in the preset acquisition duration.
Optionally, after initializing the I/O interface of the MCU, the electronic device acquires pulses output from the detection port of the charging IC according to each period, and acquires the number of pulses acquired in each period. That is, the preset acquisition period may be regarded as a large period, the large period includes a plurality of small periods, the MCU of the electronic device may record the number of pulses acquired in each small period, and when the time of the large period reaches, the electronic device obtains the number of pulses recorded in each small period.
In a possible implementation manner, before this step, the electronic device may further obtain an output frequency of the output pulse of the charging integrated circuit; and determining the cycle duration and the preset acquisition duration of each continuous cycle according to the output frequency. That is, before the electronic device collects the number of pulses in the interrupt mode, the output frequency of the output pulses of the charging IC is acquired through other ports, and based on the output frequency, the cycle duration and the preset collection duration of each continuous cycle are calculated. For example, the electronic device obtains an output period (t ═ 1/f) according to the output frequency (f), and obtains a period duration according to (N ×) where N is a positive integer, and the preset collection duration may be (M × t) where M is an integral multiple of N. For example, if f is 2.0Hz, N is 1, and M is 10, after the electronic device obtains the output frequency of the output pulse of the charging IC, it can obtain that the output period is 0.5 seconds, then the period duration of each continuous period is also 0.5 seconds, and the preset acquisition duration is 5 seconds.
Step 304, determining the charging state of the electronic device according to the pulse frequency acquired in each continuous period and a first preset threshold.
Optionally, the electronic device in this application determines the charging state of the electronic device according to a magnitude relationship between the respective pulse frequency in each period and a first preset threshold by detecting the respective pulse frequency in each continuous period. When the pulse times acquired in each period are greater than a first preset threshold value, determining that the charging state of the electronic equipment is a full-charge state; when the pulse times acquired in each period are not more than a first preset threshold, determining that the charging state of the electronic equipment is an uncharged state; and when the pulse times acquired in each continuous period include pulse times larger than a first preset threshold and pulse times not larger than the first preset threshold, determining that the charging state of the electronic equipment is a charging state.
The first preset threshold may be preset in the electronic device by a developer or an operation and maintenance person. For example, the first preset threshold is 10 pulses, and if the number of pulses acquired in each period is greater than 10 pulses, it is determined that the charging state of the electronic device is a full-charge state; when the pulse frequency acquired in each period is not more than 10 pulses, determining that the charging state of the electronic equipment is an uncharged state; and when the pulse times collected in each continuous period include pulse times larger than 10 pulses and pulse times not larger than 10 pulses, determining that the charging state of the electronic equipment is a charging state.
That is, the electronic device may obtain, by detecting the respective pulse frequency in each continuous period, the number of periods in each period in which the pulse frequency corresponding to each period is greater than the first preset threshold according to the magnitude relationship between the respective pulse frequency in each period and the first preset threshold, and determine the charging state of the electronic device according to the number of periods. Or, the electronic device may also obtain, by detecting the respective pulse frequency in each continuous period, a ratio of the number of the pulses in each period, which is greater than the first preset threshold, to the total number of the periods according to the size relationship between the respective pulse frequency in each period and the first preset threshold, and determine the charging state of the electronic device according to the ratio.
Optionally, a corresponding relationship table may exist between the number of cycles and the charging state of the electronic device. For example, please refer to table 1, which shows a table of correspondence between the number of cycles and the charging state of the electronic device according to an exemplary embodiment of the present application.
Number of cycles State of charge
A first number range Charged state one
Second range of numbers Charging state two
Third range of numbers State of charge three
…… ……
TABLE 1
As shown in table 1, the electronic audit obtains the number of cycles of each cycle, in which the number of pulses corresponding to each cycle is greater than the first preset threshold, according to the size relationship between the number of pulses in each cycle and the first preset threshold, and determines the number range according to the number of cycles, so as to query table 1 to obtain the corresponding charging state. For example, the first preset threshold is 10 times, the preset acquisition duration includes 10 continuous cycles, the respective pulse frequency in the 10 continuous cycles acquired by the electronic device is [11,9,15,12,8,13, 17,18,15,12], the electronic device determines the pulse frequency corresponding to each cycle, determines that the number of cycles of each cycle in which the pulse frequency corresponding to each cycle is greater than the first preset threshold is 8, and if 8 is within the first number range, the electronic device may obtain that the charging state of the electronic device is the first charging state based on the number of cycles.
It should be noted that, the above-mentioned manner of obtaining the ratio of the number of the pulses corresponding to each period, where the number of the pulses is greater than the first preset threshold, to the total number of the periods according to the size relationship between the respective number of the pulses in each period and the first preset threshold, and determining the charging state of the electronic device according to the ratio may be similar to the manner of the above-mentioned number range, and details are not repeated here.
In a possible implementation manner, before the step 304, the electronic device may further obtain the cycle number of each continuous cycle; when the number of cycles is larger than a second preset threshold, executing a step of determining the charging state of the electronic equipment according to the number of pulses acquired in each continuous cycle and the first preset threshold; and when the number of the periods is not more than a second preset threshold value, the step of collecting the pulse times output by the charging integrated circuit in an interruption mode is executed again. The second preset threshold may also be preset in the electronic device by a developer or an operation and maintenance person.
That is, the electronic device may detect the number of each cycle in the preset acquisition duration, if it is found that the number of cycles in the preset acquisition duration is greater than the second preset threshold, step 304 is executed, otherwise, it indicates that the number of each cycle acquired in the preset acquisition duration is insufficient, which indicates that a problem occurs in hardware or software in the charging process of the electronic device, resulting in insufficient number of cycles acquired in the preset acquisition duration, and the electronic device may continue to acquire the number of pulses output by the charging integrated circuit in an interrupt manner, and acquire the number of pulses in each cycle after the next preset acquisition duration.
In a possible implementation manner, when the number of cycles is not greater than the second preset threshold, during the step of the electronic device re-executing the step of acquiring the number of pulses output by the charging integrated circuit in the interrupt manner, the electronic device may also combine the two preset acquisition durations, and use the number of pulses recorded by the electronic device in each cycle as a parameter for determining the charging state of the electronic device at this time. For example, the second preset threshold is 15 times, the number of cycles acquired by the electronic device is 10 in the first preset acquisition duration, the electronic device acquires the number of pulses output by the charging integrated circuit in an interrupt manner again, and the number of cycles acquired in the second preset acquisition duration is 15 times, so that the two preset acquisition durations may be combined, the number of pulses (25 times) recorded by the electronic device in each cycle is used as a parameter for determining the charging state of the electronic device, and the step of determining the charging state is performed.
Step 305, determining a state display parameter according to the charging state, wherein the state display parameter includes a display mode and a display content of the charging display device.
Optionally, the electronic device determines a state display parameter according to the determined charging state, where the state display parameter includes a display mode and a display content of the charging display device. The display mode can be through light display, through voice playing or through icon display and the like. The display content may be an icon that the battery is being charged, or may be text content that the battery is being charged. For example, the electronic device may be a massage apparatus having a display screen, the charging display device is a display screen, when the charging state of the electronic device is a charging state, the display screen may display an animation effect and prompt the text content being charged, when the charging state of the electronic device is a full state, the display screen may display an icon corresponding to the full state and prompt the text content being full, and when the charging state of the electronic device is an uncharged state, the display screen may display an icon corresponding to the uncharged state and prompt the text content being uncharged, which is not limited by the present application.
And step 306, controlling the charging display device to display according to the state display parameters.
That is, the electronic device can control the corresponding charging display device to display the state display parameters, so that the user can know whether the current electronic device is charged or not and know the charging state of the electronic device in time.
In summary, the electronic device provided by the present application collects the number of pulses output by the charging integrated circuit in an interrupt manner; after the preset acquisition time length, acquiring the pulse times acquired in each continuous period in the preset acquisition time length; and determining the charging state of the electronic equipment according to the pulse frequency acquired in each continuous period and a first preset threshold value. The pulse frequency output by the charging IC is collected in the interruption mode, the charging state is determined based on the pulse frequency in different continuous periods and the first preset threshold value, the charging state can be determined according to the pulse frequency output by the charging IC collected in the actual interruption mode, a fixed collection period is not required to be set for collection, and the accuracy of detecting the charging state in the charging process of the electronic equipment is improved.
In addition, a filter capacitor and a level conversion circuit are not needed, the cost is reduced, corresponding preset acquisition duration and acquisition period are obtained through frequency, the difference of different batches of chips is reserved, the output difference of different chips can be adapted and tolerated, and the detection is more accurate and flexible.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 6, a block diagram of a charging state detecting device according to an exemplary embodiment of the present disclosure is shown. The charging state detection apparatus may be used in an electronic device to perform all or part of the steps performed by the electronic device in the method provided by the embodiment shown in fig. 2 or fig. 3. The charging state detection apparatus 600 may include the following modules:
the pulse acquisition module 601 is used for acquiring the pulse frequency output by the charging integrated circuit through the electronic equipment in an interruption mode;
a frequency obtaining module 602, configured to obtain, after a preset acquisition duration, a pulse frequency acquired in each continuous period within the preset acquisition duration;
a state determining module 603, configured to determine a charging state of the electronic device according to the number of pulses acquired in each continuous period and a first preset threshold.
In summary, the electronic device provided by the present application collects the number of pulses output by the charging integrated circuit in an interrupt manner; after the preset acquisition time length, acquiring the pulse times acquired in each continuous period in the preset acquisition time length; and determining the charging state of the electronic equipment according to the pulse frequency acquired in each continuous period and a first preset threshold value. The pulse frequency output by the charging IC is collected in the interruption mode, the charging state is determined based on the pulse frequency in different continuous periods and the first preset threshold value, the charging state can be determined according to the pulse frequency output by the charging IC collected in the actual interruption mode, a fixed collection period is not required to be set for collection, and the accuracy of detecting the charging state in the charging process of the electronic equipment is improved.
Optionally, the state determining module 603 includes: a first determination unit, a second determination unit and a third determination unit;
the first determining unit is configured to determine that the charging state of the electronic device is a full-charge state when the number of pulses acquired in each period is greater than the first preset threshold;
the second determining unit is configured to determine that the charging state of the electronic device is an uncharged state when the number of pulses acquired in each period is not greater than the first preset threshold;
the third determining unit is configured to determine that the charging state of the electronic device is the charging state when the pulse frequency acquired in each continuous period includes a pulse frequency greater than the first preset threshold and also includes a pulse frequency not greater than the first preset threshold.
Optionally, the pulse acquisition module 601 includes: an initialization unit and a collection unit;
the initialization unit is used for initializing an input/output interface as an interrupt input interface, and the input/output interface is used for receiving the pulse output by the charging integrated circuit;
and the acquisition unit is used for acquiring the pulse frequency output by the charging integrated circuit through the interrupt input interface.
Optionally, the apparatus further comprises:
the interface display module is used for displaying a first setting interface in a display screen of the electronic equipment before the initialization input/output interface is an interrupt input interface, wherein the first setting interface comprises a type selection control;
and the interface setting module is used for responding to the touch operation of the type selection control and setting the selected interrupt input interface as the interface type of the input/output interface.
Optionally, the apparatus further comprises:
the quantity acquisition module is used for acquiring the cycle quantity of each continuous cycle before determining the charging state of the electronic equipment according to the pulse frequency acquired in each continuous cycle and a first preset threshold;
a first execution module, configured to execute the step of determining the charging state of the electronic device according to the number of pulses acquired in each continuous period and a first preset threshold when the number of periods is greater than a second preset threshold;
and the second execution module is used for re-executing the step of collecting the pulse times output by the charging integrated circuit in an interruption mode when the period number is not greater than the second preset threshold value.
Optionally, the apparatus further comprises:
the frequency acquisition module is used for acquiring the output frequency of the output pulse of the charging integrated circuit after the preset acquisition time and before the pulse times acquired in each continuous period in the preset acquisition time are acquired;
and the time length acquisition module is used for determining the cycle time length of each continuous period and the preset acquisition time length according to the output frequency.
Optionally, the apparatus further comprises;
the parameter determining module is used for determining a state display parameter according to the charging state after the charging state of the electronic equipment is determined according to the pulse frequency acquired in each continuous period and a first preset threshold, wherein the state display parameter comprises a display mode and display content of a charging display device;
and the parameter display module is used for controlling the charging display device to display according to the state display parameters.
Referring to fig. 7, a schematic structural diagram of an electronic device disclosed in an exemplary embodiment of the present application is shown. As shown in fig. 7, may include: radio Frequency (RF) circuitry 710, memory 720, input unit 730, display unit 740, sensor 750, audio circuitry 760, WiFi module 710, processor 780, and power supply 790. In the above embodiments, the electronic device may be a massage device or an electronic device. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The respective constituent components of the electronic apparatus will be described below with reference to fig. 7:
the RF circuit 710 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 780; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 710 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 710 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 720 may be used to store software programs and modules, and the processor 780 may execute various functional applications and data processing of the electronic device by operating the software programs and modules stored in the memory 720. The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 720 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 730 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also referred to as a touch screen, can collect touch operations of a user (e.g. operations of the user on or near the touch panel 731 by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 731 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 780, and can receive and execute commands from the processor 780. In addition, the touch panel 731 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 730 may include other input devices 732 in addition to the touch panel 731. In particular, other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 740 may be used to display information input by a user or information provided to the user and various menus of the electronic device. The Display unit 740 may include a Display panel 741, and optionally, the Display panel 741 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 731 can cover the display panel 741, and when the touch panel 731 detects a touch operation on or near the touch panel 731, the touch operation is transmitted to the processor 780 to determine the type of the touch event, and then the processor 780 provides a corresponding visual output on the display panel 741 according to the type of the touch event. Although in fig. 7, the touch panel 731 and the display panel 741 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 731 and the display panel 741 may be integrated to implement the input and output functions of the electronic device.
The electronic device may also include at least one sensor 750, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 741 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 741 and/or a backlight when the electronic device is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of the electronic device, vibration recognition related functions (such as pedometer, tapping) and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device, detailed descriptions thereof are omitted.
Audio circuitry 760, speaker 761, and microphone 762 may provide an audio interface between a user and an electronic device. The audio circuit 750 may transmit the electrical signal converted from the received audio data to the speaker 761, and convert the electrical signal into an audio signal by the speaker 761 for output; on the other hand, the microphone 762 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 760, processes the audio data by the audio data output processor 780, and transmits the processed audio data to, for example, another electronic device via the RF circuit 710, or outputs the audio data to the memory 720 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and the electronic device can help a user send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 710, and provides wireless broadband internet access for the user. Although fig. 7 shows the WiFi module 710, it is understood that it does not belong to the essential constitution of the electronic device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 780 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the electronic device. Optionally, processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 780.
The electronic device also includes a power supply 790 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 780 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
The embodiment of the application discloses a computer readable storage medium which stores a computer program, wherein the computer program is executed by a processor to realize the method in the embodiment of the method.
The embodiment of the application discloses a computer program product, which comprises a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to make a computer execute the method in the embodiment of the method.
The embodiment of the application discloses an application publishing platform, wherein the application publishing platform is used for publishing a computer program product, and when the computer program product runs on a computer, the computer is enabled to execute the method in the method embodiment.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are all alternative embodiments and that the acts and modules involved are not necessarily required for this application.
In various embodiments of the present application, it should be understood that the size of the serial number of each process described above does not mean that the execution sequence is necessarily sequential, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. 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 units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present application, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, may be embodied in the form of a software product, stored in a memory, including several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of the embodiments of the present application.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The above description is given by way of example to a charging state detection method, a charging state detection device, a massage apparatus, and a storage medium disclosed in the embodiments of the present application, and the principles and embodiments of the present application are explained in this document by applying an example, and the description of the above embodiments is only used to help understanding the method and the core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A charging state detection method is applied to an electronic device, and comprises the following steps:
the electronic equipment acquires the pulse frequency output by the charging integrated circuit in an interruption mode;
after the preset acquisition time length, acquiring the pulse times acquired in each continuous period in the preset acquisition time length;
and determining the charging state of the electronic equipment according to the pulse frequency acquired in each continuous period and a first preset threshold value.
2. The method according to claim 1, wherein the determining the charging state of the electronic device according to the number of pulses collected in each of the consecutive periods and a first preset threshold comprises:
when the pulse frequency acquired in each period is greater than the first preset threshold, determining that the charging state of the electronic equipment is a full-charge state;
when the pulse frequency acquired in each period is not greater than the first preset threshold, determining that the charging state of the electronic equipment is an uncharged state;
and when the pulse times acquired in each continuous period comprise pulse times larger than the first preset threshold value and pulse times not larger than the first preset threshold value, determining that the charging state of the electronic equipment is a charging state.
3. The method of claim 1, wherein the collecting the number of pulses output by the charging integrated circuit by the interrupt mode comprises:
initializing an input/output interface as an interrupt input interface, wherein the input/output interface is used for receiving the pulse output by the charging integrated circuit;
and acquiring the pulse frequency output by the charging integrated circuit through the interrupt input interface.
4. The method of claim 3, further comprising, before initializing the input output interface as an interrupt input interface:
displaying a first setting interface in a display screen of the electronic equipment, wherein the first setting interface comprises a type selection control;
and responding to the touch operation of the type selection control, and setting the selected interrupt input interface as the interface type of the input/output interface.
5. The method according to claim 1, further comprising, before the determining the charging status of the electronic device according to the number of pulses collected in each of the consecutive periods and a first preset threshold:
acquiring the number of cycles of each continuous cycle;
when the number of cycles is greater than a second preset threshold, executing the step of determining the charging state of the electronic equipment according to the number of pulses acquired in each continuous cycle and a first preset threshold;
and when the period number is not greater than the second preset threshold value, the step of collecting the pulse times output by the charging integrated circuit in an interruption mode is executed again.
6. The method according to any one of claims 1 to 5, further comprising, after the preset acquisition duration and before acquiring the number of pulses acquired in each of the consecutive periods within the preset acquisition duration:
acquiring the output frequency of the output pulse of the charging integrated circuit;
and determining the cycle duration of each continuous cycle and the preset acquisition duration according to the output frequency.
7. The method according to any one of claims 1 to 5, further comprising, after determining the charging state of the electronic device according to the number of pulses acquired in each of the consecutive periods and a first preset threshold;
determining state display parameters according to the charging state, wherein the state display parameters comprise a display mode and display contents of a charging display device;
and controlling the charging display device to display according to the state display parameters.
8. A charging state detection apparatus, applied to an electronic device, comprising:
the pulse acquisition module is used for acquiring the pulse frequency output by the charging integrated circuit through the electronic equipment in an interruption mode;
the frequency acquisition module is used for acquiring the pulse frequency acquired in each continuous period in the preset acquisition time after the preset acquisition time;
and the state determining module is used for determining the charging state of the electronic equipment according to the pulse frequency acquired in each continuous period and a first preset threshold value.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to implement the charge state detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the state of charge detection method according to any one of claims 1 to 7.
CN202111551535.4A 2021-12-17 2021-12-17 Charging state detection method and device, electronic equipment and storage medium Pending CN114487644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111551535.4A CN114487644A (en) 2021-12-17 2021-12-17 Charging state detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111551535.4A CN114487644A (en) 2021-12-17 2021-12-17 Charging state detection method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114487644A true CN114487644A (en) 2022-05-13

Family

ID=81493291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111551535.4A Pending CN114487644A (en) 2021-12-17 2021-12-17 Charging state detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114487644A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024087698A1 (en) * 2022-10-26 2024-05-02 深圳市倍思科技有限公司 Control method and apparatus for intelligent power-off data line, and device, medium and product

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024087698A1 (en) * 2022-10-26 2024-05-02 深圳市倍思科技有限公司 Control method and apparatus for intelligent power-off data line, and device, medium and product

Similar Documents

Publication Publication Date Title
EP3242461A1 (en) Intelligent device control method and device
WO2021031851A1 (en) Method for detecting flying state and terminal device
CN106303733B (en) Method and device for playing live special effect information
WO2018166204A1 (en) Method for controlling fingerprint recognition module, and mobile terminal and storage medium
CN106254910B (en) Method and device for recording image
CN108984066B (en) Application icon display method and mobile terminal
CN103473011A (en) Mobile terminal, and performance detecting method and performance detecting device for mobile terminal
US20150052375A1 (en) Information processing method and electronic device
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN108494030A (en) A kind of wireless charging method, terminal and transmitting end equipment
CN110874128B (en) Visualized data processing method and electronic equipment
CN107566909B (en) Barrage-based video content searching method and user terminal
CN108388340B (en) Electronic equipment control method and related product
CN103489303A (en) Remote control method and device
CN108718389B (en) Shooting mode selection method and mobile terminal
CN109565171A (en) Charge protection method, terminal and charger
CN108810226A (en) A kind of electricity method for early warning and mobile terminal
CN111651030B (en) Sensor detection method and device, storage medium and mobile terminal
CN107257408B (en) Main screen page display method, terminal and computer readable storage medium
CN109739300A (en) A kind of method of controlling antenna and terminal
CN107066090B (en) Method for controlling fingerprint identification module and mobile terminal
CN108375912B (en) Intelligent household control method and related product
CN114487644A (en) Charging state detection method and device, electronic equipment and storage medium
CN107967086B (en) Icon arrangement method and device for mobile terminal and mobile terminal
CN109888882A (en) A kind of communication means, terminal device and power supply adaptor

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