An information processing system and method applied to a battery

By using a power management chip in the battery to connect with the MCU controller of the host and the charging dock, the problems of MCU controller space occupation and high power consumption are solved, and the battery structure is simplified and power consumption is reduced.

CN115249988BActive Publication Date: 2026-04-21HYTERA COMM CORP
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HYTERA COMM CORP
Filing Date
2021-04-27
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

In the prior art, setting up an MCU controller in the battery leads to problems such as reduced battery space and increased power consumption, which affects the communication efficiency between the battery and the host device and the charging dock.

Method used

A power management chip is used to replace the MCU controller. The power management chip is connected to the MCU controllers of the host and the charging dock respectively to realize the acquisition and transmission of battery data information, simplify the battery structure and reduce battery power consumption.

Benefits of technology

While ensuring communication between the main unit and the battery, and between the charger and the battery, the battery structure has been simplified, the battery area has been increased, and the battery power consumption has been reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115249988B_ABST
    Figure CN115249988B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses an information processing system applied to a battery, which comprises a power management chip arranged in the battery, a host and an MCU controller arranged in a seat charger; when the battery is installed in the host, the power management chip is electrically connected with the host; when the battery is charged by the seat charger, the power management chip is electrically connected with the MCU controller arranged in the seat charger; when the battery is charged by the seat charger and the battery supplies power for the host, the power management chip is electrically connected with the MCU controller arranged in the seat charger and the host respectively; in the system, only the power management chip is contained in the battery, and the related information of the battery is acquired through the power management chip, so that the structure of the battery is simplified, and the power consumption of the battery itself is reduced. Moreover, the MCU controller of the host and the seat charger can be directly connected with the power management chip respectively, and the data information of the battery is acquired from the power management chip, so that the structure is simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of batteries, and more particularly to an information processing system and method for batteries. Background Technology

[0002] During battery use, in order to ensure the normal operation of the host device supplied by the battery, the host device needs to obtain relevant information about the battery. Furthermore, when charging the battery, in order to achieve intelligent charging, the charger also needs to understand the battery's status and respond accordingly, such as disconnecting the power supply if it detects that the battery is fully charged.

[0003] Currently, in order to obtain relevant information from the battery, it is necessary to realize communication between the host device and the battery, as well as communication between the charger and the battery. Based on this purpose, an MCU control is set in the battery. The MCU control collects relevant information from the battery and connects to the host device and the charger through the MCU control, thereby realizing communication between the device and the battery, as well as communication between the charger and the battery.

[0004] However, while incorporating an MCU controller within the battery enables communication between the host device and the battery, as well as between the charger and the battery, the MCU controller occupies a significant portion of the battery control board, reducing battery space. Furthermore, the MCU controller remains constantly active, increasing battery wear and tear. Therefore, there is an urgent need for a method that reduces battery power consumption and increases battery size while ensuring communication between the host and battery, and between the charger and the battery. Summary of the Invention

[0005] In view of this, embodiments of the present invention disclose an information processing system for batteries, which achieves the goal of reducing battery power consumption and increasing battery area while ensuring communication between the host and the battery, and between the landline and the battery.

[0006] This invention discloses an information processing system for batteries, comprising:

[0007] A power management chip and a main unit are installed in the battery, and an MCU controller is installed in the charging dock;

[0008] When the battery powers the host, the power management chip is electrically connected to the host;

[0009] When the battery is charged via the charging dock, the power management chip is electrically connected to the MCU controller located in the charging dock;

[0010] When the battery is charged via a charging dock and the battery powers the host, the power management chip is electrically connected to the MCU located in the charging dock and the host, respectively.

[0011] The power management chip is used to acquire battery data information. After the host is electrically connected to the power management chip, it reads the battery data information from the power management chip. After the MCU controller installed in the charging dock is electrically connected to the power management chip, it reads the battery data information from the power management chip.

[0012] Optionally, when the battery powers the host, the power management chip is electrically connected to the host, including:

[0013] When the battery powers the main unit, the main unit and the power management chip are connected via the first data bus.

[0014] Optionally, when the battery is charged via a charging dock, the power management chip is electrically connected to an MCU controller disposed in the charging dock, including:

[0015] When the battery is charged via the charging dock, the power management chip is connected to the MCU controller located in the charging dock via a second data bus.

[0016] Optionally, when the battery is charged via a charging dock and the battery powers the host, the power management chip is electrically connected to both the MCU located in the charging dock and the host, including:

[0017] The power management chip is connected to the host and the MCU controller of the charging dock via a third data bus.

[0018] Optionally, when the battery is charged via a charging dock and the battery powers the host, the power management chip is electrically connected to both the MCU located in the charging dock and the host, including:

[0019] When the battery powers the host and is charging via the charging dock, the host is connected to the first pin of the battery, the charging dock MCU controller is connected to the second pin of the battery, the first and second pins are connected to the third data bus, and the third data bus is connected to the third pin of the power management chip.

[0020] This invention discloses an information processing method for batteries, which is applied to a host in the aforementioned information processing system for batteries. The method includes:

[0021] When the first battery access command is triggered, the power management chip of the battery is accessed;

[0022] Read the battery data information from the battery's power management chip.

[0023] Optionally, it also includes:

[0024] A first battery access command is triggered at each preset first time interval; the preset first time interval is determined based on the access frequency of the host to the power management chip and the access frequency of the charging dock to the power management chip; the preset first time interval is a prime number.

