CN117527961A - Control method and device of functional component, module equipment and storage medium - Google Patents

Control method and device of functional component, module equipment and storage medium Download PDF

Info

Publication number
CN117527961A
CN117527961A CN202311519667.8A CN202311519667A CN117527961A CN 117527961 A CN117527961 A CN 117527961A CN 202311519667 A CN202311519667 A CN 202311519667A CN 117527961 A CN117527961 A CN 117527961A
Authority
CN
China
Prior art keywords
information
functional component
battery
control information
electronic device
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
CN202311519667.8A
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.)
Shenzhen Neoway Technology Co Ltd
Original Assignee
Shenzhen Neoway Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Neoway Technology Co Ltd filed Critical Shenzhen Neoway Technology Co Ltd
Priority to CN202311519667.8A priority Critical patent/CN117527961A/en
Publication of CN117527961A publication Critical patent/CN117527961A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a control method, a control device, module equipment and a storage medium of a functional component, wherein the method comprises the following steps: responding to a management event aiming at a functional component in the electronic equipment, and acquiring unique identification information of the electronic equipment; based on the unique identification information, obtaining model information of the functional component; acquiring control information of the functional component based on the model information of the functional component; and loading the acquired control information of the functional components, and managing the functional components according to the indication of the control information. Based on the method described in the application, the model of the functional component of the electronic equipment is obtained through the unique identification information by utilizing the characteristic of the one-to-one correspondence between the unique identification information and the electronic equipment, and then the control information of the functional component is obtained so as to control the functional component, an ADC detection circuit is not required to be arranged, and the scheme is simple and reliable to realize and can reduce the hardware cost.

Description

