CN117130636A - Data processing method, charging device, computer device and storage medium - Google Patents

Data processing method, charging device, computer device and storage medium Download PDF

Info

Publication number
CN117130636A
CN117130636A CN202311112968.9A CN202311112968A CN117130636A CN 117130636 A CN117130636 A CN 117130636A CN 202311112968 A CN202311112968 A CN 202311112968A CN 117130636 A CN117130636 A CN 117130636A
Authority
CN
China
Prior art keywords
charging
equipment
program
upgrading
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311112968.9A
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.)
Jiangsu Dongcheng Tools Technology Co Ltd
Original Assignee
Jiangsu Dongcheng Tools 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 Jiangsu Dongcheng Tools Technology Co Ltd filed Critical Jiangsu Dongcheng Tools Technology Co Ltd
Priority to CN202311112968.9A priority Critical patent/CN117130636A/en
Publication of CN117130636A publication Critical patent/CN117130636A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The application provides a data processing method, a charging device, a computer device and a storage medium, and relates to the technical field of computers. If the charging equipment needs to upgrade the charging program, the target charging program can be acquired through the electronic equipment or the server, so that the charging program is adaptively updated, and the service efficiency and the charging efficiency of the equipment are improved.

Description

Data processing method, charging device, computer device and storage medium
Technical Field
The present application relates to the field of computer technology, and in particular, to a data processing method, a charging device, a computer device, and a storage medium.
Background
With the development of technology, lithium batteries have become the mainstream in the tool industry, the voltage platforms of the lithium batteries are more, and meanwhile, novel lithium-manganese soft-pack batteries and sodium batteries are also appeared in recent years; along with the continuous updating of battery types, the charger also needs to be compatible with various types of batteries, and charging equipment in the prior art is pre-recorded with a preset charging program, and the charging program is set according to the charging requirement of a battery pack with a fixed model, but if the battery packs with other models are replaced or the charging program needs to be updated, manual intervention is needed, the charging equipment cannot automatically complete program updating, and the service efficiency of the equipment is low.
Disclosure of Invention
The embodiment of the application provides a data processing method, charging equipment, computer equipment and a storage medium.
In a first aspect of an embodiment of the present application, there is provided a data processing method, including:
acquiring charging parameters of electronic equipment, wherein the charging parameters at least comprise one of target charging programs or working parameters or running states matched with the electronic equipment;
if the charging parameters are not matched with the preset charging program of the charging equipment, acquiring software upgrading information matched with the charging parameters, wherein the software upgrading information is used for indicating to upgrade the charging program of the charging equipment according to a target charging program;
and executing the upgrading processing of the charging equipment through the software upgrading information.
In one embodiment, in the method disclosed by the application, if the electronic device includes a communication function, the method obtains a charging parameter of the electronic device, including:
analyzing the charging parameters, and acquiring identification information of a first flag bit, wherein the first flag bit is used for indicating whether to detect a charging program of the charging equipment;
and if the identification information indicates to detect the charging program of the charging equipment, acquiring the target charging program matched with the electronic equipment.
In one embodiment, the method disclosed by the application for acquiring the software upgrading information matched with the charging parameters comprises the following steps:
if the target charging program is not matched with the preset charging program of the charging equipment, generating upgrading request information, wherein the upgrading request information is used for requesting to acquire the target upgrading program matched with the electronic equipment;
sending the upgrade request information to the electronic equipment;
and if the electronic equipment responds to the upgrading request information, acquiring a target upgrading program transmitted by the electronic equipment.
In one embodiment, the disclosed method further comprises;
if the charging equipment is detected to execute the upgrading operation, displaying first information;
and if the charging equipment is detected to execute the upgrade operation, displaying second information.
In one embodiment, the disclosed method further comprises:
and if the charging equipment finishes the upgrading operation, modifying the identification information of the first flag bit into a charging program of the charging equipment without detecting the charging equipment, so that the current electronic equipment insertion is detected again, and executing the charging operation.
In one embodiment, in the method disclosed in the present application, if the electronic device does not include a communication function, the obtaining the software upgrade information matched with the charging parameter includes:
if the target charging program is not matched with the preset charging program of the charging equipment, generating upgrading request information, wherein the upgrading request information is used for requesting to acquire the target upgrading program matched with the electronic equipment;
sending the upgrade request information to the third party equipment;
and if the third party equipment responds to the upgrading request information, acquiring a target upgrading program.
In one embodiment, the method disclosed in the present application includes: and the current and/or voltage output by the charging equipment in each of N charging stages is greater than or equal to 1.
In a second aspect of the embodiment of the present application, there is provided a charging apparatus including:
the device comprises a detection module, a communication module and an upgrading module;
the detection module is used for acquiring the charging parameters of the electronic equipment, wherein the charging parameters at least comprise one of target charging programs or working parameters or running states matched with the electronic equipment;
the communication module is used for acquiring software upgrading information if the charging parameters are not matched with a preset charging program of the charging equipment, and the software upgrading information is used for indicating the charging program of the charging equipment to be upgraded according to a target charging program;
and the upgrading module is used for executing upgrading processing of the charging equipment through the software upgrading information.
In a third aspect of the embodiment of the present application, there is provided a computer apparatus including: comprising a memory storing a computer program and a processor implementing the steps of any of the methods described above when the processor executes the computer program.
In a fourth aspect of embodiments of the present application, there is provided a computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of any of the above.
The embodiment of the application provides a data processing method, which is used for determining whether a charging program of charging equipment needs to be upgraded or not through charging parameters of electronic equipment after detecting that the electronic equipment is connected to the charging equipment; if the charging equipment needs to upgrade the charging program, the target charging program can be acquired through the electronic equipment or the server, so that the problem that the charging equipment cannot be matched with different electronic equipment in the prior art, different charging strategies are executed, the self-adaptive updating of the charging program is realized, and the service efficiency and the charging efficiency of the equipment are improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a schematic diagram of an application scenario of a data processing method according to an embodiment of the present application;
FIG. 2 is a flow chart of a data processing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a data processing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a charging device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In the process of realizing the application, the inventor finds that the prior charging equipment cannot update software automatically in the charging process, so that the equipment resource utilization is poor.
In view of the foregoing, the embodiment of the present application provides a data processing method.
At present, the preset programs in the charging equipment are all burnt on a production line, so that the problem that if the program is found to be bug after the charging equipment is sold, the program needs to be modified, or a new function is added into the charging equipment, and the program needs to be updated exists; however, if the charging equipment after leaving the factory needs to update the program, the charging equipment must be returned to the factory for upgrading, so that the waste of manpower and material resources is caused.
In actual use, since the charging device cannot identify different types of electric equipment, the same preset charging program is used for different battery models and different battery states, so that the following problems are caused: on the one hand, the electric energy cannot be provided for the electric equipment due to the mismatching of the models between the charging equipment and the electric equipment, and on the other hand, the electric equipment is damaged due to overlarge output electric quantity of the charging equipment, so that the electric energy is wasted or potential safety hazards are caused or the service life of a battery is influenced.
Therefore, the problem that the charging device cannot be automatically upgraded is to be solved.
Aiming at the problem of low equipment use efficiency caused by incapability of autonomous upgrading of the charging equipment, the embodiment of the application provides a data processing method, which comprises the steps of acquiring charging parameters of the electronic equipment after detecting that the electronic equipment is connected to the charging equipment, and determining whether a charging program of the charging equipment needs to be upgraded or not through the charging parameters of the electronic equipment; if the charging equipment needs to upgrade the charging program, the target charging program can be acquired through the electronic equipment or the third party equipment, so that the problem that the charging equipment cannot be matched with different electronic equipment in the prior art, different charging strategies are executed, the self-adaptive updating of the charging program is realized, and the service efficiency and the charging efficiency of the equipment are improved.
The scheme in the embodiment of the application can be realized by adopting various computer languages, such as object-oriented programming language Java, an transliteration script language JavaScript and the like.
In order to make the technical solutions and advantages of the embodiments of the present application more apparent, the following detailed description of exemplary embodiments of the present application is provided in conjunction with the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application and not exhaustive of all embodiments. It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other.
The application environment of the data processing method provided by the embodiment of the application is briefly described below:
referring to fig. 1, a data processing method provided in an embodiment of the present application is applied to a charging system 10, where the charging system 10 at least includes a charging device 101 and an electronic device 102, and at least a plurality of batteries are configured in the electronic device 102.
After the charging equipment 101 detects that the electronic equipment 102 is successfully accessed, whether the communication function is configured of the electronic equipment is detected, if the communication function is configured of the electronic equipment, the electronic equipment acquires upgrade information and finishes upgrade operation, so that the problem that upgrade processing cannot be finished autonomously is solved, the adaptation of the charging equipment and the electronic equipment is realized, and the service efficiency of the charging equipment is improved;
after the electronic device 102 is successfully connected to the charging device, the charging related parameters are sent to the charging device, if the charging program pre-configured by the charging device is not matched with the charging program required by the electronic device, an upgrading program is sent to the charging device, so that the charging device finishes the upgrading program, the adaptation of the charging device and the electronic device is finally realized, and the charging efficiency is improved.
In an alternative embodiment, the charging system may further include a server, where the server is connected with the charging device, and the server is configured to provide a charging program matched with the electronic device, and the charging device may obtain the charging program through the server, so that the charging device is matched with the electronic device, and suitability and use efficiency of the charging device are improved; the server may also be connected to the electronic device to upgrade the charging program in the electronic device, or may send the charging program to the charging device through the electronic device.
Referring to fig. 2, the following embodiment specifically describes an example of applying the method provided by the embodiment of the present application to upgrade a charging program in a charging device using the charging device 101 as an execution subject. The data processing method provided by the embodiment of the application comprises the following steps 201 to 203:
step 201, obtaining a charging parameter of the electronic device.
The charging parameters are used for indicating parameters for executing charging operation for the electronic equipment, the charging parameters at least comprise target charging programs and/or running parameters and/or working information matched with the electronic equipment, and the charging programs can be at least used for monitoring safety charging parameters in a charging process and controlling output current or voltage of the charging equipment; the working parameters comprise any one of maximum allowable charging voltage, maximum allowable charging current, maximum allowable charging temperature, minimum allowable charging temperature and charging mode; the state parameters include any one of a full pack voltage, a single cell voltage of the battery cell, a battery pack temperature, and a fault state.
The target charging program includes: the current and/or voltage output by the charging device for each of the N charging phases, where N is greater than or equal to 1, for example, the charging device may charge the electronic device with a first current value for a first period of time and the charging device may charge the electronic device with a second current value for a second period of time, where the second current value is greater than the first current value.
The charging program may include a program for controlling the output current of the hardware port, or may include a program for controlling the output current of magnetic induction or other wireless means.
The charging program can also be used for monitoring the operation parameters and/or the working information of the battery pack in the external equipment and controlling the charging operation; for example, when it is detected that the charging temperature during charging exceeds the charging temperature for maximum operation, charging is stopped, or an alarm process is simultaneously performed.
The charging device may include a plurality of ports, and the first port detects whether the electronic device is successfully accessed, and establishes an electrical connection relationship; and detecting the type of the electronic equipment through the second port, and if the type of the electronic equipment is a communicable type, acquiring data transmitted by the electronic equipment through the second port.
For example, if the charging device is successfully connected with the electronic device, response request information is generated, wherein the response request information is used for requesting the electronic device to respond; if the response information of the electronic equipment is received in the preset time, the electronic equipment is determined to be the first type of equipment, namely the electronic equipment is configured with a communication function and can execute data transmission with the charging equipment.
Step 202, if the charging parameters are not matched with the preset charging program of the charging device, acquiring the software upgrading information matched with the charging parameters.
The mismatch between the charging parameters of the electronic device and the preset charging program of the charging device may include mismatch between parameters related to controlling the output current, the output voltage, the output power, etc. in the preset charging program and the charging parameters, or mismatch between the charging mode in the preset charging program and the charging parameters, such as mismatch between wireless charging and wired charging.
The software upgrade information is used to indicate a charging procedure of the charging device to be upgraded according to a target charging procedure.
The software upgrade information may include a storage address, which may be an address in a storage space of the electronic device or an address in a storage space of the third party device, by the charging device accessing the address to obtain the target charging program.
The software upgrade information may include target charging software to improve efficiency of the charging device upgrade process.
The software upgrade program may include operating rights, which may include the rights of the device and/or the rights of the operator. The operation authority may be a permanent authority or a temporary authority. For example, in the situation that the charging device performs the upgrade operation or acquires the target charging program, the permission verification can be performed first, so that the safety of the device operation is improved, and the damage to the device caused by misoperation is avoided.
The software upgrade information may also include an operating time for the time required to perform the upgrade operation, facilitating a user's rational arrangement of when to perform the device upgrade.
And 203, performing upgrading processing of the charging equipment through the software upgrading information.
After the charging equipment acquires the software upgrading information, the charging equipment can directly complete the upgrading through the target software program; the target charging software can be analyzed, and different control programs between the target charging software and the preset charging software of the current charging equipment are analyzed, so that only the different control programs are replaced in the upgrading process, the upgrading efficiency is further improved, and resources are saved.
After the upgrade is finished, the charging device also establishes a target mapping between the electronic device and a target charging program, so that the electronic device with the same type and the later program management can be quickly adapted.
The charging device may store the target mapping and the target charging program at the local device side, or store the target mapping and the target charging program at a third party, thereby saving the storage resources at the local side.
The charging equipment in the embodiment of the application comprises a processor and a memory, wherein a target charging program is stored in the memory and is used for controlling the output voltage and/or the charging output current in the charging module so as to charge the battery pack corresponding to the charging component; if the current charged battery pack capacity is detected to be full, stopping charging through a target charging program; if the fault is detected in the charging process of the current charged battery pack quantity, stopping charging through a target charging program, and alarming.
According to the data processing method provided by the embodiment of the application, after the electronic equipment is detected to be connected to the charging equipment, whether the charging program of the charging equipment needs to be upgraded or not is determined through the charging parameters of the electronic equipment; if the charging equipment needs to upgrade the charging program, the target charging program can be acquired through the electronic equipment or the server, so that the problem that the charging equipment cannot be matched with different electronic equipment in the prior art, different charging strategies are executed, the self-adaptive updating of the charging program is realized, and the service efficiency and the charging efficiency of the equipment are improved.
In an alternative embodiment of the present application, if the electronic device includes a communication function, the step 201 of obtaining the charging parameters of the electronic device includes steps 301 to 302:
step 301, analyzing the charging parameter, and obtaining identification information of a first flag bit, where the first flag bit is used to indicate whether to detect a charging procedure of the charging device.
The electronic equipment generates parameter information of the battery based on the configuration of the internal battery; and acquiring a target charging program according to the parameter information of the battery.
If the electronic device determines the target charging program of the current device, the first flag bit of the current device may be set, so that charging control of the charging device and the electronic device is convenient to be unified, and if the electronic device supports a fast charging mode, the charging program of the charging device may be configured to be fast charging.
Step 302, if the identification information indicates to detect the charging procedure of the charging device, acquiring the target charging procedure matched with the electronic device.
If the electronic device is set to be matched with the charging device by default, or the current charging device has completed matching with the charging program of the current electronic device, the charging program of the current charging device can be not required to be detected, and the port of the charging device for detecting the charging program can be directly closed, so that the data processing efficiency is improved, and the resource waste caused by repeated detection is avoided.
In an optional embodiment of the present application, the step 202 of obtaining the software upgrade information transmitted by the electronic device further includes steps 401-403:
step 401, if the preset device message is not matched with the target device message, generating upgrade request information.
The upgrade request information is used for requesting to acquire a target upgrade program matched with the electronic equipment.
Step 402, sending the upgrade request information to the electronic device.
Step 403, if the electronic device responds to the upgrade request information, acquiring a target upgrade program transmitted by the electronic device.
The electronic device can acquire the target upgrading program matched with the device and send the target upgrading program to the charging device so as to meet the requirement of the upgrading program of the charging device.
In an optional embodiment of the present application, the step 202 of obtaining the software upgrade information transmitted by the electronic device further includes steps 501 to 503:
step 501, if the preset device message is not matched with the target device message, generating upgrade request information.
The upgrade request information is used for requesting to acquire a target upgrade program matched with the electronic equipment.
Step 502, sending the upgrade request information to a server.
Step 503, if the server responds to the upgrade request information, acquiring a target upgrade program transmitted by the electronic device.
The charging equipment can acquire the target upgrading program matched with the equipment through the server, so that the requirement of the upgrading program of the charging equipment can be met, and the storage space of the local end of the electronic equipment can be saved.
In an optional embodiment of the present application, step 202 acquires the software upgrade information transmitted by the electronic device, and further includes steps 601-602:
step 601, if the target charging program is not matched with the preset charging program of the charging device, generating upgrade request information, where the upgrade request information is used to request to obtain a target upgrade program matched with the electronic device;
if the electronic equipment without the communication function is successfully connected with the electronic equipment, acquiring a charging parameter of the electronic equipment through a port, wherein the charging parameter is an analog signal; and if the voltage of a detection port of the charging device connected with the electronic device is detected, determining the charging parameter of the electronic device.
Step 602, if the charging parameters do not match the charging procedure of the charging device, acquiring a target charging procedure by a third party device.
The target charging program is acquired through the third party equipment, and the upgrading request information can be sent to the third party equipment; and if the third party equipment responds to the upgrading request information, acquiring a target upgrading program.
Because the second type of electronic device is not provided with the communication module, if the charging device needs to update the charging software program, the charging program matched with the electronic device can be obtained from the third party device, and the third party device can be other devices at the local end of the charging device or a remote server, and the charging program matched with various batteries is stored in the third party device.
By acquiring the charging program matched with the electronic equipment from the server, the electronic equipment without a communication function can be compatible, and the suitability of the charging equipment is improved.
In an alternative embodiment, the data processing method provided by the present application further includes: if the charging equipment is detected to execute upgrading operation according to the target charging program, displaying first information; and if the charging equipment is detected to execute the upgrade operation, displaying second information. The charging device can be prompted whether to be in an upgrading state currently through different information, and a user is prompted timely after the upgrading is finished, so that the user can conveniently execute charging operation.
In an optional embodiment, if the data processing method provided by the application detects that the charging equipment finishes the upgrading operation, the identification information of the first flag bit is modified to a charging program of the charging equipment without detecting, so that the current electronic equipment is detected to be inserted again, the charging operation is directly executed without detecting the charging program of the charging equipment again; correspondingly, if the device parameters of the current electronic device change, the identification information of the first flag bit can be modified again to detect the charging program of the charging device. By setting the first flag bit of the electronic equipment, whether the charging program of the charging equipment needs to be updated or not can be judged conveniently, and the charging efficiency is improved.
Referring to fig. 3, a logic diagram is shown, and the data processing method provided in the embodiment of the application includes:
step one, after detecting that the electronic equipment is connected to the charging equipment, the charging equipment firstly detects whether the electronic equipment is successfully plugged into a package, and a charging circuit is built.
If the electronic equipment is successfully plugged, the type of the electronic equipment is continuously detected, and if the electronic equipment is successfully plugged, a response instruction is sent to the battery through the second port;
if the second port receives a response signal sent by the BATTERY within a preset time period according to the response instruction, determining that the electronic device is a first type electronic device, wherein the electronic device comprises a communication type BATTERY pack, and the communication type BATTERY pack can be a BATTERY pack comprising a communication module or a BATTERY of a configuration BMS (Battery MANAGEMENT SYSTEM) chip;
if the response signal sent by the battery is not received within the preset time, determining that the electronic equipment is the second type of electronic equipment, wherein the electronic equipment comprises a non-communication type battery pack, the type of electronic equipment does not need to execute upgrading operation, and the charging equipment can close the corresponding upgrading module to reduce the power consumption of the chip;
and step three, if the electronic equipment is the first type equipment, generating an inquiry instruction, wherein the inquiry instruction is used for inquiring the charging parameters of the electronic equipment, and determining whether the charging equipment needs to be upgraded or not according to the inquiry instruction.
If the upgrading processing is needed, the upgrading program information is obtained through the electronic equipment. The upgrade processing is executed according to the upgrade program information, and the charging operation is continuously executed after the upgrade is completed;
and if the upgrading processing is not needed, acquiring the charging parameters of the electronic equipment, and executing charging according to the charging parameters.
The charging parameters include at least one of a battery pack ID in the external device, a battery pack temperature, a maximum allowable charging voltage of the battery pack, a maximum allowable charging current, a maximum allowable charging temperature, a minimum allowable charging temperature, an entire pack voltage, a single cell voltage of the battery cell, a battery pack temperature, and a fault state.
The charging equipment displays different contents through the display equipment to distinguish that the current charging equipment is executing charging or upgrading, so that a user can know the state of the charging equipment conveniently.
And step four, if the electronic equipment is the second type equipment, detecting an analog signal received by the second port through the analog signal processing module, identifying the analog signal as a charging parameter of the battery pack by the processor, and carrying out matching control on the current management module by the processor to output the optimal current.
The data processing method provided by the embodiment of the application is applied to charging equipment, the charging equipment is used as a host, the type of the battery pack can be judged through the digital signal of the communication port and the analog signal of the detection port, the charging parameters can be obtained, a charging program is configured, and the charging program is responded to output a set voltage and the output current is regulated. Meanwhile, for adapting to different voltage platforms and different charging current limits of the battery pack, the functions of different voltage output and multi-gear current charging are preset in the charging equipment, and the charging equipment program is stored in the battery pack memory in advance, so that the charging equipment can be matched with different types of battery packs conveniently, and the corresponding program can be updated and matched for the charging equipment for the first time of charging through the communication port.
Referring to fig. 4, an embodiment of the present application provides a charging device 40, including:
a detection module 401, a communication module 402, and an upgrade module 403;
the detection module 401 is configured to obtain a charging parameter of the electronic device, where the charging parameter at least includes one of a target charging program or a working parameter or an operating state matched with the electronic device;
the communication module 402 is configured to obtain software upgrade information if the charging parameter does not match a preset charging program of a charging device, where the software upgrade information is used to instruct to upgrade the charging program of the charging device;
the upgrade module 403 performs upgrade processing of the charging device through the software upgrade information.
The detection module, the communication module and the upgrading module can be integrated in the processor, so that the computing capacity of the charging equipment can be improved, the product size can be reduced, the charging equipment is more compact and convenient, and the user operation is facilitated.
The communication module 402 may establish a transmission link with an electronic device to transmit data, and may establish a transmission link with a third party device to transmit data, such as a remote server.
The charging equipment is provided with a plurality of ports and a processor, different functions are completed through different ports, for example, whether the electronic equipment completes a packet inserting action or not is detected through a first port, and a charging path is established with the charging equipment; acquiring a charging parameter of the electronic equipment through the second port, and controlling the power supply module to transmit current through the charging parameter by the processor; more importantly, the type of the electronic device can be identified through the second port.
The second port comprises a communication port for transmitting a communication signal, and the port can send a response instruction to the external equipment or receive the response signal sent by the external equipment so as to determine the type of the battery in the external equipment; the method can also be used for receiving a digital signal or an analog signal so as to acquire the parameters of a battery in the external equipment; the port is a multiplexing port, and different port functions can be completed according to instructions of the processor.
In an optional embodiment, the charging device provided by the application further includes a current monitoring module, where the current monitoring module autonomously monitors a charging process of the entire battery pack according to a protection policy in a charging procedure, for example, monitors a temperature, a current or a voltage in the charging process, so as to set a charging current or a charging voltage, and even stop charging; thereby ensuring the safety problem in the charging process, wherein the protection strategy is at least set according to the maximum allowable charging current, the maximum allowable charging temperature and the minimum allowable charging temperature.
For example, the charging device detects the charging current according to the overcurrent protection value set in the protection policy, and when the charging current is greater than or equal to the overcurrent protection value, the charging operation is stopped by the electric appliance.
The charging equipment is compatible with various types of batteries through a plurality of ports, so that the problems of low compatibility and low charging efficiency of the charging equipment are solved, the charging equipment is self-adaptively matched with the various types of batteries, the charging efficiency is improved, and the practicability of the charging equipment is enhanced.
After detecting that the electronic equipment is connected to the charging equipment, the charging equipment provided by the embodiment of the application determines whether a charging program of the charging equipment needs to be upgraded or not through the charging parameters of the electronic equipment; if the charging equipment needs to upgrade the charging program, the target charging program can be acquired through the electronic equipment or the server, so that the problem that the charging equipment cannot be automatically upgraded and the charging requirements of different batteries cannot be met due to the fact that the charging equipment cannot be automatically upgraded in the prior art can be solved, and the technical effect of improving the service efficiency of the charging equipment is finally achieved.
The specific limitation of the data processing apparatus may be referred to as limitation of the data processing method hereinabove, and will not be described herein. Each of the modules in the above-described data processing apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 5. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a data processing method as described above. Comprising the following steps: comprising a memory storing a computer program and a processor implementing any of the steps of the data processing method as described above when the processor executes the computer program.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored which, when executed by a processor, can implement any of the steps of the data processing method as above.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (10)

