A factory test method, device, computer and storage medium for battery exchange cabinet

Through automation and auxiliary testing, the battery swap cabinet equipment is connected to the cloud server, and software and hardware information comparison and human-computer interaction test are classified, which solves the problem of time-consuming, labor-intensive and arbitrary testing of the battery swap cabinet, and achieves efficient quality assurance and The fault traceability avoids quality disputes.

CN117665469BActive Publication Date: 2024-11-12SHENZHEN WANWEI IOT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311373940.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-20
Publication Date
2024-11-12
Estimated Expiration
2043-10-20

AI Technical Summary

Technical Problem

The factory test process of existing battery replacement cabinets is time-consuming and labor-intensive, and there is artificial arbitrary nature, resulting in unassurance of the test quality, difficulty in traceability, and quality disputes are prone to occur.

Method used

Through communication, the battery swap cabinet equipment and the cloud server are connected, and the automatic test and auxiliary test are classified based on the device's functional attributes, and software and hardware information comparison and human-computer interaction test are automatically carried out, test results and reports are generated, and backup to the cloud server.

Benefits of technology

Save testing time and production costs, eliminate artificial arbitraryness, ensure test quality, realize fault tracing, and avoid quality disputes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117665469B_ABST
    Figure CN117665469B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of power exchange cabinets, and relates to a method, device, computer and storage medium for factory testing of power exchange cabinets. The power exchange cabinet equipment to be tested and the cloud server are connected by communication, and automatic test class and auxiliary test class are classified based on the functional attributes of the power exchange cabinet equipment. Each test item in the automatic test class is read in sequence for comparison test with the soft and hard test information, and then any test item in the auxiliary test class is randomly generated for human-computer interaction test and marking until all test items are tested and passed, and the test results and corresponding test reports are generated for signature and backed up to the cloud server. Compared with the prior art, the present invention adopts automated testing and auxiliary testing, which can save the testing time and production cost of the power exchange cabinet, eliminate the artificial arbitrariness of the test, ensure the quality of the cabinet test, and the test backup has the function of tracing the fault of the power exchange cabinet to avoid quality disputes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power swap cabinets, and in particular to a power swap cabinet factory testing method, device, computer and storage medium. Background Art

[0002] With the popularization of smart battery swap cabinets, the device safety and production quality of smart battery swap cabinets are very important. At present, the production inspection of new battery swap cabinets by battery swap cabinet manufacturers is manually performed on the display screen of the battery swap cabinet or an external display according to the function list of the battery swap cabinet, and then the failed items and reasons for failure are manually recorded. When the entire batch of production is completed, the test results are manually copied and saved.

[0003] On the one hand, this testing process takes a long time and wastes man-hours. On the other hand, the quality of the test cannot be guaranteed because the arbitrariness of the testers cannot be avoided. At the same time, once a problem or failure occurs when the cabinet leaves the factory and runs on the market, it is impossible to trace the original testing process, which is prone to quality disputes. Summary of the invention

[0004] The purpose of the present invention is to propose a factory testing system and method for battery swap cabinets, so as to solve the problem that the existing battery swap cabinets have time-consuming, labor-intensive and arbitrary human non-compliant tests during the factory testing process, which makes it difficult to track and trace the faults of the battery swap cabinets after leaving the factory and leads to quality disputes.

[0005] In order to solve the above technical problems, the present invention provides a factory test method for a battery swap cabinet, which adopts the following technical solutions:

[0006] The steps include:

[0007] Communicate and connect the power-swap cabinet device to be tested and the cloud server, wherein the cloud server pre-stores the soft and hard test information of the power-swap cabinet device;

[0008] Based on the functional attributes of the battery swap cabinet equipment, the automatic test class and the auxiliary test class of the battery swap cabinet equipment are classified, and the automatic test class and the auxiliary test class both contain names and information corresponding to several test items;

[0009] Sequentially read each test item in the automatic test class and compare it with the soft and hard test information until all test items in the automatic test class are tested and passed, thus completing the test of the automatic test class;

