CN113709297B - Electric quantity prompting method and system - Google Patents

Electric quantity prompting method and system Download PDF

Info

Publication number
CN113709297B
CN113709297B CN202110984565.8A CN202110984565A CN113709297B CN 113709297 B CN113709297 B CN 113709297B CN 202110984565 A CN202110984565 A CN 202110984565A CN 113709297 B CN113709297 B CN 113709297B
Authority
CN
China
Prior art keywords
earphone
electric quantity
application program
acquiring
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110984565.8A
Other languages
Chinese (zh)
Other versions
CN113709297A (en
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.)
Shenzhen Aichuangli Technology Co ltd
Original Assignee
Shenzhen Aichuangli Technology 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 Shenzhen Aichuangli Technology Co ltd filed Critical Shenzhen Aichuangli Technology Co ltd
Priority to CN202110984565.8A priority Critical patent/CN113709297B/en
Publication of CN113709297A publication Critical patent/CN113709297A/en
Application granted granted Critical
Publication of CN113709297B publication Critical patent/CN113709297B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application relates to the technical field of portable intelligent equipment, in particular to an electric quantity prompting method and system, aiming at solving the problems in the prior art that: the wireless earphone brings inconvenience to users if the electric quantity is insufficient when in use, and the technical scheme is an electric quantity prompting method, which comprises the following steps: acquiring historical use data of the earphone regularly; acquiring an audio playing record of the mobile phone; calculating and acquiring the power consumption efficiency of each application program based on the corresponding relation between the audio playing record of the mobile phone and the historical use data of the earphone; the current electric quantity of the earphone is acquired, the simulated service time of each application program is acquired according to the power consumption efficiency of each application program, and the method and the device have the effects of accurately prompting the residual electric quantity of the earphone and reducing the possibility of insufficient electric quantity when a user uses the earphone.

Description