1. A method of data processing, the method comprising:
acquiring charging parameters of electronic equipment, wherein the charging parameters at least comprise one of target charging programs or working parameters or running states matched with the electronic equipment;
if the charging parameters are not matched with the preset charging program of the charging equipment, acquiring software upgrading information matched with the charging parameters, wherein the software upgrading information is used for indicating to upgrade the charging program of the charging equipment according to a target charging program;
and executing the upgrading processing of the charging equipment through the software upgrading information.
2. The method according to claim 1, wherein if the electronic device includes a communication function, the method includes obtaining a charging parameter of the electronic device, including:
analyzing the charging parameters, and acquiring identification information of a first flag bit, wherein the first flag bit is used for indicating whether to detect a charging program of the charging equipment;
and if the identification information indicates to detect the charging program of the charging equipment, acquiring the target charging program matched with the electronic equipment.
3. The data processing method according to claim 2, wherein the acquiring the software upgrade information matched with the charging parameter includes:
if the target charging program is not matched with the preset charging program of the charging equipment, generating upgrading request information, wherein the upgrading request information is used for requesting to acquire the target upgrading program matched with the electronic equipment;
sending the upgrade request information to the electronic equipment;
and if the electronic equipment responds to the upgrading request information, acquiring a target upgrading program transmitted by the electronic equipment.
4. The data processing method of claim 1, wherein the method further comprises:
if the charging equipment is detected to execute the upgrading operation, displaying first information;
and if the charging equipment is detected to execute the upgrade operation, displaying second information.
5. The data processing method according to claim 2, characterized in that the method further comprises:
and if the charging equipment finishes the upgrading operation, modifying the identification information of the first flag bit into a charging program of the charging equipment without detecting the charging equipment, so that the current electronic equipment insertion is detected again, and executing the charging operation.
6. The method according to claim 1, wherein if the electronic device does not include a communication function, the acquiring the software upgrade information matched with the charging parameter includes:
if the target charging program is not matched with the preset charging program of the charging equipment, generating upgrading request information, wherein the upgrading request information is used for requesting to acquire the target upgrading program matched with the electronic equipment;
sending the upgrade request information to the third party equipment;
and if the third party equipment responds to the upgrading request information, acquiring a target upgrading program.
7. The data processing method according to claim 1, wherein the target charging program includes: and the current and/or voltage output by the charging equipment in each of N charging stages is greater than or equal to 1.
8. A charging apparatus, characterized by comprising: the device comprises a detection module, the communication module and an upgrading module;
the detection module is used for acquiring the charging parameters of the electronic equipment, wherein the charging parameters at least comprise one of target charging programs or working parameters or running states matched with the electronic equipment;
the communication module is used for acquiring software upgrading information if the charging parameters are not matched with a preset charging program of the charging equipment, and the software upgrading information is used for indicating the charging program of the charging equipment to be upgraded according to a target charging program;
and the upgrading module is used for executing upgrading processing of the charging equipment through the software upgrading information.
9. A computer device, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the data processing method of any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the data processing method of any one of claims 1 to 7.
CN202311112968.9A 2023-08-30 2023-08-30 Data processing method, charging device, computer device and storage medium Pending CN117130636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311112968.9A CN117130636A (en) 2023-08-30 2023-08-30 Data processing method, charging device, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311112968.9A CN117130636A (en) 2023-08-30 2023-08-30 Data processing method, charging device, computer device and storage medium