[0025] Optionally, the step of accessing the battery's power management chip and reading the battery's data information from the power management chip after triggering the first battery access command includes:

[0026] At preset second time intervals, a first target battery parameter to be acquired is determined; the first target battery parameter is any one of the battery parameters that the host needs to acquire from the battery's power management chip; the preset second time interval is a prime number. A first access instruction containing the acquisition of the first target battery parameter is triggered, and the data information of the first target battery parameter is read from the battery's power management chip.

[0027] Optionally, it also includes:

[0028] Before accessing the battery's power management chip, check if the data bus is idle;

[0029] When the data bus is idle, access the battery's power management chip;

[0030] When the data bus is busy, access to the battery's power management chip is revoked.

[0031] Optionally, it also includes:

[0032] When initiating access to the power management chip, it is detected whether the data bus is idle;

[0033] If the data bus is idle, continue accessing the power management chip;

[0034] If the data bus is busy, access to the power management chip will be abandoned.

[0035] Optionally, it also includes:

[0036] Before accessing the battery's power management chip, check if the data bus is idle;

[0037] If the data bus is detected to be busy, wait for a preset third time period before initiating the first battery access command again.

[0038] This invention also discloses an information processing method for batteries, wherein the method is applied to an MCU controller disposed in a charging dock within the aforementioned information processing system for batteries, and includes:

[0039] When the second access command is triggered, the battery's power management chip is accessed;

[0040] Read the battery data information from the battery's power management chip.

[0041] Optionally, it also includes:

[0042] A second battery access command is triggered at each preset fourth time interval. The preset fourth time interval is determined based on the access frequency of the host to the battery power management chip and the access frequency of the charging dock to the battery power management chip. The preset fourth time interval is a prime number.

[0043] Optionally, the step of accessing the battery's power management chip and reading the battery's data information from the battery's power management chip after the second access instruction is triggered includes:

[0044] At each preset fifth time interval, the second target battery parameter to be acquired is determined; the second target battery parameter is any one of the battery parameters that the MCU control in the charger needs to acquire from the battery's power management chip; the preset fifth time interval is a prime number;

[0045] A second access instruction is triggered, which includes obtaining the parameters of the second target battery, and the data information of the second target battery parameters is read from the power management chip of the battery.

[0046] Optionally, it also includes:

[0047] Before accessing the battery's power management chip, check if the data bus is idle;

[0048] If the data bus is detected to be busy, wait for the preset sixth time period before initiating the battery access command again.

[0049] Optionally, it also includes:

[0050] Before accessing the battery's power management chip, check if the data bus is idle;

[0051] When the data bus is idle, access the battery's power management chip;

[0052] When the data bus is busy, access to the battery's power management chip is revoked.

[0053] Optionally, it also includes:

[0054] When initiating access to the power management chip, check if the data bus is idle;

[0055] If the data bus is idle, continue accessing the power management chip;

[0056] If the data bus is busy, access the power management chip.

[0057] This invention discloses a host computer, the host computer comprising:

[0058] Processor and memory;

[0059] The processor is used to execute the program stored in the memory;

[0060] The memory is used to store a program, which is used to execute the information processing method applied to the battery described above.

[0061] This invention also discloses an electronic device, the electronic device comprising:

[0062] Processor and memory;

[0063] The processor is used to execute the program stored in the memory;

[0064] The memory is used to store a program, which is used to execute the information processing method applied to the battery described above.

[0065] This invention also discloses an information processing device for a battery, which is applied to the host in the aforementioned information processing system for a battery. The information processing device for a battery includes:

[0066] The first access unit is used to access the battery's power management chip when a first battery access command is triggered.

[0067] The first reading unit is used to read data information of the battery from the battery's power management chip.

[0068] Optionally, it also includes:

[0069] The first battery access command triggering unit is used to trigger a first battery access command at preset first time intervals; the preset first time interval is determined based on the access frequency of the host to the power management chip and the access frequency of the charging dock to the power management chip; the preset first time interval is a prime number.

[0070] Optionally, the information processing device applied to the battery further includes:

[0071] The first access subunit is used to determine the first target battery parameter to be acquired at each preset second time interval; the first target battery parameter is any one of the battery parameters that the host needs to acquire from the battery's power management chip; the preset second time interval is a prime number;

[0072] The first acquisition subunit is used to trigger a first access instruction that includes acquiring the parameters of the first target battery, and to read the data information of the first target battery parameters from the power management chip of the battery.

[0073] Optionally, it also includes:

[0074] An idle detection unit is used to detect whether the data bus is idle before accessing the battery's power management chip;

[0075] The first battery command initiation unit is used to initiate the first battery access command again after waiting for a preset third time period when the data bus is detected to be busy.

[0076] This invention also discloses a battery ground information processing device, which is applied to the MCU controller disposed in the charging dock in the above-described battery information processing system. The battery information processing device includes:

[0077] The second access unit is used to access the battery's power management chip when the second access instruction is triggered.

[0078] The second reading unit is used to read data information of the battery from the battery's power management chip.

[0079] Optionally, it also includes:

[0080] The first battery access command triggering unit is used to trigger the second battery access command at a preset fourth time interval. The preset fourth time interval is determined based on the access frequency of the host to the battery power management chip and the access frequency of the charging dock to the battery power management chip. The preset fourth time interval is a prime number.

