CN116009670A - Control method and device of electronic equipment, storage medium and chip - Google Patents

Control method and device of electronic equipment, storage medium and chip Download PDF

Info

Publication number
CN116009670A
CN116009670A CN202211609936.5A CN202211609936A CN116009670A CN 116009670 A CN116009670 A CN 116009670A CN 202211609936 A CN202211609936 A CN 202211609936A CN 116009670 A CN116009670 A CN 116009670A
Authority
CN
China
Prior art keywords
parameter
battery
matching degree
degree
actual
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
CN202211609936.5A
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.)
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 CN202211609936.5A priority Critical patent/CN116009670A/en
Publication of CN116009670A publication Critical patent/CN116009670A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the disclosure relates to a control method, a device, a storage medium and a chip of electronic equipment, comprising: acquiring actual battery multidimensional parameters of an actual loaded battery of the electronic equipment; comparing the actual battery multidimensional parameter with a standard distribution Chi Duowei parameter of the electronic equipment, and determining the matching degree of the actual loaded battery and the standard distribution battery; and determining the operation strategy of the electronic equipment according to the matching degree. The embodiment of the disclosure effectively solves the problem that potential hazards are caused to safe use of electronic equipment because improper replacement or malicious replacement possibly occurs due to overlapping of battery ID resistance intervals of different specifications in the traditional battery ID resistance detection matching scheme.

Description