Publications (1)

Publication Number Publication Date
CN117130636A true CN117130636A (en) 2023-11-28

Family

ID=88852467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311112968.9A Pending CN117130636A (en) 2023-08-30 2023-08-30 Data processing method, charging device, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN117130636A (en)

Similar Documents

Publication Publication Date Title
CN110226154B (en) Portable power supply capable of being upgraded remotely and remote upgrading method
JP3474850B2 (en) Battery power unit
CN110168798A (en) Data transmission method between battery pack and the battery pack and electronic device
CN107926075B (en) System and method for supporting data communication in heterogeneous environment
CN105898490A (en) Upgrading method for remote controller, television and remote controller
CN105677420A (en) Method and device for interface pin configuration
CN112744102B (en) Vehicle charging control method and device, vehicle and storage medium
CN110192321A (en) The method for updating program of electronic device and electronic device
CN107451024A (en) The credible measure of hardware realized based on BMC chip
CN112214413B (en) Application program testing method, device, equipment and storage medium
CN112440802B (en) Vehicle charging system, method, device, vehicle and storage medium
CN117130636A (en) Data processing method, charging device, computer device and storage medium
WO2020000657A1 (en) Method and apparatus for establishing operation and maintenance monitoring connection, terminal device, and medium
WO2017080411A1 (en) Method and apparatus for checking charging parameter and charger
CN112615835B (en) Charging pile multi-communication protocol support method and storage medium
CN109756397A (en) A kind of hardware sharing method, system and relevant device
CN113535202B (en) Charging pile upgrading method, upgrading device and charging pile system
CN104767995A (en) Method for recording electronic product test data and recording module
CN115001772A (en) Power transmission line Internet of things gateway control method, control system and computer readable storage medium
WO2021081784A1 (en) Power supply method, device and system, and storage medium
CN106790188A (en) The main frame collocation method of battery management system, device and battery management system
US11880324B2 (en) Battery data translator
CN112688379A (en) Charging method, device, equipment and medium
CN112954036B (en) Software upgrading method, terminal equipment and system
CN114201232B (en) Battery management system parameter configuration method, device and system and upper computer

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