[0081] Optionally, the information processing device applied to the battery further includes:

[0082] The second access subunit is used to determine the second target battery parameter to be acquired at each preset fifth time interval; the second target battery parameter is any one of the battery parameters that the MCU control in the charging dock needs to acquire from the battery's power management chip; the preset fifth time interval is a prime number;

[0083] The second acquisition subunit is used to trigger a second access instruction that includes acquiring the second target battery parameters, and to read the data information of the second target battery parameters from the battery's power management chip.

[0084] Optionally, it also includes:

[0085] Access wait unit, used for:

[0086] Before accessing the battery's power management chip, check if the data bus is idle;

[0087] If the data bus is detected to be busy, wait for the preset sixth time period before initiating the battery access command again.

[0088] This invention also discloses a storage medium disposed on a host computer, on which a computer program is stored. When the computer program is loaded and executed by a processor, it at least implements the information processing method for a battery described below, including:

[0089] When the first battery access command is triggered, the power management chip of the battery is accessed;

[0090] Read the battery data information from the battery's power management chip.

[0091] This invention also discloses a storage medium disposed in a charging dock, on which a computer program is stored. When the computer program is loaded and executed by a processor, it at least implements the following information processing method applied to a battery, including:

[0092] When the second access command is triggered, the battery's power management chip is accessed;

[0093] Read the battery data information from the battery's power management chip.

[0094] This invention discloses an information processing system for batteries. The system includes: a power management chip disposed in the battery, a host computer, and an MCU controller disposed in a charging dock. When the battery is installed in the host computer, the power management chip is electrically connected to the host computer. When the battery is charged via the charging dock, the power management chip is electrically connected to the MCU controller disposed in the charging dock. When the battery is charged via the charging dock and the battery supplies power to the host computer, the power management chip is electrically connected to both the MCU controller disposed in the charging dock and the host computer. In this system, the power management chip is used to acquire battery data information. After the host computer is electrically connected to the power management chip, it reads the battery data information from the power management chip. After the MCU controller in the charging dock is electrically connected to the power management chip, it reads the battery data information from the power management chip. In this system, the battery only contains the power management chip, which acquires relevant battery information, thus simplifying the battery structure and reducing the battery's power consumption. Furthermore, the MCU controllers of the host computer and the charging dock can be directly connected to the power management chip and acquire battery data information from it, further simplifying the structure. Therefore, while ensuring communication between the host and the battery, as well as between the charger and the battery, the embodiments of the present invention not only simplify the battery structure and increase the battery area, but also reduce the power consumption of the battery itself. Attached Figure Description

[0095] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0096] Figure 1 This invention provides a schematic diagram of the structure of an information processing system applied to a battery, according to an embodiment of the present invention.

[0097] Figure 2 This invention provides another schematic diagram of a battery-based information processing system according to an embodiment of the present invention.

[0098] Figure 3 A flowchart illustrating an information processing method for batteries provided by an embodiment of the present invention is shown.

[0099] Figure 4 This invention provides another schematic flowchart of an information processing method for batteries according to an embodiment of the present invention.

[0100] Figure 5 This invention discloses a schematic diagram of the structure of an information processing device applied to a battery according to an embodiment of the present invention;

[0101] Figure 6 This illustration shows yet another structural schematic diagram of an information processing device for a battery disclosed in an embodiment of the present invention.

[0102] Figure 7 A schematic diagram of a host computer structure is shown;

[0103] Figure 8 A schematic diagram of the structure of an electronic device is shown. Detailed Implementation

[0104] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0105] refer to Figure 1 The diagram illustrates a structural schematic of an information processing system applied to a battery according to an embodiment of the present invention. In this embodiment, the system includes:

[0106] A power management chip 100, a main unit 200, and an MCU controller 300 are installed in the battery and the charging dock, respectively.

[0107] When the battery is installed in the host 200, the power management chip 100 is electrically connected to the host 200;

[0108] When the battery is charged via the charging dock, the power management chip 100 is electrically connected to the MCU controller 300 disposed in the charging dock;

[0109] When the battery is charged via a charging dock and is supplying power to the host device, the power management chip 100 is electrically connected to the MCU control 300 and the host device 200, both located in the charging dock. In this embodiment, the battery and the host device can be integrated or separate. When the battery supplies power to the host device, the power management chip 100 in the battery is electrically connected to the host device 200. The electrical connection can take many forms, and this embodiment does not limit the specific connection method; for example, they can be connected via pins.

[0110] When the battery is charged via the charging dock, the power management chip 100 in the battery is not only electrically connected to the MCU controller 300 located in the charging dock, but also directly electrically connected to the host. The method of electrical connection can include a variety of methods, which are not limited in this embodiment. For example, electrical connection can be made through pins.

[0111] The power management chip 100 is used to acquire battery data information. After the host 200 is electrically connected to the power management chip 100, it reads the battery data information from the power management chip 100. After the MCU controller 300 in the charging dock is electrically connected to the power management chip 100, it reads the battery data information from the power management chip.

[0112] In this embodiment, there are various ways for the host and the power management chip to communicate, and no limitation is made in this embodiment. Preferably, when the battery powers the host, the host 200 and the power management chip are connected through a first data bus. In this way, the host and the power management chip can communicate through the first data bus, that is, the host can read relevant battery information from the power management chip through the first data bus.