Electric quantity prompting method and system
Technical Field
The application relates to the technical field of portable intelligent equipment, in particular to an electric quantity prompting method and system.
Background
The earphone is the audio frequency listening equipment that people used commonly in daily life, through the sound wave that can hear with audio signal utilization loudspeaker transformation that is close to the ear, people can avoid broadcasting the audio frequency in public place to the order in public place and the privacy of self have been maintained.
The existing earphones can be divided into wired earphones and wireless earphones, wherein the wired earphones form a left sound channel and a right sound channel in a wired connection mode to generate a stereo effect, but the connecting wires are usually long, so that the carrying and the use are inconvenient. Along with the continuous development of bluetooth, wireless bluetooth headset has walked into the field of vision of masses gradually, and through advanced wireless bluetooth transmission technology, audio signal can be connected and transmit between wireless communication agreement and the earphone, for wired earphone, has realized breaking away from the comfortable of earphone cord, has improved the effect of the convenience that the earphone used.
At present, because the wireless earphone breaks away from the design of a connecting wire, a battery is usually arranged in the wireless earphone, the wireless earphone needs to be charged before use, and a certain electric quantity storage in the wireless earphone is ensured, so that the normal use of the wireless earphone can be maintained.
With respect to the related art among the above, the inventors consider that the following drawbacks exist: when the wireless earphone is used, if the electric quantity is insufficient, the wireless earphone can not be used, and inconvenience is brought to a user.
Disclosure of Invention
In order to accurately prompt the remaining power of the earphone, reduce the possibility of insufficient power when a user uses the earphone, and improve the efficiency of earphone power prompt, the application provides a power prompt method and a power prompt system.
In a first aspect, the present application provides an electric quantity prompting method, which adopts the following technical scheme:
an electric quantity prompting method, comprising the following steps:
periodically acquiring historical use data of the earphone, wherein the historical use data at least comprises earphone use time and earphone power consumption corresponding to the use time;
acquiring an audio playing record of the mobile phone, wherein the audio playing record at least comprises playing time, a played sound source file and an application program to which the sound source file belongs;
calculating and acquiring the power consumption efficiency of each application program based on the corresponding relation between the audio playing record of the mobile phone and the historical use data of the earphone;
and acquiring the current electric quantity of the earphone, and acquiring the simulated service time of each application program according to the power consumption efficiency of each application program.
By adopting the technical scheme, the historical use records of the earphone are collected, so that the use time and the power consumption of the earphone in the use process are facilitated to be acquired, the audio playing records are collected and analyzed, the application program and the playing time of the audio played by the earphone in the use process of the mobile phone are convenient to acquire, the speed of different application programs for consuming the electric quantity of the earphone is facilitated to be acquired, the electric quantity of the earphone is finally embodied as the use time of the application program, the residual electric quantity of the earphone of a user is facilitated to be intuitively prompted, and the user is facilitated to accurately determine whether to be charged according to the actual use requirement, and the possibility that the electric quantity of the earphone of the user is not enough to meet the use requirement is finally reduced.
Optionally, the periodically obtaining historical usage data of the headset, where the historical usage data at least includes usage time of the headset and power consumption of the headset corresponding to the usage time, includes:
acquiring a device list of all earphones connected with the mobile phone;
identifying model data of all earphones in the equipment list, and establishing a use database based on the model data;
and classifying the historical use data based on the earphone models, and respectively storing the historical use data into the use database with corresponding models.
By adopting the technical scheme, a plurality of earphone devices connected with the mobile phone can be distinguished, so that the calculation amount during calculation of the residual electric quantity is reduced, the efficiency of electric quantity prompting is improved, and meanwhile, the data storage orderliness is improved by classified storage of historical use data.
Optionally, the calculating and obtaining the power consumption efficiency of each application program based on the corresponding relationship between the audio playing record of the mobile phone and the historical usage data of the headset includes:
extracting volume information in the audio playing record;
and calculating the power consumption efficiency of the same application program under different volumes based on the volume information.
By adopting the technical scheme, the power consumption of the earphones at different volumes can be calculated, and then the parameters of random change in the use process of the earphones are added into the calculation of the residual power prompt, so that the accuracy of residual power simulation display is improved.
Optionally, the obtaining the current electric quantity of the headset and obtaining the simulated service time of each application program according to the power consumption efficiency of each application program further includes:
and sequencing the application programs according to a preset sequencing rule.
By adopting the technical scheme, after the simulated use time of the plurality of application programs is obtained through calculation, the simulated use time of each application program can be displayed in a sequencing mode, so that the power prompt regularity is improved, and a user can conveniently and intuitively obtain the residual power information of the earphone.
Optionally, the preset ordering rule includes:
and sequencing the application programs from long to short according to the service time of each application program under the current electric quantity of the earphone.
By adopting the technical scheme, the earphone simulation system is beneficial to a user to intuitively know the application program with longer service life under the current earphone electric quantity, and further beneficial to assisting the user to select the application program with longer service life in the use process of the earphone, and is finally convenient for improving the earphone use experience of the user.
Optionally, the preset ordering rule includes:
acquiring the use frequency of the application program based on the audio playing data;
based on the frequency of use of the applications, the applications are ranked from high frequency of use to low frequency of use.
By adopting the technical scheme, the use habit of the user is detected, the application program commonly used by the user can be displayed to the user quickly, and the prompting efficiency of the electric quantity of the earphone can be improved under the current electric quantity of the earphone.
In a second aspect, the present application provides an electric quantity prompting system, which adopts the following technical scheme:
a power alert system, the system comprising:
the earphone data module is used for periodically acquiring historical use data of the earphone, wherein the historical use data at least comprises earphone use time and earphone power consumption;
the system comprises a playing data module, a playing data module and a playing data module, wherein the playing data module is used for acquiring an audio playing record of the mobile phone, and the audio playing record at least comprises a played sound source file and an application program to which the sound source file belongs;
the efficiency calculation module is used for calculating and acquiring the power consumption efficiency of each application program based on the corresponding relation between the audio playing record of the mobile phone and the historical use data of the earphone;
and the electric quantity simulation module is used for acquiring the current electric quantity of the earphone and acquiring the simulated service time of each application program according to the power consumption efficiency of each application program.
By adopting the technical scheme, the historical use records of the earphone are collected, so that the use time and the power consumption of the earphone in the use process are facilitated to be acquired, the audio playing records are collected and analyzed, the application program and the playing time of the audio played by the earphone in the use process of the mobile phone are convenient to acquire, the speed of different application programs for consuming the electric quantity of the earphone is facilitated to be acquired, the electric quantity of the earphone is finally embodied as the use time of the application program, the residual electric quantity of the earphone of a user is facilitated to be intuitively prompted, and the user is facilitated to accurately determine whether to be charged according to the actual use requirement, and the possibility that the electric quantity of the earphone of the user is not enough to meet the use requirement is finally reduced.
In a third aspect, the present application provides an intelligent terminal, which adopts the following technical scheme:
an intelligent terminal comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement a power indication method according to any one of the first aspect.
By adopting the technical scheme, the processor in the intelligent terminal can realize the electric quantity prompting method according to the related computer program stored in the memory, so that the residual electric quantity of the earphone can be accurately prompted, the possibility of insufficient electric quantity when a user uses the earphone is reduced, and the electric quantity prompting efficiency of the earphone is improved.
In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement a method of power alerting as claimed in any of the first aspects.
Through adopting above-mentioned technical scheme, can save corresponding procedure, and then help the residual capacity of suggestion earphone accurately, the not enough possibility of electric quantity when reducing the user and using the earphone improves the efficiency of earphone electric quantity suggestion.
In summary, the present application includes at least one of the following beneficial technical effects:
1. the method has the advantages that historical usage records of the earphones are collected, so that the power consumption speed of the earphones in the using process can be acquired through the using time and the power consumption of the earphones, audio playing records are collected and analyzed, the application program and the playing time of the audio played by the earphones in the using process of the mobile phone can be acquired conveniently, the speed of the different application programs for consuming the electricity of the earphones can be acquired, the electricity of the earphones is reflected as the using time of the application program finally, the remaining electricity of the earphones of a user can be prompted visually, the user can be enabled to determine whether to charge the earphones accurately according to actual using requirements, and the possibility that the electricity of the earphones of the user is not enough to meet the using requirements is finally reduced;
2. the earphone devices connected with the mobile phone can be distinguished, so that the calculated amount in the process of calculating the residual electric quantity is reduced, the electric quantity prompting efficiency is improved, meanwhile, the historical use data is classified and stored, and the data storage orderliness is improved;
3. the earphone has the advantages that the user can intuitively know the application program with longer service life under the current earphone electric quantity, the user can be helped to select the application program with longer service life in the use process of the earphone, and finally the earphone use experience of the user can be conveniently improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is an architecture diagram of a power indication system shown in an embodiment of the present application;
fig. 2 is a flowchart of a method of prompting power consumption in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an intelligent terminal shown in an embodiment of the present application.
Detailed Description
The embodiments of the present application will be clearly and completely described in the following description with reference to the accompanying drawings, and it is to be understood that the described embodiments are part of the examples and not of all examples of the present application. 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 application.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present application is further described in detail with reference to fig. 1-3.
The embodiment of the application provides an electric quantity prompting method, which can be applied to an electric quantity prompting system, wherein an execution main body can be an intelligent terminal and is assisted by wireless listening equipment such as an earphone and the like. As shown in fig. 1. The electric quantity prompting system comprises an intelligent terminal, wherein the intelligent terminal can be used for collecting, processing and displaying information, a large amount of historical data such as playing data are stored, meanwhile, the intelligent terminal can be connected with wireless listening devices such as earphones, and the use data of the wireless listening devices such as the earphones are obtained. In this embodiment, an execution main body is taken as an intelligent terminal, and a plurality of different types of earphones are taken as wireless listening devices, for example, detailed description of the scheme is performed, and other situations are similar to the above, and are not described again in this embodiment. In addition, the intelligent terminal in the scheme can be an intelligent mobile phone, and each intelligent mobile phone and a plurality of earphones generally correspond to the unique user, so that the condition that historical data under the same mobile phone and earphones correspond to a plurality of users does not exist.
The process flow shown in fig. 2 will be described in detail below with reference to the specific embodiments, and the contents may be as follows:
step 201, historical use data of the earphone is acquired periodically.
The historical use data at least comprises the use time of the earphones and the electricity consumption of the earphones corresponding to the use time.
In implementation, after a user turns on the earphone and uses the earphone, the earphone enters an activated state and records the use condition to form historical use data of the earphone, the historical use data can comprise the use time of the earphone and the earphone electric quantity corresponding to the use time, and the earphone electric quantity before use and the earphone electric quantity after use are differentiated to obtain the earphone electric consumption in the use process.
In implementation, the usage data of the headset may be acquired at preset time intervals, and the preset time intervals may be set at times having a certain usage period, for example, the usage data may be collected once a week based on a working day, or the usage data may be collected once every two weeks. The acquisition period of the usage data may be set by the user himself.
Optionally, since the same mobile phone may be connected to a plurality of different headsets, step 201 may include the following processing: acquiring a device list of all earphones connected with the mobile phone; identifying model data of all earphones in the equipment list, and establishing a use database based on the model data; and classifying the historical use data based on the earphone models, and respectively storing the historical use data into the use database with corresponding models.
In implementation, after the connection between the mobile phone and the headset is established, the model data of the headset can be acquired through information such as a communication protocol and a pairing code between the mobile phone and the headset, the model data is used for uniquely identifying the headset connected with the mobile phone at present, and then databases for storing the playing records of the headset can be respectively established in the mobile phone according to the model of the headset. Then, the collected historical usage data of the earphones is classified and stored in a database corresponding to earphone models based on earphone models, which can be shown in the following figures:
Figure 881680DEST_PATH_IMAGE002
as shown in the figure, the device name in the table is a name formed by identifying the headset device when the headset device is connected to the mobile phone, and may not be associated with the model and parameters of the headset itself; the model data is the inherent model information of each earphone, and the earphones under different device names connected with the same mobile phone can have the same model data, and in the embodiment, for convenience of distinguishing, for example, the model data is not repeated, and the actual situation can be different from the model data; the usage data (time) is to indicate the usage time of the earphone, and in order to accurately indicate the usage time of the earphone in the implementation, the usage data (time) should be indicated as the specific time when the earphone starts to be used and the specific time when the earphone finishes to be used, and the usage data (time) is indicated as the difference between the starting time and the ending time in the table for convenience of description; usage data (power consumption amount), in actual historical usage data, the power consumption amount should be recorded as the remaining amount of the headset at the time of starting usage and the remaining amount of the headset at the time of ending usage, and for convenience of description in the table, it is indicated that the start is the difference between the remaining amount and the ending remaining amount.
Therefore, the data of different earphone models can be classified and stored, so that the using data of the earphones with corresponding models can be extracted when the using data of the earphones are required to be extracted and analyzed, the processing amount of the data is reduced, and the analysis efficiency of the using data of the earphones is improved.
Step 202, obtaining an audio playing record of the mobile phone.
The audio playing record at least comprises playing time, a played audio source file and an application program to which the audio source file belongs.
In the implementation, in the process of using the mobile phone by the user, the audio playing record generated by the audio source file played by the mobile phone can be generated and collected by the mobile phone, and the audio playing record can include the playing time of the playing audio, the audio source file of the playing audio and the application program for starting the audio playing module. This allows for accurate recording of the audio playback.
In addition, the audio playing record may also include an audio playing device through which the audio is played, such as a built-in sound or an earphone of a mobile phone; the volume information may be an average volume in a certain audio playing process, or may be volume information in the whole audio playing process.
And 203, calculating and acquiring the power consumption efficiency of each application program based on the corresponding relation between the audio playing record of the mobile phone and the historical use data of the earphone.
In implementation, in order to calculate the power consumption efficiency of the application program, the playing time of the target application program should be obtained through the audio playing record and the historical usage data of the earphone, and the power consumption generated by the earphone during the playing of the target application program is illustrated as follows: the application program A plays the sound source file 1 through the Bluetooth headset A between a certain time a and a certain time b, the duration of the sound source file is 40 minutes, the power consumption of the Bluetooth headset A is 20%, and the power consumption efficiency of the corresponding target application program to the current headset is 30%/hour.
In this way, the virtual application program can be associated with the actual power consumption of the headset, so that the power consumption of the headset can be visually embodied.
Optionally, since the power consumption efficiency of the earphone may be different at different sound volumes, step 203 may further include the following steps: extracting volume information in the audio playing record; and calculating the power consumption efficiency of the same application program under different volumes based on the volume information.
In practice, the volume information of the played audio can be obtained through audio playing record, and since the volume adjustment is usually divided into a plurality of levels with a large number, for convenience of analysis, the plurality of levels of the volume adjustment can be divided into a plurality of relatively small volume sections, and in practice, the volume adjustment can be divided into a low volume section (0% -33%), a middle volume section (33% -66%) and a high volume section (66% -100%).
Therefore, the power consumption efficiency of the target application program in different volume areas can be calculated respectively, and more accurate electric quantity calculation is carried out.
And 204, acquiring the current electric quantity of the earphone, and acquiring the simulated service time of each application program according to the power consumption efficiency of each application program.
In implementation, since a mobile phone may be connected to a plurality of earphones, before acquiring the electric quantity, an identification signal of the earphone may be acquired first, so that an earphone of which the electric quantity needs to be analyzed may be identified, and after acquiring the remaining electric quantity of the earphone, the simulated service time of the earphone when using different applications may be calculated according to the power consumption efficiency.
Optionally, there are a plurality of outputs of the simulation service time, so correspondingly, after step 204, the following processing may be performed: and sequencing the application programs according to a preset sequencing rule.
In an implementation, the preset ordering rule may be: and sequencing according to the service time of each application program under the current electric quantity of the earphone from long to short.
Therefore, the user can conveniently know the application program which is supported under the residual capacity of the earphone and has the longest service time.
In an implementation, the preset ordering rule may be further: acquiring the use frequency of the application program based on the audio playing data; based on the frequency of use of the applications, the applications are ranked from high frequency of use to low frequency of use.
Therefore, the simulated use mobile phone more suitable for the application program of the use habit of the user can be provided for the user based on the use habit of the user, and the convenience of electric quantity prompting is further improved.
Based on the same technical concept, the embodiment of the invention also provides an electric quantity prompting system, which comprises:
the earphone data module is used for periodically acquiring historical use data of the earphone, wherein the historical use data at least comprises earphone use time and earphone power consumption;
the system comprises a playing data module, a playing data module and a playing data module, wherein the playing data module is used for acquiring an audio playing record of the mobile phone, and the audio playing record at least comprises a played sound source file and an application program to which the sound source file belongs;
the efficiency calculation module is used for calculating and acquiring the power consumption efficiency of each application program based on the corresponding relation between the audio playing record of the mobile phone and the historical use data of the earphone;
and the electric quantity simulation module is used for acquiring the current electric quantity of the earphone and acquiring the simulated service time of each application program according to the power consumption efficiency of each application program.
Optionally, the earphone data module includes:
the earphone equipment submodule is used for acquiring an equipment list of all earphones connected with the mobile phone;
the equipment data submodule is used for identifying the model data of all earphones in the equipment list and establishing a use database based on the model data;
and the data classification submodule is used for classifying the historical use data based on the earphone model and respectively storing the historical use data into the use database with corresponding model.
Optionally, the efficiency calculation module includes:
the volume information submodule is used for extracting volume information in the audio playing record;
and the efficiency calculating submodule is used for calculating the power consumption efficiency of the same application program under different volumes based on the volume information.
Optionally, the electric quantity prompting system further includes:
and the sequencing module is used for sequencing the application programs according to a preset sequencing rule.
Optionally, the sorting module further includes:
and the time sequencing submodule is used for sequencing the application programs from long to short according to the service time of each application program under the current electric quantity of the earphone.
Optionally, the sorting module further includes:
the frequency acquisition submodule is used for acquiring the use frequency of the application program based on the audio playing data;
and the frequency sorting submodule is used for sorting the application programs from high use frequency to low use frequency based on the use frequency of the application programs.
The embodiment of the application further discloses an intelligent terminal, as shown in fig. 3, the intelligent terminal includes a memory and a processor, and the memory stores a computer program which can be loaded by the processor and execute the above power prompting method.
Based on the same technical concept and the same inventive concept, the embodiment of the present application further discloses a computer-readable storage medium, which includes various steps that can be implemented in the above-mentioned electric quantity prompting method flow when being loaded and executed by a processor.
The computer-readable storage medium includes, for example: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of each functional module is merely used as an example, and in practical applications, the foregoing function distribution may be completed by different functional modules as needed, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the foregoing described functions, and the specific working processes of the above described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments and are not described herein again,
in the several embodiments provided in this application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and the division into hard blocks or units is merely one logical functional division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, that is, may be located in one place, or may also be distributed on a plurality of network units, and some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, in this application, each functional unit in each embodiment 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. With this understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in 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, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: u disk, removable hard disk, read only memory, random access memory, ceramic disk or optical disk, etc. various media capable of storing program codes.
The above embodiments are only used to describe the technical solutions of the present application in detail, but the above embodiments are only used to help understanding the method and the core idea of the present application, and should not be construed as limiting the present application. Those skilled in the art should also appreciate that various modifications and substitutions can be easily made without departing from the scope of the present disclosure.