[0010] Randomly generate any test item in the auxiliary test class to perform human-computer interaction testing and marking, until all test items in the auxiliary test class are tested and passed, completing the test of the auxiliary test class;

[0011] Based on the fact that all the tests of the automatic test class and the auxiliary test class have passed, the test results and the corresponding test report are generated for signing, and the signed test report is backed up to the cloud server.

[0012] Furthermore, the automatic test category includes at least the main control device of the battery swap cabinet equipment, the whole machine communication components, the control panel, the cabin and the electric meter.

[0013] Furthermore, the automatic test class automatically reads and verifies the production date, firmware version information, memory size of the master control device, and version information of the master control APP software corresponding to the master control device;

[0014] The automatic test class automatically reads and checks the software version information of the control board and the software version information of the charger;

[0015] The automatic test class automatically reads and checks the hardware information of the 4G network, wifi, and Bluetooth of the whole machine communication components;

[0016] The automatic test class automatically reads and checks the cabin's electric energy meter, real-time voltage, real-time current, real-time power consumption information, and cabin's temperature data.

[0017] Furthermore, the auxiliary test category includes at least the functional status of the buttons, speakers, fans, indicator lights, water level sensors, smoke sensors and shunt trips of the battery swap cabinet equipment.

[0018] Furthermore, the auxiliary test class operates 1-3 times of manual test instructions within 5 seconds based on randomly generated keys;

[0019] The auxiliary test class prompts the tester to select the corresponding number and play it through the speaker based on the randomly generated 1-10 numbers. The number of times the tester selects the corresponding number is 1;

[0020] The auxiliary test class prompts the tester to start, stop and test the number of gears of the fan through the display screen and the speaker according to the randomly generated 1-3 numbers;

[0021] The auxiliary test class randomly sets the color of the cabin indicator light, allowing the tester to repeatedly select the cabin indicator light of the corresponding color 2-3 times;

[0022] The auxiliary test class prompts the tester to soak the water level sensor for 5-10 seconds based on randomly generated text and voice prompts to determine whether the signal of the water level sensor passes;

[0023] The auxiliary test class prompts the tester to release at least one puff of smoke into the power exchange cabinet based on randomly generated text and voice prompts to determine whether the signal of the smoke sensor passes;

[0024] The auxiliary test class prompts the tester to perform power-off and power-on operations based on randomly generated text and voice prompts to determine whether the power-off time and the power-on time are within a preset range.

[0025] In order to solve the above technical problems, the present invention also provides a factory test device for a power exchange cabinet, comprising:

[0026] A connection module, used for communication connection between the power-swap cabinet device to be tested and the cloud server, wherein the cloud server pre-stores the soft and hard test information of the power-swap cabinet device;

[0027] A classification module, used to classify the automatic test class and the auxiliary test class of the battery swap cabinet equipment based on the functional attributes of the battery swap cabinet equipment, wherein the automatic test class and the auxiliary test class both contain names and information corresponding to several test items;

[0028] An automatic test module, used to sequentially read each test item in the automatic test class and compare it with the soft and hard test information until all the test items in the automatic test class are tested and passed, thus completing the test of the automatic test class;

[0029] An auxiliary test module, used for randomly generating any test item in the auxiliary test class for human-computer interaction testing and marking, until all test items in the auxiliary test class are tested and passed, thus completing the test of the auxiliary test class;

[0030] The signing module is used to generate test results and corresponding test reports for signing based on the completion of all the tests of the automatic test class and the auxiliary test class, and back up the signed test reports to the cloud server.

[0031] Furthermore, the automatic test category includes at least the main control device of the battery swap cabinet equipment, the whole machine communication components, the control panel, the cabin and the electric meter.

[0032] Furthermore, the auxiliary test category includes at least the functional status of the buttons, speakers, fans, indicator lights, water level sensors, smoke sensors and shunt trips of the battery swap cabinet equipment.