[0113] In this embodiment, there are various ways to achieve communication between the charging dock and the power management chip. This embodiment does not limit the methods. Preferably, when the battery is charged through the charging dock, the power management chip is connected to the MCU controller located in the charging dock through a second data bus.

[0114] The first data bus and the second data bus can be different data buses. However, to further simplify the structure of the system, the first data bus and the second data bus can be the same. Specifically, when the battery powers the host, the power management chip is electrically connected to the host; when the battery is charged via a charging dock, the power management chip is electrically connected to the MCU controller located in the charging dock, including:

[0115] When the battery powers the main unit and the battery is charged via the charging dock, the power management chip is connected to the main unit and the MCU controller located in the charging dock via a third data bus.

[0116] For the process of communication between the power management chip, the host, and the charging dock via the same data bus, refer to... Figure 2 This diagram illustrates another structural schematic of an information processing system using a battery, provided by an embodiment of the present invention, comprising:

[0117] A power management chip 100, a host 200, and an MCU controller 300 are installed in the battery 800;

[0118] When the battery powers the host 200 and the battery is charged via the charging dock, the host 200 is connected to the first pin 400 of the battery 800, the charging dock MCU controller is connected to the second pin 500 of the battery 800, the first pin 400 and the second pin 500 are connected to the third data bus 600, and the third data bus 600 is connected to the third pin 700 of the power management chip.

[0119] This invention discloses an information processing system for batteries. The system includes a power management chip embedded in the battery, a host computer, and an MCU controller embedded in a charging dock. When the battery is installed in the host computer, the power management chip is electrically connected to the host computer. When the battery is charged via the charging dock, the power management chip is electrically connected to both the MCU controller embedded in the charging dock and the host computer. In this system, the power management chip acquires battery data. After the host computer is electrically connected to the power management chip, it reads the battery data from the power management chip. Similarly, after the MCU controller in the charging dock is electrically connected to the power management chip, it reads the battery data from the power management chip. In this system, the battery contains only the power management chip, which acquires relevant battery information, thus simplifying the battery structure and reducing the battery's power consumption. Furthermore, the MCU controllers of the host computer and the charging dock can be directly connected to the power management chip and acquire battery data from it, further simplifying the structure. Therefore, while ensuring communication between the host computer and the battery, and between the charging dock and the battery, this invention not only simplifies the battery structure and increases the battery area but also reduces the battery's power consumption.

[0120] refer to Figure 3 This diagram illustrates a flowchart of an information processing method for batteries according to an embodiment of the present invention. The method is used in a battery information processing system, which includes a host computer.

[0121] A power management chip and a main unit are installed in the battery, and an MCU controller is installed in the charging dock;

[0122] When the battery powers the host, the power management chip is electrically connected to the host;

[0123] When the battery is charged via a charging dock, the power management chip is electrically connected to the MCU controller located in the charging dock; when the battery is charged via a charging dock and the battery is supplying power to the host, the power management chip is electrically connected to both the MCU controller located in the charging dock and the host.

[0124] Based on this system, the processing methods applied to the host system include:

[0125] S301: When the first access instruction is triggered, the power management chip of the battery is accessed;

[0126] The battery access command can be initiated through a preset trigger bar, and the trigger conditions may include:

[0127] When the host is powered on, the first battery access command is triggered; an access period is set, and when the access period is reached, the first battery access command is triggered; the host receives the first battery access command sent from the outside.

[0128] In addition to the three triggering conditions described above, the triggering conditions in this embodiment can also be set according to actual needs.

[0129] Preferably, triggering the first battery access command can include the following two methods:

[0130] Implementation Method 1:

[0131] A first battery access command is triggered at each preset first time interval; the preset first time interval is determined based on the access frequency of the host to the power management chip and the access frequency of the charging dock to the power management chip; the preset first time interval is a prime number.

[0132] In this embodiment, if the host and the charging dock MCU controller access the power management chip simultaneously, a communication conflict will occur, which will affect the communication quality and efficiency. Therefore, to avoid communication conflicts, an access interval is set for the access of the host and the charging dock MCU controller. The principle followed in setting this access interval is:

[0133] The access interval is determined based on the access frequency of the host to the power management chip and the access frequency of the charging dock to the power management chip.

[0134] The access interval of the host is the first preset time.

[0135] By setting different access intervals based on the different access frequencies of the two, the occurrence of conflicts can be reduced.

[0136] For example, if the host accesses the power management chip frequently, it can be set to access it once every 5ms. If the charging dock accesses the power management chip less frequently than the host, it can be set to access it once every 7ms.

[0137] To further avoid conflicts, the access time interval can be set to a prime number. Specifically, the preset first duration is a prime number.

[0138] Implementation Method Two:

[0139] At each preset second time interval, a first target battery parameter to be acquired is determined; the first target battery parameter is any one of the battery parameters that the host needs to acquire from the battery's power management chip; the preset second time interval is a prime number; a first access instruction containing the acquisition of the first target battery parameter is triggered, and the data information of the first target battery parameter is read from the battery's power management chip.

[0140] In this embodiment, the host needs to obtain various data information of the battery. However, obtaining all the data information in a single access takes a long time and occupies the data bus for a long time, which will affect the communication between other terminals and the battery, such as the communication between the landline and the battery.