Control method and device of electronic equipment, storage medium and chip
Technical Field
The disclosure relates to the technical field of electronic equipment control, and in particular relates to a control method, a control device, a storage medium and a chip of electronic equipment.
Background
With the rapid development of battery technology and electronic equipment fast-charging technology, the battery specifications and fast-charging schemes of electronic equipment with different manufacturers and different positioning in the market are huge. In order to improve the safety of using the electronic equipment and the quick charging function thereof by a user, the electronic equipment and the carried standard battery are usually bound into an undetachable integrated form on hardware, and on software, the battery ID resistance is read to be matched with the preset allowable ID resistance range of the electronic equipment, or identification information is further matched in a key encryption and decryption mode, so that whether the used battery is the original factory standard battery is detected.
However, in practical applications, due to the numerous batteries of the electronic device, there may be overlapping battery ID resistance intervals of different device specifications, which results in a potential safety hazard of improper replacement or malicious replacement.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a control method, apparatus, storage medium and chip of an electronic device.
According to a first aspect of an embodiment of the present disclosure, there is provided a control method of an electronic device, including:
acquiring actual battery multidimensional parameters of an actual loaded battery of the electronic equipment;
comparing the actual battery multidimensional parameter with a standard distribution Chi Duowei parameter of the electronic equipment, and determining the matching degree of the actual loaded battery and the standard distribution battery;
and determining the operation strategy of the electronic equipment according to the matching degree.
Optionally, the standard power distribution Chi Duo dimensional parameter includes a first fixed parameter and a first variable parameter of a standard battery of the electronic device; the actual battery multidimensional parameter comprises a second fixed parameter and a second variable parameter of the actual loaded battery;
comparing the actual battery multidimensional parameter with a standard distribution Chi Duowei parameter of the electronic device, and determining the matching degree of the actual loaded battery and the standard distribution battery comprises the following steps:
Comparing the first fixed parameter with the second fixed parameter, and comparing the first variable parameter with the second variable parameter to determine the matching degree of the actual loaded battery and the standard battery.
Optionally, the comparing the actual multi-dimensional parameter of the battery with the standard power distribution Chi Duowei parameter of the electronic device, and determining the matching degree of the actual loaded battery and the standard power distribution Chi Duowei parameter of the electronic device includes:
acquiring a target power distribution Chi Duowei parameter model of the electronic equipment, wherein the target power distribution Chi Duowei parameter model is generated according to the target power distribution Chi Duowei parameter, and the target power distribution Chi Duowei parameter model comprises the first fixed parameter and the first variable parameter;
generating an actual battery multidimensional parameter model according to the actual battery multidimensional parameter, wherein the actual battery multidimensional parameter model comprises the second fixed parameter and the second variable parameter;
comparing the actual battery multidimensional parameter model with a standard distribution Chi Duowei parameter model of the electronic equipment, comparing the first fixed parameter with the second fixed parameter and comparing the first variable parameter with the second variable parameter in the process of comparing the actual battery multidimensional parameter model with the standard distribution Chi Duowei parameter model, and determining the matching degree of the actual loaded battery and the standard distribution battery.
Optionally, the comparing the first fixed parameter with the second fixed parameter and comparing the first variable parameter with the second variable parameter, to determine the matching degree of the actually loaded battery and the standard battery includes:
comparing the first fixed parameter with the second fixed parameter;
under the condition that the first fixed parameter is not matched with the second fixed parameter, determining the matching degree as a first matching degree;
under the condition that the first fixed parameter is matched with the second fixed parameter, a first difference value of the first variable parameter and the second variable parameter is obtained, the matching degree is determined to be a first matching degree, a second matching degree or a third matching degree according to the first difference value, the first matching degree is smaller than the second matching degree, and the second matching degree is smaller than the third matching degree.
Optionally, the first fixed parameter and the second fixed parameter each include a plurality of parameters, and comparing the first fixed parameter with the second fixed parameter includes:
comparing each parameter in the first fixed parameter with each parameter in the second fixed parameter;
Determining that the first fixed parameter is not matched with the second fixed parameter under the condition that any one of the first fixed parameters is not matched with the corresponding parameter in the second fixed parameter;
and determining that the first fixed parameter is matched with the second fixed parameter under the condition that each parameter in the first fixed parameter is matched with each parameter in the second fixed parameter.
Optionally, when the first fixed parameter matches the second fixed parameter, obtaining a first difference value between the first variable parameter and the second variable parameter, and determining that the matching degree is a first matching degree, a second matching degree or a third matching degree according to the first difference value, including:
updating the first specified parameter to the value of the corresponding parameter in the second variable parameter under the condition that the first specified parameter in the first variable parameter is different from the corresponding parameter in the second variable parameter, so as to obtain the updated first specified parameter;
updating a second specified parameter in the first variable parameters according to the updated first specified parameter to obtain an updated second specified parameter, wherein the second specified parameter is a parameter related to the first specified parameter;
Acquiring a second difference value of the updated second designated parameter and a corresponding parameter in the second variable parameter;
determining the matching degree as the third matching degree under the condition that the second difference value is smaller than a first set threshold value;
determining that the matching degree is the second matching degree under the condition that the second difference value is larger than or equal to the first set threshold value and smaller than a second set threshold value;
and determining the matching degree as the first matching degree under the condition that the second difference value is larger than or equal to the second set threshold value.
Optionally, the acquiring the standard distribution Chi Duowei parameter model of the electronic device includes:
generating the target power distribution Chi Duowei parametric model from the target power distribution Chi Duowei parameters without creating the target power distribution Chi Duowei parametric model;
with the standard power distribution Chi Duowei parametric model created, the current standard power distribution Chi Duowei parametric model is read.
Optionally, the acquiring the actual battery multidimensional parameter of the actual battery loading of the electronic device includes:
detecting an actual loaded battery of the electronic equipment in response to reaching a preset battery detection triggering condition so as to acquire the actual battery multidimensional parameter;
Wherein the trigger condition includes one or more of:
the time interval from the last battery detection time reaches the duration of a set battery detection period;
starting the electronic equipment;
the state of the actually loaded battery is abnormal;
the electronic device opens a specified function, the specified function including: a quick charge function or a battery maintenance function.
Optionally, the determining the operation policy of the electronic device according to the matching degree includes:
and determining at least one of the running state, the charging power and the battery maintenance degree of the electronic equipment according to the matching degree.
Optionally, the determining at least one of the running state, the charging power and the battery maintenance degree of the electronic device according to the matching degree includes:
under the condition that the matching degree is the first matching degree, determining that the running state of the electronic equipment is a shutdown state, wherein the charging power is the first power, and the battery maintenance degree is the first degree;
under the condition that the matching degree is the second matching degree, determining the running state of the electronic equipment to be the current running state, wherein the charging power is the second power, and the battery maintenance degree is the second degree;
Under the condition that the matching degree is the third matching degree, determining the running state of the electronic equipment to be the current running state, wherein the charging power is the third power, and the battery maintenance degree is the third degree;
the first matching degree is smaller than the second matching degree, the second matching degree is smaller than the third matching degree, the first power is smaller than the second power, the second power is smaller than the third power, the first degree is larger than the second degree, and the second degree is larger than the third degree.
Optionally, the first fixed parameter and the second fixed parameter each include at least one of: ID resistance value, encryption verification information, battery cell process type, battery cell manufacturer information, packaging manufacturer information and nominal capacity value, wherein the first variable parameter and the second variable parameter comprise at least one of the following: battery cycle number, estimated capacity value;
according to a second aspect of the embodiments of the present disclosure, there is provided a control apparatus of an electronic device, including:
an acquisition module configured to acquire actual battery multidimensional parameters of an actual loaded battery of the electronic device;
the comparison module is configured to compare the actual battery multidimensional parameter with a standard distribution Chi Duowei parameter of the electronic equipment and determine the matching degree of the actual loaded battery and the standard distribution battery;
And the determining module is configured to determine the operation strategy of the electronic equipment according to the matching degree.
According to a third aspect of the embodiments of the present disclosure, there is provided a control apparatus of an electronic device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring actual battery multidimensional parameters of an actual loaded battery of the electronic equipment; comparing the actual battery multidimensional parameter with a standard distribution Chi Duowei parameter of the electronic equipment, and determining the matching degree of the actual loaded battery and the standard distribution battery; and determining the operation strategy of the electronic equipment according to the matching degree.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of any of the methods provided in the first aspect of the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a chip comprising: comprises a processor and an interface; the processor is configured to read instructions to perform the steps of any of the methods provided in the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
In the above technical solution, the actual battery multidimensional parameter of the actually loaded battery of the electronic device is obtained; comparing the actual battery multidimensional parameter with a standard distribution Chi Duowei parameter of the electronic equipment, and determining the matching degree of the actual loaded battery and the standard distribution battery; according to the method steps of determining the operation strategy of the electronic equipment according to the matching degree, the embodiment of the disclosure obtains the matching degree condition of the differentiated actually-loaded battery through the comparison of the multidimensional parameters, and then determines the operation strategy of the electronic equipment according to the matching degree condition, so that the problem that the potential hazards are caused to the safe use of the electronic equipment due to the fact that the battery ID resistance intervals with different specifications are possibly overlapped in the traditional battery ID resistance detection matching scheme can be effectively solved, and the use safety of the battery of the electronic equipment is improved.
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 disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flowchart illustrating a method of controlling an electronic device, according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating a method of controlling an electronic device, according to an example embodiment;
FIG. 3 is a flowchart illustrating a method of controlling an electronic device, according to an example embodiment;
FIG. 4 is a flowchart illustrating a method of controlling an electronic device, according to an example embodiment;
fig. 5 is a flowchart illustrating a control method of an electronic device according to another exemplary embodiment;
fig. 6 is a block diagram illustrating a control apparatus 600 of an electronic device according to an exemplary embodiment;
fig. 7 is a block diagram illustrating a control apparatus 700 of an electronic device according to another exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be noted that, all actions for acquiring signals, information or data in the present application are performed under the condition of conforming to the corresponding data protection rule policy of the country of the location and obtaining the authorization given by the owner of the corresponding device.
The embodiment of the disclosure is mainly applied to electronic equipment, and an exemplary electronic equipment can be mobile terminal equipment, and the embodiment of the disclosure is applied to a scene of detecting whether an actual battery loaded on the mobile terminal equipment is a standard battery or whether the mobile terminal equipment is required to be compatible with batteries adapting to different parameter specifications, and is described below by taking the mobile terminal equipment as an example.
The battery matching schemes of the mobile terminal equipment on the market at present mainly comprise the following two types:
1) Conventional battery ID resistance detection matching schemes.
2) The battery key encryption detects a matching scheme.
1) The implementation method of the traditional battery ID resistance detection matching scheme comprises the following steps: when the mobile terminal equipment is started, detecting and reading the ID resistance value of the used battery, matching the ID resistance value with a preset allowable ID resistance value range, and if the matching is successful, judging that the used battery is a standard battery; otherwise, the battery is a nonstandard battery. The applicant finds that the traditional battery ID resistance detection matching scheme has single judgment basis, is easy to be counterfeited and is easy to be illegally cracked by lawbreakers, and the counterfeit village battery is used for impersonating the normal factory battery to cheat the system for detection, so that the potential safety hazard is caused to the normal use of electronic equipment.
2) The battery key encryption detection matching scheme comprises the following implementation method: when the mobile terminal equipment is started, the random ciphertext is sent to the battery pack encryption module, then the battery pack encryption module and the equipment encryption module synchronously carry out encryption calculation by using a preset secret key, finally, the messages after encryption calculation of the two parties are matched, and if the matching is successful, the battery used is judged to be the standard battery; otherwise, the battery is a nonstandard battery. The applicant finds that the battery key encryption detection matching scheme has the defect of weaker compatibility and adaptation of multi-version batteries, and when two or more standard distribution batteries exist in the mobile terminal equipment, battery pack encryption modules with the same number as the types of the standard distribution batteries are required to be provided, so that the compatibility and the adaptability of the method are reduced, and the battery cost is correspondingly increased.
As described above, the conventional battery ID resistance detection matching scheme has a single judgment basis, and the battery is easily replaced improperly or maliciously, so that potential safety hazards are caused to normal use of the electronic device.
In view of the above, the present disclosure performs device battery matching degree level determination through multidimensional battery parameter comparison matching, realizes battery identification detection and differential compatible matching, and can determine an operation policy of an electronic device according to the matching degree. In the face of the defects of safety and compatibility of two existing main stream battery matching schemes of mobile terminal equipment, the technical scheme disclosed by the invention obtains the matching degree of an actual loaded battery by comparing multidimensional parameters under the condition that the mobile terminal equipment is started and a specific scene according to the characteristics of the battery in multiple dimensions and multiple parameters. The matching degree condition of the differentiated actually loaded battery is obtained through multi-dimensional and multi-parameter comparison, and then the operation strategy of the electronic equipment is determined according to the matching degree condition, so that the problem that the use potential safety hazard of the electronic equipment is caused by the fact that the battery ID resistance intervals of different equipment specifications in the traditional battery ID resistance detection matching scheme are possibly overlapped is effectively solved. In order to solve the problem of compatibility and adaptation of batteries of different versions, as different secret keys are not required to be adapted, battery pack encryption modules with the same number as that of the standard battery are not required to be provided, the problem that the battery key encryption detection scheme cannot be flexibly compatible and adapted to various batteries is effectively solved, and as the battery pack encryption modules are not required to be used, the battery cost is reduced.
Fig. 1 is a flowchart illustrating a control method of an electronic device according to an exemplary embodiment, and as shown in fig. 1, the control method of the electronic device is used in the electronic device, and includes the following steps:
in step S10, actual battery multidimensional parameters of an actual battery loaded in the electronic device are acquired.
The actual loading battery is a battery currently installed in the electronic equipment, the standard battery is an official approved standard original battery of the electronic equipment, and the actual loading battery can be a standard battery or a non-standard battery.
Exemplary, the standard power distribution Chi Duo dimensional parameters include a first fixed parameter and a first variable parameter of a standard battery of the electronic device; the actual battery multidimensional parameter includes a second fixed parameter and a second variable parameter of the actual loaded battery. For example, the first fixed parameter and the second fixed parameter may each include at least one of: ID resistance, encryption verification information, cell process type, cell manufacturer information, package manufacturer information, and nominal capacity value. For example, the first variable parameter and the second variable parameter may each include at least one of: battery cycle number, estimated capacity value. The ID resistance value is the resistance value of the battery ID resistance; the encryption verification information is key information for encryption verification; the cell process type is a battery cell type, such as a lithium battery and a nickel-metal hydride battery; the manufacturer information of the battery cell is the manufacturer information of the battery cell; the packaging manufacturer information is the packaging manufacturer information of the battery; the nominal capacity value is a battery typical capacity value; the battery cycle number is the actual charge cycle number of the battery; the estimated capacity value is the current actual battery capacity estimated based on the actual number of cycles of the battery.
In step S11, the actual multi-dimensional parameters of the battery are compared with the standard power distribution Chi Duowei parameters of the electronic device, and the matching degree between the actual loaded battery and the standard battery is determined.
For example, the first fixed parameter is compared with the second fixed parameter, and the first variable parameter is compared with the second variable parameter, so as to determine the matching degree of the actually-loaded battery and the standard battery. Illustratively, the matching degree may include: the first matching degree, the second matching degree or the third matching degree, wherein the first matching degree is smaller than the second matching degree, and the second matching degree is smaller than the third matching degree. For example, the first matching degree, the second matching degree, and the third matching degree may be set to a low level, a medium level, and a high level, respectively. It will be appreciated by those skilled in the art that in practical applications, each of the above-described matching degree levels may be further subdivided into more matching degree levels according to practical needs.
In step S12, an operation policy of the electronic device is determined according to the matching degree.
For example, at least one of an operation state, a charging power, and a battery maintenance degree of the electronic device may be determined according to the matching degree.
In an exemplary case, the matching degree is the first matching degree, and the first matching degree is the worst matching degree, which indicates that the actually loaded battery is a nonstandard distribution battery, so that in order to protect the safety of the electronic equipment, the electronic equipment is determined to be powered off, the charging power is the first power, and the battery maintenance degree is the first degree.
In the case that the matching degree is the second matching degree, since the second matching degree is the medium matching degree, which means that the actually loaded battery is the standard battery, but the performance has been reduced for a while, the operation state of the electronic device is determined to be maintained in the current operation state, the charging power is the second power, and the battery maintenance degree is the second degree.
In the case that the matching degree is the third matching degree, because the third matching degree is a higher matching degree, which indicates that the actually loaded battery is the standard battery, and the service time is not long and the performance is not obviously reduced, the operation state of the electronic equipment is determined to be the current operation state, the charging power is the third power, and the battery maintenance degree is the third degree.
The first matching degree is smaller than the second matching degree, the second matching degree is smaller than the third matching degree, the first power is smaller than the second power, the second power is smaller than the third power, the first degree is larger than the second degree, and the second degree is larger than the third degree.
In summary, according to the control method of the electronic device provided by the embodiment of the present disclosure, the actual battery multidimensional parameter of the actually loaded battery of the electronic device is obtained; comparing the actual battery multidimensional parameter with a standard distribution Chi Duowei parameter of the electronic equipment, and determining the matching degree of the actual loaded battery and the standard distribution battery; and determining the operation strategy of the electronic equipment according to the matching degree. According to the embodiment of the disclosure, the matching degree condition of the differentiated actually-loaded battery is obtained through the comparison of the multidimensional parameters, and the operation strategy of the electronic equipment is determined according to the matching degree condition, so that the problem that potential hazards are caused to the safe use of the electronic equipment because the battery ID resistance value intervals with different specifications in the traditional battery ID resistance detection matching scheme can be used in an improper mode or in a malicious mode due to overlapping is solved effectively.
Fig. 2 is a flowchart illustrating a control method of an electronic device according to an exemplary embodiment, and as shown in fig. 2, the step S11 may include the steps of:
in step S111, a target power distribution Chi Duowei parameter model of the electronic device is obtained, the target power distribution Chi Duowei parameter model is generated according to the target power distribution Chi Duowei parameter, and the target power distribution Chi Duowei parameter model includes the first fixed parameter and the first variable parameter.
Illustratively, a parameter model of the standard battery is obtained by classifying a part of parameters into a fixed parameter part and a part of parameters into a variable parameter part according to the characteristics of a plurality of parameters of the standard battery, wherein the parameter model is a multidimensional parameter array model.
For example, model x= { rid=rb, battauth=string 2, celltypep=li-Po, cellmfr=mfrb1, packmfr=mfrb2, desgcap=5000 mAh, cyclcnt=0, estcap=5000 mAh }.
Wherein Rid is ID resistance, battAuth is encryption verification information, celltype is a cell process type, cellMfr is cell manufacturer information, packMfr is packaging manufacturer information, desgCap is a nominal capacity value, cyclcnt is battery cycle number, estCap is an estimated capacity value, rb is resistance B, string2 is String2, li-Po is lithium polymer, mfrB1 is manufacturer B1, mfrB2 is manufacturer B2.
Wherein Rid, battAuth, cellTyp, cellMfr, packMfr, desgCap are fixed parameters and CycleCnt, estCap are variable parameters.
It should be noted that, obtaining the standard power distribution Chi Duowei parameter model of the electronic device may include: generating a standard distribution power Chi Duowei parameter model according to standard distribution power Chi Duowei parameters without creating the standard distribution power Chi Duowei parameter model; in the case where the standard power distribution Chi Duowei parametric model has been created, the current standard power distribution Chi Duowei parametric model is read.
When detecting the matching degree of the battery, the electronic device can search a standard distribution power Chi Duowei parameter model in the device memory, if the standard distribution power Chi Duowei parameter model is not found, the standard distribution power Chi Duowei parameter model is generated according to the standard distribution power Chi Duowei parameter, and if the standard distribution power Chi Duowei parameter model exists in the device memory, the current standard distribution power Chi Duowei parameter model data is read.
In step S112, an actual battery multidimensional parameter model is generated according to the actual battery multidimensional parameter, and the actual battery multidimensional parameter model includes the second fixed parameter and the second variable parameter.
For example, an actual battery multidimensional parameter model may be generated from actual battery multidimensional parameters, the actual battery multidimensional parameter model including a second fixed parameter and a second variable parameter, and for example, the second fixed parameter may include: ID resistance, encryption verification information, cell process type, cell manufacturer information, package manufacturer information, and nominal capacity value. Illustratively, the second variable parameter may include: battery cycle number, estimated capacity value. The process of establishing the actual multi-dimensional parameter model of the battery is similar to the process of establishing the parameter model of the standard battery, and is not repeated.
In step S113, the actual battery multidimensional parameter model is compared with the standard distribution Chi Duowei parameter model of the electronic device, and in the process of comparing the actual battery multidimensional parameter model with the standard distribution Chi Duowei parameter model, the first fixed parameter is compared with the second fixed parameter, and the first variable parameter is compared with the second variable parameter, so as to determine the matching degree of the actual loaded battery and the standard battery.
Fig. 3 is a flowchart illustrating a control method of an electronic device according to an exemplary embodiment, and as shown in fig. 3, the step S113 may include the steps of:
in step S1131, the first fixed parameter is compared with the second fixed parameter.
In step S1132, in the case where the first fixed parameter does not match the second fixed parameter, the matching degree is determined to be a first matching degree.
The first fixed parameter and the second fixed parameter can comprise a plurality of parameters, and the first fixed parameter is not matched with the second fixed parameter under the condition that any parameter in the first fixed parameter is not matched with the corresponding parameter in the second fixed parameter; in case each of the first fixed parameters matches each of the second fixed parameters, the first fixed parameters match the second fixed parameters.
For example, when the ID resistance, the encryption verification information, the type of the electrical core process, the information of the electrical core manufacturer, the information of the package manufacturer, and the nominal capacity value in the first fixed parameter are matched with the ID resistance, the encryption verification information, the type of the electrical core process, the information of the electrical core manufacturer, the information of the package manufacturer, and the parameters of the nominal capacity value in the second fixed parameter one by one, the first fixed parameter is matched with the second fixed parameter, wherein any parameter is not matched, and the first fixed parameter is not matched with the second fixed parameter. The first degree of matching may be a low degree of matching, for example. Through multidimensional parameter comparison, the potential safety hazard that the traditional battery ID resistance detection matching scheme has single judgment basis is solved.
In step S1133, under the condition that the first fixed parameter and the second fixed parameter are matched, a first difference value between the first variable parameter and the second variable parameter is obtained, and the matching degree is determined to be a first matching degree, a second matching degree or a third matching degree according to the first difference value, where the first matching degree is smaller than the second matching degree, and the second matching degree is smaller than the third matching degree.
The first variable parameter and the second variable parameter each at least comprise one battery parameter of the same type, and the first difference value is a difference value between at least one battery parameter of the same type in the first variable parameter and the second variable parameter.
The first variable parameter may include, for example, a number of battery cycles, an estimated capacity value, and the second variable parameter may also include a number of battery cycles, an estimated capacity value. The first difference may be a difference between two estimated capacity values.
Illustratively, the first degree of matching may be a low degree of matching, the second degree of matching may be a medium degree of matching, and the third degree of matching may be a high degree of matching. Therefore, the first difference value between the first variable parameter and the second variable parameter is used for determining that the matching degree is the first matching degree, the second matching degree or the third matching degree, and the problem that the battery ID resistance intervals of different equipment specifications in the traditional battery ID resistance detection matching scheme can be used improperly or maliciously due to overlapping, so that potential safety hazards of electronic equipment use are caused is effectively solved. In order to solve the problem of compatibility and adaptation of batteries of different versions, as different secret keys are not required to be adapted, battery pack encryption modules with the same number as that of the standard battery are not required to be provided, the problem that the battery key encryption detection scheme cannot be flexibly compatible and adapted to various batteries is effectively solved, and as the battery pack encryption modules are not required to be used, the battery cost is reduced.
Fig. 4 is a flowchart illustrating a control method of an electronic device according to an exemplary embodiment, and as shown in fig. 4, the step S1133 may include the steps of:
in step S11331, when the first specified parameter of the first variable parameters is different from the corresponding parameter of the second variable parameters, the first specified parameter is updated to the value of the corresponding parameter of the second variable parameters, so as to obtain the updated first specified parameter.
For example, the first specified parameter may be a battery cycle number, for example, when the battery cycle number of the standard battery is different from the battery cycle number of the actually loaded battery, the value of the battery cycle number of the standard battery is updated according to the battery cycle number of the actually loaded battery. For example, when the number of battery cycles of the standard battery is 0 and the number of battery cycles of the actual loaded battery is 300, the number of battery cycles of the updated standard battery is 300.
In step S11332, a second specified parameter in the first variable parameters is updated according to the updated first specified parameter, so as to obtain an updated second specified parameter, where the second specified parameter is a parameter associated with the first specified parameter.
The second specified parameter may be, for example, an estimated capacity value, which is derived from the updated number of battery cycles of the standard cell. The estimated capacity value is determined by the number of battery cycles. It is considered that the estimated capacity value should be 80% of the nominal capacity value after 800 cycles, and 80% or more of the nominal capacity value should be obtained when the number of cycles is less than 800 cycles, for example, when the number of cycles of the updated nominal battery is 300 mAh, the estimated capacity value should be about 90% of the nominal capacity value according to the empirical data, whereby the estimated capacity value of the nominal distribution cell is 4140mAh.
In step S11333, a second difference between the updated second specified parameter and the corresponding parameter in the second variable parameter is obtained.
In step S11334, in the case where the second difference is smaller than the first set threshold, the matching degree is determined to be the third matching degree.
In step S11335, the matching degree is determined to be the second matching degree if the second difference value is greater than or equal to the first set threshold value and less than a second set threshold value.
In step S11336, in the case where the second difference is greater than or equal to the second set threshold, the matching degree is determined to be the first matching degree.
For example, taking the nominal capacity as an example, in the case of the nominal capacity 4500mAh, the first set threshold may be set to 100mAh, the second set threshold may be set to 250mAh, when the estimated capacity value of the standard battery is 4140mAh and the estimated capacity value of the actually loaded battery is 3950mAh, the difference between the two values may be calculated to be 190mAh, and the difference falls between the first set threshold and the second set threshold, so that the actually loaded battery level may be determined to be the second matching level, i.e., the medium matching level.
By way of example, in one possible implementation, assuming that the first matching degree, the second matching degree, and the third matching degree are respectively a low level, a medium level, and a high level, the operation policy of the electronic device may be as shown in the following table 1:
TABLE 1
Figure BDA0003999240360000131
For example, in one possible implementation, it is assumed that a mobile terminal device supporting 66W fast charging has two standard batteries a and B, which are batteries manufactured by different manufacturers and having nominal capacities of 4500mAh and 5000mAh, respectively, but the decay rates are the same, so that a standard battery default matching model is constructed according to corresponding battery parameters, where:
Model a= { rid=ra, battauth=string 1, celltypep=li-Po, cellmfr=mfra1, packmfr=mfra2, desgcap=4500 mAh, cyclocnt=0, estcap=4500 mAh,
model b= { rid=rb, battauth=string 2, celltypep=li-Po, cellmfr=mfrb1, packmfr=mfrb2, desgcap=5000 mAh, cyclocnt=0, estcap=5000 mAh }.
Wherein Rid is ID resistance, battAuth is encryption verification information, celltype is cell process type, cellMfr is cell manufacturer information, packMfr is packaging manufacturer information, desgCap is nominal capacity value, cyclcnt is battery cycle number, estCap is estimated capacity value Ra is a resistance value a, string1 is a String1, li-Po is a lithium polymer, mfr A1 is a manufacturer A1, and Mfr A2 is a manufacturer A2.
Then, the first set threshold of the estimated capacity difference is set to 100mAh, and the second set threshold is set to 250mAh.
And setting triggering conditions of battery detection, for example, a 12h timer can be set for periodic monitoring, or the battery detection is started when the mobile terminal equipment is started, the battery connector is abnormal in bit state, the quick charge function is started and the battery maintenance function is triggered.
Then, the electronic device replaces a replacement battery C with a battery decay rate faster than A for use. For example, when the timer is completed, the battery detection is started, and the current battery cycle number is 300, so that the standard battery matching model parameters are updated as follows:
Model a= { rid=100k, battauth=string 1, celltypep=li-Po, cellmfr=mfra1, packmfr=mfra2, desgcap=4500 mAh, cyclcnt=300, estcap=4140 mAh },
model b= { rid=100k, battauth=string 2, celltypep=li-Po, cellmfr=mfrb1, packmfr=mfrb2, desgcap=5000 mAh, cyclcnt=300, estcap=4600 mAh }.
Meanwhile, the model parameters of the currently used battery C can be obtained as follows:
model c= { rid=100k, battauth=string 1, celltypep=li-Po, cellmfr=mfra1, packmfr=mfra2, desgcap=4500 mAh, cyclcnt=300, estcap=3950 mAh }.
And then, comparing the parameter data of the model C with the models A and B, and obtaining the matching of the model C and the model A according to the comparison of the fixed parameter parts, so that the variable parameter parts of the model C and the model A are selected for comparison. By comparison and calculation, it is confirmed that the difference between the estimated capacities of C and a is 4140-3950=190 mAh, and the value falls between the first set threshold and the second set threshold, so that the battery C is determined to be a medium matching degree level.
Finally, according to the battery matching degree grade and the device and battery license behavior comparison table (table 1), determining that the license behaviors of the actually loaded replacement battery C and electronic device are as follows: allowing the device to start up, the upper limit of the fast charge power to be 33W, battery maintenance and the like.
In summary, according to the technical scheme of the embodiment of the disclosure, the battery matching model is built through multiple parameters of the battery, and then the matching degree of the actually loaded battery is obtained through model parameter comparison according to the model characteristics of multiple dimensions and multiple parameters. The matching degree condition of the differentiated actually loaded battery is obtained through comparison of the multi-dimensional and multi-parameter composition model, and then the operation strategy of the electronic equipment is determined according to the matching degree condition, so that the problem that the use potential safety hazard of the electronic equipment is caused by improper replacement or malicious replacement possibly caused by overlapping of battery ID resistance intervals of different equipment specifications in the traditional battery ID resistance detection matching scheme is effectively solved. In order to solve the problem of compatibility and adaptation of batteries of different versions, as different secret keys are not required to be adapted, battery pack encryption modules with the same number as that of the standard battery are not required to be provided, the problem that the battery key encryption detection scheme cannot be flexibly compatible and adapted to various batteries is effectively solved, and as the battery pack encryption modules are not required to be used, the battery cost is reduced.
Fig. 5 is a flowchart showing a control method of an electronic device according to another exemplary embodiment, and as shown in fig. 5, the control method of the electronic device includes the steps of:
In step S510, detecting an actual battery loaded on the electronic device in response to reaching a preset battery detection trigger condition, so as to obtain the actual battery multidimensional parameter; wherein the trigger condition includes one or more of: the time interval from the last battery detection time reaches the duration of a set battery detection period; starting the electronic equipment; the state of the actually loaded battery is abnormal; the electronic device opens a specified function, the specified function including: a quick charge function or a battery maintenance function.
For example, in the case that a certain trigger condition is met, the actual battery loading of the electronic device is detected, so as to obtain the actual battery multidimensional parameter, for example, the trigger condition may include: the time interval from the last battery detection time reaches the duration of the set battery detection period, for example, the duration of the set battery detection period may be 24 hours or 48 hours. The trigger conditions may also include: the electronic device is started. When the equipment is started, detecting an actual loading battery to obtain actual parameters; when the state of the actually loaded battery is abnormal, for example, the connection of the FPC (Flexible Printed Circuit, flexible circuit board) is abnormal, the actually loaded battery is detected to acquire the actual parameters; when the electronic device turns on a specified function, such as a quick charge function or a battery maintenance function, the actually loaded battery is detected to obtain the actual parameters.
In step S520, a target power distribution Chi Duowei parameter model of the electronic device is obtained, the target power distribution Chi Duowei parameter model is generated according to the target power distribution Chi Duowei parameter, and the target power distribution Chi Duowei parameter model includes the first fixed parameter and the first variable parameter; generating an actual battery multidimensional parameter model according to the actual battery multidimensional parameter, wherein the actual battery multidimensional parameter model comprises the second fixed parameter and the second variable parameter.
The first fixed parameter and the second fixed parameter may refer to step S111 and step S112, and the method for obtaining the standard power distribution Chi Duowei parameter may also be according to the content described in step S111, which is not described herein.
In step S530, the actual battery multidimensional parameter model is compared with the standard power distribution Chi Duowei parameter model of the electronic device, the first fixed parameter is compared with the second fixed parameter, and the first variable parameter is compared with the second variable parameter during the process of comparing the actual battery multidimensional parameter model with the standard power distribution Chi Duowei parameter model.
For example, the method for comparing the actual multi-dimensional parameter model of the battery with the standard power distribution Chi Duowei parameter model of the electronic device may refer to the above step S113 and steps S1131-S1133, which are not described herein.
In step S540, in the case where the first fixed parameter does not match the second fixed parameter, the matching degree is determined to be a first matching degree.
In step S550, when the first fixed parameter is matched with the second fixed parameter and the first specified parameter in the first variable parameter is different from the corresponding parameter in the second variable parameter, the first specified parameter is updated to the value of the corresponding parameter in the second variable parameter, so as to obtain the updated first specified parameter.
In step S560, a second specified parameter in the first variable parameters is updated according to the updated first specified parameter, so as to obtain an updated second specified parameter, where the second specified parameter is a parameter associated with the first specified parameter.
In this step, the methods of step S540 and step S550 can be referred to the methods of steps S11331 and S11332, and will not be described herein.
In step S570, a first difference value between the first variable parameter and the second variable parameter is obtained, and the matching degree is determined to be the third matching degree if the second difference value is smaller than a first set threshold value; determining that the matching degree is the second matching degree under the condition that the second difference value is larger than or equal to the first set threshold value and smaller than a second set threshold value; and determining the matching degree as the first matching degree under the condition that the second difference value is larger than or equal to the second set threshold value.
In this step, the method for obtaining the first difference between the first variable parameter and the second variable parameter and the method for determining the matching degree level refer to the foregoing steps S11333 to S11336, and are not described herein.
In step S580, at least one of an operation state, a charging power, and a battery maintenance degree of the electronic device is determined according to the matching degree.
The step S580 may include:
under the condition that the matching degree is the first matching degree, determining that the running state of the electronic equipment is a shutdown state, wherein the charging power is the first power, and the battery maintenance degree is the first degree; illustratively, the first degree of matching may be a low degree of matching, the first power may be 20% of the rated charge power, and the first degree may be deep maintenance.
Under the condition that the matching degree is the second matching degree, determining the running state of the electronic equipment to be the current running state, wherein the charging power is the second power, and the battery maintenance degree is the second degree; illustratively, the second level of match may be a medium level of match, the second power may be 50% of the rated charge power, and the second level may be medium maintenance.
Under the condition that the matching degree is the third matching degree, determining the running state of the electronic equipment to be the current running state, wherein the charging power is the third power, and the battery maintenance degree is the third degree; illustratively, the third level of match may be a high level of match, the third power may be 100% of the rated charge power, and the third level may be regular maintenance.
The first matching degree is smaller than the second matching degree, the second matching degree is smaller than the third matching degree, the first power is smaller than the second power, the second power is smaller than the third power, the first degree is larger than the second degree, and the second degree is larger than the third degree.
In summary, according to the technical scheme of the embodiment of the disclosure, a battery matching model is constructed through multiple parameters of the battery, then different battery parameter detection triggering conditions are set, and the matching degree of the actually loaded battery is obtained through model parameter comparison according to multi-dimensional and multi-parameter model characteristics. The matching degree condition of the differentiated actually loaded battery is obtained through comparison of the multi-dimensional and multi-parameter composition model, and then the operation strategy of the electronic equipment is determined according to the matching degree condition, so that the problem that the use potential safety hazard of the electronic equipment is caused by improper replacement or malicious replacement possibly caused by overlapping of battery ID resistance intervals of different equipment specifications in the traditional battery ID resistance detection matching scheme is effectively solved. In order to solve the problem of compatibility and adaptation of batteries of different versions, as different secret keys are not required to be adapted, battery pack encryption modules with the same number as that of the standard battery are not required to be provided, the problem that the battery key encryption detection scheme cannot be flexibly compatible and adapted to various batteries is effectively solved, and as the battery pack encryption modules are not required to be used, the battery cost is reduced. In addition, as different battery detection triggering conditions are set and different permission strategies are executed according to corresponding comparison results, the safe use and maintenance of the full life cycle of the battery are realized.
Fig. 6 is a block diagram illustrating a control apparatus 600 of an electronic device according to an exemplary embodiment, and referring to fig. 6, the apparatus includes a first acquisition module 610, a first comparison module 620, and a first determination module 630.
A first obtaining module 610 configured to obtain an actual battery multidimensional parameter of an actual loaded battery of the electronic device;
a first comparing module 620 configured to compare the actual battery multidimensional parameter with a standard power distribution Chi Duowei parameter of the electronic device, and determine a matching degree of the actual loaded battery and the standard battery;
a first determining module 630 is configured to determine an operation policy of the electronic device according to the matching degree.
Optionally, the standard power distribution Chi Duo dimensional parameter in the first comparing module 620 includes a first fixed parameter and a first variable parameter of a standard battery of the electronic device; the actual battery multidimensional parameter includes a second fixed parameter and a second variable parameter of the actual loaded battery.
Optionally, the first fixed parameter and the second fixed parameter each include at least one of: ID resistance value, encryption verification information, battery cell process type, battery cell manufacturer information, packaging manufacturer information and nominal capacity value, wherein the first variable parameter and the second variable parameter comprise at least one of the following: battery cycle number, estimated capacity value.
Optionally, the comparing the actual battery multidimensional parameter with the standard power distribution Chi Duowei parameter of the electronic device in the first comparing module 620, determining the matching degree of the actual loaded battery and the standard battery includes:
comparing the first fixed parameter with the second fixed parameter, and comparing the first variable parameter with the second variable parameter to determine the matching degree of the actual loaded battery and the standard battery. Wherein each parameter in the first fixed parameters is compared with each parameter in the second fixed parameters; in the case that any one of the first fixed parameters does not match a corresponding one of the second fixed parameters, the first fixed parameter does not match the second fixed parameter; in case each of the first fixed parameters matches each of the second fixed parameters, the first fixed parameters match the second fixed parameters.
Optionally, the control apparatus 600 of an electronic device further includes a second obtaining module configured to obtain a target power distribution Chi Duowei parameter model of the electronic device, the target power distribution Chi Duowei parameter model being generated according to the target power distribution Chi Duowei parameter, the target power distribution Chi Duowei parameter model including the first fixed parameter and the first variable parameter. Generating an actual battery multidimensional parameter model according to the actual battery multidimensional parameter, wherein the actual battery multidimensional parameter model comprises the second fixed parameter and the second variable parameter. Wherein, the obtaining the standard distribution Chi Duowei parameter model of the electronic device includes: generating the target power distribution Chi Duowei parametric model from the target power distribution Chi Duowei parameters without creating the target power distribution Chi Duowei parametric model; with the standard power distribution Chi Duowei parametric model created, the current standard power distribution Chi Duowei parametric model is read.
Optionally, the control apparatus 600 of the electronic device further comprises a second determining module configured to compare the first fixed parameter with the second fixed parameter; under the condition that the first fixed parameter is not matched with the second fixed parameter, determining the matching degree as a first matching degree; under the condition that the first fixed parameter is matched with the second fixed parameter, a first difference value of the first variable parameter and the second variable parameter is obtained, the matching degree is determined to be a first matching degree, a second matching degree or a third matching degree according to the first difference value, the first matching degree is smaller than the second matching degree, and the second matching degree is smaller than the third matching degree.
Optionally, in the second determining module, when the first fixed parameter matches the second fixed parameter, a first difference value between the first variable parameter and the second variable parameter is obtained, and the matching degree is determined to be a first matching degree, a second matching degree or a third matching degree according to the first difference value, including:
updating the first specified parameter to the value of the corresponding parameter in the second variable parameter under the condition that the first specified parameter in the first variable parameter is different from the corresponding parameter in the second variable parameter, so as to obtain the updated first specified parameter;
Updating a second specified parameter in the first variable parameters according to the updated first specified parameter to obtain an updated second specified parameter, wherein the second specified parameter is a parameter related to the first specified parameter; acquiring a second difference value of the updated second designated parameter and a corresponding parameter in the second variable parameter; determining the matching degree as the third matching degree under the condition that the second difference value is smaller than a first set threshold value; determining that the matching degree is the second matching degree under the condition that the second difference value is larger than or equal to the first set threshold value and smaller than a second set threshold value; and determining the matching degree as the first matching degree under the condition that the second difference value is larger than or equal to the second set threshold value.
Optionally, in the first determining module 630, the determining an operation policy of the electronic device according to the matching degree includes: according to the matching degree, determining at least one of the running state, the charging power and the battery maintenance degree of the electronic equipment comprises the following steps:
under the condition that the matching degree is the first matching degree, determining that the running state of the electronic equipment is a shutdown state, wherein the charging power is the first power, and the battery maintenance degree is the first degree;
Under the condition that the matching degree is the second matching degree, determining the running state of the electronic equipment to be the current running state, wherein the charging power is the second power, and the battery maintenance degree is the second degree;
under the condition that the matching degree is the third matching degree, determining the running state of the electronic equipment to be the current running state, wherein the charging power is the third power, and the battery maintenance degree is the third degree;
the first matching degree is smaller than the second matching degree, the second matching degree is smaller than the third matching degree, the first power is smaller than the second power, the second power is smaller than the third power, the first degree is larger than the second degree, and the second degree is larger than the third degree.
Optionally, the control device 600 of the electronic device further includes a triggering module configured to detect an actual battery loaded on the electronic device to obtain the actual battery multidimensional parameter in response to reaching a preset battery detection triggering condition;
wherein the trigger condition includes one or more of:
the time interval from the last battery detection time reaches the duration of a set battery detection period;
Starting the electronic equipment;
the state of the actually loaded battery is abnormal;
the electronic device opens a specified function, the specified function including: a quick charge function or a battery maintenance function.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The present disclosure also provides a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the control method of the electronic device provided by the present disclosure.
In summary, in the technical solution of the embodiment of the present disclosure, the first obtaining module 610 is configured to obtain the actual battery multidimensional parameter of the actual battery of the electronic device; a first comparing module 620 configured to compare the actual battery multidimensional parameter with a standard power distribution Chi Duowei parameter of the electronic device, and determine a matching degree of the actual loaded battery and the standard battery; the first determining module 630 is configured to determine an operation policy of the electronic device according to the matching degree, so as to effectively solve the problem that the battery ID resistance value intervals with different device specifications in the traditional battery ID resistance detection matching scheme may have improper replacement or malicious replacement caused by overlapping, thereby causing potential safety hazards in use of the electronic device. In order to solve the problem of compatibility and adaptation of batteries of different versions, as different secret keys are not required to be adapted, battery pack encryption modules with the same number as that of the standard battery are not required to be provided, the problem that the battery key encryption detection scheme cannot be flexibly compatible and adapted to various batteries is effectively solved, and as the battery pack encryption modules are not required to be used, the battery cost is reduced. In addition, as different battery detection triggering conditions are set and different permission strategies are executed according to corresponding comparison results, the safe use and maintenance of the full life cycle of the battery are realized.
Fig. 7 is a block diagram illustrating a control apparatus 700 of an electronic device according to another exemplary embodiment. For example, apparatus 700 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 7, an apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the apparatus 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 can include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on the apparatus 700, contact data, phonebook data, messages, pictures, videos, and the like. The memory 704 may be implemented by any type or combination of volatile or nonvolatile 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 disk.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 700.
The multimedia component 708 includes a screen between the device 700 and the user that provides an output interface. 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 input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the apparatus 700 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 further includes a speaker for outputting audio signals.
The input/output interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, the sensor assembly 714 may detect an on/off state of the device 700, a relative positioning of the components, such as a display and keypad of the device 700, a change in position of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, an orientation or acceleration/deceleration of the device 700, and a change in temperature of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 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 714 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate communication between the apparatus 700 and other devices in a wired or wireless manner. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 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 700 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, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 704, including instructions executable by processor 720 of apparatus 700 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
The apparatus may be a stand-alone electronic device or may be part of a stand-alone electronic device, for example, in one embodiment, the apparatus may be an integrated circuit (Integrated Circuit, IC) or a chip, where the integrated circuit may be an IC or may be a collection of ICs; the chip may include, but is not limited to, the following: GPU (Graphics Processing Unit, graphics processor), CPU (Central Processing Unit ), FPGA (Field Programmable Gate Array, programmable logic array), DSP (Digital Signal Processor ), ASIC (Application Specific Integrated Circuit, application specific integrated circuit), SOC (System on Chip, SOC, system on Chip or System on Chip), etc. The integrated circuits or chips may be used to execute executable instructions (or code) to implement the control methods of the electronic devices described above. The executable instructions may be stored on the integrated circuit or chip or may be retrieved from another device or apparatus, such as the integrated circuit or chip including a processor, memory, and interface for communicating with other devices. The executable instructions may be stored in the memory, which when executed by the processor, implement the control method of the electronic device described above; alternatively, the integrated circuit or the chip may receive the executable instruction through the interface and transmit the executable instruction to the processor for execution, so as to implement the control method of the electronic device.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned control method of an electronic device when being executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1. A control method of an electronic apparatus, characterized by comprising:
Acquiring actual battery multidimensional parameters of an actual loaded battery of the electronic equipment;
comparing the actual battery multidimensional parameter with a standard distribution Chi Duowei parameter of the electronic equipment, and determining the matching degree of the actual loaded battery and the standard distribution battery;
and determining the operation strategy of the electronic equipment according to the matching degree.
2. The method of claim 1, wherein the standard power distribution Chi Duo dimensional parameter comprises a first fixed parameter and a first variable parameter of a standard battery of the electronic device; the actual battery multidimensional parameter comprises a second fixed parameter and a second variable parameter of the actual loaded battery;
comparing the actual battery multidimensional parameter with a standard distribution Chi Duowei parameter of the electronic device, and determining the matching degree of the actual loaded battery and the standard distribution battery comprises the following steps:
comparing the first fixed parameter with the second fixed parameter, and comparing the first variable parameter with the second variable parameter to determine the matching degree of the actual loaded battery and the standard battery.
3. The method of claim 2, wherein comparing the first fixed parameter with the second fixed parameter and comparing the first variable parameter with the second variable parameter, determining the degree of matching of the actual loaded battery to the standard battery comprises:
Comparing the first fixed parameter with the second fixed parameter;
under the condition that the first fixed parameter is not matched with the second fixed parameter, determining the matching degree as a first matching degree;
under the condition that the first fixed parameter is matched with the second fixed parameter, a first difference value of the first variable parameter and the second variable parameter is obtained, the matching degree is determined to be a first matching degree, a second matching degree or a third matching degree according to the first difference value, the first matching degree is smaller than the second matching degree, and the second matching degree is smaller than the third matching degree.
4. A method according to claim 2 or 3, wherein the first fixed parameter and the second fixed parameter each comprise a plurality of parameters, and the comparing the first fixed parameter with the second fixed parameter comprises:
comparing each parameter correspondence in the first fixed parameter with each parameter in the second fixed parameter;
determining that the first fixed parameter is not matched with the second fixed parameter under the condition that any one of the first fixed parameters is not matched with the corresponding parameter in the second fixed parameter;
And under the condition that all parameters in the first fixed parameters are matched with corresponding all parameters in the second fixed parameters, determining that the first fixed parameters are matched with the second fixed parameters.
5. The method of claim 4, wherein, in the case where the first fixed parameter matches the second fixed parameter, obtaining a first difference between the first variable parameter and the second variable parameter, and determining the matching degree as a first matching degree, a second matching degree, or a third matching degree according to the first difference comprises:
updating the first specified parameter to the value of the corresponding parameter in the second variable parameter under the condition that the first specified parameter in the first variable parameter is different from the corresponding parameter in the second variable parameter, so as to obtain the updated first specified parameter;
updating a second specified parameter in the first variable parameters according to the updated first specified parameter to obtain an updated second specified parameter, wherein the second specified parameter is a parameter related to the first specified parameter;
acquiring a second difference value of the updated second designated parameter and a corresponding parameter in the second variable parameter;
Determining the matching degree as the third matching degree under the condition that the second difference value is smaller than a first set threshold value;
determining that the matching degree is the second matching degree under the condition that the second difference value is larger than or equal to the first set threshold value and smaller than a second set threshold value;
and determining the matching degree as the first matching degree under the condition that the second difference value is larger than or equal to the second set threshold value.
6. The method of claim 1, wherein obtaining the actual battery multi-dimensional parameters of the actual battery loaded of the electronic device comprises:
detecting an actual loaded battery of the electronic equipment in response to reaching a preset battery detection triggering condition so as to acquire the actual battery multidimensional parameter;
wherein the trigger condition includes one or more of:
the time interval from the last battery detection time reaches the duration of a set battery detection period;
starting the electronic equipment;
the state of the actually loaded battery is abnormal;
the electronic device opens a specified function, the specified function including: a quick charge function or a battery maintenance function.
7. The method of claim 1, wherein the determining the operating policy of the electronic device based on the degree of matching comprises:
And determining at least one of the running state, the charging power and the battery maintenance degree of the electronic equipment according to the matching degree.
8. The method of claim 7, wherein determining at least one of an operational status, a charging power, and a battery maintenance level of the electronic device based on the degree of matching comprises:
under the condition that the matching degree is the first matching degree, determining that the running state of the electronic equipment is a shutdown state, wherein the charging power is the first power, and the battery maintenance degree is the first degree;
under the condition that the matching degree is the second matching degree, determining the running state of the electronic equipment to be the current running state, wherein the charging power is the second power, and the battery maintenance degree is the second degree;
under the condition that the matching degree is the third matching degree, determining the running state of the electronic equipment to be the current running state, wherein the charging power is the third power, and the battery maintenance degree is the third degree;
the first matching degree is smaller than the second matching degree, the second matching degree is smaller than the third matching degree, the first power is smaller than the second power, the second power is smaller than the third power, the first degree is larger than the second degree, and the second degree is larger than the third degree.
9. A method according to claim 2 or 3, wherein the first and second fixed parameters each comprise at least one of: ID resistance value, encryption verification information, battery cell process type, battery cell manufacturer information, packaging manufacturer information and nominal capacity value, wherein the first variable parameter and the second variable parameter comprise at least one of the following: battery cycle number, estimated capacity value.
10. A control device for an electronic apparatus, comprising:
an acquisition module configured to acquire actual battery multidimensional parameters of an actual loaded battery of the electronic device;
the comparison module is configured to compare the actual battery multidimensional parameter with a standard distribution Chi Duowei parameter of the electronic equipment and determine the matching degree of the actual loaded battery and the standard distribution battery;
and the determining module is configured to determine the operation strategy of the electronic equipment according to the matching degree.
11. A control device for an electronic apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring actual battery multidimensional parameters of an actual loaded battery of the electronic equipment; comparing the actual battery multidimensional parameter with a standard distribution Chi Duowei parameter of the electronic equipment, and determining the matching degree of the actual loaded battery and the standard distribution battery; and determining the operation strategy of the electronic equipment according to the matching degree.
12. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of any of claims 1-9.
13. A chip, comprising a processor and an interface; the processor is configured to read instructions to perform the method of any one of claims 1-9.
CN202211609936.5A 2022-12-14 2022-12-14 Control method and device of electronic equipment, storage medium and chip Pending CN116009670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211609936.5A CN116009670A (en) 2022-12-14 2022-12-14 Control method and device of electronic equipment, storage medium and chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211609936.5A CN116009670A (en) 2022-12-14 2022-12-14 Control method and device of electronic equipment, storage medium and chip

Publications (1)

Publication Number Publication Date
CN116009670A true CN116009670A (en) 2023-04-25

Family

ID=86027433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211609936.5A Pending CN116009670A (en) 2022-12-14 2022-12-14 Control method and device of electronic equipment, storage medium and chip

Country Status (1)

Country Link
CN (1) CN116009670A (en)

Similar Documents

Publication Publication Date Title
US6972542B2 (en) System and method for battery verification
CN107843802A (en) Internal short-circuit detection method and device
US20100022277A1 (en) Mobile terminal having expansion module and method of controlling operation of the mobile terminal
JP7100696B2 (en) Battery charging method, battery charging device and storage medium
CN108091808B (en) Battery, equipment, charging control method and device
CN104779420B (en) Method for charging batteries and device
CN104967593A (en) Identity verification method, apparatus and system
US20220060042A1 (en) Charging control method, electronic device and storage medium
CN108091809A (en) Battery, equipment, charge control method and device
CN105162193A (en) Charging method and charging apparatus for terminal, and terminal
CN106786997A (en) Charging method and device
CN106169798A (en) High-voltage charging system, high-voltage charging battery and terminal unit
CN107331910A (en) Charging method and device
CN106877451B (en) Charging port short-circuit protection method and device
CN109327055A (en) Charging method, terminal device and storage medium
CN113759259A (en) Battery identification method, identification device, battery, identification device and storage medium
CN116009670A (en) Control method and device of electronic equipment, storage medium and chip
WO2021092769A1 (en) Security protection method and device, mobile terminal, and storage medium
JP5802590B2 (en) Mobile terminal and control method thereof
CN112636402A (en) Charging method and device and electronic equipment
WO2023230768A1 (en) Battery encryption circuit, battery check method and apparatus, device and storage medium
CN111953842A (en) Electronic equipment, safety protection method and device
CN116545081B (en) Charging control method, device, equipment and storage medium
EP4322366A1 (en) Method and apparatus of charging processing and storage medium
WO2023097961A1 (en) Battery authentication method and apparatus for terminal, electronic device and 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