[0033] In order to solve the above technical problems, the present invention further provides a computer, which adopts the following technical solution:

[0034] It includes a memory and a processor, wherein the memory stores test program readable instructions, and when the processor executes the test program readable instructions, the steps of the power exchange cabinet testing method as described in any one of the above items are implemented.

[0035] In order to solve the above technical problems, the present invention further provides a computer-readable storage medium, which adopts the following technical solution:

[0036] The computer-readable storage medium stores test program readable instructions, and when the test program readable instructions are executed by the processor, the steps of the power exchange cabinet testing method as described in any one of the above items are implemented.

[0037] The present invention provides a method, device, computer and storage medium for factory testing of a power swap cabinet. The power swap cabinet equipment to be tested is connected to a cloud server through communication. The automatic test class and auxiliary test class of the power swap cabinet equipment are classified based on the functional attributes of the power swap cabinet equipment. Each test item in the automatic test class is read in sequence for comparison test with the soft and hard test information until all test items are tested and passed. Then, any test item in the auxiliary test class is randomly generated for human-computer interaction test and marking until all test items are tested and passed. Based on all the tests passed, the test results and corresponding test reports are generated, signed, and backed up to the cloud server. Compared with the prior art, the present invention adopts automated testing and auxiliary testing, which can save the testing time and production cost of the power swap cabinet, eliminate the artificial arbitrariness of the test, ensure the quality of the cabinet test, and the test backup has the function of tracing the fault of the power swap cabinet to avoid quality disputes. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the scheme in the present invention, a brief introduction is given below to the drawings required for use in the description of this embodiment. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 is an exemplary system architecture diagram in which the present invention can be applied;

[0040] Figure 2 This is a flow chart of a preferred embodiment of the factory test method of the power exchange cabinet of the present invention;

[0041] Figure 3 It is a structural schematic diagram of the factory test device of the power exchange cabinet of the present invention;

[0042] Figure 4 It is a schematic diagram of a preferred embodiment of the computer of the present invention. DETAILED DESCRIPTION

[0043] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present invention; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention; the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present invention or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0044] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0045] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solution in this embodiment will be clearly and completely described below in conjunction with the accompanying drawings.

[0046] like Figure 1 1 is an exemplary system architecture diagram to which the present invention can be applied. System architecture 100 may include terminal device 101, network 102 and server 103, wherein network 102 is used to provide a medium for a communication link between terminal device 101 and server 103. Network 102 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0047] The user can use the terminal device 101 to interact with the server 103 through the network 102 to receive or send messages, etc. Various communication client applications can be installed on the terminal device 101, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0048] The terminal device 101 can be various electronic devices with a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) players, laptop computers and desktop computers, etc.

[0049] The server 103 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal device 101 .

[0050] It should be noted that the factory testing method for the power swap cabinet provided by the present invention is generally executed by a server / terminal device, and accordingly, the factory testing device for the power swap cabinet is generally set in the server / terminal device.

[0051] It should be understood that Figure 1 The number of terminal devices 101, networks 102 and servers 103 in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0052] Continue to refer Figure 2 , is a flow chart of a preferred embodiment of the factory test method of the battery swap cabinet of the present invention. The factory test method of the battery swap cabinet includes: step S1, step S2, step S3, step S4 and step S5.

[0053] In step S1, a battery swap cabinet device to be tested and a cloud server are communicatively connected, and the cloud server pre-stores the soft and hard test information of the battery swap cabinet device.

[0054] In this embodiment, the battery swap cabinet needs to be tested for software and hardware information and functions before leaving the factory. Before the test, the software and hardware information and function test requirements of the batch of battery swap cabinet equipment are stored in advance. The test is based on the completion and passing of all tests. The communication connection method can be 4G network and wireless WIFI, or it can be Bluetooth connection.

[0055] In step S2, based on the functional attributes of the battery swap cabinet equipment, the automatic test class and the auxiliary test class of the battery swap cabinet equipment are classified, and the automatic test class and the auxiliary test class both contain names and information corresponding to several test items.