[0141] In order to reduce the time spent on the data bus, this embodiment sets different time intervals for accessing different parameters, thereby achieving the purpose of accessing the power management chip in stages, which reduces the time spent on the data bus.

[0142] In this embodiment, when the first battery access command is triggered, access to the battery power management chip is initiated.

[0143] S302: Read the battery data information from the battery's power management chip.

[0144] In this embodiment, the battery's power management chip can acquire battery data information. When the host accesses the power management chip, it can read the battery data information from the power management chip.

[0145] In this embodiment, when the power management chip supplies power to the host, the host and the power management chip are electrically connected. When the host triggers a battery access command, it can obtain battery data information by accessing the power management chip. Thus, through the connection between the host and the power management chip, the host's access to the battery is realized.

[0146] In this embodiment, to further avoid conflicts when the host accesses the power management chip, the data bus status can be detected in advance, and access can be initiated when the bus is idle. Specifically, it also includes:

[0147] Before accessing the battery's power management chip, check if the data bus is idle;

[0148] When the data bus is idle, access the battery's power management chip;

[0149] When the data bus is busy, access to the battery's power management chip is revoked.

[0150] or,

[0151] Before accessing the battery's power management chip, check if the data bus is idle;

[0152] If the data bus is detected to be busy, wait for a preset third time period before initiating the first battery access command again.

[0153] In this embodiment, the status of the data bus is detected before accessing the power management chip, and access is initiated when idle status is detected. This more effectively avoids communication conflicts and improves the success rate of communication.

[0154] If the host and the MCU controller located on the charging dock both detect the data bus as being idle at the same time, they may initiate access simultaneously, which could cause a communication conflict. To resolve this conflict, this embodiment provides the following method:

[0155] When the host initiates access to the power management chip, it checks whether the data bus is idle;

[0156] If the bus is idle, continue accessing the power management chip;

[0157] If the bus is busy, access to the power management chip is abandoned.

[0158] If the data bus is detected to be busy, access to the power management chip is abandoned, and the first battery access command is initiated again after a preset second time period.

[0159] In this embodiment, by detecting the state of the data bus when initiating access to the power management chip, and accessing the power management chip when the data bus is idle, communication conflicts caused by simultaneous access are avoided.

[0160] refer to Figure 4 The diagram illustrates another flowchart of an information processing method for batteries according to an embodiment of the present invention. This method is applied to an MCU controller located in a battery charging dock within a battery information processing system.

[0161] The information processing system applied to the battery includes:

[0162] A power management chip and a main unit are installed in the battery, and an MCU controller is installed in the charging dock;

[0163] When the battery powers the host, the power management chip is electrically connected to the host;

[0164] When the battery is charged via a charging dock, the power management chip is electrically connected to the MCU controller located in the charging dock; when the battery is charged via a charging dock and the battery is supplying power to the host, the power management chip is electrically connected to both the MCU controller located in the charging dock and the host.

[0165] Based on this system, the processing method of the MCU controller installed in the charging dock includes:

[0166] S401: When the second access instruction is triggered, access the battery's power management chip;

[0167] The battery access command can be initiated through a preset trigger bar, and the trigger conditions may include:

[0168] When the battery is charged via the charging dock, a second battery access command is triggered; an access cycle is set, and when the access cycle is reached, a second battery access command is triggered, etc.

[0169] In addition to the triggering conditions described above, the triggering conditions in this embodiment can also be set according to actual needs.

[0170] Preferably, triggering the second battery access command can include the following two methods:

[0171] Implementation Method 1:

[0172] A second battery access command is triggered at each preset fourth time interval. The preset fourth time interval is determined based on the access frequency of the host to the battery power management chip and the access frequency of the charging dock to the battery power management chip. The preset fourth time interval is a prime number.

[0173] In this embodiment, if the host and the charging dock MCU controller access the power management chip simultaneously, a communication conflict will occur, which will affect the communication quality and efficiency. Therefore, to avoid communication conflicts, an access interval is set for the access of the host and the charging dock MCU controller. The principle followed in setting this access interval is:

[0174] The access interval is determined based on the access frequency of the host to the power management chip and the access frequency of the charging dock to the power management chip.

[0175] The access interval of the MCU controller located in the charging dock is a preset fourth duration.

[0176] By setting different access intervals based on their different access frequencies, the conflicts that may occur when the host and the charging dock communicate with the power management chip are reduced.

[0177] For example, if the host accesses the power management chip frequently, it can be set to access it once every 5ms. If the charging dock accesses the power management chip less frequently than the host, it can be set to access it once every 7ms.

[0178] To further avoid conflicts, the access time interval can be set to a prime number. Specifically, the preset fourth duration is a prime number.

[0179] As can be seen from the above introduction, in order to reduce the conflict between the host and the charging dock on the power management chip, the access interval of the host and the MCU set in the charging dock to the power management chip can both be set to prime numbers, and the two can be set to different prime numbers.

[0180] Implementation Method Two:

[0181] At each preset fifth time interval, the second target battery parameter to be acquired is determined; the second target battery parameter is any one of the battery parameters that the MCU control in the charger needs to acquire from the battery's power management chip; the preset fifth time interval is a prime number;

[0182] A second access instruction is triggered, which includes obtaining the parameters of the second target battery, and the data information of the second target battery parameters is read from the power management chip of the battery.

