CN115515045A - Equipment charging optimization method and device, electronic equipment and readable storage medium - Google Patents

Equipment charging optimization method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115515045A
CN115515045A CN202211176907.4A CN202211176907A CN115515045A CN 115515045 A CN115515045 A CN 115515045A CN 202211176907 A CN202211176907 A CN 202211176907A CN 115515045 A CN115515045 A CN 115515045A
Authority
CN
China
Prior art keywords
charging
current time
target
wireless earphone
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.)
Pending
Application number
CN202211176907.4A
Other languages
Chinese (zh)
Inventor
李昕宇
宋晓达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202211176907.4A priority Critical patent/CN115515045A/en
Publication of CN115515045A publication Critical patent/CN115515045A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1025Accumulators or arrangements for charging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses a device charging optimization method, a device, an electronic device and a readable storage medium, which are applied to the technical field of charging, wherein the device charging optimization method is applied to wireless earphone devices, and comprises the following steps: acquiring device use habit information of a target user for wireless earphone equipment; predicting a target charging speed of the wireless earphone device at the current time point according to the device use habit information; and controlling the wireless earphone equipment to charge according to the target charging speed. The technical problem that the service life loss of the battery is large when the device is charged is solved.

Description

Equipment charging optimization method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of charging technologies, and in particular, to a method and an apparatus for optimizing device charging, an electronic device, and a readable storage medium.
Background
Along with the high-speed development of science and technology, equipment charging technology is also more and more mature, at present, when the equipment that disposes lithium ion battery charges, because the battery characteristic of lithium cell adopts the three-stage charge strategy: the method comprises a pre-charging stage, a constant current charging stage and a constant voltage charging stage, wherein in the constant current charging stage, a higher constant current charging rate is usually preset for charging in order to improve the charging efficiency of the equipment, and the higher the constant current charging rate is, the higher the capacity attenuation speed of the lithium battery is, so that the service life of the lithium battery is shorter, and the service life loss of the battery during the charging of the equipment is larger.
Disclosure of Invention
The present application mainly aims to provide a device charging optimization method, apparatus, electronic device and readable storage medium, and aims to solve the technical problem in the prior art that the battery life loss is large when the device is charged.
In order to achieve the above object, the present application provides an apparatus charging optimization method applied to a wireless headset apparatus, where the apparatus charging optimization method includes:
acquiring device use habit information of a target user for wireless earphone equipment;
predicting the target charging speed of the wireless earphone equipment at the current time point according to the equipment use habit information;
and controlling the wireless earphone equipment to charge according to the target charging speed.
In order to achieve the above object, the present application further provides an apparatus charging optimization device, where the apparatus charging optimization device is applied to a wireless headset apparatus, the apparatus charging optimization device includes:
the acquisition module is used for acquiring the device use habit information of a target user for the wireless earphone device;
the prediction module is used for predicting the target charging speed of the wireless earphone equipment at the current time point according to the equipment use habit information;
and the control module is used for controlling the wireless earphone equipment to charge according to the target charging speed.
The present application further provides an electronic device, including: a memory, a processor and a program of the device charging optimization method stored on the memory and executable on the processor, which program, when executed by the processor, may implement the steps of the device charging optimization method as described above.
The present application also provides a computer-readable storage medium having stored thereon a program for implementing a device charging optimization method, which when executed by a processor, implements the steps of the device charging optimization method as described above.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the device charging optimization method as described above.
Compared with a method for charging by a charging strategy with a preset higher constant current charging rate, the method is applied to the wireless earphone equipment, and the information of the use habit of a target user on the wireless earphone equipment is obtained; predicting the target charging speed of the wireless earphone equipment at the current time point according to the equipment use habit information; according to the target charging speed, the wireless earphone device is controlled to be charged, the low and proper charging speed is matched according to the device use habit information and the charging time point of the target user, the technical defect that the service life of the lithium battery is reduced too much due to the fact that the charging speed is high and the capacity attenuation speed of the lithium battery is too high is avoided, and further the service life loss of the battery during charging of the device is reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a schematic flowchart of a first embodiment of a device charging optimization method according to the present application;
fig. 2 is a schematic structural diagram of an apparatus related to a device charging optimization method in an embodiment of the present application;
fig. 3 is a schematic device structure diagram of a hardware operating environment related to a device charging optimization method in an embodiment of the present application.
The implementation of the objectives, functional features, and advantages of the present application will be further described with reference to the accompanying drawings.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments of the present application are described in detail below with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example one
An embodiment of the present application provides an apparatus charging optimization method, and in a first embodiment of the apparatus charging optimization method of the present application, referring to fig. 1, the apparatus charging optimization method is applied to a wireless headset apparatus, and the apparatus charging optimization method includes:
step S10, acquiring device use habit information of a target user for wireless earphone equipment;
step S20, predicting a target charging speed of the wireless earphone equipment at the current time point according to the equipment use habit information;
and S30, controlling the wireless earphone equipment to charge according to the target charging speed.
In this embodiment, it should be noted that the wireless earphone device may be a wireless earphone body, may also be a charging box corresponding to the wireless earphone body, and may also be a combination of the charging box and the wireless earphone, that is, the wireless earphone body is placed in the charging box, and when the charging box is charged, the charging box may also charge the wireless earphone body synchronously. The device use habit information is earphone use habit information of the target user using the wireless earphone body, and also can be charging box use habit information of the target user using the charging box.
It can be understood that the three-stage charging strategy of the lithium battery is a charging strategy conforming to the battery characteristics of the lithium battery, so the three-stage charging strategy is not changed in the embodiment of the present application, and in the three-stage charging strategy of the lithium battery, the constant current charging stage is the charging time with the largest proportion, so the constant current charging rate in the constant current charging stage is adjusted to adjust the charging speed of the wireless headset device, and the target charging speed may be the average speed of the wireless headset device in the three-stage charging strategy or the constant current charging speed in the constant current charging stage in the three-stage charging strategy.
As an example, steps S10 to S30 include: acquiring device use habit information of a target user for wireless earphone equipment; predicting a target constant-current charging speed of the wireless earphone device according to the device use habit information and the current time point, wherein the target constant-current charging speed is used as the target charging speed; and controlling the wireless earphone equipment to be charged at the target charging speed in a constant current charging stage in a three-stage charging strategy.
As an example, steps S10 to S30 include: acquiring device use habit information of a target user for wireless earphone equipment; according to the device use habit information and the current time point, predicting to obtain a target average charging speed of the wireless earphone device, and taking the target average charging speed as the target charging speed; the method comprises the steps of obtaining a historical charging strategy of the wireless earphone equipment, wherein the historical charging strategy comprises pre-charging stage information and constant-voltage charging stage information, constructing a target charging strategy of the wireless earphone equipment according to the pre-charging stage information, the constant-voltage charging stage and the target charging speed, and controlling the wireless earphone equipment to charge according to the target charging strategy.
As an example, step S20 includes: constructing a use habit characteristic corresponding to the wireless earphone device according to the device use habit information and the current time point; and predicting to obtain the target charging speed of the wireless earphone equipment according to the using habit characteristics and a preset charging speed prediction model, wherein the preset charging speed prediction model can be a convolutional neural network model, a cyclic neural network model or other neural network models.
Optionally, the step of constructing the usage habit feature corresponding to the wireless headset device according to the device usage habit information and the current time point may be:
selecting target habit information corresponding to the current time point from the equipment use habit information, constructing use habit features corresponding to the wireless earphone equipment according to the target habit information, or generating a charging time point label corresponding to the wireless earphone equipment according to the current time point, extracting and obtaining the equipment use habit features corresponding to the target user according to the equipment use habit information, and splicing the charging time point label and the equipment use habit features into the use habit features corresponding to the wireless earphone equipment.
As an example, step S20 includes: acquiring a historical charging strategy of the wireless earphone equipment, wherein the historical charging strategy comprises constant current charging stage information; and determining the historical constant-current charging speed of the wireless earphone device according to the constant-current charging stage information, and adjusting the historical constant-current charging speed according to the device use habit information and the current time point to obtain the target charging speed.
As an example, step S20 includes: acquiring a historical charging strategy of the wireless earphone equipment, and determining the average charging speed of the wireless earphone equipment under the historical charging strategy; and adjusting the average charging speed according to the equipment use habit information and the current time point to obtain the target charging speed.
In step S10, the device usage habit information includes device usage information and device power information, and the step of acquiring the device usage habit information of the target user for the wireless headset device includes:
step S11, acquiring device use information of a target user for wireless earphone devices changing along with time in a preset time period and device electric quantity information of the wireless earphone devices changing along with time in the preset time period, wherein the device use time information at least comprises one of device use duration, device use time and device use interval duration.
In this embodiment, it should be noted that the preset time period is a time period for evaluating usage habit information of a target user for a wireless headset device, the preset time period may be 7 days, may also be 30 days, may also be any time period such as 1 day, and the device power information may be a remaining power of the wireless headset device, and may also be a consumed power of the wireless headset device in unit time.
Exemplarily, step S11 includes: the method comprises the steps of obtaining time-varying equipment use information of a target user for wireless earphone equipment at each time point in a preset time period, and collecting time-varying equipment electric quantity information of the wireless earphone equipment in the preset time period.
It can be understood that there are various factors that affect the charging efficiency and device performance of the wireless headset device, and in the embodiment of the present application, a charging policy is generated through device electric quantity information, device usage information, and charging time, so that high charging efficiency and low device performance loss during charging of the wireless headset device are considered.
Optionally, the step of adjusting the historical constant-current charging speed according to the device usage habit information and the current time point to obtain the target charging speed may include:
Figure BDA0003864895690000061
wherein I is the target charging speed, C is the remaining capacity of the wireless headset device, and Δ t is the device usage interval duration.
In step S20, the step of predicting the target charging speed of the wireless headset device at the current time point according to the device usage habit information includes:
step S21, determining the time type of the current time point and the current time zone of the target user;
step S22, selecting target equipment use habit information corresponding to the time type and the current time zone together from the equipment use habit information;
and S23, predicting the target charging speed of the wireless earphone device according to the target device use habit information.
It can be understood that, when the charging time point and the charging time zone of the target user are changed, the usage habit information of the device may not be common at different time points and different time zones (for example, when china is eight morning hours, the time zone in other countries may be eight night), and when the time zone is changed from china to other countries, such as when china is still used for charging or when the target charging speed determined by the usage habit where china is located is still used, the charging speed may be too fast or too slow, thereby causing a technical defect that the charging speed of the device is not matched with the current time point.
As one example, steps S21 to S23 include: acquiring the current geographic position of the target user, generating a current time zone in which the target user is located according to the current geographic position, and determining the time type of the current time point; selecting target equipment use habit information corresponding to the time type and the current time zone from the equipment use habit information; and predicting the target charging speed of the wireless earphone equipment according to the target equipment use habit information.
As one example, steps S21 to S23 include: determining the time type of the current time point and the current time zone in which the target user is located; generating a charging time type label of the wireless earphone device according to the time type, generating a charging time zone label of the wireless earphone device according to the current time zone, and splicing the charging time type label, the charging time zone label and the use habit characteristics corresponding to the wireless earphone device to obtain the expanded use habit characteristics; and predicting to obtain the target charging speed of the wireless earphone equipment according to the using habit characteristics and a preset charging speed prediction model.
The target charging speed is matched through the current time zone and the time type of the target user, the technical defect that when the time zone of the target user changes, the original time zone is still adopted, so that the charging speed is too high or too low is avoided, and the prediction accuracy of the charging speed of the equipment is improved.
Wherein, in step S21, the time type at least includes one of a date type and a time type, and the determining the time type of the current time point includes:
step A10, acquiring time information of the current time point, wherein the time information at least comprises one of a current date and a current time;
step A20, generating a date type corresponding to the current time point according to the current date; and/or the presence of a gas in the gas,
and A30, generating a time type corresponding to the current time point according to the current time.
As an example, steps a10 to a30 include: acquiring the current date of the current time point; and generating a date type corresponding to the current time point according to the current date.
As an example, steps a10 to a30 include: acquiring the current time of the current time point; and generating a time type corresponding to the current time point according to the current time.
As an example, steps a10 to a30 include: acquiring the current date and the current time of the current time point; generating a date type corresponding to the current time point according to the current date; and generating a time type corresponding to the current time point according to the current time.
Optionally, the time type includes a day type and a night type, and the time type corresponding to the current time point is generated according to the current time and the current time zone in which the target user is located.
It can be understood that, when the current time changes, for example, the expected charging speeds of users corresponding to the working time period and the charging time period as the rest time period at the current time may be different, and therefore the corresponding target charging speeds may also be different, and/or when the current date changes, for example, the expected charging speeds of users corresponding to the working day and the holiday at the current date may also be different, and therefore the corresponding target charging policies may also be different, and therefore, according to the current date and the current time, the appropriate target charging speed is adapted, so that the charging speed of the wireless headset device reduces the battery life loss while meeting the charging habit of the target user at the current time point.
In step a20, the date types include a workday type, a holiday type and a leave-asking rest type, and the step of generating the date type corresponding to the current time point according to the current date includes:
step A21, if the current date meets a preset holiday condition, taking the holiday type as a date type corresponding to the current time point;
step A22, if the current date does not meet the preset holiday conditions, detecting whether leave-asking and rest-calling information of the target user on the current date exists;
step A23, if yes, taking the leave-asking type as a date type corresponding to the current time point;
and step A24, if the current time point does not exist, the working day type is used as the date type corresponding to the current time point.
In this embodiment, it should be noted that the preset holiday condition is a preset date condition for determining that the current date is holiday.
Exemplarily, the steps a21 to a24 include: judging whether the current date meets a preset holiday condition, and if the current date meets the preset holiday condition, taking the holiday type as a date type corresponding to the current time point; if the current date meets the preset holiday condition, detecting whether leave-asking and rest-calling information of the target user on the current date exists; if leave-asking rest information of the target user on the current date exists, taking the leave-asking rest type as a date type corresponding to the current time point; and if the leave-asking rest information of the target user on the current date does not exist, taking the working day type as the date type corresponding to the current time point.
It can be understood that, when an emergency (for example, a trip plan) occurs in a target user, and the trip plan is unknown, the wireless headset device needs to be charged quickly in advance, but there may be a case where a target charging speed predicted only by a current time point is low, in order to solve the above-mentioned drawback, optionally, after the step of predicting the target charging speed of the wireless headset device at the current time point according to the device usage habit information, the method further includes:
detecting whether a travel plan meeting preset conditions of the target user exists, and if the travel plan meeting the preset conditions of the target user exists, increasing the target charging speed, wherein the travel plan can be pulled travel information of the user in traffic travel software and also can be travel information set for the user, and the preset conditions can be that a travel date corresponding to the travel plan is the current date and also can be that the travel date corresponding to the travel plan is a distance from the current time and is within preset time.
Compared with a method for charging by a charging strategy with a preset higher constant current charging rate, the method for optimizing the charging of the wireless earphone device is applied to the wireless earphone device, and the device use habit information of a target user for the wireless earphone device is obtained; predicting the target charging speed of the wireless earphone equipment at the current time point according to the equipment use habit information; according to the target charging speed, the wireless earphone device is controlled to be charged, the low and proper charging speed is matched according to the device use habit information and the charging time point of the target user, the technical defect that the battery life of the lithium battery is reduced too much due to the fact that the charging speed is high and the capacity attenuation speed of the lithium battery is too high is avoided, and the battery life loss of the device during charging is further reduced.
Example two
Further, based on the first embodiment of the present application, in another embodiment of the present application, the same or similar contents to the first embodiment described above may be referred to the above description, and are not repeated herein. On this basis, in step S20, after the step of predicting the target charging speed of the wireless headset device at the current time point according to the device usage habit information, the method further includes:
step B10, predicting the charging duration and the battery life loss information of the wireless earphone equipment at the target charging speed;
and step B20, displaying the charging time and the battery service life loss at a preset position of the wireless earphone device.
As an example, steps B10 to B20 include: and acquiring the residual electric quantity of the wireless earphone equipment, and determining the charging time and the battery life loss information of the wireless earphone equipment according to the target charging speed and the residual electric quantity.
As an example, steps B10 to B20 include: and determining a target charging strategy of the wireless earphone device according to the target charging speed, and determining charging time and battery life loss information of the wireless earphone device according to the target charging strategy and the residual electric quantity.
In step B20, after the step of displaying the charging duration and the battery life loss at a preset position of the wireless headset device, the method further includes:
step B30, obtaining charging evaluation of the user aiming at the charging time and the battery life loss;
and B40, adjusting the target charging speed according to the charging evaluation.
It is understood that the target charging speed predicted from the device usage habit information is the charging speed at which the battery life loss at the current time point is the lowest, and the user's biases for the charging speed and the battery life loss may be different, and therefore, it is easy to find a charging speed that deviates from the user's expectation.
As an example, steps B30 to B40 include: acquiring charging evaluation of a user aiming at the charging time and the battery life loss, wherein the charging evaluation comprises a charging score and evaluation content; judging whether the charging score meets a preset score threshold value or not, and if the charging score meets the preset score threshold value, judging that the target charging speed meets the user expectation; if the charging score does not meet a preset score threshold, judging that the target charging speed does not meet the user expectation, adjusting the target charging speed according to the evaluation content, and returning to the execution step: and predicting the charging time and the battery life loss information of the wireless earphone device at the target charging speed until the charging score meets a preset score threshold.
As an example, steps B30 to B40 include: acquiring charging evaluation of a user for the charging time and the battery life loss, wherein the charging evaluation comprises a charging score and evaluation content; judging whether the charging score meets a preset scoring threshold value or not, and if the charging score meets the preset scoring threshold value, judging that the target charging speed meets the expectation of a user; and if the charging score does not meet a preset score threshold, judging that the target charging speed does not meet the user expectation, and performing iterative optimization on a preset charging speed prediction model according to the evaluation content.
Optionally, the evaluation content at least includes a charging speed evaluation and a battery life loss evaluation, and the step of adjusting the target charging speed according to the evaluation content includes: and adjusting the target charging speed according to the charging speed evaluation and the battery service life loss evaluation.
The target charging speed is optimized by obtaining the charging evaluation of the user for the target charging speed, so that the charging speed is balanced under the conditions of meeting the expectation of the user, low equipment performance loss and high charging efficiency.
Compared with a method for charging by a charging strategy with a preset higher constant current charging rate, the method for optimizing the charging of the wireless earphone device is applied to the wireless earphone device, and the device use habit information of a target user for the wireless earphone device is obtained; predicting a target charging speed of the wireless earphone device at the current time point according to the device use habit information; according to the target charging speed, the wireless earphone device is controlled to be charged, the low and proper charging speed is matched according to the device use habit information and the charging time point of the target user, the technical defect that the service life of the lithium battery is reduced too much due to the fact that the charging speed is high and the capacity attenuation speed of the lithium battery is too high is avoided, and further the service life loss of the battery during charging of the device is reduced.
EXAMPLE III
The embodiment of the present application further provides an apparatus charging optimization device, where the apparatus charging optimization device is applied to a wireless headset device, with reference to fig. 2, the apparatus charging optimization device includes:
the acquisition module is used for acquiring the device use habit information of a target user for the wireless earphone device;
the prediction module is used for predicting the target charging speed of the wireless earphone equipment at the current time point according to the equipment use habit information;
and the control module is used for controlling the wireless earphone equipment to charge according to the target charging speed.
Optionally, the prediction module is further configured to: determining the time type of the current time point and the current time zone in which the target user is located;
selecting target equipment use habit information corresponding to the time type and the current time zone together from the equipment use habit information;
and predicting the target charging speed of the wireless earphone equipment according to the target equipment use habit information.
Optionally, the time type includes at least one of a date type and a time of day type, and the prediction module is further configured to:
acquiring time information of the current time point, wherein the time information at least comprises one of the current date and the current time;
generating a date type corresponding to the current time point according to the current date; and/or the presence of a gas in the gas,
and generating a time type corresponding to the current time point according to the current time.
Optionally, the date types include a workday type, a holiday type and a leave-on type, and the prediction module is further configured to:
if the current date meets the preset holiday conditions, taking the holiday type as the date type corresponding to the current time point;
if the current date does not meet the preset holiday conditions, detecting whether leave-asking and rest-calling information of the target user on the current date exists or not;
if yes, taking the leave-asking type as a date type corresponding to the current time point;
and if the current time point does not exist, the working day type is used as the date type corresponding to the current time point.
Optionally, after the step of predicting the target charging speed of the wireless headset device at the current time point according to the device usage habit information, the device charging optimization apparatus is further configured to:
predicting the charging duration and the battery life loss information of the wireless earphone device at the target charging speed;
and displaying the charging time and the battery life loss at a preset position of the wireless earphone device.
Optionally, after the step of displaying the charging duration and the battery life loss at the preset position of the wireless headset device, the device charging optimization apparatus is further configured to:
acquiring charging evaluation of a user aiming at the charging time and the battery life loss;
and adjusting the target charging speed according to the charging evaluation.
Optionally, the device usage habit information includes device usage information and device power information, and the obtaining module is further configured to:
acquiring device use information of a target user for wireless earphone devices changing along with time in a preset time period and device electric quantity information of the wireless earphone devices changing along with time in the preset time period, wherein the device use time information at least comprises one of device use time, device use time and device use interval time.
The device charging optimization device provided by the application adopts the device charging optimization method in the above embodiment, so that the technical problem of large battery life loss during device charging is solved. Compared with the prior art, the beneficial effects of the device charging optimization apparatus provided by the embodiment of the present application are the same as the beneficial effects of the device charging optimization method provided by the above embodiment, and other technical features of the device charging optimization apparatus are the same as those disclosed in the method of the above embodiment, which are not described herein again.
Example four
An embodiment of the present application provides an electronic device, which includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the device charging optimization method in the above embodiments.
Referring now to FIG. 3, shown is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 3, the electronic device may include a processing apparatus (e.g., a central processing unit, a graphic processor, etc.) that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage apparatus into a Random Access Memory (RAM). In the RAM, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device, the ROM, and the RAM are connected to each other by a bus. An input/output (I/O) interface is also connected to the bus.
Generally, the following systems may be connected to the I/O interface: input devices including, for example, touch screens, touch pads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, and the like; output devices including, for example, liquid Crystal Displays (LCDs), speakers, vibrators, and the like; storage devices including, for example, magnetic tape, hard disk, etc.; and a communication device. The communication means may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While the figures illustrate an electronic device with various systems, it is understood that implementing or having all of the illustrated systems is not a requirement. More or fewer systems may alternatively be implemented or provided.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means, or installed from a storage means, or installed from a ROM. The computer program, when executed by a processing device, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
The electronic device provided by the application adopts the device charging optimization method in the embodiment, and the technical problem that the service life loss of the battery is large when the device is charged is solved. Compared with the prior art, the electronic device provided by the embodiment of the present application has the same beneficial effects as the device charging optimization method provided by the above embodiment, and other technical features in the electronic device are the same as those disclosed in the method of the above embodiment, which are not described herein again.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the foregoing description of embodiments, the particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
EXAMPLE five
The present embodiments provide a computer readable storage medium having computer readable program instructions stored thereon for performing the method of the device charging optimization method in the above embodiments.
The computer readable storage medium provided by the embodiments of the present application may be, for example, a usb disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or a combination of any of the above. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present embodiment, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer-readable storage medium may be embodied in an electronic device; or may be present alone without being incorporated into the electronic device.
The computer-readable storage medium carries one or more programs which, when executed by an electronic device, cause the electronic device to: acquiring device use habit information of a target user for wireless earphone equipment; predicting a target charging speed of the wireless earphone device at the current time point according to the device use habit information; and controlling the wireless earphone equipment to charge according to the target charging speed.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the names of the modules do not in some cases constitute a limitation of the unit itself.
The computer-readable storage medium provided by the application stores computer-readable program instructions for executing the device charging optimization method, and solves the technical problem that the service life loss of the battery is large when the device is charged. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the application are the same as the beneficial effects of the device charging optimization method provided by the implementation, and are not described herein again.
EXAMPLE six
The present application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the device charging optimization method as described above.
The computer program product provided by the application solves the technical problem that the service life loss of the battery is large when the equipment is charged. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present application are the same as those of the device charging optimization method provided by the above embodiment, and are not described herein again.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A device charging optimization method is applied to a wireless headset device, and comprises the following steps:
acquiring device use habit information of a target user for wireless earphone equipment;
predicting a target charging speed of the wireless earphone device at the current time point according to the device use habit information;
and controlling the wireless earphone equipment to charge according to the target charging speed.
2. The device charging optimization method of claim 1, wherein the step of predicting the target charging speed of the wireless headset device at the current time point according to the device usage habit information comprises:
determining the time type of the current time point and the current time zone in which the target user is located;
selecting target equipment use habit information which corresponds to the time type and the current time zone together from the equipment use habit information;
and predicting the target charging speed of the wireless earphone equipment according to the target equipment use habit information.
3. The device charging optimization method of claim 2, wherein the time type includes at least one of a date type and a time of day type, and the determining the time type of the current time point comprises:
acquiring time information of the current time point, wherein the time information at least comprises one of the current date and the current time;
generating a date type corresponding to the current time point according to the current date; and/or the presence of a gas in the gas,
and generating a time type corresponding to the current time point according to the current time.
4. The device charging optimization method according to claim 3, wherein the date types include a workday type, a holiday type, and a leave-asking type, and the step of generating the date type corresponding to the current time point according to the current date comprises:
if the current date meets the preset holiday conditions, taking the holiday type as the date type corresponding to the current time point;
if the current date does not meet the preset holiday condition, detecting whether leave-asking rest information of the target user on the current date exists;
if yes, taking the leave-asking rest type as a date type corresponding to the current time point;
and if the current time point does not exist, the working day type is used as the date type corresponding to the current time point.
5. The device charging optimization method according to claim 1, further comprising, after the step of predicting the target charging speed of the wireless headset device at the current time point based on the device usage habit information:
predicting the charging duration and the battery life loss information of the wireless earphone device at the target charging speed;
and displaying the charging time and the battery life loss at a preset position of the wireless earphone device.
6. The device charging optimization method of claim 5, further comprising, after the step of displaying the charging duration and the battery life loss at a preset location of the wireless headset device:
acquiring charging evaluation of a user aiming at the charging time and the battery life loss;
and adjusting the target charging speed according to the charging evaluation.
7. The device charging optimization method according to claim 1, wherein the device usage habit information includes device usage information and device power amount information, and the step of obtaining the device usage habit information of the target user for the wireless headset device includes:
acquiring device use information of a target user for wireless earphone equipment changing along with time in a preset time period and device electric quantity information of the wireless earphone equipment changing along with time in the preset time period, wherein the device use time information at least comprises one of device use duration, device use time and device use interval duration.
8. The device charging optimization device is applied to a wireless earphone device and comprises:
the acquisition module is used for acquiring the device use habit information of a target user for the wireless earphone device;
the prediction module is used for predicting the target charging speed of the wireless earphone equipment at the current time point according to the equipment use habit information;
and the control module is used for controlling the wireless earphone equipment to charge according to the target charging speed.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the device charging optimization method of any one of claims 1 to 7.
10. A computer-readable storage medium, having a program for implementing a device charging optimization method stored thereon, the program being executable by a processor to implement the steps of the device charging optimization method according to any one of claims 1 to 7.
CN202211176907.4A 2022-09-26 2022-09-26 Equipment charging optimization method and device, electronic equipment and readable storage medium Pending CN115515045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211176907.4A CN115515045A (en) 2022-09-26 2022-09-26 Equipment charging optimization method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211176907.4A CN115515045A (en) 2022-09-26 2022-09-26 Equipment charging optimization method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115515045A true CN115515045A (en) 2022-12-23