[0056] Among them, the automatic test category is an automated test in which the system can automatically read and identify content information, and the auxiliary test category is an interaction between the system and testers to avoid arbitrary testing. The automatic test category at least includes the main control device, complete machine communication components, control panels, cabins and electric meters of the battery swap cabinet equipment, and the auxiliary test category at least includes the functional status of the buttons, speakers, fans, indicator lights, water level sensors, smoke sensors and shunt releases of the battery swap cabinet equipment.

[0057] In step S3, each test item in the automatic test class is read in sequence and compared with the soft and hard test information until all the test items in the automatic test class are tested and passed, thus completing the test of the automatic test class.

[0058] In this embodiment, the automatic test class automatically reads and checks the production date, firmware version information, memory size of the master control device, and the version information of the master control APP software corresponding to the master control device, and checks whether they are consistent with the pre-set software and hardware information. The comparison results are saved locally and uploaded to the cloud server;

[0059] The automatic test class automatically reads and checks the software version information of the control board and the software version information of the charger, and the comparison result is saved locally and uploaded to the cloud server;

[0060] The automatic test class automatically reads and checks the hardware information of the 4G network, wifi, and Bluetooth of the whole machine communication components, and the comparison results are saved locally and uploaded to the cloud server;

[0061] The automatic test class automatically reads and checks the cabin's electric energy meter, real-time voltage, real-time current, real-time power consumption information, and cabin temperature data, and the comparison results are saved locally and uploaded to the cloud server.

[0062] In step S4, any test item in the auxiliary test class is randomly generated for human-computer interaction testing and marking, until all test items in the auxiliary test class are tested and passed, thus completing the test of the auxiliary test class.

[0063] In this embodiment, the auxiliary test class is based on the manual test instructions of randomly generated keys operating 1-3 times within 5 seconds, for example, requiring the tester to

[0064] The button must be pressed a specified number of times within 5 seconds according to the instruction to detect whether the number of presses is correct and whether the action signals of pressing and lifting the button are complete. If both of the two conditions are met, the button test item is considered to have passed. The test results are saved locally and uploaded to the cloud server.

[0065] The auxiliary test class prompts the tester to select and play the corresponding number through the loudspeaker based on the randomly generated 1-10 numbers. The number of times the tester selects the corresponding number is 1. For example, the number played through the loudspeaker prompts the tester to accurately select the played number when there is only one input opportunity. After obtaining the number selected by the tester, it is compared with the randomly generated number itself. Only when the two are exactly the same, the loudspeaker test item is considered to have passed, and the test results are saved locally and uploaded to the cloud server;

[0066] The auxiliary test class prompts the tester to test the number of starts, stops and gears of the fan through the display screen and the speaker according to the randomly generated 1-3 numbers. For example, the display screen and the speaker prompt the tester that the fan test is about to be carried out. Please observe the number of times the fan starts and stops. After observing, the tester selects the number of starts and stops. After obtaining the number selected by the tester, it is compared with the randomly generated number itself. Only when the two are exactly the same, the detection system determines that the cabinet fan test item has passed, and the test result is saved locally and uploaded to the cloud server;

[0067] The auxiliary test class randomly sets the color of the cabin indicator light, allowing the tester to repeatedly select the cabin indicator light of the corresponding color 2-3 times. For example, the cabin indicator lights are randomly set to different colors. For example, during a certain test, cabins 1, 3, 5, and 8 are set to red, and cabins 2, 4, 6, and 7 are set to green. The tester accurately selects the result according to the test condition "Which cabin indicator lights are red and which cabins are green?" Repeat 2-3 times until all cabins are covered with red and green colors. Finally, the result selected by the tester is completely consistent with the result randomly generated by the system. The detection system determines that the charging indicator light test item has passed, and the test result is saved locally and uploaded to the cloud server;