Claims (8)

1. An electric quantity prompting method is characterized by comprising the following steps:
periodically acquiring historical use data of the earphone, wherein the historical use data at least comprises earphone use time and earphone power consumption corresponding to the use time;
acquiring an audio playing record of the mobile phone, wherein the audio playing record at least comprises playing time, a played sound source file and an application program to which the sound source file belongs;
calculating and acquiring the power consumption efficiency of each application program based on the corresponding relation between the audio playing record of the mobile phone and the historical use data of the earphone;
acquiring the current electric quantity of the earphone, and acquiring the simulated service time of each application program according to the power consumption efficiency of each application program;
the method for periodically acquiring historical usage data of earphones, wherein the historical usage data at least comprises earphone usage time and earphone power consumption corresponding to the usage time, and comprises the following steps:
acquiring a device list of all earphones connected with the mobile phone;
identifying model data of all earphones in the equipment list, and establishing a use database based on the model data;
and classifying the historical use data based on the earphone models, and respectively storing the historical use data into the use databases of corresponding models.
2. The electric quantity prompting method according to claim 1, characterized in that: calculating and acquiring the power consumption efficiency of each application program based on the corresponding relation between the audio playing record of the mobile phone and the historical use data of the earphone, wherein the calculating comprises the following steps:
extracting volume information in the audio playing record;
and calculating the power consumption efficiency of the same application program under different volumes based on the volume information.
3. The electric quantity prompting method according to claim 1, characterized in that: the obtaining of the current electric quantity of the earphone and the simulated service time of each application program according to the power consumption efficiency of each application program further includes:
and sequencing the application programs according to a preset sequencing rule.
4. The electric quantity prompting method according to claim 3, characterized in that: the preset sequencing rule comprises the following steps:
and sequencing according to the service time of each application program under the current electric quantity of the earphone from long to short.
5. The electric quantity prompting method according to claim 3, characterized in that: the preset sequencing rule comprises the following steps:
acquiring the use frequency of the application program based on the audio playing data;
based on the frequency of use of the applications, the applications are ranked from high frequency of use to low frequency of use.
6. An electric quantity prompting system is characterized in that: the power prompting system executes a power prompting method according to any one of claims 1 to 5, and the system comprises:
the earphone data module is used for periodically acquiring historical use data of the earphone, wherein the historical use data at least comprises earphone use time and earphone power consumption;
the system comprises a playing data module, a playing data module and a playing data module, wherein the playing data module is used for acquiring an audio playing record of the mobile phone, and the audio playing record at least comprises a played sound source file and an application program to which the sound source file belongs;
the efficiency calculation module is used for calculating and acquiring the power consumption efficiency of each application program based on the corresponding relation between the audio playing record of the mobile phone and the historical use data of the earphone;
and the electric quantity simulation module is used for acquiring the current electric quantity of the earphone and acquiring the simulated service time of each application program according to the power consumption efficiency of each application program.
7. An intelligent terminal, characterized in that the intelligent terminal comprises a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes or a set of instructions, and the at least one instruction, the at least one program, the set of codes or the set of instructions is loaded and executed by the processor to implement a power indication method according to any one of claims 1 to 5.
8. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement a power alerting method as claimed in any one of claims 1 to 5.
CN202110984565.8A 2021-08-25 2021-08-25 Electric quantity prompting method and system Active CN113709297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110984565.8A CN113709297B (en) 2021-08-25 2021-08-25 Electric quantity prompting method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110984565.8A CN113709297B (en) 2021-08-25 2021-08-25 Electric quantity prompting method and system