Family

ID=84506942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211176907.4A Pending CN115515045A (en) 2022-09-26 2022-09-26 Equipment charging optimization method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115515045A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117318254A (en) * 2023-11-30 2023-12-29 深圳航天科创泛在电气有限公司 Wireless charging method, wireless charging device, electronic equipment and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117318254A (en) * 2023-11-30 2023-12-29 深圳航天科创泛在电气有限公司 Wireless charging method, wireless charging device, electronic equipment and readable storage medium
CN117318254B (en) * 2023-11-30 2024-03-19 深圳航天科创泛在电气有限公司 Wireless charging method, wireless charging device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN108475935B (en) Battery charging management method and terminal
CN109947496B (en) Application program preloading method and device, storage medium and mobile terminal
KR101477179B1 (en) Method And Mobile Terminal For Determining and Displaying Power Efficiency of Application
US10439406B2 (en) Terminal and method for charging the same
US10663521B2 (en) Method and device for ascertaining required charging time
CN110723029A (en) Method and device for determining charging strategy
CN115515045A (en) Equipment charging optimization method and device, electronic equipment and readable storage medium
CN112977164A (en) Method and device for determining driving mileage of electric vehicle and vehicle
CN113392018B (en) Traffic distribution method and device, storage medium and electronic equipment
CN117236805B (en) Power equipment control method, device, electronic equipment and computer readable medium
CN116780004A (en) Battery charging optimization method, electronic device and readable storage medium
CN108038050B (en) Performance adjusting method and device, storage medium and electronic equipment
CN115709663A (en) Intelligent charging method and device for automobile, electronic equipment and readable storage medium
CN115391681A (en) Charging station recommendation method and device, electronic equipment and readable storage medium
CN212624333U (en) Location bracelet and location bracelet system
US11079827B2 (en) Cognitive battery state of charge recalibration
CN113824840B (en) Method and device for dynamically adjusting screen refresh rate, electronic equipment and storage medium
CN116820539B (en) System software operation maintenance system and method based on Internet
CN111694755B (en) Application program testing method and device, electronic equipment and medium
CN116757461B (en) Method, device, equipment and medium for displaying updated power grid infrastructure service node information
CN117318254B (en) Wireless charging method, wireless charging device, electronic equipment and readable storage medium
CN112977161B (en) Battery management method and device for new energy automobile and electronic equipment
CN116308538B (en) Method for processing release of message, electronic equipment and readable storage medium
CN116757443B (en) Novel power line loss rate prediction method and device for power distribution network, electronic equipment and medium
CN114928134A (en) Battery charging optimization method and device, electronic equipment and readable storage medium

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