CN108650322B - Battery data processing method and device - Google Patents

Battery data processing method and device Download PDF

Info

Publication number
CN108650322B
CN108650322B CN201810470248.2A CN201810470248A CN108650322B CN 108650322 B CN108650322 B CN 108650322B CN 201810470248 A CN201810470248 A CN 201810470248A CN 108650322 B CN108650322 B CN 108650322B
Authority
CN
China
Prior art keywords
battery
reference terminal
average value
equal
characteristic information
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
CN201810470248.2A
Other languages
Chinese (zh)
Other versions
CN108650322A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810470248.2A priority Critical patent/CN108650322B/en
Publication of CN108650322A publication Critical patent/CN108650322A/en
Application granted granted Critical
Publication of CN108650322B publication Critical patent/CN108650322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/80Arrangements in the sub-station, i.e. sensing device
    • H04Q2209/82Arrangements in the sub-station, i.e. sensing device where the sensing device takes the initiative of sending data
    • H04Q2209/823Arrangements in the sub-station, i.e. sensing device where the sensing device takes the initiative of sending data where the data is sent when the measured values exceed a threshold, e.g. sending an alarm

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Secondary Cells (AREA)
  • Power Sources (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure relates to a battery data processing method and device. The method comprises the following steps: acquiring M changing quantities of the battery electric quantity in the using process, wherein the M changing quantities correspond to M times of changes of the battery electric quantity in the using process, and M is an integer greater than or equal to 1; and sending characteristic information to the server according to the M change quantities, so that the server can conveniently acquire the current condition of the battery according to the M change quantities included in the characteristic information. In the technical scheme, the terminal can record a plurality of change amounts corresponding to a plurality of changes of the electric quantity of the battery and send the change amounts to the server, so that the server can analyze the current state of the battery conveniently, and the convenience and the accuracy for judging the performance of the battery of the terminal are improved.

Description

Battery data processing method and device
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a battery data processing method and apparatus.
Background
With the development of electronic technology, the functions of the terminal become more and more powerful, and a user can use the terminal to perform voice call, watch videos, perform online shopping or play games and the like. In order to support these functions, the demand for the battery performance of the terminal is also increasing.
In practical application, if the performance of the battery is poor, the electric quantity may jump, that is, the electric quantity of the battery is reduced instantly and greatly, so that the standby time of the terminal is shortened, and the user experience is further affected.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a battery data processing method and apparatus. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a battery data processing method applied to a terminal, including:
acquiring M changing quantities of the battery electric quantity in the using process, wherein the M changing quantities correspond to M times of changes of the battery electric quantity in the using process, and M is an integer greater than or equal to 1;
and sending characteristic information to the server according to the M change quantities, so that the server can conveniently acquire the current condition of the battery according to the M change quantities included in the characteristic information.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the terminal can record a plurality of change amounts corresponding to the change of the electric quantity of the battery for a plurality of times and send the change amounts to the server, so that the server can analyze the current condition of the battery conveniently, and the convenience and the accuracy for judging the performance of the battery of the terminal are improved.
In one embodiment, the obtaining M changes of the battery power during the usage process includes:
and acquiring M changes corresponding to M changes of which the change quantity is greater than or equal to a preset threshold value in N changes of the battery electric quantity in the using process, wherein N is an integer greater than or equal to M.
In one embodiment, the sending the characteristic information to the server according to the M change amounts includes:
and sending characteristic information to a server according to the number M of times that the change amount in the N changes is larger than or equal to a preset threshold value and the M change amounts, so that the server can conveniently acquire the current condition of the battery according to the M change amounts and the number M included in the characteristic information.
In one embodiment, the sending the characteristic information to the server according to the M change amounts includes:
and when the current state meets a preset condition, sending characteristic information to a server according to the M change quantities.
According to a second aspect of the embodiments of the present disclosure, there is provided a battery data processing method, including:
receiving characteristic information sent by Q terminals, wherein the characteristic information comprises M changing amounts corresponding to M changes of battery electric quantity in the using process of the corresponding terminal, M is an integer greater than or equal to 1, and Q is an integer greater than or equal to 2;
and acquiring the current state of the battery of the reference terminal according to the characteristic information of the reference terminal and the characteristic information of the Q terminals, wherein the reference terminal is any one of the Q terminals.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the server can respectively judge the current state of the battery of each terminal according to a plurality of change quantities sent by each terminal in a plurality of terminals, and the convenience and the accuracy of judging the performance of the battery of the terminal are improved.
In one embodiment, the obtaining the current status of the battery of the reference terminal according to the feature information of the reference terminal and the feature information of the Q terminals includes:
acquiring a first average value of the change amount of the battery power of the reference terminal;
acquiring a second average value of the change quantity of the battery electric quantity of the Q terminals;
when the difference value between the first average value and the second average value is larger than or equal to a first numerical threshold, determining that the current condition of the battery of the reference terminal is in a to-be-checked state, wherein the to-be-checked state indicates that the battery of the reference terminal needs to be maintained or replaced.
In one embodiment, the feature information further includes a feature number of the corresponding terminal, where the feature number is a number M of times that a change amount is greater than or equal to a preset threshold value in N changes occurring in the battery power of the terminal; at this time, the M change amounts are change amounts corresponding to M changes of which the change amount is greater than or equal to a preset threshold value;
the determining that the current condition of the battery of the reference terminal is in the state of being checked when the difference between the first average value and the second average value is greater than or equal to a first numerical threshold comprises:
acquiring a third average value of the feature times of the Q terminals;
and when the difference value between the first average value and the second average value is greater than or equal to a first numerical threshold, and the difference value between the characteristic times of the reference terminal and the third average value is greater than or equal to a second numerical threshold, determining that the current condition of the battery of the reference terminal is in the state to be checked.
In one embodiment, the method further comprises:
and when the current condition of the battery of the reference terminal is determined to be in the state to be checked, sending prompt information to the reference terminal, wherein the prompt information is used for prompting a user to repair or replace the battery in time.
According to a third aspect of the embodiments of the present disclosure, there is provided a battery data processing apparatus including:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring M changes of the battery electric quantity in the use process, the M changes correspond to M changes of the battery electric quantity in the use process, and M is an integer greater than or equal to 1;
and the first sending module is used for sending the characteristic information to the server according to the M change quantities, so that the server can conveniently obtain the current condition of the battery according to the M change quantities included in the characteristic information.
In one embodiment, the first obtaining module comprises:
the first obtaining submodule is used for obtaining M changing quantities corresponding to M changing quantities of which changing quantities are larger than or equal to a preset threshold value in N changing times of the battery electric quantity in the using process, and N is an integer larger than or equal to M.
In one embodiment, the first transmitting module comprises:
and the first sending submodule is used for sending characteristic information to the server according to the times M and the times M of the N changes, wherein the change quantity of the N changes is larger than or equal to a preset threshold value, so that the server can conveniently obtain the current condition of the battery according to the M changes and the times M included in the characteristic information.
In one embodiment, the first transmitting module comprises:
and the second sending submodule is used for sending the characteristic information to the server according to the M changing quantities when the current state meets the preset condition.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a battery data processing apparatus including:
the terminal comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving characteristic information sent by Q terminals, the characteristic information comprises M changing amounts corresponding to M times of changes of battery electric quantity in the using process of the corresponding terminal, M is an integer larger than or equal to 1, and Q is an integer larger than or equal to 2;
and the second acquisition module is used for acquiring the current state of the battery of the reference terminal according to the characteristic information of the reference terminal and the characteristic information of the Q terminals, wherein the reference terminal is any one of the Q terminals.
In one embodiment, the second obtaining module comprises:
the second obtaining submodule is used for obtaining a first average value of the change quantity of the battery electric quantity of the reference terminal;
the third obtaining submodule is used for obtaining a second average value of the change quantity of the battery electric quantity of the Q terminals;
the determination submodule is used for determining that the current condition of the battery of the reference terminal is in a to-be-checked state when the difference value between the first average value and the second average value is larger than or equal to a first numerical threshold, and the to-be-checked state indicates that the battery of the reference terminal needs to be maintained or replaced.
In one embodiment, the feature information further includes a feature number of the corresponding terminal, where the feature number is a number M of times that a change amount is greater than or equal to a preset threshold value in N changes occurring in the battery power of the terminal; at this time, the M change amounts are change amounts corresponding to M changes of which the change amount is greater than or equal to a preset threshold value;
the determination sub-module includes:
the acquisition unit is used for acquiring a third average value of the feature times of the Q terminals;
a determining unit, configured to determine that the current status of the battery of the reference terminal is in the to-be-checked state when a difference between the first average value and the second average value is greater than or equal to a first numerical threshold and a difference between the number of times of the features of the reference terminal and the third average value is greater than or equal to a second numerical threshold.
In one embodiment, the apparatus further comprises:
and the second sending module is used for sending prompt information to the reference terminal when the current condition of the battery of the reference terminal is determined to be in the state to be checked, wherein the prompt information is used for prompting a user to repair or replace the battery in time.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a battery data processing apparatus including:
a first processor;
a first memory for storing first processor-executable instructions;
wherein the first processor is configured to:
acquiring M changing quantities of the battery electric quantity in the using process, wherein the M changing quantities correspond to M times of changes of the battery electric quantity in the using process, and M is an integer greater than or equal to 1;
and sending characteristic information to the server according to the M change quantities, so that the server can conveniently acquire the current condition of the battery according to the M change quantities included in the characteristic information.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a battery data processing apparatus including:
a second processor;
a second memory for storing second processor-executable instructions;
wherein the second processor is configured to:
receiving characteristic information sent by Q terminals, wherein the characteristic information comprises M changing amounts corresponding to M changes of battery electric quantity in the using process of the corresponding terminal, M is an integer greater than or equal to 1, and Q is an integer greater than or equal to 2;
and acquiring the current state of the battery of the reference terminal according to the characteristic information of the reference terminal and the characteristic information of the Q terminals, wherein the reference terminal is any one of the Q terminals.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method according to any one of the embodiments of the first aspect.
According to an eighth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method according to any one of the embodiments of the second aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a battery data processing method according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a battery data processing method according to an exemplary embodiment.
Fig. 3 is an interaction diagram illustrating a battery data processing method according to an exemplary embodiment.
Fig. 4a is a schematic diagram illustrating the structure of a battery data processing apparatus according to an exemplary embodiment.
Fig. 4b is a schematic diagram illustrating the structure of a battery data processing apparatus according to an exemplary embodiment.
Fig. 4c is a schematic diagram illustrating the structure of a battery data processing apparatus according to an exemplary embodiment.
Fig. 4d is a schematic diagram illustrating the structure of a battery data processing apparatus according to an exemplary embodiment.
Fig. 5a is a schematic diagram illustrating the structure of a battery data processing apparatus according to an exemplary embodiment.
Fig. 5b is a schematic diagram illustrating the structure of a battery data processing apparatus according to an exemplary embodiment.
Fig. 5c is a schematic diagram illustrating the structure of a battery data processing apparatus according to an exemplary embodiment.
Fig. 5d is a schematic diagram illustrating the structure of a battery data processing apparatus according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a structure of a battery data processing apparatus according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a structure of a battery data processing apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The technical scheme provided by the embodiment of the disclosure relates to a terminal and a server, wherein the terminal can be a mobile phone, a tablet computer, a smart watch and other devices provided with a battery, and the embodiment of the disclosure is not limited thereto. In the related art, in the development stage of the terminal or when the terminal is put into use at the beginning, due to the limitations of test time and test product quantity, the performance of the terminal battery is difficult to be completely judged, and the judgment on the performance of the terminal battery can be perfected only by depending on complaints and feedback of users in the later period, so that the condition of inaccurate judgment or untimely judgment result acquisition is easy to occur; or as the service time of the battery is prolonged, the battery is aged, the frequency of electric quantity jump is high, and the system cannot timely inform a user of maintenance or replacement due to the fact that the current information of the battery cannot be obtained, so that the normal use of the user is easily influenced. According to the technical scheme, different terminals can record a plurality of change amounts corresponding to a plurality of changes of the electric quantity of the battery respectively and send the change amounts to the server, the server can analyze the current situation of the battery of each terminal in time according to the received change amounts of each terminal in the terminals, and convenience and accuracy of judging the performance of the battery of the terminal are improved.
The embodiment of the disclosure provides a battery data processing method, and an execution main body for implementing the method comprises a terminal and a server. According to different implementation main bodies of the method, the embodiment of the disclosure arranges two sets of embodiments as follows:
terminal side
Fig. 1 is a flowchart illustrating a battery data processing method for a terminal according to an exemplary embodiment, the battery data processing method including, as shown in fig. 1, the following steps 101 to 102:
in step 101, M changes in battery level during use are obtained, the M changes corresponding to M changes in battery level during use.
Wherein M is an integer greater than or equal to 1.
Illustratively, the terminal is provided with a Battery Service (Battery Service), which is configured to monitor parameters of the Battery, and call back the parameters of the Battery to a process that needs to call the parameters according to the needs of different processes. In practical application, a first variable (change Level) may be set in the battery service, and when the electric quantity of the battery changes, the first variable may determine a change amount of the current change according to the electric quantity before the change and the electric quantity after the change, and store the change amount in a preset storage area. And then the first variable continuously monitors the electric quantity of the battery, and when the electric quantity of the battery changes again, the change quantity is acquired and stored according to the method. According to the method, the terminal can acquire M changing amounts corresponding to M times of changes of the battery electric quantity in the using process of the battery.
In step 102, the characteristic information is sent to the server according to the M change amounts, so that the server can obtain the current condition of the battery according to the M change amounts included in the characteristic information.
At the time of initialization, the terminal may set a preset condition according to a user instruction, where the preset condition may include at least one of a preset time interval, a terminal connection power line, or a terminal connection Wi-Fi (Wireless Fidelity). In practical applications, the preset condition may be set and modified according to specific situations, which is not limited in the embodiments of the present disclosure.
In the using process, the terminal can detect the current state in real time, determine whether the current state meets the preset condition or not, and send the characteristic information to the server when the preset condition is met. For example, assume that the preset conditions include a preset time interval, a terminal connection power line, and a terminal connection Wi-Fi. The terminal can detect whether the current time reaches a preset time interval, whether the current terminal is connected with a power line or not and whether the current terminal is connected with the Wi-Fi or not in real time in the using process, and when the current time reaches the preset time interval, the terminal is currently connected with the power line and is connected with the Wi-Fi, the terminal sends characteristic information to the server according to the M change quantities.
For example, recording the change amount of the battery power of the terminal per change may occupy more storage resources, and therefore, in practical applications, the terminal may only obtain M change amounts corresponding to M changes with a change amount greater than or equal to a preset threshold value among N changes with the battery power, where N is an integer greater than or equal to M. For example, when a change occurs in the amount of charge of the battery, the first variable may determine the amount of change for the present change based on the amount of charge before the change and the amount of charge after the change. If the variation is greater than or equal to the preset threshold, the variation is stored in a preset storage area. And then the first variable continuously monitors the electric quantity of the battery, and when the electric quantity of the battery changes again and is larger than or equal to the preset threshold value, the change quantity of the change is obtained and stored according to the method. Therefore, the terminal can acquire M changes corresponding to M changes of which the change quantity is greater than or equal to the preset threshold value in N changes of the electric quantity of the battery in the using process. And when the terminal detects that the current state meets the preset condition, sending the characteristic information to the server according to the M changing quantities.
Optionally, during the use of the terminal, a drop or a crash may occur occasionally, in which case the battery level may have a large value jump, and the jump may affect the average value of the battery level change, but may not represent the performance of the battery, so the terminal may also record the number of times of the large change, and send the number of times to the server, so that the server can more accurately judge the performance of the battery. Specifically, the terminal may set a second variable (change Time) in the battery service, where the second variable may perform an operation of adding 1 when the first variable obtains a change amount greater than or equal to a preset threshold, that is, if the terminal records M change amounts greater than or equal to the preset threshold, the count of the second variable is M. When the terminal detects that the current state meets the preset condition, the terminal can send the characteristic information to the server according to the times M and the recorded M variable quantities.
In the technical scheme provided by the embodiment of the disclosure, the terminal can record a plurality of change amounts and/or change times corresponding to a plurality of changes of the battery electric quantity, and send the plurality of change amounts and/or change times to the server, so that the server can analyze the current state of the battery, and the convenience and the accuracy of judging the terminal battery performance are improved.
Server side
Fig. 2 is a flowchart illustrating a battery data processing method applied to a server according to an exemplary embodiment, and as shown in fig. 2, the battery data processing method includes the following steps 201 to 202:
in step 201, the characteristic information sent by Q terminals is received, and the characteristic information includes M changes corresponding to M changes of battery power during the use of the corresponding terminal.
In step 202, the current status of the battery of the reference terminal is obtained according to the characteristic information of the reference terminal and the characteristic information of the Q terminals.
Wherein M is an integer greater than or equal to 1, Q is an integer greater than or equal to 2, and the reference terminal is any one of Q terminals.
For example, the server may be simultaneously connected to Q terminals and receive the characteristic information transmitted by the Q terminals, where the characteristic information transmitted by each terminal includes M changes of the battery power of the corresponding terminal. After receiving the characteristic information sent by the terminal, the server acquires and stores M change amounts included in each characteristic information.
When the server stores more data, the battery performance of each of the Q terminals can be analyzed through big data. Optionally, taking the reference terminal as an example, the server may obtain a first average value of M change amounts included in the feature information of the reference terminal, where the first average value is a ratio of the sum of the M change amounts to the M. Then, a second average value of the amount of change in the battery power of the Q terminals is obtained. Specifically, the server may first sequentially obtain a fourth average of M change amounts included in the feature information of each of the Q terminals, where the fourth average is a ratio of the sum of the M change amounts included in the feature information of each terminal to M, and then obtain a ratio of the sum of the Q fourth averages to Q, where the ratio is the second average. The server may determine whether a difference between the first average value and the second average value is greater than or equal to a first value threshold, and if the difference between the first average value and the second average value is greater than or equal to the first value threshold, that is, the first average value is far greater than the second average value at this time, it indicates that the change amount of the battery power of the reference terminal is far beyond an average level, and at this time, the server may determine that the current status of the battery of the reference terminal is in a state to be checked, where the state to be checked indicates that the battery of the reference terminal needs to be maintained or replaced. If the difference between the first average value and the second average value is smaller than the first value threshold, that is, the difference between the first average value and the second average value is not large at this time, it indicates that the change amount of the battery power of the reference terminal is equal to the average level, and at this time, the server may determine that the current status of the battery of the reference terminal is in a healthy state, that is, there are no faults or abnormal situations, and it is not necessary to replace or maintain the battery.
Or, the feature information further includes a feature number corresponding to the terminal, where the feature number is a number M of times that a change amount of the battery power of the terminal among N changes is greater than or equal to a preset threshold value. That is, the characteristic information includes M change amounts that are change amounts corresponding to M changes of which the change amount is greater than or equal to the preset threshold value.
For example, one large value jump of the battery capacity of the terminal cannot represent the performance of the battery, so the server can further judge the performance of the battery according to the characteristic times of the large value jump recorded by the terminal. Specifically, after obtaining the first average value and the second average value, the server may further obtain a third average value of the feature times of the Q terminals, where the third average value is a ratio of the sum of the feature times included in the feature information of the Q terminals to the Q. The server may then determine whether the difference between the characteristic parameter of the reference terminal and the third average value is greater than or equal to a second numerical threshold. If the server determines that the difference between the first average value and the second average value is greater than or equal to the first numerical threshold value and the difference between the characteristic times of the reference terminal and the third average value is greater than or equal to the second numerical threshold value, it is described that the change amount of the battery capacity of the reference terminal is far beyond the average level and the times of large numerical jump is also far beyond the average level, so that the server can determine that the current condition of the battery of the reference terminal is in a to-be-checked state, and the to-be-checked state indicates that the battery of the reference terminal needs to be maintained or replaced. If the server determines that the difference value between the first average value and the second average value is smaller than the first numerical threshold, or the difference value between the characteristic times of the reference terminal and the third average value is smaller than the second numerical threshold, it is indicated that the change amount of the battery capacity of the reference terminal is equal to the average level, or the times of large numerical jump of the reference terminal is equal to the average level, so that the server can determine that the current condition of the battery of the reference terminal is in a healthy state, namely, no fault or abnormal condition exists, and replacement or maintenance is not needed.
Optionally, when the server determines that the current status of the reference terminal battery is in the state to be checked, a prompt message may be sent to the reference terminal, where the prompt message is used to prompt the user to repair or replace the battery in time. After receiving the prompt information, the reference terminal may display the prompt information on the screen, for example, display a word "the battery performance is poor, please repair or replace the battery in time" on the screen, and prompt the user to look up the prompt in a ringing or vibrating manner, so that the user can obtain the current status of the battery in time, and select whether to repair or replace the battery.
According to the technical scheme provided by the embodiment of the disclosure, the server can respectively judge the current state of the battery of each terminal according to a plurality of change amounts sent by each terminal in a plurality of terminals, so that the convenience and the accuracy for judging the performance of the battery of the terminal are improved.
The implementation is described in detail below by way of several embodiments.
Fig. 3 is an interaction diagram illustrating a battery data processing method according to an exemplary embodiment, where the execution subjects are a terminal and a server, and as shown in fig. 3, the method includes the following steps 301 to 315:
in step 301, the terminal obtains M change amounts and the characteristic number M corresponding to M changes, the change amount of which is greater than or equal to a preset threshold value, from N changes occurring in the battery level during use.
In step 302, the terminal stores the M change amounts and the feature number M.
In step 303, the terminal determines whether the current state meets a preset condition; if the current state does not satisfy the preset condition, go to step 304; if the current status meets the predetermined condition, go to step 305.
In step 304, the terminal continues to acquire and store the amount of change and the number of times corresponding to the change in the amount of change in the battery power greater than or equal to the preset threshold, and performs step 303.
In step 305, the terminal generates feature information according to the M change amounts and the feature times M.
In step 306, the terminal sends the feature information to the server.
In step 307, the server receives feature information sent by Q terminals, where the feature information includes a feature number M of changes of the N changes occurring in the battery level during the use of the corresponding terminal, where the change is greater than or equal to a preset threshold, and M change amounts corresponding to the M changes.
In step 308, the server obtains a first average value of the amount of change in the battery level of the reference terminal among the Q terminals.
In step 309, the server acquires a second average value of the amount of change in the battery power of the Q terminals.
In step 310, the server obtains a third average value of the feature times of the Q terminals.
In step 311, the server determines whether the difference between the first average and the second average is greater than or equal to a first numerical threshold; if the difference between the first average value and the second average value is smaller than the first value threshold, go to step 312; if the difference between the first average value and the second average value is greater than or equal to the first value threshold, step 313 is executed.
In step 312, the server determines that the battery of the reference terminal is in a healthy state.
In step 313, the server determines whether the difference between the number of times of feature of the reference terminal and the third average value is greater than or equal to a second numerical threshold; if the difference between the feature frequency of the reference terminal and the third average value is smaller than the second numerical threshold, go to step 312; if the difference between the feature count of the reference terminal and the third average value is greater than or equal to the second numerical threshold, go to step 314.
In step 314, the server confirms that the current condition of the battery of the reference terminal is in a state to be checked.
In step 315, the server sends a prompt message to the reference terminal for prompting the user to repair or replace the battery in time.
The embodiment of the disclosure provides a battery data processing method, a terminal can record the change amount when the change amount is larger and the times of the larger change amount when the battery electric quantity is changed, and send the larger change amount and the times of the larger change amount to a server, and the server can analyze the current condition of each terminal battery according to the received change amount and the characteristic times sent by a plurality of terminals, thereby further improving the convenience and the accuracy of judging the performance of the terminal battery.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 4a is a schematic diagram illustrating a structure of a battery data processing apparatus 40 according to an exemplary embodiment, where the apparatus 40 may be implemented as part of or all of an electronic device through software, hardware, or a combination of both. As shown in fig. 4a, the battery data processing apparatus 40 includes a first obtaining module 401 and a first sending module 402.
The first obtaining module 401 is configured to obtain M changes of the battery power during a use process, where the M changes correspond to M changes of the battery power during the use process, and M is an integer greater than or equal to 1.
A first sending module 402, configured to send, according to the M change amounts, feature information to a server, so that the server can obtain a current status of the battery according to the M change amounts included in the feature information.
In one embodiment, as shown in fig. 4b, the first obtaining module 401 includes a first obtaining submodule 4011. The first obtaining submodule 4011 is configured to obtain M change amounts corresponding to M changes, where a change amount of the M changes is greater than or equal to a preset threshold, among N changes occurring in the battery level during use, where N is an integer greater than or equal to M.
In one embodiment, as shown in fig. 4c, the first sending module 402 comprises a first sending submodule 4021. The first sending submodule 4021 is configured to send, to the server, the feature information according to the number M of times that the change amount in the N changes is greater than or equal to the preset threshold and the M change amounts, so that the server can obtain the current state of the battery according to the M change amounts and the number M included in the feature information.
In one embodiment, as shown in fig. 4d, the first sending module 402 includes a second sending submodule 4022, and the second sending submodule 4022 is configured to send the feature information to the server according to the M change amounts when the current state meets the preset condition.
The embodiment of the disclosure provides a battery data processing device, which can record a plurality of changes corresponding to a plurality of changes of the electric quantity of a terminal battery and send the plurality of changes to a server, so that the server can analyze the current condition of the battery conveniently, and the convenience and the accuracy of judging the performance of the terminal battery are improved.
Fig. 5a is a schematic diagram illustrating a structure of a battery data processing apparatus 50 according to an exemplary embodiment, where the apparatus 50 may be implemented as part of or all of an electronic device through software, hardware, or a combination of both. As shown in fig. 5a, the battery data processing apparatus 50 includes a receiving module 501 and a second obtaining module 502.
The receiving module 501 is configured to receive feature information sent by Q terminals, where the feature information includes M change amounts corresponding to M changes in battery power during a use process of a corresponding terminal, where M is an integer greater than or equal to 1, and Q is an integer greater than or equal to 2.
A second obtaining module 502, configured to obtain a current status of a battery of a reference terminal according to feature information of the reference terminal and feature information of the Q terminals, where the reference terminal is any one of the Q terminals.
In one embodiment, as shown in FIG. 5b, the second acquisition module 502 includes a second acquisition submodule 5021, a third acquisition submodule 5022 and a determination submodule 5023.
The second obtaining submodule 5021 is configured to obtain a first average value of the change amount of the battery level of the reference terminal.
The third obtaining submodule 5022 is configured to obtain a second average value of the change amounts of the battery capacities of the Q terminals.
A determining submodule 5023, configured to determine that the current status of the battery of the reference terminal is in a to-be-checked state when a difference between the first average value and the second average value is greater than or equal to a first numerical threshold, where the to-be-checked state indicates that the battery of the reference terminal needs to be repaired or replaced.
In one embodiment, the feature information further includes a feature number of the corresponding terminal, where the feature number is a number M of times that a change amount is greater than or equal to a preset threshold value in N changes occurring in the battery power of the terminal; at this time, the M change amounts are change amounts corresponding to M changes of which the change amount is greater than or equal to a preset threshold value; as shown in fig. 5c, the determination submodule 5023 comprises an acquisition unit 5023a and a determination unit 5023 b.
The obtaining unit 5023a is configured to obtain a third average value of the feature times of the Q terminals.
A determining unit 5023b, configured to determine that the current status of the battery of the reference terminal is in the state to be checked when a difference between the first average value and the second average value is greater than or equal to a first numerical threshold and a difference between the number of times of the features of the reference terminal and the third average value is greater than or equal to a second numerical threshold.
In one embodiment, as shown in fig. 5d, the apparatus 50 further comprises a second sending module 503. The second sending module 503 is configured to send a prompt message to the reference terminal when it is determined that the current status of the battery of the reference terminal is in the to-be-checked state, where the prompt message is used to prompt a user to repair or replace the battery in time.
The embodiment of the disclosure provides a battery data processing device, which can respectively judge the current state of a battery of each terminal according to a plurality of change amounts sent by each terminal in a plurality of terminals, thereby improving the convenience and accuracy of judging the performance of the battery of the terminal.
The disclosed embodiment provides a battery data processing device, which comprises:
a first processor;
a memory for storing first processor-executable instructions;
wherein the first processor is configured to:
acquiring M changing quantities of the battery electric quantity in the using process, wherein the M changing quantities correspond to M times of changes of the battery electric quantity in the using process, and M is an integer greater than or equal to 1;
and sending characteristic information to the server according to the M change quantities, so that the server can conveniently acquire the current condition of the battery according to the M change quantities included in the characteristic information.
In one embodiment, the first processor may be further configured to: and acquiring M changes corresponding to M changes of which the change quantity is greater than or equal to a preset threshold value in N changes of the battery electric quantity in the using process, wherein N is an integer greater than or equal to M.
In one embodiment, the first processor may be further configured to: and sending characteristic information to a server according to the number M of times that the change amount in the N changes is larger than or equal to a preset threshold value and the M change amounts, so that the server can conveniently acquire the current condition of the battery according to the M change amounts and the number M included in the characteristic information.
In one embodiment, the first processor may be further configured to: and when the current state meets a preset condition, sending characteristic information to a server according to the M change quantities.
The embodiment of the disclosure provides a battery data processing device, which can record a plurality of changes corresponding to a plurality of changes of the electric quantity of a terminal battery and send the plurality of changes to a server, so that the server can analyze the current condition of the battery conveniently, and the convenience and the accuracy of judging the performance of the terminal battery are improved.
The embodiment of the present disclosure further provides a battery data processing apparatus, including:
a second processor;
a memory for storing second processor-executable instructions;
wherein the second processor is configured to:
receiving characteristic information sent by Q terminals, wherein the characteristic information comprises M changing amounts corresponding to M changes of battery electric quantity in the using process of the corresponding terminal, M is an integer greater than or equal to 1, and Q is an integer greater than or equal to 2;
and acquiring the current state of the battery of the reference terminal according to the characteristic information of the reference terminal and the characteristic information of the Q terminals, wherein the reference terminal is any one of the Q terminals.
In one embodiment, the second processor may be further configured to: acquiring a first average value of the change amount of the battery power of the reference terminal; acquiring a second average value of the change quantity of the battery electric quantity of the Q terminals; when the difference value between the first average value and the second average value is larger than or equal to a first numerical threshold, determining that the current condition of the battery of the reference terminal is in a to-be-checked state, wherein the to-be-checked state indicates that the battery of the reference terminal needs to be maintained or replaced.
In one embodiment, the feature information further includes a feature number of the corresponding terminal, where the feature number is a number M of times that a change amount is greater than or equal to a preset threshold value in N changes occurring in the battery power of the terminal; at this time, the M change amounts are change amounts corresponding to M changes of which the change amount is greater than or equal to a preset threshold value; the second processor may be further configured to: acquiring a third average value of the feature times of the Q terminals; and when the difference value between the first average value and the second average value is greater than or equal to a first numerical threshold, and the difference value between the characteristic times of the reference terminal and the third average value is greater than or equal to a second numerical threshold, determining that the current condition of the battery of the reference terminal is in the state to be checked.
In one embodiment, the second processor may be further configured to: and when the current condition of the battery of the reference terminal is determined to be in the state to be checked, sending prompt information to the reference terminal, wherein the prompt information is used for prompting a user to repair or replace the battery in time.
The embodiment of the disclosure provides a battery data processing device, which can respectively judge the current state of a battery of each terminal according to a plurality of change amounts sent by each terminal in a plurality of terminals, thereby improving the convenience and accuracy of judging the performance of the battery of the terminal.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating a configuration for a battery data processing apparatus 60 according to an exemplary embodiment, the apparatus 60 being suitable for use in a terminal device. For example, the apparatus 60 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
The apparatus 60 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 60, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 60. Examples of such data include instructions for any application or method operating on the device 60, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of device 60. Power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 60.
The multimedia component 608 includes a screen that provides an output interface between the device 60 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 60 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 60 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the device 60. For example, the sensor assembly 614 may detect the open/closed status of the device 60, the relative positioning of the components, such as the display and keypad of the device 60, the sensor assembly 614 may also detect a change in the position of the device 60 or a component of the device 60, the presence or absence of user contact with the device 60, the orientation or acceleration/deceleration of the device 60, and a change in the temperature of the device 60. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 60 and other devices in a wired or wireless manner. The device 60 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 60 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described terminal-side battery data processing method.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 60 to perform the above-described terminal-side battery data processing method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 7 is a block diagram illustrating a method for a battery data processing apparatus 70 according to an exemplary embodiment. For example, the apparatus 70 may be provided as a server. The apparatus 70 comprises a processing component 702, which further comprises one or more processors, and memory resources, represented by memory 703, for storing instructions, e.g. application programs, executable by the processing component 702. The application programs stored in memory 703 may include one or more modules that each correspond to a set of instructions. Further, the processing component 702 is configured to execute instructions to perform the above-described server-side battery data processing method.
The device 70 may also include a power component 706 configured to perform power management of the device 70, a wired or wireless network interface 705 configured to connect the device 70 to a network, and an input/output (I/O) interface 708. The device 70 may operate based on an operating system stored in memory 703, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
The disclosed embodiments provide a non-transitory computer-readable storage medium, where instructions are executed by a processor of a device 60, so that the device 60 can perform the above-mentioned battery data processing method on a terminal side, where the method includes:
acquiring M changing quantities of the battery electric quantity in the using process, wherein the M changing quantities correspond to M times of changes of the battery electric quantity in the using process, and M is an integer greater than or equal to 1;
and sending characteristic information to the server according to the M change quantities, so that the server can conveniently acquire the current condition of the battery according to the M change quantities included in the characteristic information.
In one embodiment, the obtaining M changes of the battery power during the usage process includes: and acquiring M changes corresponding to M changes of which the change quantity is greater than or equal to a preset threshold value in N changes of the battery electric quantity in the using process, wherein N is an integer greater than or equal to M.
In one embodiment, the sending the characteristic information to the server according to the M change amounts includes: and sending characteristic information to a server according to the number M of times that the change amount in the N changes is larger than or equal to a preset threshold value and the M change amounts, so that the server can conveniently acquire the current condition of the battery according to the M change amounts and the number M included in the characteristic information.
In one embodiment, the sending the characteristic information to the server according to the M change amounts includes: and when the current state meets a preset condition, sending characteristic information to a server according to the M change quantities.
The disclosed embodiments provide a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a device 70, enable the device 70 to perform the above-mentioned server-side battery data processing method, the method including:
receiving characteristic information sent by Q terminals, wherein the characteristic information comprises M changing amounts corresponding to M changes of battery electric quantity in the using process of the corresponding terminal, M is an integer greater than or equal to 1, and Q is an integer greater than or equal to 2;
and acquiring the current state of the battery of the reference terminal according to the characteristic information of the reference terminal and the characteristic information of the Q terminals, wherein the reference terminal is any one of the Q terminals.
In one embodiment, the obtaining the current status of the battery of the reference terminal according to the feature information of the reference terminal and the feature information of the Q terminals includes: acquiring a first average value of the change amount of the battery power of the reference terminal; acquiring a second average value of the change quantity of the battery electric quantity of the Q terminals; when the difference value between the first average value and the second average value is larger than or equal to a first numerical threshold, determining that the current condition of the battery of the reference terminal is in a to-be-checked state, wherein the to-be-checked state indicates that the battery of the reference terminal needs to be maintained or replaced.
In one embodiment, the feature information further includes a feature number of the corresponding terminal, where the feature number is a number M of times that a change amount is greater than or equal to a preset threshold value in N changes occurring in the battery power of the terminal; at this time, the M change amounts are change amounts corresponding to M changes of which the change amount is greater than or equal to a preset threshold value; the determining that the current condition of the battery of the reference terminal is in the state of being checked when the difference between the first average value and the second average value is greater than or equal to a first numerical threshold comprises: acquiring a third average value of the feature times of the Q terminals; and when the difference value between the first average value and the second average value is greater than or equal to a first numerical threshold, and the difference value between the characteristic times of the reference terminal and the third average value is greater than or equal to a second numerical threshold, determining that the current condition of the battery of the reference terminal is in the state to be checked.
In one embodiment, the method further comprises: and when the current condition of the battery of the reference terminal is determined to be in the state to be checked, sending prompt information to the reference terminal, wherein the prompt information is used for prompting a user to repair or replace the battery in time.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. A battery data processing method is applied to a reference terminal and comprises the following steps:
acquiring M changing quantities of the battery electric quantity in the using process, wherein the M changing quantities correspond to M times of changes of the battery electric quantity in the using process, and M is an integer greater than or equal to 1;
according to the M change quantities, sending characteristic information to a server, so that the server can conveniently acquire the current condition of the battery according to the M change quantities included in the characteristic information;
the server obtaining the current status of the battery according to the M change amounts included in the feature information includes:
acquiring a first average value of the variation of the battery electric quantity according to the M variations included in the characteristic information;
acquiring a second average value of the change quantity of the battery electric quantity of the Q terminals according to the received characteristic information sent by the Q terminals;
and when the difference value between the first average value and the second average value is greater than or equal to a first numerical threshold, determining that the current condition of the battery of the reference terminal is in a to-be-checked state, wherein the to-be-checked state indicates that the battery of the reference terminal needs to be maintained or replaced, and the reference terminal is any one of the Q terminals.
2. The method of claim 1, wherein obtaining M changes in battery level during use comprises:
and acquiring M changes corresponding to M changes of which the change quantity is greater than or equal to a preset threshold value in N changes of the battery electric quantity in the using process, wherein N is an integer greater than or equal to M.
3. The method of claim 2, wherein the sending the profile information to the server according to the M changes comprises:
and sending characteristic information to a server according to the number M of times that the change amount in the N changes is larger than or equal to a preset threshold value and the M change amounts, so that the server can conveniently acquire the current condition of the battery according to the M change amounts and the number M included in the characteristic information.
4. The method according to any one of claims 1 to 3, wherein said sending the characteristic information to the server according to the M change amounts comprises:
and when the current state meets a preset condition, sending characteristic information to a server according to the M change quantities.
5. A battery data processing method is applied to a server and comprises the following steps:
receiving characteristic information sent by Q terminals, wherein the characteristic information comprises M changing amounts corresponding to M changes of battery electric quantity in the using process of the corresponding terminal, M is an integer greater than or equal to 1, and Q is an integer greater than or equal to 2;
acquiring the current state of a battery of a reference terminal according to the characteristic information of the reference terminal and the characteristic information of the Q terminals, wherein the reference terminal is any one of the Q terminals;
the obtaining the current status of the battery of the reference terminal according to the characteristic information of the reference terminal and the characteristic information of the Q terminals includes:
acquiring a first average value of the change amount of the battery power of the reference terminal;
acquiring a second average value of the change quantity of the battery electric quantity of the Q terminals;
when the difference value between the first average value and the second average value is larger than or equal to a first numerical threshold, determining that the current condition of the battery of the reference terminal is in a to-be-checked state, wherein the to-be-checked state indicates that the battery of the reference terminal needs to be maintained or replaced.
6. The method according to claim 5, wherein the characteristic information further includes a characteristic number of times corresponding to the terminal, the characteristic number of times being a number M of times that a change amount is greater than or equal to a preset threshold value among N changes occurring in the battery level of the terminal; at this time, the M change amounts are change amounts corresponding to M changes of which the change amount is greater than or equal to a preset threshold value;
the determining that the current condition of the battery of the reference terminal is in the state of being checked when the difference between the first average value and the second average value is greater than or equal to a first numerical threshold comprises:
acquiring a third average value of the feature times of the Q terminals;
and when the difference value between the first average value and the second average value is greater than or equal to a first numerical threshold, and the difference value between the characteristic times of the reference terminal and the third average value is greater than or equal to a second numerical threshold, determining that the current condition of the battery of the reference terminal is in the state to be checked.
7. The method of claim 5 or 6, further comprising:
and when the current condition of the battery of the reference terminal is determined to be in the state to be checked, sending prompt information to the reference terminal, wherein the prompt information is used for prompting a user to repair or replace the battery in time.
8. A battery data processing apparatus, provided in a reference terminal, comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring M changes of the battery electric quantity in the use process, the M changes correspond to M changes of the battery electric quantity in the use process, and M is an integer greater than or equal to 1;
the first sending module is used for sending the characteristic information to the server according to the M change quantities, so that the server can conveniently obtain the current condition of the battery according to the M change quantities included in the characteristic information; specifically, the server obtains a first average value of the change amounts of the battery power according to the M change amounts included in the feature information; acquiring a second average value of the change quantity of the battery electric quantity of the Q terminals according to the received characteristic information sent by the Q terminals; and when the difference value between the first average value and the second average value is greater than or equal to a first numerical threshold, determining that the current condition of the battery of the reference terminal is in a to-be-checked state, wherein the to-be-checked state indicates that the battery of the reference terminal needs to be maintained or replaced, and the reference terminal is any one of the Q terminals.
9. The apparatus of claim 8, wherein the first obtaining module comprises:
the first obtaining submodule is used for obtaining M changing quantities corresponding to M changing quantities of which changing quantities are larger than or equal to a preset threshold value in N changing times of the battery electric quantity in the using process, and N is an integer larger than or equal to M.
10. The apparatus of claim 9, wherein the first sending module comprises:
and the first sending submodule is used for sending characteristic information to the server according to the times M and the times M of the N changes, wherein the change quantity of the N changes is larger than or equal to a preset threshold value, so that the server can conveniently obtain the current condition of the battery according to the M changes and the times M included in the characteristic information.
11. The apparatus of any one of claims 8 to 10, wherein the first sending module comprises:
and the second sending submodule is used for sending the characteristic information to the server according to the M changing quantities when the current state meets the preset condition.
12. A battery data processing apparatus, comprising:
the terminal comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving characteristic information sent by Q terminals, the characteristic information comprises M changing amounts corresponding to M times of changes of battery electric quantity in the using process of the corresponding terminal, M is an integer larger than or equal to 1, and Q is an integer larger than or equal to 2;
a second obtaining module, configured to obtain a current status of a battery of a reference terminal according to feature information of the reference terminal and feature information of the Q terminals, where the reference terminal is any one of the Q terminals;
the second acquisition module includes:
the second obtaining submodule is used for obtaining a first average value of the change quantity of the battery electric quantity of the reference terminal;
the third obtaining submodule is used for obtaining a second average value of the change quantity of the battery electric quantity of the Q terminals;
the determination submodule is used for determining that the current condition of the battery of the reference terminal is in a to-be-checked state when the difference value between the first average value and the second average value is larger than or equal to a first numerical threshold, and the to-be-checked state indicates that the battery of the reference terminal needs to be maintained or replaced.
13. The apparatus according to claim 12, wherein the characteristic information further includes a characteristic number of times corresponding to the terminal, the characteristic number of times being a number M of times that a change amount is greater than or equal to a preset threshold value among N changes occurring in the battery level of the terminal; at this time, the M change amounts are change amounts corresponding to M changes of which the change amount is greater than or equal to a preset threshold value;
the determination sub-module includes:
the acquisition unit is used for acquiring a third average value of the feature times of the Q terminals;
a determining unit, configured to determine that the current status of the battery of the reference terminal is in the to-be-checked state when a difference between the first average value and the second average value is greater than or equal to a first numerical threshold and a difference between the number of times of the features of the reference terminal and the third average value is greater than or equal to a second numerical threshold.
14. The apparatus of claim 12 or 13, further comprising:
and the second sending module is used for sending prompt information to the reference terminal when the current condition of the battery of the reference terminal is determined to be in the state to be checked, wherein the prompt information is used for prompting a user to repair or replace the battery in time.
15. A battery data processing apparatus, provided in a reference terminal, comprising:
a first processor;
a first memory for storing first processor-executable instructions;
wherein the first processor is configured to:
acquiring M changing quantities of the battery electric quantity in the using process, wherein the M changing quantities correspond to M times of changes of the battery electric quantity in the using process, and M is an integer greater than or equal to 1;
according to the M change quantities, sending characteristic information to a server, so that the server can conveniently acquire the current condition of the battery according to the M change quantities included in the characteristic information;
the server obtaining the current status of the battery according to the M change amounts included in the feature information includes:
acquiring a first average value of the variation of the battery electric quantity according to the M variations included in the characteristic information;
acquiring a second average value of the change quantity of the battery electric quantity of the Q terminals according to the received characteristic information sent by the Q terminals;
and when the difference value between the first average value and the second average value is greater than or equal to a first numerical threshold, determining that the current condition of the battery of the reference terminal is in a to-be-checked state, wherein the to-be-checked state indicates that the battery of the reference terminal needs to be maintained or replaced, and the reference terminal is any one of the Q terminals.
16. A battery data processing apparatus, comprising:
a second processor;
a second memory for storing second processor-executable instructions;
wherein the second processor is configured to:
receiving characteristic information sent by Q terminals, wherein the characteristic information comprises M changing amounts corresponding to M changes of battery electric quantity in the using process of the corresponding terminal, M is an integer greater than or equal to 1, and Q is an integer greater than or equal to 2;
acquiring the current state of a battery of a reference terminal according to the characteristic information of the reference terminal and the characteristic information of the Q terminals, wherein the reference terminal is any one of the Q terminals;
the obtaining the current status of the battery of the reference terminal according to the characteristic information of the reference terminal and the characteristic information of the Q terminals includes:
acquiring a first average value of the change amount of the battery power of the reference terminal;
acquiring a second average value of the change quantity of the battery electric quantity of the Q terminals;
when the difference value between the first average value and the second average value is larger than or equal to a first numerical threshold, determining that the current condition of the battery of the reference terminal is in a to-be-checked state, wherein the to-be-checked state indicates that the battery of the reference terminal needs to be maintained or replaced.
17. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 4.
18. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 5 to 7.
CN201810470248.2A 2018-05-16 2018-05-16 Battery data processing method and device Active CN108650322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810470248.2A CN108650322B (en) 2018-05-16 2018-05-16 Battery data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810470248.2A CN108650322B (en) 2018-05-16 2018-05-16 Battery data processing method and device

Publications (2)

Publication Number Publication Date
CN108650322A CN108650322A (en) 2018-10-12
CN108650322B true CN108650322B (en) 2020-10-16

Family

ID=63756121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810470248.2A Active CN108650322B (en) 2018-05-16 2018-05-16 Battery data processing method and device

Country Status (1)

Country Link
CN (1) CN108650322B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102540081A (en) * 2010-12-29 2012-07-04 上海汽车集团股份有限公司 Method for determining charge state of vehicle-mounted storage battery
CN102983371A (en) * 2011-05-31 2013-03-20 株式会社东芝 Calculation method, calculation system, and calculation device
CN103364736A (en) * 2013-07-17 2013-10-23 王凯敏 Method for calculating RAC (residual available capacity) of lithium ion battery pack
CN103837835A (en) * 2014-03-06 2014-06-04 可牛网络技术(北京)有限公司 Method and device for detecting capacity decreasing degree of mobile device battery
CN105048010A (en) * 2015-06-19 2015-11-11 安徽江淮汽车股份有限公司 Method and system for monitoring battery pack of electric automobile
CN107436410A (en) * 2017-07-19 2017-12-05 上海与德科技有限公司 A kind of electric quantity controlling method, device, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5607427B2 (en) * 2010-05-31 2014-10-15 株式会社モーション Charging vehicle allocation management server and charging vehicle allocation management system
CN106254695A (en) * 2016-07-28 2016-12-21 北京小米移动软件有限公司 Reminding method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102540081A (en) * 2010-12-29 2012-07-04 上海汽车集团股份有限公司 Method for determining charge state of vehicle-mounted storage battery
CN102983371A (en) * 2011-05-31 2013-03-20 株式会社东芝 Calculation method, calculation system, and calculation device
CN103364736A (en) * 2013-07-17 2013-10-23 王凯敏 Method for calculating RAC (residual available capacity) of lithium ion battery pack
CN103837835A (en) * 2014-03-06 2014-06-04 可牛网络技术(北京)有限公司 Method and device for detecting capacity decreasing degree of mobile device battery
CN105048010A (en) * 2015-06-19 2015-11-11 安徽江淮汽车股份有限公司 Method and system for monitoring battery pack of electric automobile
CN107436410A (en) * 2017-07-19 2017-12-05 上海与德科技有限公司 A kind of electric quantity controlling method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108650322A (en) 2018-10-12

Similar Documents

Publication Publication Date Title
EP4068853A1 (en) Method, apparatus for cell handover and user equipment
CN106528389B (en) Performance evaluation method and device for system fluency and terminal
CN106210797B (en) Network live broadcast method and device
US11457437B2 (en) Method and apparatus for configuring information, base station and user equipment
CN107040591B (en) Method and device for controlling client
US11343741B2 (en) Data transmission method and device based on mobile network, and storage medium
CN108476379B (en) Information recording method and information recording apparatus
CN112291631A (en) Information acquisition method, device, terminal and storage medium
US11197192B2 (en) Network connection management method, device and system
CN110337825B (en) Service switching method and device
CN108600503B (en) Voice call control method and device
CN105227426B (en) Application interface switching method and device and terminal equipment
CN110637502B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN112492654A (en) Network control method, device and storage medium
CN114487840A (en) Battery control method, device and storage medium
CN109831538B (en) Message processing method, device, server, terminal and medium
CN112752328A (en) Network control method, device and storage medium
CN107733021B (en) Control method and device of electronic equipment
CN106535147B (en) Communication signal processing method and device
CN108650322B (en) Battery data processing method and device
CN106060104B (en) Application management method and device
CN107528098B (en) Charging method and device
CN106776204B (en) Method and device for determining power consumption application
CN108427582B (en) Method and device for determining stuck state and computer readable storage medium
CN108231037B (en) Method and device for determining screen brightness setting range

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