Publications (2)

Publication Number Publication Date
CN113709297A CN113709297A (en) 2021-11-26
CN113709297B true CN113709297B (en) 2022-12-13

Family

ID=78654869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110984565.8A Active CN113709297B (en) 2021-08-25 2021-08-25 Electric quantity prompting method and system

Country Status (1)

Country Link
CN (1) CN113709297B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115033304A (en) * 2022-06-27 2022-09-09 维沃移动通信有限公司 Application program control method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025141A (en) * 2015-07-29 2015-11-04 上海斐讯数据通信技术有限公司 Method and device for testing electricity consumption of terminal
CN105491459A (en) * 2015-11-24 2016-04-13 深圳Tcl数字技术有限公司 Terminal power information prompting method and device
CN105573471A (en) * 2015-12-15 2016-05-11 小米科技有限责任公司 Information processing method and device
CN108989548A (en) * 2018-06-21 2018-12-11 上海二三四五网络科技有限公司 A kind of control method and control device detecting mobile terminal application power consumption
CN111343541A (en) * 2020-04-15 2020-06-26 Oppo广东移动通信有限公司 Control method and device of wireless earphone, mobile terminal and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9172117B2 (en) * 2008-12-04 2015-10-27 Domingo Enterprises, Llc User-controlled application-based power management

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025141A (en) * 2015-07-29 2015-11-04 上海斐讯数据通信技术有限公司 Method and device for testing electricity consumption of terminal
CN105491459A (en) * 2015-11-24 2016-04-13 深圳Tcl数字技术有限公司 Terminal power information prompting method and device
CN105573471A (en) * 2015-12-15 2016-05-11 小米科技有限责任公司 Information processing method and device
CN108989548A (en) * 2018-06-21 2018-12-11 上海二三四五网络科技有限公司 A kind of control method and control device detecting mobile terminal application power consumption
CN111343541A (en) * 2020-04-15 2020-06-26 Oppo广东移动通信有限公司 Control method and device of wireless earphone, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN113709297A (en) 2021-11-26