[0183] In this embodiment, the charging dock needs to obtain various data information from the battery. However, obtaining all the data information in a single access takes a long time and occupies the data bus for a long time, which will affect the communication between other terminals and the battery, such as the communication between the host and the battery.

[0184] In order to reduce the time spent on the data bus, this embodiment sets different time intervals for accessing different parameters, thereby achieving the purpose of accessing the power management chip in stages. This reduces the time the MCU controller on the charging dock occupies the data bus.

[0185] In this embodiment, when the second battery access command is triggered, access to the battery power management chip is initiated.

[0186] S402: Read the battery data information from the battery's power management chip.

[0187] In this embodiment, the battery power management chip can obtain battery data information. When the MCU controller located in the charging dock accesses the power management chip, it can read the battery data information from the power management chip.

[0188] In this embodiment, when the battery is charged via a charging dock, the MCU controller located in the charging dock is electrically connected to the power management chip. When the MCU controller in the charging dock triggers a battery access command, it can obtain battery data information by accessing the power management chip. Thus, through the connection between the MCU controller in the charging dock and the power management chip, the MCU controller host in the charging dock can access the battery.

[0189] In this embodiment, to further avoid conflicts when the MCU controller located in the charging dock accesses the power management chip, the status of the data bus can be detected in advance, and access can be initiated when the data bus is idle. Specifically, this also includes:

[0190] Before the MCU controller located in the charging dock accesses the battery's power management chip, it checks whether the data bus is idle;

[0191] When the data bus is idle, access the battery's power management chip;

[0192] When the data bus is busy, access to the battery's power management chip is revoked.

[0193] If the data bus is detected to be busy, access to the battery's power management chip is abandoned, and the first battery access command is initiated again after a preset fourth time period.

[0194] In this embodiment, the status of the data bus is detected before accessing the power management chip, and access is initiated when idle status is detected. This more effectively avoids communication conflicts and improves the success rate of communication.

[0195] If the host and the MCU controller located on the charging dock both detect the data bus as being idle at the same time, they may initiate access simultaneously, which could cause a communication conflict. To resolve this conflict, the following method is disclosed in this embodiment:

[0196] When initiating access to the power management chip, check if the data bus is idle;

[0197] If the bus is idle, continue accessing the power management chip;

[0198] If the bus is busy, access to the power management chip is abandoned.

[0199] or:

[0200] Before accessing the battery's power management chip, check if the data bus is idle;

[0201] If the data bus is detected to be busy, the first battery access command is initiated again after a preset third time interval. In this embodiment, the MCU controller located in the charging dock detects the status of the data bus when initiating access to the power management chip, and accesses the power management chip when the data bus is idle, thus avoiding communication conflicts caused by simultaneous access.

[0202] In addition, when the main unit is off, if the battery is being charged via a charging dock, the MCU controller located in the charging dock can also control the battery to turn on the main unit.

[0203] refer to Figure 5 The diagram shows a schematic representation of an information processing device for a battery according to an embodiment of the present invention. In this embodiment, the device includes:

[0204] The first access unit 501 is used to access the power management chip of the battery after the first battery access command is triggered.

[0205] The first reading unit 502 is used to read data information of the battery from the battery's power management chip.

[0206] Optionally, it also includes:

[0207] The first battery access command triggering unit is used to trigger a first battery access command at preset first time intervals; the preset first time interval is determined based on the access frequency of the host to the power management chip and the access frequency of the charging dock to the power management chip; the preset first time interval is a prime number.

[0208] Optionally, the battery ground information processing device further includes:

[0209] The first access subunit is used to determine the first target battery parameter to be acquired at each preset second time interval; the first target battery parameter is any one of the battery parameters that the host needs to acquire from the battery's power management chip; the preset second time interval is a prime number;

[0210] The first acquisition subunit is used to trigger a first access instruction that includes acquiring the parameters of the first target battery, and to read the data information of the first target battery parameters from the power management chip of the battery.

[0211] Optionally, it also includes:

[0212] An idle detection unit is used to detect whether the data bus is idle before accessing the battery's power management chip;

[0213] The first battery command initiation unit is used to initiate the first battery access command again after waiting for a preset third time period when the data bus is detected to be busy.

[0214] Optional, also includes:

[0215] The first detection unit is used to detect whether the data bus is idle before accessing the power management chip of the battery;

[0216] The second access unit is used to access the battery's power management chip when the data bus is idle;

[0217] The first relinquishment unit is used to relinquish access to the battery's power management chip when the data bus is busy.

[0218] Optional, also includes:

[0219] The second detection unit is used to detect whether the data bus is idle when the access to the power management chip is initiated.

[0220] The third access unit is used to continue accessing the power management chip if the data bus is idle;

[0221] The second relinquishment unit is used to relinquish access to the power management chip if the data bus is busy.

[0222] In the device of this embodiment, when the power management chip supplies power to the host, the host and the power management chip are electrically connected. When the host triggers a battery access command, it can obtain battery data information by accessing the power management chip. Thus, through the connection between the host and the power management chip, the host's access to the battery is realized.

[0223] refer to Figure 6 This illustration shows another structural schematic diagram of an information processing device for a battery disclosed in an embodiment of the present invention. In this embodiment, the device is applied to an MCU controller disposed in a charging dock within a battery information processing system, and includes:

[0224] The second access unit 601 is used to access the battery's power management chip when a second access instruction is triggered.

