Battery testing method and device based on mixed working steps
Through a hybrid step method, combined with tables and script steps, the precise control of the battery test system under complex conditions is achieved, and the problem that traditional step settings cannot meet dynamic charge and discharge current is solved, simplifying the operation process and supporting complex testing.
Patent Information
- Application Number
- CN202510813376.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-18
- Publication Date
- 2025-07-25
AI Technical Summary
Traditional battery testing systems are difficult to meet the requirements of dynamic charging and discharging current in complex testing scenarios, and traditional step setting methods cannot achieve step connection, jump and appointment pause operations.
The hybrid step method is adopted, combining form step and script step, and the test step files are generated through the upper computer, and the lower computer analyzes and executes them, supporting complex testing needs, and allowing users to interactively control the pause and continuation of the step.
It realizes precise control of battery performance under complex testing conditions, simplifies the operation process, meets diverse testing needs, supports dynamic charging and discharging current simulation and battery testing in complex working conditions.
Smart Images

Figure CN120370168A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery testing, and in particular, to a battery testing method and device based on a hybrid working step. Background Art
[0002] When a battery testing system conducts performance testing on a target battery, it is necessary to comprehensively detect various performance indicators of the target battery to ensure its stable operation under different working conditions. For example, when conducting battery capacity testing, it is necessary to measure the capacity performance under different temperature environments. This process requires precise control of the environmental temperature, implementation of charge and discharge operations under specific temperature conditions, and subsequent recording of capacity data corresponding to the temperature. To achieve the switching of different temperature conditions, the user needs to edit the test working steps, set the target temperature parameters in the working steps, and thus send a temperature adjustment instruction to the external temperature chamber.
[0003] However, the inventors have found through research that some test scenarios have higher complexity. For example, when the battery charge and discharge current needs to be dynamically calculated according to a specific mathematical model, the traditional tabular working step setting method is difficult to meet the requirements. Therefore, whether the working step design of the battery testing system can support complex test processes directly determines the user's ability to carry out diversified tests. Summary of the Invention
[0004] The purpose of the present invention is to provide a battery testing method and device based on a hybrid working step to alleviate the technical problem that the complex testing requirements of the battery cannot be met.
[0005] In a first aspect, the present invention provides a battery testing method based on a hybrid working step, including: Receiving a test working step file edited and generated by a host computer in response to a first control instruction and a test requirement input by a user for an operation interface; wherein, the test working step file is composed of a tabular working step and a script working step mixed; the tabular working step is used to control the lower computer by simulating different control parameters, and the script working step is used to control the lower computer by simulating the charge and discharge current / power under different control parameter conditions; Analyzing the test working step file and sequentially executing each working step in the test working step file to control the lower computer to test the target battery; When receiving a first control signal sent by the host computer in response to a second control instruction input by the user for the operation interface, pausing the currently executing working step in the test working step file; When receiving a second control signal sent by the host computer in response to a third control instruction input by the user for the operation interface, re-executing the currently executing working step and continuing the remaining working steps in the test working step file.
[0006] In an alternative embodiment, the step of receiving the test step file generated by the host computer in response to the first control instruction and test requirements input by the user for the operation interface includes: Receiving the test step file sent by the host computer; Wherein, the test step file includes a plurality of ordered step patterns presented in a table form, and each step pattern is defined by at least one step parameter; the step pattern includes a table step and a script step inserted by the host computer in response to the first control instruction and test requirements input by the user for the operation interface.
[0007] In an alternative embodiment, the step of parsing the test step file and sequentially executing each step in the test step file to control the lower computer to test the target battery includes: Parsing the test step file and sequentially executing the corresponding steps in the order of each step pattern in the test step file; If the step corresponding to the current execution order is a table step, directly simulate the corresponding control parameters for controlling the lower computer to test the target battery based on the step parameters defining the table step; If the step corresponding to the current execution order is a script step, load the preset script engine, compile and execute the step parameters defining the script step, and simulate a set of control parameters for controlling the lower computer to test the target battery; wherein, the set of control parameters is the charging current, discharging current, charging power or discharging power under the action of different control parameters.
[0008] In an alternative embodiment, when receiving the first control signal sent by the host computer in response to the second control instruction input by the user for the operation interface, the step of pausing the currently executing step in the test step file includes: When receiving the first control signal sent by the host computer, control the step corresponding to the current execution order in the test step file to pause; wherein, the first control signal is generated by the host computer based on the test data of the target battery that does not meet the expectation received from the lower computer, or is generated by the host computer in response to the second control instruction input by the user for the operation interface.
[0009] In an alternative embodiment, the method further includes: When the currently executing step in the test step file pauses, receiving the latest test step file updated by the host computer in response to the fourth control instruction and test requirements input by the user for the operation interface, and / or controlling the lower computer to detect the target parameters of the target battery; wherein, the target parameters are determined based on the second control instruction.
[0010] In an alternative embodiment, when receiving the second control signal sent by the host computer in response to a third control instruction input by the user for the operation interface, the current execution step is re-executed, and the steps of continuing the remaining steps in the test step file include: When receiving the second control signal sent by the host computer, the current execution step is re-executed, and then each step after the current execution step is continuously executed; wherein, the second control signal is generated by the host computer in response to a third control instruction input by the user for the operation interface, and the third control instruction is input through the user operation interface when the target parameters of the target battery are detected.
[0011] In an alternative embodiment, the method further includes: When receiving the third control signal sent by the host computer in response to a fourth control instruction input by the user for the operation interface, or when each step in the test step file has been executed, the lower computer terminates the test of the target battery.
[0012] In a second aspect, the present invention provides a battery testing device based on hybrid steps, including: A receiving module, which receives a test step file edited and generated by the host computer in response to a first control instruction input by the user for the operation interface and a test requirement; wherein, the test step file is composed of a table step and a script step in combination; the table step is used to control the lower computer by simulating different control parameters, and the script step is used to control the lower computer by simulating the charge and discharge current / power under different control parameter conditions; An execution module, which parses the test step file and sequentially executes each step in the test step file to control the lower computer to test the target battery; A pause module, which pauses the current execution step in the test step file when receiving the first control signal sent by the host computer in response to a second control instruction input by the user for the operation interface; A continuation module, which re-executes the current execution step and continues the remaining steps in the test step file when receiving the second control signal sent by the host computer in response to a third control instruction input by the user for the operation interface.
[0013] In a third aspect, the present invention provides an electronic device, including a memory, a processor, and a program stored on the memory and capable of running on the processor. When the processor executes the program, the method described in any one of the foregoing embodiments is implemented.
[0014] Fourthly, the present invention provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the method described in any one of the foregoing embodiments is implemented.
[0015] An embodiment of the present invention provides a battery testing method and device based on a hybrid working step. Based on a hybrid working step file generated by the interaction between a user and an operation interface of a host computer, it can execute table working steps to simulate different control parameters according to the execution order of the working step mode, and execute script working steps to simulate charge and discharge currents / powers under different control parameter conditions, so that a lower computer can test the performance indexes of a target battery under various complex working conditions according to the control parameters simulated by such.
[0016] Other features and advantages of the present invention will be described in the following specification, and, in part, will be obvious from the specification, or will be understood by implementing the present invention. The objectives and other advantages of the present invention are achieved and obtained by the structures specifically pointed out in the specification and the drawings.
[0017] To make the above objectives, features, and advantages of the present invention more obvious and understandable, the following specifically enumerates preferred embodiments and, in conjunction with the accompanying drawings, makes a detailed description as follows. Description of the Drawings
[0018] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0019] Figure 1 It is a flowchart of a battery testing method based on a hybrid working step provided by an embodiment of the present invention; Figure 2 It is a schematic diagram of a testing working step file provided by an embodiment of the present invention; Figure 3 It is a schematic diagram of the functional modules of a battery testing device based on a hybrid working step provided by an embodiment of the present invention; Figure 4 It is a schematic diagram of the hardware architecture of an electronic device provided by an embodiment of the present invention. Detailed Embodiments
[0020] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0021] When the battery test system adopts the form step method, the parameters of the form are fixed, and the user can only select the preset parameters and cannot randomly combine different parameters to control the charging and discharging of the battery. When the script step method is adopted, very complex battery test steps can be set, and arbitrary parameter calculations and combinations can be performed on the battery test. However, when completely adopting the script step method, it is difficult for the user to use, and operations such as step continuation / jump / reservation pause during the battery test process cannot be realized.
[0022] Based on this, the embodiments of the present invention provide a battery test method and device based on a hybrid step, which can simplify the operation process and meet complex test requirements through a simple and easy-to-use yet powerful step setting scheme.
[0023] To facilitate the understanding of this embodiment, first, a battery test method based on a hybrid step disclosed in the embodiments of the present invention will be introduced in detail. This method is applied to the middle computer; the battery test system for testing the performance indicators of the target battery includes an upper computer, a middle computer, and a lower computer; the upper computer is used to edit and generate a hybrid step file and monitor the test data of the target battery fed back by the lower computer; the middle computer parses and executes the hybrid step file sent by the upper computer, simulates the corresponding control parameters, so that the lower computer tests the target battery based on such control parameters.
[0024] Figure 1 The present invention provides a flowchart of a battery test method based on a hybrid step.
[0025] Refer to Figure 1 , the method includes: Step S102, receiving a test step file edited and generated by the upper computer in response to a first control instruction and a test requirement input by the user for the operation interface.
[0026] Among them, the test step file is composed of a form step and a script step; the form step is used to simulate different control parameters to control the lower computer to test the target battery, and the script step is used to simulate the charging and discharging current / power under the action of different control parameters to control the lower computer to test the target battery.
[0027] Exemplarily, the user interacts based on the operation interface of the host computer to edit and generate a test step file, and then send it to the middle computer; Among them, as Figure 2 shown, the test step file includes a plurality of ordered step patterns presented in tabular form, and each step pattern is defined by at least one step parameter; the step pattern includes a table step and a script step inserted by the host computer in response to the first control instruction and test requirements input by the user for the operation interface.
[0028] Here, according to the control instruction and test requirements input by the user interface interaction, it is possible to determine which execution order of the step pattern is set as the table step or the script step, that is, a script step can be inserted in a certain row of the test step file presented in tabular form; the operation interface of the host computer can be used for step editing and display, and can also be used to check whether the step is legal. When the user saves such step settings, a test step file will be generated. If the user wants to view it, it can also be read and displayed through the operation interface provided by the host computer.
[0029] It should be noted that Figure 2 the second step in
[0030] is a script step, which defines that when the step time is less than 5 seconds, the current value of CC (constant current charging) is continuously changed, that is, in the constant current charging function, input the step time less than 5 seconds, and output the current value corresponding to this step time.
[0031] Step S104, parse the test step file, and execute each step in the test step file in sequence to control the lower computer to test the target battery.
[0032] Among them, after receiving the test step file, the middle computer first parses it, and then can know the serial number of each step pattern, that is, the execution order, from the parsed file, as Figure 2 shown; Exemplarily, step S104 can be implemented through the following steps including: Step 1.1: Parse the test step file and sequentially execute the corresponding steps in the order of each step pattern in the test step file.
[0033] Here, the middle-level computer can use a general parsing method to complete the parsing of the test step file in the corresponding format.
[0034] Step 1.2: If the step corresponding to the current execution order is a table step, directly simulate the corresponding control parameters for controlling the target battery of the lower-level computer based on the step parameters that limit the table step.
[0035] Here, as Figure 2 shown, if the current execution order is Figure 2 the order corresponding to No. 1 in it, then based on this step pattern, it can be known that this step is a table step. At this time, 5A current and a charging time of 20 minutes can be simulated as the control parameters of the lower-level computer based on the step parameters that limit the step pattern.
[0036] Step 1.3: If the step corresponding to the current execution order is a script step, load the preset script engine, compile and execute the step parameters that limit the script step, and simulate a set of control parameters for controlling the target battery of the lower-level computer.
[0037] Among them, the set of control parameters is the charging current, discharging current, charging power or discharging power under the action of different control parameters. For example, the charging current, discharging current, charging power or discharging power under the action of different time / voltage.
[0038] Here, if the step pattern is a script step, the lua script engine is loaded, and then the corresponding script of the step parameters is placed in the lua script engine for compilation and execution.
[0039] In the lua script engine, the global variables of the script are used as the running physical parameters during the battery test. For example, control parameters such as step time / step capacity / current current / current voltage / step number, etc. are all regarded as the access methods of global variables. Constant current charging / constant current discharging / constant voltage charging, etc. are used as global functions in the script, and then the lower-level computer can be controlled using the set of control parameters output by the script, so as to realize various charge and discharge operations of the lower-level computer on the target battery according to this set of control parameters.
[0040] Step S106: When receiving the first control signal sent by the upper-level computer in response to the second control instruction input by the user on the operation interface, pause the current execution step in the test step file.
[0041] Among them, the first control signal is generated by the host computer based on the test data of the target battery that does not meet the expectation received from the slave computer, or is generated by the host computer in response to a second control instruction input by the user for the operation interface.
[0042] It should be noted that the test data of the target battery by the slave computer can be fed back to the host computer according to a preset period or in real time. When the host computer monitors that the test data of the target battery fails to meet the expected requirements, it automatically generates and issues the first control signal; or, when the user monitors on the operation interface of the host computer that the test data of the target battery fails to meet the expected requirements and inputs a second control instruction on the operation interface, the host computer then generates and issues the first control signal; or, when the user monitors that the current execution step needs to be paused according to experience and test requirements, monitors the target parameters of the target battery, and inputs a second control instruction on the operation interface, the host computer then generates and issues the first control signal.
[0043] As an optional embodiment, the situation where the test data of the target battery fails to meet the expected requirements may include that the charging voltage of a specific capacity battery does not reach the expected 4.5V within a preset time but only reaches 4V, or the discharge time of a battery with a specific process is too short to reach the expected time, etc.
[0044] Based on different step pause situations, different operations can be executed. The method provided by the embodiments of the present invention further includes: When the current execution step in the test step file is paused, receive the latest test step file updated by the host computer in response to a fourth control instruction input by the user for the operation interface and test requirements, and / or control the slave computer to detect the target parameters of the target battery.
[0045] Here, if it is monitored that the test data of the target battery fails to meet the expected requirements, it may be that there are some problems with the target battery, and then control the slave computer to detect the target parameters of the target battery for verification; or, after a certain step, the user needs to detect and record the target parameters of the target battery based on test requirements; or, if it is monitored that the test data of the target battery fails to meet the expected requirements, the test step file can also be updated on the operation interface of the host computer, and then re-execute steps S102 - S104 of the foregoing embodiments based on the latest test step file to ensure that the test data of the target battery fed back by the slave computer to the host computer meets the expected requirements.
[0046] Among them, the target parameters are determined based on the user inputting a second control instruction, that is, the user decides which target parameters to detect for the target battery, such as thickness, voltage, internal resistance, weight, etc.
[0047] Step S108: When receiving the second control signal sent by the host computer in response to the third control instruction input by the user for the operation interface, re - execute the currently executing work step and continue with the remaining work steps in the test work step file.
[0048] Among them, the second control signal is generated by the host computer in response to the third control instruction input by the user for the operation interface. The third control instruction is input through the user operation interface when the target parameters of the target battery are detected.
[0049] When a certain work step A pauses and then continues, at this time, work step A will be executed again from the beginning, rather than starting from the paused state of work step A, thus solving the problem that the script work step cannot be continued.
[0050] In a preferred embodiment of the actual application, based on the mixed work step file of the table work step and the script work step generated by the user's interaction with the operation interface of the host computer, it can execute the table work step to simulate different control parameters according to the execution order of the work step mode, and execute the script work step to simulate the charge - discharge current / power under different control parameter conditions, so that the lower computer tests the performance indicators of the target battery under various complex working conditions according to such simulated output control parameters; for example, it can test whether the capacity of the target battery can support the standard of 150,000 kilometers in 10 years under different vehicle working conditions, etc.
[0051] In some embodiments, the method provided by the embodiments of the present invention further includes: When receiving the third control signal sent by the host computer in response to the fourth control instruction input by the user for the operation interface, or when each work step in the test work step file has been executed, terminate the test of the target battery by the lower computer.
[0052] Here, the termination timing of the battery test can be determined by the user according to the test requirements and experience, or can be determined by the fact that all work steps in the test work step file have been executed; it should be noted that Figure 2 Only a demonstration example with five work steps is shown, and the number of work steps in the test work step file is not limited to this.
[0053] The embodiments of the present invention can use simple table work steps or complex script work steps. By mixing the table work step and the script work step, various complex working condition simulations can be realized by using the script, such as using the script to implement the use of the battery by the car under various working conditions, solving the technical problem that users cannot perform battery tests under complex conditions.
[0054] In some embodiments, as Figure 3 shown, the embodiments of the present invention provide a battery test device based on mixed work steps, including: A receiving module, which receives a test step file generated by an upper computer in response to a first control instruction and a test requirement input by a user for an operation interface; wherein, the test step file is composed of a mixed form of table steps and script steps; the table steps are used to control the lower computer by simulating different control parameters, and the script steps are used to control the lower computer by simulating charge and discharge currents / powers under different control parameter conditions; An execution module, which parses the test step file and sequentially executes each step in the test step file to control the lower computer to test a target battery; A pause module, which pauses the currently executing step in the test step file when receiving a first control signal sent by the upper computer in response to a second control instruction input by the user for the operation interface; A continuation module, which resumes the execution of the currently executing step and continues the remaining steps in the test step file when receiving a second control signal sent by the upper computer in response to a third control instruction input by the user for the operation interface.
[0055] In the embodiment of the present invention, by mixing table steps and script steps, it can ensure that users can perform various complex performance tests on the battery to meet the requirements of battery research and production under different conditions.
[0056] Further, the receiving module is specifically configured to receive a test step file sent by the upper computer; wherein, the test step file includes a plurality of ordered step patterns presented in a table form, and each step pattern is defined by at least one step parameter; the step pattern includes table steps and script steps inserted by the upper computer in response to a first control instruction and a test requirement input by the user for the operation interface.
[0057] Further, the parsing module is specifically configured to parse the test step file and sequentially execute corresponding steps according to the order of each step pattern in the test step file; if the step corresponding to the current execution order is a table step, directly simulate the corresponding control parameters for controlling the lower computer to test the target battery based on the step parameters defining the table step; if the step corresponding to the current execution order is a script step, load a preset script engine, compile and execute the step parameters defining the script step, and simulate a set of control parameters for controlling the lower computer to test the target battery; wherein, the set of control parameters is the charging current, discharging current, charging power or discharging power under the action of different control parameters.
[0058] Further, the pause module is specifically configured to pause the step corresponding to the current execution sequence in the test step file when receiving the first control signal sent by the host computer; wherein, the first control signal is generated by the host computer based on the test data of the target battery that does not meet the expectation received from the slave computer, or is generated by the host computer in response to a second control instruction input by the user to the operation interface.
[0059] Further, the device is further configured to, when the current execution step in the test step file is paused, receive the latest test step file updated by the host computer in response to a fourth control instruction input by the user to the operation interface and the test requirement, and / or control the slave computer to detect the target parameters of the target battery; wherein, the target parameters are determined based on the second control instruction.
[0060] Further, the resume module is specifically configured to, when receiving the second control signal sent by the host computer, re-execute the current execution step, and then sequentially execute each step after the current execution step; wherein, the second control signal is generated by the host computer in response to a third control instruction input by the user to the operation interface, and the third control instruction is input by the user to the operation interface after the detection of the target parameters of the target battery is completed.
[0061] Further, the device is further configured to terminate the test of the target battery by the slave computer when receiving the third control signal sent by the host computer in response to a fourth control instruction input by the user to the operation interface, or when each step in the test step file has been executed.
[0062] The embodiment of the present invention provides an electronic device for implementation. In this embodiment, the electronic device may be, but is not limited to, a computer device with analysis and processing capabilities such as a personal computer (PC), a laptop computer, a monitoring device, a server, etc.
[0063] As an exemplary embodiment, reference may be made to Figure 4 , the electronic device 110 includes a communication interface 111, a processor 112, a memory 113, and a bus 114. The processor 112, the communication interface 111, and the memory 113 are connected through the bus 114; the above-mentioned memory 113 is used to store a computer program that supports the processor 112 to execute the above method, and the above-mentioned processor 112 is configured to execute the program stored in the memory 113.
[0064] The machine-readable storage medium mentioned in this article can be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so on. For example, the machine-readable storage medium can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or a combination thereof.
[0065] The non-volatile medium can be non-volatile memory, flash memory, storage drives (such as hard disk drives), any type of storage disk (such as optical discs, DVDs, etc.), or similar non-volatile storage media, or a combination thereof.
[0066] It can be understood that for the specific operation methods of each functional module in this embodiment, reference can be made to the detailed descriptions of the corresponding steps in the foregoing method embodiments, and details will not be repeated here.
[0067] The computer-readable storage medium provided by the embodiments of the present invention stores a computer program, and when the computer program code is executed, it can implement the method described in any of the foregoing embodiments. For specific implementation, reference can be made to the method embodiments, and details will not be repeated here.
[0068] Those skilled in the art can clearly understand that for the sake of convenience and brevity of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the foregoing method embodiments, and details will not be repeated here.
[0069] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "coupled" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication of two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
[0070] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and should not be construed as indicating or implying relative importance.
[0071] Finally, it should be noted that the above-described embodiments are only specific implementation manners of the present invention, used to illustrate the technical solutions of the present invention, rather than limiting it. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the art within the technical scope disclosed by the present invention can still modify the technical solutions recorded in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered by the protection scope of the present invention.
Claims
1. A battery testing method based on a hybrid working step, characterized in that, Including: Receiving a test step file edited and generated by an upper computer in response to a first control instruction and a test requirement input by a user for an operation interface; wherein, the test step file is composed of a mixture of table steps and script steps; the table steps are used to control the lower computer by simulating different control parameters, and the script steps are used to control the lower computer by simulating charge and discharge currents / powers under different control parameter conditions; Parsing the test step file and sequentially executing each step in the test step file to control the lower computer to test a target battery; When receiving a first control signal sent by the upper computer in response to a second control instruction input by the user for the operation interface, pausing the currently executing step in the test step file; When receiving a second control signal sent by the upper computer in response to a third control instruction input by the user for the operation interface, re-executing the currently executing step and continuing the remaining steps in the test step file.
2. The method according to claim 1, wherein The step of receiving a test step file edited and generated by an upper computer in response to a first control instruction and a test requirement input by a user for an operation interface includes: Receiving a test step file sent by the upper computer; Wherein, the test step file includes a plurality of ordered step patterns presented in a table form, and each step pattern is defined by at least one step parameter; the step patterns include table steps and script steps inserted by the upper computer in response to a first control instruction and a test requirement input by the user for the operation interface.
3. The method according to claim 1 or 2, characterized in that, The step of parsing the test step file and sequentially executing each step in the test step file to control the lower computer to test a target battery includes: Parsing the test step file and sequentially executing corresponding steps in the order of each step pattern in the test step file; If the step corresponding to the current execution order is a table step, directly simulating corresponding control parameters for controlling the lower computer to test the target battery based on the step parameters defining the table step; If the step corresponding to the current execution order is a script step, loading a preset script engine, compiling and executing the step parameters defining the script step, and simulating a set of control parameters for controlling the lower computer to test the target battery; wherein, the set of control parameters is a charging current, a discharging current, a charging power or a discharging power under the action of different control parameters.
4. The method according to claim 1, characterized in that, The step of pausing the currently executing step in the test step file when receiving a first control signal sent by the upper computer in response to a second control instruction input by the user for the operation interface includes: When receiving the first control signal sent by the upper computer, controlling the step corresponding to the current execution order in the test step file to pause; wherein, the first control signal is generated by the upper computer based on test data of a target battery that does not meet expectations received from the lower computer, or is generated by the upper computer in response to a second control instruction input by the user for the operation interface.
5. The method according to claim 4, wherein The method further includes: When the current execution step in the test step file pauses, receive the latest test step file updated by the host computer in response to the fourth control instruction and test requirements input by the user for the operation interface, and / or control the lower computer to detect the target parameters of the target battery; wherein, the target parameters are determined based on the second control instruction.
6. The method according to claim 1, wherein When receiving the second control signal sent by the host computer in response to the third control instruction input by the user for the operation interface, re-execute the current execution step, and continue with the steps of the remaining steps in the test step file, including: When receiving the second control signal sent by the host computer, re-execute the current execution step, and then continue to execute each step after the current execution step; wherein, the second control signal is generated by the host computer in response to the third control instruction input by the user for the operation interface, and the third control instruction is input by the user through the operation interface when the detection of the target parameters of the target battery is completed.
7. The method according to claim 1, characterized in that The method further includes: When receiving the third control signal sent by the host computer in response to the fourth control instruction input by the user for the operation interface, or when each step in the test step file has been executed, terminate the test of the target battery by the lower computer.
8. A battery testing device based on a hybrid working step, characterized in that, Includes: A receiving module, which receives the test step file edited and generated by the host computer in response to the first control instruction and test requirements input by the user for the operation interface; wherein, the test step file is composed of a mixed form of table steps and script steps; the table steps are used to control the lower computer by simulating different control parameters, and the script steps are used to control the lower computer by simulating the charge and discharge current / power under different control parameter conditions; An execution module, which parses the test step file and sequentially executes each step in the test step file to control the lower computer to test the target battery; A pause module, which pauses the current execution step in the test step file when receiving the first control signal sent by the host computer in response to the second control instruction input by the user for the operation interface; A continuation module, which re-executes the current execution step and continues with the remaining steps in the test step file when receiving the second control signal sent by the host computer in response to the third control instruction input by the user for the operation interface.
9. An electronic device, characterized in that, It includes a memory, a processor, and a program stored on the memory and capable of running on the processor. When the processor executes the program, it implements the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer program is stored in the readable storage medium, and when the computer program is executed, it implements the method according to any one of claims 1 - 7.