[0068] The auxiliary test class prompts the tester to soak the water level sensor for 5-10 seconds based on randomly generated text and voice prompts to determine whether the signal of the water level sensor passes. For example, the detection system prompts the tester with text and voice prompts, "Please use a wet towel, or a bucket filled with water to wrap or soak the water level sensor for 5-10 seconds." The detection system will monitor whether a water level alarm is received, determine whether the water level sensor signal passes, and save the test results locally and upload them to the cloud server;

[0069] The auxiliary test class prompts the tester to release at least one puff of smoke into the battery swap cabinet based on randomly generated text and voice prompts to determine whether the signal of the smoke sensor passes. For example, the detection system prompts the tester with text and voice, "Please release a puff of smoke into the battery swap cabinet." The detection system will monitor whether the smoke alarm is received and determine whether the smoke sensor signal passes. The test results are saved locally and uploaded to the cloud server;

[0070] The auxiliary test class prompts the tester to perform power-off and power-on operations based on randomly generated text and voice prompts to determine whether the power-off time and the power-on time are within the preset range. For example, the detection system prompts the tester with text and voice prompts, "An abnormal power-off test is about to be performed. Please power on again within 10 seconds after the power off." The system records the current time and process progress, and waits for the power to be re-powered to determine whether the time information before the power off and the information after the power on are within the range. The test results are saved locally and uploaded to the cloud server.

[0071] Furthermore, it also includes testing the door lock status, charging status, battery communication, and battery lock control of the battery swap cabinet equipment, saving testing hours while ensuring the test quality, and testing the above four items together in the same test environment.

[0072] Before the test, the tester is required to close all the doors and open all the doors at the same time. The tester is prompted by text and voice to put in the partially charged battery in each door and then close the door. The battery communication and the door lock status when the door is just opened and closed are automatically tested. Then the battery lock is opened or closed within a preset time (for example, 10 seconds) to determine whether the battery lock status is normal. After the test, the charger of each cabin is automatically started to read the charging voltage and current information. Determine whether these four functions are normal based on the action instructions and status results. In case of test abnormality, a fault indication is given, and the possible cause of the fault is prompted. The test results are saved locally and uploaded to the cloud server.

[0073] In step S5, based on the fact that all the tests of the automatic test class and the auxiliary test class have passed, the test results and the corresponding test report are generated and signed, and the signed test report is backed up to the cloud server.

[0074] In this embodiment, all test item results are generated into a PDF report and displayed on the display screen. The PDF report is sent to the tester's work email and the email of the production management related personnel, downloaded, printed and signed, and the test report is automatically uploaded to the customer's cloud server for review and backup.

[0075] The present application provides a factory test method for a battery swap cabinet, which connects the battery swap cabinet device to be tested and the cloud server through communication, classifies the battery swap cabinet device into automatic test class and auxiliary test class based on the functional attributes of the battery swap cabinet device, reads each test item in the automatic test class in sequence and compares it with the soft and hard test information until all test items are tested and passed, and then randomly generates any test item in the auxiliary test class for human-computer interaction testing and marking until all test items are tested and passed, generates test results and corresponding test reports based on all the tests passed, signs them, and backs them up to the cloud server. Compared with the prior art, the present application adopts automated testing and auxiliary testing, which can save the testing time and production costs of the battery swap cabinet, eliminate the human arbitrariness of the test, ensure the quality of the cabinet test, and the test backup has the function of tracing the fault of the battery swap cabinet to avoid quality disputes.

[0076] Those skilled in the art can understand that all or part of the processes in the method of the above invention can be completed by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0077] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0078] refer to Figure 3 , as a response to the above Figure 2 In order to realize the method shown in the figure, the present invention provides an embodiment of a factory test device for a power exchange cabinet, and the embodiment of the device is Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices. The battery swap cabinet factory test device 200 of this embodiment includes: a connection module 210, a classification module 220, an automatic test module 230, an auxiliary test module 240 and a signature module 250, wherein:

[0079] A connection module, used for communication connection between the power-swap cabinet device to be tested and the cloud server, wherein the cloud server pre-stores the soft and hard test information of the power-swap cabinet device;

[0080] A classification module, used to classify the automatic test class and the auxiliary test class of the battery swap cabinet equipment based on the functional attributes of the battery swap cabinet equipment, wherein the automatic test class and the auxiliary test class both contain names and information corresponding to several test items;

[0081] An automatic test module, used to sequentially read each test item in the automatic test class and compare it with the soft and hard test information until all the test items in the automatic test class are tested and passed, thus completing the test of the automatic test class;

[0082] An auxiliary test module, used for randomly generating any test item in the auxiliary test class for human-computer interaction testing and marking, until all test items in the auxiliary test class are tested and passed, thus completing the test of the auxiliary test class;

[0083] The signing module is used to generate test results and corresponding test reports for signing based on the completion of all the tests of the automatic test class and the auxiliary test class, and back up the signed test reports to the cloud server.

[0084] To solve the above technical problems, this embodiment also provides a computer. Figure 4 , is a schematic diagram of a preferred embodiment of the computer of the present invention.

[0085] The computer 30 includes a memory 31, a processor 32, and a network interface 33 that are interconnected and communicated through a system bus. It should be noted that the figure only shows a computer 30 having components 31-33, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0086] The computer may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0087] The memory 31 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 31 can be an internal storage unit of the computer 30, such as a hard disk or memory of the computer 30. In other embodiments, the memory 31 can also be an external storage device of the computer 30, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the computer 30. Of course, the memory 31 can also include both the internal storage unit of the computer 30 and its external storage device. In this embodiment, the memory 31 is generally used to store the operating system and various application software installed on the computer 30, such as the test program readable instructions of the factory test method of the power exchange cabinet, etc. In addition, the memory 31 can also be used to temporarily store various types of data that have been output or are to be output.

[0088] The processor 32 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 32 is generally used to control the overall operation of the computer 30. In this embodiment, the processor 32 is used to run the test program readable instructions stored in the memory 31 or process data, such as running the test program readable instructions of the battery swap cabinet factory test method.

[0089] The network interface 33 may include a wireless network interface or a wired network interface. The network interface 33 is generally used to establish a communication connection between the computer device 30 and other electronic devices.

[0090] This application uses automated testing and auxiliary testing, which can save the testing time and production costs of the power swap cabinet, eliminate the human arbitrariness of the test, ensure the cabinet testing quality, and the test backup has the function of tracing the source of the power swap cabinet fault to avoid quality disputes.

[0091] refer to Figure 4The present invention also provides another embodiment, namely, providing a computer-readable storage medium, which stores test program readable instructions, and the test program readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the above-mentioned battery swap cabinet factory test method.

[0092] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0093] Obviously, the embodiments described above are only some embodiments of the present invention, rather than all embodiments. The preferred embodiments of the present invention are given in the accompanying drawings, but they do not limit the patent scope of the present invention. The present invention can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive. Although the present invention has been described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific embodiments, or to perform equivalent replacements for some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of the present invention, directly or indirectly used in other related technical fields, is also within the scope of patent protection of the present invention.

Claims

1. A factory test method for a power exchange cabinet, characterized in that: The steps include: Communicate and connect the power-swap cabinet device to be tested and the cloud server, wherein the cloud server pre-stores the soft and hard test information of the power-swap cabinet device; Based on the functional attributes of the battery swap cabinet equipment, the automatic test class and the auxiliary test class of the battery swap cabinet equipment are classified, and the automatic test class and the auxiliary test class both contain names and information corresponding to several test items; Sequentially read each test item in the automatic test class and compare it with the soft and hard test information until all test items in the automatic test class are tested and passed, thus completing the test of the automatic test class; Randomly generate any test item in the auxiliary test class to perform human-computer interaction testing and marking, until all test items in the auxiliary test class are tested and passed, completing the test of the auxiliary test class; Based on the fact that all the tests of the automatic test class and the auxiliary test class have been completed and passed, the test results and the corresponding test report are generated for signing, and the signed test report is backed up to the cloud server; The automatic test category includes at least the main control equipment, whole machine communication components, control panels, cabins and electric meters of the power exchange cabinet equipment; The automatic test class automatically reads and verifies the production date, firmware version information, memory size of the master control device, and the version information of the master control APP software corresponding to the master control device; The automatic test class automatically reads and checks the software version information of the control board and the software version information of the charger; The automatic test class automatically reads and checks the hardware information of the 4G network, wifi, and Bluetooth of the whole machine communication components; The automatic test class automatically reads and checks the cabin's electric energy meter, real-time voltage, real-time current, real-time power consumption information, and cabin's temperature data.

2. The factory test method for a battery swap cabinet according to claim 1 is characterized in that: The auxiliary test category includes at least the functional status of the buttons, speakers, fans, indicator lights, water level sensors, smoke sensors and shunt trips of the battery exchange cabinet equipment.

3. The factory test method for a battery swap cabinet according to claim 2 is characterized in that: The auxiliary test class operates 1-3 times of manual test instructions within 5 seconds based on randomly generated keys; The auxiliary test class prompts the tester to select the corresponding number and play it through the speaker based on the randomly generated 1-10 numbers. The number of times the tester selects the corresponding number is 1; The auxiliary test class prompts the tester to start, stop and test the number of gears of the fan through the display screen and the speaker according to the randomly generated 1-3 numbers; The auxiliary test class randomly sets the color of the cabin indicator light, allowing the tester to repeatedly select the cabin indicator light of the corresponding color 2-3 times; The auxiliary test class prompts the tester to soak the water level sensor for 5-10 seconds based on randomly generated text and voice prompts to determine whether the signal of the water level sensor passes; The auxiliary test class prompts the tester to release at least one puff of smoke into the power exchange cabinet based on randomly generated text and voice prompts to determine whether the signal of the smoke sensor passes; The auxiliary test class prompts the tester to perform power-off and power-on operations based on randomly generated text and voice prompts to determine whether the power-off time and the power-on time are within a preset range.

4. A factory test device for a power exchange cabinet, characterized in that: include: A connection module, used for communication connection between the power-swap cabinet device to be tested and the cloud server, wherein the cloud server pre-stores the soft and hard test information of the power-swap cabinet device; A classification module, used to classify the automatic test class and the auxiliary test class of the battery swap cabinet equipment based on the functional attributes of the battery swap cabinet equipment, wherein the automatic test class and the auxiliary test class both contain names and information corresponding to several test items; An automatic test module, used to sequentially read each test item in the automatic test class and compare it with the soft and hard test information until all the test items in the automatic test class are tested and passed, thus completing the test of the automatic test class; An auxiliary test module, used for randomly generating any test item in the auxiliary test class for human-computer interaction testing and marking, until all test items in the auxiliary test class are tested and passed, thus completing the test of the auxiliary test class; The signing module is used to generate test results and corresponding test reports for signing based on the completion of all the tests of the automatic test class and the auxiliary test class, and back up the signed test reports to the cloud server.

5. The factory test device for battery swap cabinet according to claim 4 is characterized in that: The automatic test category includes at least the main control equipment of the battery swap cabinet, the communication components of the whole machine, the control panel, the cabin and the electric meter.

6. The factory test device for battery swap cabinet according to claim 4 is characterized in that: The auxiliary test category includes at least the functional status of the buttons, speakers, fans, indicator lights, water level sensors, smoke sensors and shunt trips of the battery exchange cabinet equipment.

7. A computer, characterized in that: It includes a memory and a processor, wherein the memory stores test program readable instructions, and when the processor executes the test program readable instructions, the steps of the power exchange cabinet testing method as described in any one of claims 1 to 3 are implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores test program readable instructions, which, when executed by a processor, implement the steps of the power exchange cabinet testing method as described in any one of claims 1 to 3.