[0225] The second reading unit 602 is used to read data information of the battery from the battery's power management chip.

[0226] Optionally, it also includes:

[0227] The first battery access command triggering unit is used to trigger the second battery access command at a preset fourth time interval. The preset fourth time interval is determined based on the access frequency of the host to the battery power management chip and the access frequency of the charging dock to the battery power management chip. The preset fourth time interval is a prime number.

[0228] Optionally, the battery ground information processing device further includes:

[0229] The second access subunit is used to determine the second target battery parameter to be acquired at each preset fifth time interval; the second target battery parameter is any one of the battery parameters that the MCU control in the charging dock needs to acquire from the battery's power management chip; the preset fifth time interval is a prime number;

[0230] The second acquisition subunit is used to trigger a second access instruction that includes acquiring the second target battery parameters, and to read the data information of the second target battery parameters from the battery's power management chip.

[0231] Optionally, it also includes:

[0232] Access wait unit, used for:

[0233] Before accessing the battery's power management chip, check if the data bus is idle;

[0234] If the data bus is detected to be busy, wait for the preset sixth time period before initiating the battery access command again.

[0235] In the device of this embodiment, when the battery is charged via a charging dock, the MCU controller located in the charging dock is electrically connected to the power management chip. When the MCU controller in the charging dock triggers a battery access command, it can obtain battery data information by accessing the power management chip. Thus, through the connection between the MCU controller in the charging dock and the power management chip, the MCU controller host in the charging dock can access the battery.

[0236] refer to Figure 7 The diagram illustrates the structure of a host computer. In this embodiment, the host computer includes:

[0237] Processor 701 and memory 702;

[0238] The processor 701 is used to execute the program stored in the memory 702;

[0239] The memory 702 is used to store a program for executing the aforementioned information processing method applied to the battery, including:

[0240] When the first battery access command is triggered, the power management chip of the battery is accessed;

[0241] Read the battery data information from the battery's power management chip.

[0242] Optionally, it also includes:

[0243] A first battery access command is triggered at each preset first time interval; the preset first time interval is determined based on the access frequency of the host to the power management chip and the access frequency of the charging dock to the power management chip; the preset first time interval is a prime number.

[0244] Optionally, the step of accessing the battery's power management chip and reading the battery's data information from the power management chip after triggering the first battery access command includes:

[0245] At preset second time intervals, a first target battery parameter to be acquired is determined; the first target battery parameter is any one of the battery parameters that the host needs to acquire from the battery's power management chip; the preset second time interval is a prime number. A first access instruction containing the acquisition of the first target battery parameter is triggered, and the data information of the first target battery parameter is read from the battery's power management chip.

[0246] Optionally, it also includes:

[0247] Before accessing the battery's power management chip, check if the data bus is idle;

[0248] When the data bus is idle, access the battery's power management chip;

[0249] When the data bus is busy, access to the battery's power management chip is revoked.

[0250] Optionally, it also includes:

[0251] When initiating access to the power management chip, it is detected whether the data bus is idle;

[0252] If the data bus is idle, continue accessing the power management chip;

[0253] If the data bus is busy, access to the power management chip will be abandoned.

[0254] Optionally, it also includes:

[0255] Before accessing the battery's power management chip, check if the data bus is idle;

[0256] If the data bus is detected to be busy, wait for a preset third time period before initiating the first battery access command again.

[0257] refer to Figure 8 The diagram illustrates the structure of an electronic device. In this embodiment, the electronic device includes:

[0258] Processor 801 and memory 802;

[0259] The processor 801 is used to execute the program stored in the memory 802;

[0260] The memory 802 is used to store a program for executing the aforementioned information processing method applied to the battery, including:

[0261] When the second access command is triggered, the battery's power management chip is accessed;

[0262] Read the battery data information from the battery's power management chip.

[0263] Optionally, it also includes:

[0264] A second battery access command is triggered at each preset fourth time interval. The preset fourth time interval is determined based on the access frequency of the host to the battery power management chip and the access frequency of the charging dock to the battery power management chip. The preset fourth time interval is a prime number.

[0265] Optionally, the step of accessing the battery's power management chip and reading the battery's data information from the battery's power management chip after the second access instruction is triggered includes:

[0266] At each preset fifth time interval, the second target battery parameter to be acquired is determined; the second target battery parameter is any one of the battery parameters that the MCU control in the charger needs to acquire from the battery's power management chip; the preset fifth time interval is a prime number;

[0267] A second access instruction is triggered, which includes obtaining the parameters of the second target battery, and the data information of the second target battery parameters is read from the power management chip of the battery.

[0268] Optionally, it also includes:

[0269] Before accessing the battery's power management chip, check if the data bus is idle;

[0270] If the data bus is detected to be busy, wait for the preset sixth time period before initiating the battery access command again.

[0271] Optionally, it also includes:

[0272] Before accessing the battery's power management chip, check if the data bus is idle;

[0273] When the data bus is idle, access the battery's power management chip;

[0274] When the data bus is busy, access to the battery's power management chip is revoked.

[0275] Optionally, it also includes:

[0276] When initiating access to the power management chip, check if the data bus is idle;

[0277] If the data bus is idle, continue accessing the power management chip;

[0278] If the data bus is busy, access the power management chip.

[0279] The present invention also discloses a storage medium disposed on a host computer, wherein a computer program is stored thereon. When the computer program is loaded and executed by a processor, it at least implements the information processing method for the battery described above. The information processing method for the battery is applied to the host computer. The specific method is described in the above embodiments and will not be described in detail in this embodiment.

[0280] This invention also discloses a storage medium disposed in a charging dock, on which a computer program is stored. When the computer program is loaded and executed by a processor, it at least implements the information processing method for the battery described above, and the information processing method for the battery is applied to the charging dock. The specific method is described in the above embodiments and will not be described in detail in this embodiment.

[0281] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0282] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An information processing system applied to a battery, characterized by comprising: include: A power management chip and a main unit are installed in the battery, and an MCU controller is installed in the charging dock; When the battery powers the host, the power management chip is connected to the host via the first data bus; When the battery is charged via a charging dock, the power management chip is connected to the MCU controller located in the charging dock via a second data bus; When the battery is charged through the charging dock and the battery powers the host, the power management chip is electrically connected to the MCU controller and the host respectively, which are located in the charging dock. The power management chip is connected to the host and the charging dock MCU controller through a third data bus, so that the power management chip, the host and the charging dock can communicate through the same data bus. The power management chip is used to acquire battery data information. After the host is electrically connected to the power management chip, it reads the battery data information from the power management chip. After the MCU controller set in the charging dock is electrically connected to the power management chip, it reads the battery data information from the power management chip.

2. The system of claim 1, wherein, When the battery is charged via a charging dock and the battery powers the host device, the power management chip is electrically connected to both the MCU controller located in the charging dock and the host device. include: When the battery powers the host and is charging via the charging dock, the host is connected to the first pin of the battery, the charging dock MCU controller is connected to the second pin of the battery, the first and second pins are connected to the third data bus, and the third data bus is connected to the third pin of the power management chip.

3. An information processing method applied to a battery, characterized by, The method is applied to a host computer in an information processing system for a battery as described in any one of claims 1-2, and the method includes: When the first battery access command is triggered, the battery's power management chip is accessed; When the battery powers the host, the host reads the battery's data information from the battery's power management chip via a first data bus. Alternatively, when the battery is charging via a charging dock and the battery powers the host, the host reads the battery's data information from the battery's power management chip via a third data bus. The power management chip is connected to the host and the MCU controller located in the charging dock via the third data bus, so that the power management chip, the host, and the charging dock communicate via the same data bus.

4. The method of claim 3, wherein, Also includes: A first battery access command is triggered at each preset first time interval; the preset first time interval is determined based on the access frequency of the host to the power management chip and the access frequency of the charging dock to the power management chip; the preset first time interval is a prime number.

5. The method of claim 3, wherein, Upon triggering the first battery access command, the battery's power management chip is accessed, and data information of the battery is read from the battery's power management chip, including: At each preset second time interval, a first target battery parameter to be acquired is determined; the first target battery parameter is any one of the battery parameters that the host needs to acquire from the battery's power management chip; the preset second time interval is a prime number; a first battery access instruction containing the acquisition of the first target battery parameter is triggered, and the data information of the first target battery parameter is read from the battery's power management chip.

6. The method of claim 3, wherein, Also includes: Before accessing the battery's power management chip, check if the data bus is idle; If the data bus is detected to be busy, wait for a preset third time period before initiating the first battery access command again.

7. An information processing method applied to a battery, characterized by, The method is applied to the MCU controller disposed in the charging dock in the information processing system for the battery according to any one of claims 1-2, comprising: When the second battery access command is triggered, the power management chip of the battery is accessed; When the battery is charged via a charging dock, the MCU controller located in the charging dock reads the battery's data information from the battery's power management chip via a second data bus. Alternatively, when the battery is charged via a charging dock and the battery is supplying power to the host, the MCU controller located in the charging dock reads the battery's data information from the battery's power management chip via a third data bus. The power management chip is connected to the host and the charging dock MCU controller via the third data bus, so that the power management chip, the host, and the charging dock communicate via the same data bus.

8. The method of claim 7, wherein, Also includes: A second battery access command is triggered at each preset fourth time interval. The preset fourth time interval is determined based on the access frequency of the host to the battery power management chip and the access frequency of the charging dock to the battery power management chip. The preset fourth time interval is a prime number.

9. The method of claim 7, wherein, Upon triggering the second battery access command, the battery's power management chip is accessed, and data information of the battery is read from the power management chip, including: At each preset fifth time interval, the second target battery parameter to be obtained is determined; the second target battery parameter is any one of the battery parameters that the MCU controller in the charger needs to obtain from the battery's power management chip; the preset fifth time interval is a prime number; A second battery access instruction containing the acquisition of second target battery parameters is triggered, and data information of the second target battery parameters is read from the battery's power management chip.

10. The method of claim 7, wherein, Also includes: Before accessing the battery's power management chip, check if the data bus is idle; If the data bus is detected to be busy, wait for the preset sixth time period before initiating the battery access command again.

11. A host computer, characterized in that, The host includes: Processor and memory; The processor is used to execute the program stored in the memory; The memory is used to store a program for executing the information processing method applied to a battery as described in claims 3-6.

12. An electronic device, comprising: The electronic device includes: Processor and memory; The processor is used to execute the program stored in the memory; The memory is used to store a program for executing the information processing method applied to a battery as described in claims 7-10.

Citation Information

Patent Citations

  • Intelligent battery management system

    CN208571647U