Similar Documents

Publication Publication Date Title
CN107003969B (en) Connection attribute for using electronic accessories to connect promotes the main equipment of positioning attachment
CN107144819B (en) A kind of sound localization method, device and electronic equipment
US10918325B2 (en) Brain wave measuring device and brain wave measuring system
US20180275950A1 (en) Information processing device and non-transitory computer-readable medium
CN108874421B (en) TWS earphone, upgrading method and device thereof, and storage medium
CN110544532B (en) Sound source space positioning capability detection system based on APP
CN105939415B (en) A kind of safety prompt function method and system under external auditory masked state
CN108683927A (en) Main broadcaster recommends method, apparatus and storage medium
CN103000210A (en) Methods and apparatus for metering portable media players
CN109151634A (en) Wireless headset method for controlling volume, wireless headset and mobile terminal
CN104133851A (en) Audio similarity detecting method, audio similarity detecting device and electronic equipment
CN113709297B (en) Electric quantity prompting method and system
CN108345676A (en) Information-pushing method and Related product
CN109639902B (en) Interaction control method and device of earphone box, earphone box and storage medium
CN104967932A (en) Earphone use prompting method and apparatus and smart terminal
EP2902949A2 (en) Device management system and method
CN110599989A (en) Audio processing method, device and storage medium
CN107613387A (en) Method, apparatus, playback equipment and the storage medium that control data plays
CN110675848A (en) Audio processing method, device and storage medium
CN111562505A (en) Battery identification method, electronic equipment and storage medium
CN104936084A (en) Internet touch portable multimedia sound box
CN112839280B (en) Automatic earphone volume adjusting method, device, equipment and storage medium
CN204465846U (en) Audio output apparatus
CN110677759B (en) Method and system for setting default volume of intelligent headset
CN104104892A (en) Electronic device with message leaving function and method for realizing message leaving of electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant