CN111293748A - Method and device for monitoring electric quantity data - Google Patents
Method and device for monitoring electric quantity data Download PDFInfo
- Publication number
- CN111293748A CN111293748A CN202010125868.XA CN202010125868A CN111293748A CN 111293748 A CN111293748 A CN 111293748A CN 202010125868 A CN202010125868 A CN 202010125868A CN 111293748 A CN111293748 A CN 111293748A
- Authority
- CN
- China
- Prior art keywords
- electric quantity
- quantity data
- charging box
- charging
- earphone
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000012544 monitoring process Methods 0.000 title claims abstract description 46
- 238000001514 detection method Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000005034 decoration Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1025—Accumulators or arrangements for charging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/001—Monitoring arrangements; Testing arrangements for loudspeakers
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention discloses a method and a device for monitoring electric quantity data. Wherein, the method comprises the following steps: detecting whether the earphone equipment is in a charging state; if the earphone device is detected to be in the charging state, controlling a charging box connected with the earphone device to monitor first electric quantity data of the earphone device and second electric quantity data of the charging box; and displaying the first electric quantity data and the second electric quantity data on the charging box. The invention solves the technical problems that the mobile phone in the prior art cannot monitor the electric quantity data of the Bluetooth headset and the charging box in real time and is inconvenient for a user to check the electric quantity data of the Bluetooth headset and the charging box in real time.
Description
Technical Field
The invention relates to the field of data processing, in particular to a method and a device for monitoring electric quantity data.
Background
Along with the cell-phone product gets rid of wired earphone hole gradually, wireless bluetooth headset is by wide application, wireless bluetooth headset includes bluetooth headset and the box that charges, bluetooth headset and bluetooth headset charge the box at present, can not show the electric quantity condition of bluetooth headset and bluetooth headset charging box for the user in real time, perhaps only open the box that charges when bluetooth headset charges, just can acquire and show bluetooth headset's the charging amount condition at the cell-phone interface, it is visible not favorable to among the prior art the user to look over the electric quantity condition of bluetooth headset and charging box in real time.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for monitoring electric quantity data, which at least solve the technical problems that in the prior art, a mobile phone cannot monitor the electric quantity data of a Bluetooth headset and a charging box in real time, and a user cannot conveniently check the electric quantity data of the Bluetooth headset and the charging box in real time.
According to an aspect of an embodiment of the present invention, there is provided a method for monitoring electric quantity data, including: detecting whether the earphone equipment is in a charging state; if the earphone device is detected to be in the charging state, controlling a charging box connected with the earphone device to monitor first electric quantity data of the earphone device and second electric quantity data of the charging box; and displaying the first electric quantity data and the second electric quantity data on the charging box.
Optionally, if it is detected that the headset device is in the charging state, the method further includes: controlling the earphone equipment to enter a dormant state, and establishing the connection between the charging box and a user terminal; controlling the charging box to send the first electric quantity data and the second electric quantity data to the user terminal; and controlling the user terminal to display the first electric quantity data and the second electric quantity data.
Optionally, if it is detected that the headset device is not in the charging state, the method further includes: respectively establishing the connection between the earphone device and a user terminal and the connection between the charging box and the user terminal; controlling the earphone device to monitor first electric quantity data of the earphone device and send the first electric quantity data to the user terminal, and controlling the charging box to monitor second electric quantity data of the charging box and send the second electric quantity data to the user terminal; and controlling the user terminal to display the first electric quantity data and the second electric quantity data.
Optionally, the headset device is a bluetooth headset.
According to another aspect of the embodiments of the present invention, there is provided a method for monitoring electric quantity data, including: the charging box detects whether the accessed earphone equipment is in a charging state; if the earphone device is detected to be in the charging state, the charging box monitors first electric quantity data of the earphone device and second electric quantity data of the charging box; the charging box displays the first electric quantity data and the second electric quantity data.
According to an aspect of an embodiment of the present invention, there is provided a charging box for charging a headphone apparatus, including: the charging interface is used for accessing the earphone equipment; the power management module is connected with the charging interface and used for detecting whether the earphone equipment is in a charging state or not, and monitoring first electric quantity data of the earphone equipment and second electric quantity data of the charging box if the earphone equipment is detected to be in the charging state; and the display screen is connected with the power management module and used for displaying the first electric quantity data and the second electric quantity data.
Optionally, the charging box further comprises: and the storage battery is connected with the power management module and used for supplying power to the earphone equipment through the charging interface under the condition that the earphone equipment is in the charging state.
Optionally, the charging box further comprises: the processor is connected with the power management module and used for controlling the earphone equipment to enter a dormant state and establishing the connection between the charging box and a user terminal under the condition that the earphone equipment is in the charging state; and the Bluetooth module is respectively connected with the power management module and the user terminal and is used for sending the first electric quantity data and the second electric quantity data to the user terminal, wherein the user terminal is used for displaying the first electric quantity data and the second electric quantity data.
Optionally, the processor is further configured to establish a connection between the earphone device and the user terminal and a connection between the charging box and the user terminal when the earphone device is not in the charging state; the method comprises the steps of controlling the earphone device to monitor first electric quantity data of the earphone device, sending the first electric quantity data to the user terminal, controlling the charging box to monitor second electric quantity data of the charging box, and sending the second electric quantity data to the user terminal.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for monitoring electric quantity data, including: the detection module is used for detecting whether the earphone equipment is in a charging state; the monitoring module is used for monitoring first electric quantity data of the earphone equipment and second electric quantity data of the charging box connected with the earphone equipment if the earphone equipment is detected to be in the charging state; and the display module is used for displaying the first electric quantity data and the second electric quantity data on the charging box.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium, where the storage medium includes a stored program, and when the program runs, the apparatus on which the storage medium is located is controlled to execute any one of the above methods for monitoring electric quantity data.
According to another aspect of the embodiments of the present invention, there is also provided a processor, where the processor is configured to execute a program, where the program executes any one of the above methods for monitoring electric quantity data.
In the embodiment of the invention, whether the earphone equipment is in a charging state is detected; if the earphone device is detected to be in the charging state, controlling a charging box connected with the earphone device to monitor first electric quantity data of the earphone device and second electric quantity data of the charging box; the first electric quantity data and the second electric quantity data are displayed on the charging box, the purpose that the Bluetooth earphone monitors the Bluetooth earphone and the electric quantity data of the charging box through the charging box under the charging state of the Bluetooth earphone is achieved, the technical effect that a user can check the electric quantity data of the Bluetooth earphone and the charging box in real time is achieved, and therefore the technical problem that the user cannot monitor the electric quantity data of the Bluetooth earphone and the charging box in real time in the prior art is solved, and the user cannot check the electric quantity data of the Bluetooth earphone and the charging box in real time.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of monitoring charge data according to an embodiment of the present invention;
FIG. 2 is a flow chart of an alternative method of monitoring charge data in accordance with an embodiment of the present invention;
FIG. 3 is a flow chart of an alternative method of monitoring charge data in accordance with an embodiment of the present invention;
FIG. 4 is a flow chart of another method of monitoring charge data according to an embodiment of the present invention;
fig. 5 is a schematic structural view of a charging box according to an embodiment of the present invention;
fig. 6 is a schematic structural view of an alternative charging box according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an apparatus for monitoring electric quantity data according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a method of monitoring electrical quantity data, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that presented herein.
Fig. 1 is a flowchart of a method for monitoring power data according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, detecting whether the earphone equipment is in a charging state;
step S104, if the earphone device is detected to be in the charging state, controlling a charging box connected with the earphone device to monitor first electric quantity data of the earphone device and second electric quantity data of the charging box;
and step S106, displaying the first electric quantity data and the second electric quantity data on the charging box.
In the embodiment of the invention, whether the earphone equipment is in a charging state is detected; if the earphone device is detected to be in the charging state, controlling a charging box connected with the earphone device to monitor first electric quantity data of the earphone device and second electric quantity data of the charging box; the first electric quantity data and the second electric quantity data are displayed on the charging box, the purpose that the Bluetooth earphone monitors the Bluetooth earphone and the electric quantity data of the charging box through the charging box under the charging state of the Bluetooth earphone is achieved, the technical effect that a user can check the electric quantity data of the Bluetooth earphone and the charging box in real time is achieved, and therefore the technical problem that the user cannot monitor the electric quantity data of the Bluetooth earphone and the charging box in real time in the prior art is solved, and the user cannot check the electric quantity data of the Bluetooth earphone and the charging box in real time.
Optionally, the above-mentioned earphone device is a bluetooth earphone, and the bluetooth earphone may be an intelligent voice earphone, for example, may be a binaural wireless bluetooth earphone with a voice function, and the earphone device may be associated with the user terminal through a bluetooth technology to establish a bluetooth communication connection. The charging box is a Bluetooth headset charging box, namely a charging box for charging a Bluetooth headset; the user terminal can be a user handheld terminal device such as a smart phone and an iPAD.
In an optional embodiment, since the user terminal cannot effectively monitor the electric quantity data of the bluetooth headset and the charging box in real time, a bluetooth module, a processor and a display screen may be added on the basis of the existing bluetooth headset charging box, and the connection state between the user terminal and the bluetooth headset or between the user terminal and the bluetooth headset charging box may be determined according to the current charging state, for example, the charging state or the non-charging state, of the bluetooth headset.
In an optional embodiment, fig. 2 is a flowchart of an optional method for monitoring electric quantity data according to an embodiment of the present invention, and as shown in fig. 2, if it is detected that the earphone device is in the charging state, the method further includes:
step S202, controlling the earphone device to enter a dormant state, and establishing the connection between the charging box and a user terminal;
step S204, controlling the charging box to send the first electric quantity data and the second electric quantity data to the user terminal;
step S206, controlling the user terminal to display the first electric quantity data and the second electric quantity data.
As an optional embodiment, if the bluetooth headset is in a charging state, the bluetooth headset is controlled to sleep and disconnect the connection with the user terminal, and a bluetooth connection between the user terminal and the bluetooth headset charging box is established, and the bluetooth headset charging box monitors and displays the electric quantity conditions of the left and right headsets of the bluetooth headset and the electric quantity condition of the headset charging box, that is, the first electric quantity data of the headset device and the second electric quantity data of the charging box are monitored. Meanwhile, the first electric quantity data and the second electric quantity data are synchronized to the user terminal in real time through the Bluetooth module of the Bluetooth earphone charging box, and the user terminal is controlled to display the first electric quantity data and the second electric quantity data.
Through the steps, the Bluetooth headset and the charging box are monitored through the charging box when the Bluetooth headset is in the charging state, and therefore the technical effect that a user can check the Bluetooth headset and the charging box in real time is achieved.
In an optional embodiment, if it is detected that the headset device is not in the charging state, the method further includes:
step S302, respectively establishing the connection between the earphone device and the user terminal and the connection between the charging box and the user terminal;
step S304, controlling the earphone device to monitor first electric quantity data of the earphone device and send the first electric quantity data to the user terminal, and controlling the charging box to monitor second electric quantity data of the charging box and send the second electric quantity data to the user terminal;
step S306, controlling the user terminal to display the first electric quantity data and the second electric quantity data.
In the above optional embodiment, if the bluetooth headset is in the non-charging state, the user terminal and the bluetooth headset are respectively established, and the user terminal is connected to the bluetooth headset charging box through bluetooth, so as to control the bluetooth headset to monitor first electric quantity data of the bluetooth headset and send the first electric quantity data to the user terminal, and control the bluetooth headset charging box to monitor second electric quantity data of the bluetooth headset charging box and send the second electric quantity data to the user terminal; and controlling the user terminal to display the first electric quantity data and the second electric quantity data.
Fig. 3 is a flowchart of an alternative method for monitoring electric quantity data according to an embodiment of the present invention, and as shown in fig. 3, the method for monitoring electric quantity data includes:
step S402, detecting the connection state of the user terminal and the earphone device and the connection state of the user terminal and the charging box in advance;
step S404, detecting whether the earphone device is in a charging state;
step S406, if the earphone device is detected to be in the charging state, controlling the earphone device to enter a dormant state, and establishing the connection between the charging box and a user terminal;
step S408, controlling a charging box connected with the earphone device to monitor first electric quantity data of the earphone device and second electric quantity data of the charging box;
step S410, displaying the first electric quantity data and the second electric quantity data on the charging box;
step S412, controlling the charging box to send the first electric quantity data and the second electric quantity data to the user terminal;
step S414, controlling the user terminal to display the first electric quantity data and the second electric quantity data.
Step S416, if it is detected that the earphone device is not in the charging state, respectively establishing a connection between the earphone device and a user terminal and a connection between the charging box and the user terminal;
step S418, controlling the headset device to monitor first power data of the headset device and send the first power data to the user terminal, and controlling the charging box to monitor second power data of the charging box and send the second power data to the user terminal;
step S420, controlling the user terminal to display the first electric quantity data and the second electric quantity data.
In accordance with another method embodiment of monitoring electrical quantity data, in accordance with an embodiment of the present invention, it is noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that illustrated herein.
Fig. 4 is a flow chart of another method for monitoring power data according to an embodiment of the present invention, as shown in fig. 4, the method includes the following steps:
step S502, the charging box detects whether the connected earphone equipment is in a charging state;
step S504, if the earphone device is detected to be in the charging state, the charging box monitors first electric quantity data of the earphone device and second electric quantity data of the charging box;
in step S506, the charging box displays the first electric quantity data and the second electric quantity data.
In the embodiment of the invention, whether the accessed earphone equipment is in a charging state is detected through the charging box; if the earphone device is detected to be in the charging state, the charging box monitors first electric quantity data of the earphone device and second electric quantity data of the charging box; the charging box displays the first electric quantity data and the second electric quantity data, the purpose that the Bluetooth earphone monitors the Bluetooth earphone and the electric quantity data of the charging box through the charging box in a charging state is achieved, the technical effect that a user can check the electric quantity data of the Bluetooth earphone and the charging box in real time is achieved, and then the technical problem that the user cannot monitor the electric quantity data of the Bluetooth earphone and the charging box in real time in the prior art is solved, and the technical problem that the user cannot check the electric quantity data of the Bluetooth earphone and the charging box in real time is solved.
Optionally, the above-mentioned earphone device is a bluetooth earphone, and the bluetooth earphone may be an intelligent voice earphone, for example, may be a binaural wireless bluetooth earphone with a voice function, and the earphone device may be associated with the user terminal through a bluetooth technology to establish a bluetooth communication connection. The charging box is a Bluetooth headset charging box, namely a charging box for charging a Bluetooth headset; the user terminal can be a user handheld terminal device such as a smart phone and an iPAD.
In an optional embodiment, since the user terminal cannot effectively monitor the electric quantity data of the bluetooth headset and the charging box in real time, a bluetooth module, a processor and a display screen may be added on the basis of the existing bluetooth headset charging box, and the connection state between the user terminal and the bluetooth headset or between the user terminal and the bluetooth headset charging box may be determined according to the current charging state, for example, the charging state or the non-charging state, of the bluetooth headset.
As an optional embodiment, if the bluetooth headset is in a charging state, the bluetooth headset is controlled to sleep and disconnect the connection with the user terminal, and a bluetooth connection between the user terminal and the bluetooth headset charging box is established, and the bluetooth headset charging box monitors and displays the electric quantity conditions of the left and right headsets of the bluetooth headset and the electric quantity condition of the headset charging box, that is, the first electric quantity data of the headset device and the second electric quantity data of the charging box are monitored. Meanwhile, the first electric quantity data and the second electric quantity data are synchronized to the user terminal in real time through the Bluetooth module of the Bluetooth earphone charging box, and the user terminal is controlled to display the first electric quantity data and the second electric quantity data.
Through the steps, the Bluetooth headset and the charging box are monitored through the charging box when the Bluetooth headset is in the charging state, and therefore the technical effect that a user can check the Bluetooth headset and the charging box in real time is achieved.
Example 2
According to an embodiment of the present invention, there is also provided an embodiment of a product for implementing the method for monitoring electric quantity data, fig. 5 is a schematic structural diagram of a charging box according to an embodiment of the present invention, and as shown in fig. 5, the charging box is configured to charge an earphone device, and includes: charging interface 50, power management module 52 and display 54, wherein:
a charging interface 50 for accessing an earphone device; a power management module 52, connected to the charging interface 50, for detecting whether the earphone device is in a charging state, and monitoring first electric quantity data of the earphone device and second electric quantity data of the charging box if the earphone device is detected to be in the charging state; and a display 54 connected to the power management module 52 for displaying the first and second electric quantity data.
Optionally, the above-mentioned earphone device is a bluetooth earphone, and the bluetooth earphone may be an intelligent voice earphone, for example, may be a binaural wireless bluetooth earphone with a voice function, and the earphone device may be associated with the user terminal through a bluetooth technology to establish a bluetooth communication connection. The charging box is a Bluetooth headset charging box, namely a charging box for charging a Bluetooth headset; the user terminal can be a user handheld terminal device such as a smart phone and an iPAD.
In an optional embodiment, since the user terminal cannot effectively monitor the electric quantity data of the bluetooth headset and the charging box in real time, a bluetooth module, a processor and a display screen may be added on the basis of the existing bluetooth headset charging box, and the connection state between the user terminal and the bluetooth headset or between the user terminal and the bluetooth headset charging box may be determined according to the current charging state, for example, the charging state or the non-charging state, of the bluetooth headset.
As an optional embodiment, if the bluetooth headset is in a charging state, the bluetooth headset is controlled to sleep and disconnect the connection with the user terminal, and a bluetooth connection between the user terminal and the bluetooth headset charging box is established, and the bluetooth headset charging box monitors and displays the electric quantity conditions of the left and right headsets of the bluetooth headset and the electric quantity condition of the headset charging box, that is, the first electric quantity data of the headset device and the second electric quantity data of the charging box are monitored. Meanwhile, the first electric quantity data and the second electric quantity data are synchronized to the user terminal in real time through the Bluetooth module of the Bluetooth earphone charging box, and the user terminal is controlled to display the first electric quantity data and the second electric quantity data.
Through the steps, the Bluetooth headset and the charging box are monitored through the charging box when the Bluetooth headset is in the charging state, and therefore the technical effect that a user can check the Bluetooth headset and the charging box in real time is achieved.
In an alternative embodiment, fig. 6 is a schematic structural diagram of an alternative charging box according to an embodiment of the present invention, and as shown in fig. 6, the charging box further includes: and a storage battery 56 connected to the power management module 52, for supplying power to the earphone device through the charging interface when the earphone device is in the charging state.
In an alternative embodiment, as also shown in fig. 6, the charging box further includes: a processor 58 connected to the power management module 52, configured to control the earphone device to enter a sleep state and establish a connection between the charging box and a user terminal when the earphone device is in the charging state; a bluetooth module 60, respectively connected to the power management module 52 and the user terminal, configured to send the first electric quantity data and the second electric quantity data to the user terminal, where the user terminal is configured to display the first electric quantity data and the second electric quantity data.
Optionally, the processor 58 is connected to the power management module 52, and the processor 58 is further connected to the display 54, that is, as shown in fig. 6, the display 54 is connected to the power management module 52 by connecting to the processor 58.
As an optional embodiment, if the bluetooth headset is in a charging state, the bluetooth headset is controlled to sleep and disconnect the connection with the user terminal, and a bluetooth connection between the user terminal and the bluetooth headset charging box is established, and the bluetooth headset charging box monitors and displays the electric quantity conditions of the left and right headsets of the bluetooth headset and the electric quantity condition of the headset charging box, that is, the first electric quantity data of the headset device and the second electric quantity data of the charging box are monitored. Meanwhile, the first electric quantity data and the second electric quantity data are synchronized to the user terminal in real time through the Bluetooth module of the Bluetooth earphone charging box, and the user terminal is controlled to display the first electric quantity data and the second electric quantity data.
Through the steps, the Bluetooth headset and the charging box are monitored through the charging box when the Bluetooth headset is in the charging state, and therefore the technical effect that a user can check the Bluetooth headset and the charging box in real time is achieved.
Optionally, the processor is further configured to establish a connection between the earphone device and the user terminal and a connection between the charging box and the user terminal when the earphone device is not in the charging state; the method comprises the steps of controlling the earphone device to monitor first electric quantity data of the earphone device, sending the first electric quantity data to the user terminal, controlling the charging box to monitor second electric quantity data of the charging box, and sending the second electric quantity data to the user terminal.
In the above optional embodiment, if the bluetooth headset is in the non-charging state, the user terminal and the bluetooth headset are respectively established, and the user terminal is connected to the bluetooth headset charging box through bluetooth, so as to control the bluetooth headset to monitor first electric quantity data of the bluetooth headset and send the first electric quantity data to the user terminal, and control the bluetooth headset charging box to monitor second electric quantity data of the bluetooth headset charging box and send the second electric quantity data to the user terminal; and controlling the user terminal to display the first electric quantity data and the second electric quantity data.
It should be noted that the specific structure of the charging box shown in fig. 5 and 6 in the present application is merely illustrative, and the charging box in the present application may have more or less structures than those shown in fig. 5 and 6 in specific applications.
It should be noted that any optional or preferred method for monitoring power data in embodiment 1 above may be implemented or realized in the charging box provided in this embodiment.
In addition, it should be noted that, for alternative or preferred embodiments of the present embodiment, reference may be made to the relevant description in embodiment 1, and details are not described herein again.
Example 3
According to an embodiment of the present invention, an embodiment of an apparatus for implementing the method for monitoring electric quantity data is further provided, fig. 7 is a schematic structural diagram of an apparatus for monitoring electric quantity data according to an embodiment of the present invention, and as shown in fig. 7, the apparatus for monitoring electric quantity data includes: a detection module 70, a monitoring module 72, and a presentation module 74, wherein:
a detecting module 70, configured to detect whether the earphone device is in a charging state; a monitoring module 72, configured to monitor first power data of the earphone device and second power data of the charging box connected to the earphone device if the earphone device is detected to be in the charging state; and a display module 74 for displaying the first and second electric quantity data on the charging box.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.
It should be noted that the detecting module 70, the monitoring module 72 and the displaying module 74 correspond to steps S102 to S106 in embodiment 1, and the modules are the same as the corresponding steps in the implementation example and application scenario, but are not limited to the disclosure in embodiment 1. It should be noted that the modules described above may be implemented in a computer terminal as part of an apparatus.
It should be noted that, reference may be made to the relevant description in embodiment 1 for alternative or preferred embodiments of this embodiment, and details are not described here again.
The device for monitoring electric quantity data may further include a processor and a memory, where the detecting module 70, the monitoring module 72, the displaying module 74, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory, wherein one or more than one kernel can be arranged. The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to the embodiment of the application, the embodiment of the storage medium is also provided. Optionally, in this embodiment, the storage medium includes a stored program, and when the program runs, the device on which the storage medium is located is controlled to execute any one of the above methods for monitoring electric quantity data.
Optionally, in this embodiment, the storage medium may be located in any one of computer terminals in a computer terminal group in a computer network, or located in any one of mobile terminals in a mobile terminal group, and the storage medium includes a stored program.
Optionally, the device on which the storage medium is located is controlled to perform the following functions when the program runs: detecting whether the earphone equipment is in a charging state; if the earphone device is detected to be in the charging state, controlling a charging box connected with the earphone device to monitor first electric quantity data of the earphone device and second electric quantity data of the charging box; and displaying the first electric quantity data and the second electric quantity data on the charging box.
According to the embodiment of the application, the embodiment of the processor is also provided. Optionally, in this embodiment, the processor is configured to execute a program, where the program executes any one of the methods for monitoring electric quantity data when running.
The embodiment of the application provides equipment, the equipment comprises a processor, a memory and a program which is stored on the memory and can run on the processor, and the following steps are realized when the processor executes the program: detecting whether the earphone equipment is in a charging state; if the earphone device is detected to be in the charging state, controlling a charging box connected with the earphone device to monitor first electric quantity data of the earphone device and second electric quantity data of the charging box; and displaying the first electric quantity data and the second electric quantity data on the charging box.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: detecting whether the earphone equipment is in a charging state; if the earphone device is detected to be in the charging state, controlling a charging box connected with the earphone device to monitor first electric quantity data of the earphone device and second electric quantity data of the charging box; and displaying the first electric quantity data and the second electric quantity data on the charging box.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, 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, units or modules, and may be in an electrical or other form.
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 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 invention 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 computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (12)
1. A method of monitoring electrical quantity data, comprising:
detecting whether the earphone equipment is in a charging state;
if the earphone device is detected to be in the charging state, controlling a charging box connected with the earphone device to monitor first electric quantity data of the earphone device and second electric quantity data of the charging box;
displaying the first and second charge data on the charging box.
2. The method of claim 1, wherein if the headset device is detected to be in the charging state, the method further comprises:
controlling the earphone equipment to enter a dormant state, and establishing the connection between the charging box and a user terminal;
controlling the charging box to send the first electric quantity data and the second electric quantity data to the user terminal;
and controlling the user terminal to display the first electric quantity data and the second electric quantity data.
3. The method of claim 1, wherein if it is detected that the headset device is not in the charging state, the method further comprises:
respectively establishing the connection between the earphone device and a user terminal and the connection between the charging box and the user terminal;
controlling the earphone device to monitor first electric quantity data of the earphone device and send the first electric quantity data to the user terminal, and controlling the charging box to monitor second electric quantity data of the charging box and send the second electric quantity data to the user terminal;
and controlling the user terminal to display the first electric quantity data and the second electric quantity data.
4. A method according to any one of claims 1 to 3, wherein the headset device is a bluetooth headset.
5. A method of monitoring electrical quantity data, comprising:
the charging box detects whether the accessed earphone equipment is in a charging state;
if the earphone device is detected to be in the charging state, the charging box monitors first electric quantity data of the earphone device and second electric quantity data of the charging box;
the charging box displays the first electric quantity data and the second electric quantity data.
6. A charging box for charging an earphone device, comprising:
the charging interface is used for accessing the earphone equipment;
the power management module is connected with the charging interface and used for detecting whether the earphone equipment is in a charging state or not, and monitoring first electric quantity data of the earphone equipment and second electric quantity data of the charging box if the earphone equipment is detected to be in the charging state;
and the display screen is connected with the power management module and used for displaying the first electric quantity data and the second electric quantity data.
7. A charging box according to claim 6, further comprising:
and the storage battery is connected with the power management module and used for supplying power to the earphone equipment through the charging interface under the condition that the earphone equipment is in the charging state.
8. A charging box according to claim 6, further comprising:
the processor is connected with the power management module and used for controlling the earphone equipment to enter a dormant state and establishing the connection between the charging box and a user terminal under the condition that the earphone equipment is in the charging state;
the Bluetooth module is respectively connected with the power management module and the user terminal and used for sending the first electric quantity data and the second electric quantity data to the user terminal, wherein the user terminal is used for displaying the first electric quantity data and the second electric quantity data.
9. The charging box according to claim 8,
the processor is further configured to establish a connection between the earphone device and the user terminal and a connection between the charging box and the user terminal when the earphone device is not in the charging state; the earphone device is controlled to monitor first electric quantity data of the earphone device and send the first electric quantity data to the user terminal, and the charging box is controlled to monitor second electric quantity data of the charging box and send the second electric quantity data to the user terminal.
10. An apparatus for monitoring electrical quantity data, comprising:
the detection module is used for detecting whether the earphone equipment is in a charging state;
the monitoring module is used for monitoring first electric quantity data of the earphone equipment and second electric quantity data of the charging box if the earphone equipment is detected to be in the charging state;
and the display module is used for displaying the first electric quantity data and the second electric quantity data on the charging box.
11. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program, when executed, controls a device in which the storage medium is located to perform the method for monitoring electric quantity data according to any one of claims 1 to 5.
12. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to perform the method of monitoring electrical quantity data according to any one of claims 1 to 5 when running.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010125868.XA CN111293748A (en) | 2020-02-27 | 2020-02-27 | Method and device for monitoring electric quantity data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010125868.XA CN111293748A (en) | 2020-02-27 | 2020-02-27 | Method and device for monitoring electric quantity data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111293748A true CN111293748A (en) | 2020-06-16 |
Family
ID=71022449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010125868.XA Pending CN111293748A (en) | 2020-02-27 | 2020-02-27 | Method and device for monitoring electric quantity data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111293748A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112787378A (en) * | 2020-12-31 | 2021-05-11 | 深圳市百泰实业股份有限公司 | Charging method and earphone charging box |
CN113676808A (en) * | 2021-08-12 | 2021-11-19 | 广州番禺巨大汽车音响设备有限公司 | Control method and control device based on interaction between Bluetooth headset and headset box |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073577A (en) * | 2011-01-17 | 2011-05-25 | 惠州Tcl移动通信有限公司 | System for displaying electrical quantity of bluetooth headset on portable electronic device and method thereof |
EP2654270B1 (en) * | 2007-01-06 | 2017-11-08 | Apple Inc. | Wireless headset comprising a housing and an earbud electrically coupled to the housing by a flexible circuit board |
CN108649660A (en) * | 2018-06-15 | 2018-10-12 | Oppo广东移动通信有限公司 | Electric quantity display method and wireless transmitting-receiving equipments, charging equipment |
CN208174945U (en) * | 2018-05-15 | 2018-11-30 | 上海巨微集成电路有限公司 | The TWS earphone charging box of carried charge push function |
CN109768596A (en) * | 2019-01-11 | 2019-05-17 | 维沃移动通信有限公司 | A kind of electric quantity display method, earphone charging unit and earphone |
-
2020
- 2020-02-27 CN CN202010125868.XA patent/CN111293748A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2654270B1 (en) * | 2007-01-06 | 2017-11-08 | Apple Inc. | Wireless headset comprising a housing and an earbud electrically coupled to the housing by a flexible circuit board |
CN102073577A (en) * | 2011-01-17 | 2011-05-25 | 惠州Tcl移动通信有限公司 | System for displaying electrical quantity of bluetooth headset on portable electronic device and method thereof |
CN208174945U (en) * | 2018-05-15 | 2018-11-30 | 上海巨微集成电路有限公司 | The TWS earphone charging box of carried charge push function |
CN108649660A (en) * | 2018-06-15 | 2018-10-12 | Oppo广东移动通信有限公司 | Electric quantity display method and wireless transmitting-receiving equipments, charging equipment |
CN109768596A (en) * | 2019-01-11 | 2019-05-17 | 维沃移动通信有限公司 | A kind of electric quantity display method, earphone charging unit and earphone |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112787378A (en) * | 2020-12-31 | 2021-05-11 | 深圳市百泰实业股份有限公司 | Charging method and earphone charging box |
CN113676808A (en) * | 2021-08-12 | 2021-11-19 | 广州番禺巨大汽车音响设备有限公司 | Control method and control device based on interaction between Bluetooth headset and headset box |
CN113676808B (en) * | 2021-08-12 | 2023-09-12 | 广州番禺巨大汽车音响设备有限公司 | Bluetooth headset and headset box interaction-based control method and control device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103682491B (en) | The charging method of electric room, charging circuit and electronic equipment | |
EP3349325B1 (en) | Charging method, charging device and terminal | |
CN110851387B (en) | Interface function configuration method and electronic equipment | |
US11425520B2 (en) | Method for detecting blocking of microphone and related products | |
CN106356918A (en) | Quick charge recognition method and terminal equipment | |
CN111491235B (en) | Charging method and system, charging box and Bluetooth headset | |
CN107918076B (en) | Power adapter detection method and power adapter detection device | |
CN104699502A (en) | Application recommendation method and terminal | |
CN111416412B (en) | Charging control method and device and terminal equipment | |
CN103887571A (en) | Charging mode switching method and charging mode switching device | |
WO2020156240A1 (en) | Battery assembly and terminal | |
CN111293748A (en) | Method and device for monitoring electric quantity data | |
CN108777330A (en) | charging management method, device and terminal | |
CN107046304A (en) | Wireless charging method, relevant device and system | |
CN106569917A (en) | Data backup method and mobile terminal | |
CN112018831B (en) | Charging control method, charging control device and electronic equipment | |
CN108287605A (en) | charge control method, device, terminal device and storage medium | |
CN111008090A (en) | Battery electric quantity control method and device, storage medium and terminal equipment | |
CN106972558B (en) | Charging control method and electronic equipment | |
CN110994052B (en) | Method and device for prolonging battery endurance, storage medium and terminal equipment | |
CN103974215B (en) | Control method of electronic device and electronic equipment | |
CN104572193A (en) | Control method among multiple apparatuses and electronic apparatus thereof | |
CN110389789A (en) | A kind of application control method, equipment and computer readable storage medium | |
CN111262297A (en) | Charging apparatus and control method | |
CN216215930U (en) | Charging device and wireless transmission system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200616 |