Control method and device of functional component, module equipment and storage medium
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a method, an apparatus, a module device, and a storage medium for controlling a functional component.
Background
With the development of mobile communication technology, the use of mobile communication terminals in life is becoming more popular, and mobile communication terminals are becoming indispensable devices in modern society life, such as most common mobile phones, tablet devices, and the like.
For a product hardware design of a mobile communication terminal, in order to ensure that the product can be delivered normally, costs of various functional devices (e.g., battery, screen, switching unit, etc.) and corresponding lead times need to be considered, and thus compatible designs of various functional device models need to be considered in a hardware design stage.
Meanwhile, control information of different functional devices is different, and how to control and manage the different functional devices becomes a problem to be solved.
Disclosure of Invention
The application provides a control method, a control device, module equipment and a storage medium for functional components, which can realize control of different functional components, reduce hardware cost and are simple and reliable.
In a first aspect, the present application provides a method for controlling a functional component of an electronic device, where the method includes: responding to a management event aiming at a functional component in the electronic equipment, and acquiring unique identification information of the electronic equipment; based on the unique identification information, obtaining model information of the functional component; acquiring control information of the functional component based on the model information of the functional component; and loading the acquired control information of the functional component, and managing the functional component according to the indication of the control information.
Based on the method described in the first aspect, the model of the functional component of the electronic device is obtained through the unique identification information by utilizing the characteristic of the one-to-one correspondence between the unique identification information and the electronic device, and then the control information of the functional component is obtained to control the functional component, so that an ADC detection circuit is not required to be arranged, the scheme is simple and reliable to realize, and the hardware cost can be reduced.
In one possible implementation, obtaining model information of the functional component based on the unique identification information includes: reading mapping relation information stored in the electronic equipment, wherein the mapping relation information comprises mapping relation between unique identification information and the model of the functional component; obtaining model information of the functional component according to the unique identification information and the mapping relation; wherein the mapping relation information is preset and stored in a server and/or the electronic equipment capable of transmitting data with the electronic equipment. Based on the mode, the model information of the functional components of the electronic equipment is obtained through the mapping information, so that the obtaining efficiency is improved, and the later maintenance of the electronic equipment is facilitated.
In one possible implementation manner, the control information of the functional component is integrated in the electronic device in advance, and based on the model information of the functional component, the obtaining the control information of the functional component includes: according to the model information of the functional component, acquiring a storage address of control information of the functional component in the electronic equipment; control information for the functional component is obtained from the deposit address, wherein the unique identification information comprises at least one of an international mobile equipment identity IMEI, a medium access control MAC address, a product serial number SN, and a mobile equipment identity MEID. Based on the mode, the accuracy of the boundary of the three-dimensional point cloud corresponding to the determined target line segment is improved.
In one possible implementation manner, when the acquired unique identification information of the electronic device is multiple, the method further includes: checking the acquired multiple unique identification information to determine effective identification information; and determining the model information of the functional component according to the determined effective identification information. Based on the mode, accurate acquisition of model information of the functional component is facilitated.
In one possible implementation, when the functional component is a battery, the method further includes: recording a current value and/or a voltage value of the battery with respect to time; when detecting that the electronic equipment has an abnormal electric quantity event, sending a notification message carrying the recorded current value and/or voltage value to a server, wherein the notification message is used for triggering the server to analyze the model of the battery according to the recorded current value and/or voltage value; and receiving feedback information from the server side, and updating mapping relation information stored in the electronic equipment according to the feedback information, wherein the feedback information comprises model information of the battery determined by the server side after analysis. Based on the mode, the compatibility and the control capability of the electronic device to the functional components are further enhanced.
In one possible implementation manner, if feedback information from the server is not received, correcting the current value and/or the voltage value of the battery with respect to time in the control information according to the recorded current value and/or the voltage value of the battery with respect to time, and generating temporary control information; managing the battery based on the temporary control information, and monitoring whether the electronic equipment has an abnormal electric quantity event or not; if the electric quantity abnormal event of the electronic equipment is not monitored, saving the temporary control information as newly-increased control information, and setting a newly-increased battery model mark corresponding to the newly-increased control information; and updating the mapping relation information stored in the electronic equipment according to the newly added battery model mark. Based on the mode, the compatibility and the control capability of the electronic device to the functional components are further enhanced.
In one possible implementation, the power anomaly event includes: at least one of power failure without triggering low-power early warning, difference between the recorded battery operation parameter of the battery with respect to time and the battery operation parameter of the battery with respect to time in the control information exceeding a preset threshold, and number of times of occurrence of difference between the recorded battery operation parameter of the battery with respect to time and the battery operation parameter of the battery with respect to time in the control information exceeding a predetermined number of times.
In a second aspect, the present application provides an electronic device, including:
the electronic equipment comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for responding to a management event aiming at a functional component in the electronic equipment and acquiring unique identification information of the electronic equipment; the acquisition unit is also used for acquiring the model information of the functional component based on the unique identification information; the acquisition unit is also used for acquiring control information of the functional component based on the model information of the functional component; and the loading unit is used for loading the acquired control information of the functional component.
In a third aspect, the present application provides a module apparatus, the module apparatus comprising a communication module, a power module, a storage module and a chip, wherein: the power supply module is used for providing electric energy for the module equipment; the storage module is used for storing data and instructions; the communication module is used for carrying out internal communication of the module equipment or carrying out communication between the module equipment and external equipment; the chip is for performing the method of the first aspect described above or any one of its possible implementations.
In a fourth aspect, an embodiment of the invention discloses an electronic device comprising a memory for storing a computer program comprising program instructions, and a processor configured to invoke the program instructions to perform the method of the first aspect or any of its possible implementations.
In a fifth aspect, the present application provides a computer readable storage medium having stored therein computer readable instructions which, when run on an electronic device, cause the electronic device to perform the method of the first aspect or any one of the possible implementations thereof.
In a sixth aspect, the present application provides a computer program or computer program product comprising code or instructions which, when run on a computer, cause the computer to perform the method as in the first aspect or any one of its possible implementations.
Drawings
Fig. 1 is a flowchart of a control method for a functional component of an electronic device according to an embodiment of the present application;
FIG. 2 is a flow chart of another control method for a functional component of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another electronic device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a module device according to an embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terminology used in the following embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates to the contrary. It should also be understood that the term "and/or" as used in this application refers to and encompasses any or all possible combinations of one or more of the listed items.
It should be noted that, in the description and claims of the present application and in the above figures, the terms "first," "second," "third," etc. are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the present application described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
In the control process of the electronic device for various different functional components thereof, an ADC detection circuit is generally required to identify the model of the functional component, so as to load corresponding control information to control the functional component. In order to reduce the hardware cost of the electronic equipment and realize the control of different functional components, the application provides a control method for the functional components of the electronic equipment. In a specific implementation, the above-mentioned control method for the functional components of the electronic device may be performed by the terminal device. The following describes a terminal device:
the terminal device comprises a device for providing voice and/or data connectivity to a user, for example, the terminal device is a device with wireless transceiver functions, which can be deployed on land, including indoor or outdoor, hand-held, wearable or vehicle-mounted; can also be deployed on the water surface (such as ships, etc.); but may also be deployed in the air (e.g., on aircraft, balloon, satellite, etc.). The terminal may be a mobile phone, a tablet (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in an industrial control (industrial control), a vehicle-mounted terminal device, a wireless terminal in a self driving (self driving), a wireless terminal in a remote medical (remote medical), a wireless terminal in a smart grid (smart grid), a wireless terminal in a transportation security (transportation safety), a wireless terminal in a smart city (smart home), a wireless terminal in a smart home (smart home), a wearable terminal device, or the like. The embodiments of the present application are not limited to application scenarios. A terminal may also be referred to as a terminal device, user Equipment (UE), access terminal device, vehicle-mounted terminal, industrial control terminal, UE unit, UE station, mobile station, remote terminal device, mobile device, UE terminal device, wireless communication device, UE agent, UE apparatus, or the like. The terminal may also be fixed or mobile. In addition, the means for realizing the functions of the terminal device may be the terminal device, or may be a means capable of supporting the terminal device to realize the functions, for example, a chip system or a combination device, a component, or the like capable of realizing the functions of the terminal device, which may be installed in the terminal device.
Referring to fig. 1, fig. 1 is a flowchart of a control method for a functional component of an electronic device according to an embodiment of the present application. The method execution body shown in fig. 1 includes a terminal device (such as the terminal device mentioned above). Alternatively, the method execution body shown in fig. 1 includes a chip, a chip system, or a processor in the terminal device. Alternatively, the method execution body shown in fig. 1 may also be a logic module or software capable of implementing all or part of the functions of the terminal device. The execution subject of the control method for the functional components of the electronic device is not limited in the embodiments of the present application. As shown in fig. 1, the control method for the functional components of the electronic device includes the steps of:
s101, responding to management events aiming at functional components in the electronic equipment, and acquiring unique identification information of the electronic equipment.
The electronic device may trigger a management event for a corresponding functional component in the electronic device when a particular functional component is or is about to be enabled. The electronic device may obtain unique identification information for the electronic device in response to management events for the functional components.
The unique identification information is used to identify a unique identity of the electronic device. The electronic device may be, for example, a terminal device, and the unique identification information may be, respectively, and not limited to, an international mobile equipment identification (International Mobile Equipment Identity, IMEI), a product Serial Number (SN), a mobile equipment identification (Mobile Equipment Identifier, MEID), a medium access control (Media Access Control Address, MAC) address of the terminal device.
The electronic device may obtain the unique identification information through a corresponding interface. For example, the IMEI may support a terminal device to read and query, and the general chip platform may provide a corresponding interface for querying the IMEI, which is an IMEI interface provided by a chip platform as follows:
#define IMEI_STR_LEN(15)
typedef struct
{
char ch[IMEI_STR_LEN];
}nvmImeiStr_t;
int nvmReadImeiStr(int index,nvmImeiStr_t*str)
when the electronic device is a terminal device and the unique identification information to be acquired is an IMEI, the electronic device may acquire its IMEI through an interface similar to the above.
S102, based on the unique identification information, model information of the functional component is obtained.
After the unique identification information is acquired, the electronic device can acquire model information of the functional component which needs to be controlled based on the acquired unique identification information.
A functional component may be a module or a part of an electronic device that implements a particular function or service. For example, the functional component may be a battery component for providing a power supply for the electronic device.
In one possible implementation manner, obtaining model information of the functional component based on the unique identification information may include: reading mapping relation information stored in the electronic equipment, wherein the mapping relation information comprises mapping relation between unique identification information and the model of the functional component; obtaining model information of the functional component according to the unique identification information and the mapping relation; wherein the mapping relation information is preset and stored in a server and/or the electronic equipment capable of transmitting data with the electronic equipment.
Mapping relation information can be preset in the electronic equipment, and the mapping relation information can comprise mapping relation between the unique identification information and the model of the functional component. For example, the mapping information may be stored in the electronic device at the manufacturing stage of the electronic device in the form of a log or any record, and the mapping information may include a one-to-one correspondence between the unique identification information and the model number of the functional component. For example, in the manufacturing stage of the terminal device, the manufacturer of the terminal device may record the IMEI information of the terminal device and the battery model of the terminal device, establish a correspondence between the IMEI information and the battery model, and store the correspondence as mapping relationship information in the terminal device. That is, the mapping relationship information may include a one-to-one correspondence relationship between the IMEI information and the model number of the battery pack.
Thus, when the electronic equipment acquires the unique identification information and the corresponding relation between the unique identification information and the model of the functional component by reading the mapping relation information, the model of the functional component to be controlled can be acquired.
In addition, the mapping relation information can be stored in a server of a producer of the electronic equipment, and the electronic equipment can interact with the server of the producer of the electronic equipment so as to query or update the mapping relation information.
Based on the mode, the model information of the functional component of the electronic equipment is obtained through the mapping information, so that the model information of the functional component of the electronic equipment is obtained quickly, the obtaining efficiency is improved, the electronic equipment is convenient to control the functional component, and the electronic equipment is also convenient to maintain in the later period.
S103, based on the model information of the functional component, acquiring control information of the functional component.
After the model information of the functional component is obtained, the electronic device may obtain the control information of the functional component based on the model information of the functional component.
The control information of the functional component may be driving information or management information of the functional component. For example, when the functional component is a battery, the control information may be charge-discharge battery curve information of the battery.
In one possible implementation manner, the control information of the functional component is integrated in the electronic device in advance, and based on the model information of the functional component, the obtaining the control information of the functional component includes: according to the model information of the functional component, acquiring a storage address of control information of the functional component in the electronic equipment; control information for the functional component is obtained from the deposit address, wherein the unique identification information includes at least one of an IMEI, a MAC address, a SN, and a MEID.
The electronic device may integrate control information (i.e., driving information or management information) of different kinds and different models of functional components in advance and store the control information in a preset storage address. After the electronic device obtains the model of the functional component that it desires to control, it may obtain the storage address of the control information corresponding to the model of the functional component of the electronic device from the preset storage address, and obtain the control information of the functional component of the model from the storage address.
For example, after the terminal device obtains the battery model, the storage address for storing the control information of the battery model of the terminal device can be obtained from the preset storage addresses for storing the charge-discharge battery curve information of the batteries of various models, and the charge-discharge battery curve information corresponding to the battery model can be obtained from the storage address, so that the management of the batteries is realized.
The unique identification information that the electronic device can obtain includes one or more of IMEI, MAC address, SN, and MEID.
In one possible implementation manner, when the acquired unique identification information of the electronic device is multiple, the method further includes: checking the acquired multiple unique identification information to determine effective identification information; and determining the model information of the functional component according to the determined effective identification information.
For example, the electronic device may store in advance mapping relationship information of correspondence relationships of various unique identification information (for example, IMEI, MAC address, SN, and MEID) with the functional components, respectively. Based on any one of the unique identification information, the electronic equipment can acquire the model of the functional component to be controlled through the corresponding mapping relation information. When the electronic equipment can acquire various unique identification information, the acquired various unique identification information can be checked according to preset weights or priorities to determine effective identification information, and then the model of the functional component to be controlled is determined according to the determined effective identification information. The weights or priorities of the various unique identification information may be preset based on experience or according to the reliability of acquiring the various unique identification information.
Based on the mode, effective identification information is obtained by checking various unique identification information, and events of failure or errors of obtaining one or more unique identification information can be effectively treated, so that the accuracy of the obtained model of the functional component is ensured, and accurate control information is obtained to control the functional component.
S104, loading the acquired control information of the functional components, and managing the functional components according to the indication of the control information.
After the control information of the functional component is obtained, the electronic device can load the obtained control information of the functional component, and manage the functional component according to the indication of the control information.
For example, after acquiring a charge-discharge battery curve of a battery model used by the electronic device, the electronic device may manage the battery according to the charge-discharge battery curve.
Therefore, based on the method described in fig. 1, the model of the functional component of the electronic device is obtained through the unique identification information by utilizing the characteristic of the one-to-one correspondence between the unique identification information and the electronic device, and then the control information of the functional component is obtained to control the functional component, so that an ADC detection circuit is not required to be arranged, the implementation of the scheme is simple and reliable, and the hardware cost can be reduced.
Referring to fig. 2, fig. 2 is a flowchart of another control method for a functional component of an electronic device according to an embodiment of the present application. In the method shown in fig. 2, the functional component of the electronic device is a battery. Similar to the method described in relation to fig. 1, the method execution body shown in fig. 2 comprises a terminal device (such as the terminal device mentioned above). Alternatively, the method execution body shown in fig. 2 includes a chip, a chip system, or a processor in the terminal device. Alternatively, the method execution body shown in fig. 2 may also be a logic module or software capable of implementing all or part of the functions of the terminal device. The execution subject of the control method for the functional components of the electronic device is not limited in the embodiments of the present application. As shown in fig. 2, the control method for the functional components of the electronic device includes the steps of:
s201, unique identification information of the electronic equipment is acquired in response to a management event aiming at a battery in the electronic equipment.
S202, based on the unique identification information, model information of the battery is obtained.
And S203, acquiring control information of the battery based on the model information of the battery.
S204, loading the acquired control information of the battery, and managing the battery according to the indication of the control information.
S201 to S204 are similar to S101 to S104 in the method described with respect to fig. 1, and are not described here again.
S205, recording the current value and/or voltage value of the battery with respect to time.
In the process of managing the battery according to the acquired indication of the control information, the electronic device can record the current value and/or the voltage value of the battery relative to time.
Alternatively, the electronic device may record the current value and/or the voltage value of the battery over time in real time.
Alternatively, the electronic device may periodically record the current value and/or the voltage value of the battery with respect to time at time intervals of a preset value.
Alternatively, the electronic device may record the current value and/or the voltage value of the battery with respect to time in response to a preset trigger condition (e.g., a bright screen event).
And S206, when the abnormal event of the electric quantity of the electronic equipment is detected, sending a notification message carrying the recorded current value and/or voltage value to the server, wherein the notification message is used for triggering the server to analyze the model of the battery according to the recorded current value and/or voltage value.
The charge anomaly event may be caused by a mismatch between control information of the battery (e.g., a charge-discharge battery curve of the battery) and the battery. For example, after replacing a battery of a different model, the electronic device obtains control information that does not match the replaced battery based on the mapping relationship between the original unique identification information and the model of the battery. The electronic device manages the battery based on the control information that does not match the battery, which easily causes occurrence of an abnormal event of the electric quantity.
In one possible implementation, the power anomaly event may include: at least one of power failure without triggering low-power early warning, difference between the recorded battery operation parameter of the battery with respect to time and the battery operation parameter of the battery with respect to time in the control information exceeding a preset threshold, and number of times of occurrence of difference between the recorded battery operation parameter of the battery with respect to time and the battery operation parameter of the battery with respect to time in the control information exceeding a predetermined number of times.
When the electronic equipment detects that the electronic equipment has an abnormal electric quantity event, a notification message carrying the recorded current value and/or voltage value can be sent to the server side so as to trigger the server side to analyze the model of the battery according to the recorded current value and/or voltage value.
S207, receiving feedback information from the server side, and updating mapping relation information stored in the electronic equipment according to the feedback information, wherein the feedback information comprises model information of the battery determined by the server side after analysis.
The electronic device may receive feedback information from the server after sending a notification message carrying the recorded current value and/or voltage value to the server.
The server may store a large amount of battery model information and charge and discharge battery curves corresponding to various types of batteries. The server side can compare the current value and/or the voltage value of the West road in the notification message with charge and discharge battery curves of batteries of various types by utilizing a preset matching algorithm, so as to determine the type of the battery currently used by the electronic equipment, and send the analyzed determined type information of the battery to the electronic equipment through feedback information.
After receiving the feedback information from the server, the electronic device can update the mapping relation stored in the electronic device according to the battery model information included in the feedback information, and establish a corresponding relation between the unique identification information of the electronic device and the newly determined battery model information.
And S208, if feedback information from the server is not received, correcting the current value and/or the voltage value of the battery with respect to time in the control information according to the recorded current value and/or the voltage value of the battery with respect to time, and generating temporary control information.
When the communication condition between the electronic device and the server is poor, or the server fails to match the battery model meeting the preset matching condition after analysis, the electronic device may not receive feedback information including model information of the battery from the server.
In this case, the electronic device may correct the current value and/or the voltage value of the battery with respect to time in the control information according to the recorded current value and/or the voltage value of the battery with respect to time, and generate temporary control information.
S209, managing the battery based on the temporary control information, and monitoring whether the electronic equipment has an abnormal electric quantity event or not;
the electronic equipment can manage the battery according to the temporary control information generated by correction and detect whether the electronic equipment has an abnormal electric quantity event.
S210, if the electric quantity abnormal event of the electronic equipment is not monitored, saving the temporary control information as newly-increased control information, and setting a newly-increased battery model mark corresponding to the newly-increased control information;
the electronic device can manage the battery according to the temporary control information generated by correction, if no abnormal electric quantity event of the electronic device is detected, the temporary control information is matched with the battery, the temporary control information generated by correction is stored as newly-increased control information, and a newly-increased battery model mark corresponding to the newly-increased control information is set.
S211, updating the mapping relation information stored in the electronic equipment according to the newly added battery model mark.
The electronic device may update mapping relationship information stored in the electronic device according to the newly added battery model mark, and correspond the unique identification information of the electronic device to the newly added battery model mark, so that the battery may obtain newly added control information adapted to the battery based on the newly added battery model mark.
It can be seen that the method described based on fig. 2 can effectively solve the problem that the control information is not matched with the battery (for example, a battery of a different model is replaced), which is beneficial to further enhancing the compatibility and the control capability of the electronic device to the functional components.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and the electronic device 300 may be a terminal device or an apparatus with a function of the terminal device. Specifically, as shown in fig. 3, the electronic device 300 may include an acquisition unit 301 and a processing unit 302. Wherein:
an obtaining unit 301, configured to obtain unique identification information of the electronic device 300 in response to a management event for a functional component in the electronic device 300;
the obtaining unit 301 is further configured to obtain model information of the functional component based on the unique identification information;
the obtaining unit 301 is further configured to obtain control information of the functional component based on model information of the functional component;
and the processing unit 302 is used for loading the acquired control information of the functional component.
In one possible implementation manner, the obtaining unit 301 is specifically configured to, when obtaining the model information of the functional component based on the unique identification information: reading mapping relation information stored in the electronic device 300, wherein the mapping relation information comprises mapping relation between unique identification information and a model of the functional component; obtaining model information of the functional component according to the unique identification information and the mapping relation; wherein the mapping relationship information is preset and stored in a server and/or the electronic device 300 capable of transmitting data with the electronic device 300.
In one possible implementation manner, the control information of the functional component is integrated in the electronic device 300 in advance, and the obtaining unit 301 is specifically configured to, when obtaining the control information of the functional component based on the model information of the functional component: acquiring a storage address of control information of the functional component in the electronic equipment 300 according to the model information of the functional component; control information for the functional component is obtained from the deposit address, wherein the unique identification information includes at least one of an IMEI, a MAC address, a SN, and a MEID.
In one possible implementation manner, the obtaining unit 301 is specifically configured to, when the obtained unique identification information of the electronic device is multiple: checking the acquired multiple unique identification information to determine effective identification information; and determining the model information of the functional component according to the determined effective identification information. Based on the mode, accurate acquisition of model information of the functional component is facilitated.
In one possible implementation, when the functional component is a battery, the processing unit 302 is configured to: recording a current value and/or a voltage value of the battery with respect to time; when detecting that the electronic equipment has an abnormal electric quantity event, sending a notification message carrying the recorded current value and/or voltage value to a server, wherein the notification message is used for triggering the server to analyze the model of the battery according to the recorded current value and/or voltage value; and receiving feedback information from the server side, and updating mapping relation information stored in the electronic equipment according to the feedback information, wherein the feedback information comprises model information of the battery determined by the server side after analysis.
In one possible implementation, the processing unit 302 is configured to: if feedback information from the server is not received, correcting the current value and/or the voltage value of the battery with respect to time in the control information according to the recorded current value and/or the voltage value of the battery with respect to time, and generating temporary control information; managing the battery based on the temporary control information, and monitoring whether the electronic equipment has an abnormal electric quantity event or not; if the electric quantity abnormal event of the electronic equipment is not monitored, saving the temporary control information as newly-increased control information, and setting a newly-increased battery model mark corresponding to the newly-increased control information; and updating the mapping relation information stored in the electronic equipment according to the newly added battery model mark.
In one possible implementation, the power anomaly event includes: at least one of power failure without triggering low-power early warning, difference between the recorded battery operation parameter of the battery with respect to time and the battery operation parameter of the battery with respect to time in the control information exceeding a preset threshold, and number of times of occurrence of difference between the recorded battery operation parameter of the battery with respect to time and the battery operation parameter of the battery with respect to time in the control information exceeding a predetermined number of times.
Referring to fig. 4, fig. 4 is a schematic structural diagram of another electronic device according to an embodiment of the invention. The electronic device 400 may include a memory 401, a processor 402. Optionally, a communication interface 403 is also included. The memory 401, processor 402, and communication interface 403 are connected by one or more communication buses. Wherein the communication interface 403 is controlled by the processor 402 to transmit and receive information.
Memory 401 may include read-only memory and random access memory, and provides instructions and data to processor 402. A portion of memory 401 may also include non-volatile random access memory.
The communication interface 403 is used to receive or transmit data.
The processor 402 may be a central processing unit (central processing unit, CPU), the processor 402 may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), off-the-shelf programmable gate arrays (field-programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor, but in the alternative, the processor 402 may be any conventional processor or the like.
Wherein:
memory 401 is used to store program instructions.
A processor 402 for calling program instructions stored in the memory 401.
The processor 402 invokes the program instructions stored in the memory 401 to cause the electronic device 400 to perform the method performed by the terminal device in the above-described method embodiment.
As shown in fig. 5, fig. 5 is a schematic structural diagram of a module device according to an embodiment of the present application. The module apparatus 500 may perform the steps related to the near-end apparatus in the foregoing method embodiment, where the module apparatus 500 includes: a communication module 501, a power module 502, a memory module 503 and a chip 504.
Wherein, the power module 502 is used for providing power for the module equipment; the storage module 503 is used for storing data and instructions; the communication module 501 is used for performing communication inside the module device or for communicating between the module device and an external device; the chip 504 is used to perform the method performed by the electronic device in the method embodiments described above.
It should be noted that, details not mentioned in the embodiments corresponding to fig. 3 to 5 and specific implementation manners of each step may refer to the embodiments shown in fig. 1 to 2 and the foregoing details, and are not repeated here.
The present application also provides a computer readable storage medium having instructions stored therein, which when run on a processor, implement the method flows of the method embodiments described above.
The present application also provides a computer program product, which when run on a processor, implements the method flows of the method embodiments described above.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some acts may, in accordance with the present application, occur in other orders and concurrently. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
The descriptions of the embodiments provided in the present application may be referred to each other, and the descriptions of the embodiments are focused on, and for the part that is not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments. For convenience and brevity of description, for example, reference may be made to the related descriptions of the method embodiments of the present application for the functions and operations performed by the devices and apparatuses provided by the embodiments of the present application, and reference may also be made to each other, combined or cited between the method embodiments, and between the device embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. A control method for a functional component of an electronic device, the method comprising:
responding to a management event aiming at a functional component in the electronic equipment, and acquiring unique identification information of the electronic equipment;
based on the unique identification information, obtaining model information of the functional component;
acquiring control information of the functional component based on the model information of the functional component;
and loading the acquired control information of the functional component, and managing the functional component according to the indication of the control information.
2. The method according to claim 1, wherein the obtaining model information of the functional component based on the unique identification information includes:
reading mapping relation information stored in the electronic equipment, wherein the mapping relation information comprises mapping relation between the unique identification information and the model of the functional component;
obtaining model information of the functional component according to the unique identification information and the mapping relation,
wherein the mapping relation information is preset and stored in a server and/or the electronic equipment capable of transmitting data with the electronic equipment.
3. The method according to claim 1, wherein the control information of the functional component is integrated in the electronic device in advance, and the obtaining the control information of the functional component based on the model information of the functional component includes:
according to the model information of the functional component, acquiring a storage address of control information of the functional component in the electronic equipment;
obtaining control information of the functional component from the deposit address,
wherein the unique identification information comprises at least one of an international mobile equipment identification code IMEI, a media access control MAC address, a product serial number SN, and a mobile equipment identification code MEID.
4. The method of claim 3, wherein when the acquired unique identification information of the electronic device is a plurality of types, the method further comprises:
checking the acquired multiple unique identification information to determine effective identification information;
and determining the model information of the functional component according to the determined effective identification information.
5. The method of claim 2, wherein when the functional component is a battery, the method further comprises:
recording a current value and/or a voltage value of the battery with respect to time;
when the abnormal electric quantity event of the electronic equipment is detected, sending a notification message carrying the recorded current value and/or voltage value to a server, wherein the notification message is used for triggering the server to analyze the model of the battery according to the recorded current value and/or voltage value;
and receiving feedback information from the server, and updating mapping relation information stored in the electronic equipment according to the feedback information, wherein the feedback information comprises model information of the battery determined by the server after analysis.
6. The method of claim 5, wherein the method further comprises:
if feedback information from the server is not received, correcting the current value and/or the voltage value of the battery in the control information about time according to the recorded current value and/or the voltage value of the battery about time, and generating temporary control information;
managing the battery based on the temporary control information, and monitoring whether the electronic equipment has an abnormal electric quantity event or not;
if the electric quantity abnormal event of the electronic equipment is not monitored, saving the temporary control information as newly-increased control information, and setting a newly-increased battery model mark corresponding to the newly-increased control information;
and updating the mapping relation information stored in the electronic equipment according to the newly added battery model mark.
7. The method of claim 5 or 6, wherein the charge anomaly event comprises: at least one of power failure without triggering low-power early warning, difference between the recorded battery operation parameter of the battery with respect to time and the battery operation parameter of the battery with respect to time in the control information exceeding a preset threshold, and number of times of difference between the recorded battery operation parameter of the battery with respect to time and the battery operation parameter of the battery with respect to time in the control information exceeding a predetermined number of times.
8. An electronic device, the electronic device comprising:
an obtaining unit, configured to obtain unique identification information of an electronic device in response to a management event for a functional component in the electronic device;
the obtaining unit is further used for obtaining model information of the functional component based on the unique identification information;
the acquisition unit is further used for acquiring control information of the functional component based on the model information of the functional component;
and the processing unit is used for loading the acquired control information of the functional component.
9. The utility model provides a module equipment, its characterized in that, module equipment includes communication module, power module, storage module and chip, wherein:
the power supply module is used for providing electric energy for the module equipment;
the storage module is used for storing data and instructions;
the communication module is used for carrying out internal communication of module equipment or carrying out communication between the module equipment and external equipment;
the chip being adapted to perform the method of any one of claims 1-7.
10. An electronic device comprising a memory for storing a computer program comprising program instructions and a processor configured to execute the program instructions to cause the electronic device to perform the method of any of claims 1-7.
11. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein computer readable instructions, which when run on an electronic device, cause the electronic device to perform the method of any of claims 1-7.
CN202311519667.8A 2023-11-14 2023-11-14 Control method and device of functional component, module equipment and storage medium Pending CN117527961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311519667.8A CN117527961A (en) 2023-11-14 2023-11-14 Control method and device of functional component, module equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311519667.8A CN117527961A (en) 2023-11-14 2023-11-14 Control method and device of functional component, module equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117527961A true CN117527961A (en) 2024-02-06

Family

ID=89749002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311519667.8A Pending CN117527961A (en) 2023-11-14 2023-11-14 Control method and device of functional component, module equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117527961A (en)

Similar Documents

Publication Publication Date Title
US11011917B2 (en) Wireless battery management apparatus and battery pack including same
CN106453604B (en) Household appliance fault processing method, device and system
CN108357382B (en) Battery charging method and system, remote monitoring platform and storage medium
CN103106118B (en) Data synchronization management method and system thereof
US20130055271A1 (en) Apparatus and method for controlling polling
EP2455773B1 (en) Detecting circuit for electric quantity, processing device and method for state detection of mobile telephone in standby
CN204694827U (en) Smart machine and battery electric quantity remote management devices thereof and system
CN108645532B (en) Temperature testing device with temperature testing and alarming functions and temperature testing method
WO2021059294A1 (en) A system and method for managing a battery pack
CN102647517B (en) Mobile phone and low-power alarm method thereof
CN111596215A (en) Storage battery state monitoring method and device and storage medium
CN104752780A (en) Storage battery based on wireless network and location
JP5663748B2 (en) Management system, management apparatus, management unit and selection method
CN113595174A (en) Battery management method, device, equipment and server
CN117527961A (en) Control method and device of functional component, module equipment and storage medium
US20200227926A1 (en) Remote connectivity using a battery
CN108828445B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN112909355A (en) Battery management system, processing device, battery management method and battery management and control system
CN115525461A (en) Anomaly detection method for energy storage device and server
WO2015068043A2 (en) Charging device and method
JP2001157280A (en) Wireless data communication terminal and method for detecting state of radio wave
CN108566471B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN105183656A (en) Method, system and device for detecting package stop failure of application program
CN111505432A (en) Parameter simulation circuit, battery management device, and control method for battery management device
CN112399349A (en) LoRA-based workcard position sensing system and method

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