Automatic test system for charging terminal

By integrating multiple modules in the charging terminal test system, automated testing of the charging terminal is achieved, and problems of manual dependence, protocol diversity and inconvenience in the existing technology are solved, and testing efficiency and accuracy are improved.

CN119829346APending Publication Date: 2025-04-15SHANGHAI RONGHE ZHIDIAN NEW ENERGY CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411851721.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-16
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The existing charging terminals and battery swap technologies have problems such as strong manual dependence in testing and verification, diverse protocols increase learning costs, lack of comprehensive testing scenarios, and inconvenient report generation.

Method used

It provides an automated testing system for charging terminals, integrating front-end page display module, business control and processing module, data processing and message generation module, and communication module to realize comprehensive automated testing of multiple charging terminals.

Benefits of technology

Reduce dependence on manual operations, improve the efficiency and accuracy of testing, realize de-protocol verification between different devices, simplify the testing process, and support automated test report generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829346A_ABST
    Figure CN119829346A_ABST
Patent Text Reader

Abstract

According to the charging terminal automatic test system provided by the invention, the front-end page display module, the service control and processing module, the data processing and message generation module and the communication module are integrated, so that comprehensive automatic test on various charging terminals is realized. According to the system, the dependence on manual operation is reduced, and the testing efficiency and accuracy are greatly improved. And moreover, protocol-free verification among different devices can be realized, and the test can be executed without the need for technicians to have deep protocol knowledge, so that the test process is greatly simplified. In addition, the system also supports configuration and verification of various comprehensive scenes, and ensures the performance and reliability of the equipment under various actual working conditions. In addition, a systematized test report is automatically generated, recording and subsequent analysis are facilitated, and the working efficiency is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of charging terminal testing, and in particular to an automatic testing system for a charging terminal. Background Art

[0002] With the continuous advancement of electric technology, the development of charging terminals is becoming more and more popular. At the same time, charging terminals and battery swapping technologies have also emerged to meet the market's demand for efficient, reliable and intelligent charging equipment. In the current market, charging piles and battery swapping stations have become mainstream charging facilities. However, they face many challenges in the testing and verification process.

[0003] These challenges are mainly reflected in the following aspects: On the one hand, the current testing and verification process of charging facilities is highly dependent on manual operation. Especially in the protocol docking and functional inspection between devices, manual joint debugging has become the mainstream. For example, the charging parameters, discharge capacity and communication protocols between devices of the charging pile all require manual operation and verification by technicians. This method is not only time-consuming and labor-intensive, but also very easy to cause operational errors. On the other hand, the existence of communication protocols between different devices requires technicians to be familiar with multiple protocols, which undoubtedly increases their learning costs and work difficulty. In addition, the current testing methods lack comprehensive testing scenarios, making it difficult to fully verify the various functions and performance of the equipment in actual use, thereby increasing the risk of problems in the actual operation of the equipment. At the same time, the recording method of test results is mostly manual, which makes data collation and analysis cumbersome and inconvenient. Summary of the invention

[0004] In view of the shortcomings of the prior art mentioned above, the purpose of the present invention is to provide an automated testing system for charging terminals, which is used to solve the technical problems of existing charging terminals and battery replacement technologies in testing and verification, such as strong manual dependence, diverse protocols that increase learning costs, lack of comprehensive testing scenarios, and inconvenient report generation.

[0005] To achieve the above-mentioned purpose and other related purposes, the present invention provides a charging terminal automatic test system, the method comprising: a front-end page display module, a business control and processing module, a data processing and message generation module and a communication module connected in sequence; the front-end page display module is used to configure the test comprehensive scenario on the interface and execute the relevant instruction issuance operation; the business control and processing module is used to perform business control, business processing and test report generation operations; the data processing and message generation module is used to generate messages of different charger interaction protocol versions and parse messages of different charger interaction protocol versions; the communication module is used to communicate with the charging terminal using multiple built-in communication protocols; wherein the system tests the target charging terminal in the following ways: The test comprehensive scenario of the target charging terminal is configured through the front-end page display module, and then the corresponding business control and business processing are performed based on the test comprehensive scenario through the business control and processing module, and then the data processing and message generation module generates a message that complies with the charger interaction protocol version of the target charging terminal, and finally the communication module adopts the corresponding communication protocol to send it to the target charging terminal for the target charging terminal to perform corresponding operations; the message from the target charging terminal is received through the communication module, and the charger interaction protocol version of the message is determined by the data processing and message generation module and the message is parsed, and then the corresponding business processing is performed through the business control and processing module to generate a test report, and finally the test report is displayed on the interface through the front-end page display module.

[0006] In one embodiment of the present invention, the front-end page display module includes: a comprehensive scenario unit, which is used to configure a test comprehensive scenario on the interface and display a generated test report; a reliability verification unit, which is used to perform reliability verification on the configured test comprehensive scenario on the display interface; a status query unit, which is used to query the system status on the display interface; a data reporting unit, which is used to perform data reporting operations on the display interface; and an instruction issuing unit, which is used to perform related instruction issuing operations on the display interface.

[0007] In one embodiment of the present invention, the business control and processing module includes: a back-end processing module, an auxiliary module and a business module connected in sequence; the back-end processing module is used for business control and data storage; the auxiliary module is used for publishing events and calling data; the business module is used for business processing and generating test reports.

[0008] In one embodiment of the present invention, the back-end processing module includes: a data storage unit for storing data called by the auxiliary module; a business control unit for performing corresponding business control and generating business control results based on the test comprehensive scenario configured by the front-end page display module.

[0009] In one embodiment of the present invention, the auxiliary module includes: an event publishing unit, used to publish events based on the business control results generated by the back-end processing module; an API calling unit, used to call relevant data; wherein the relevant data includes: a test report generated by the business module.

[0010] In one embodiment of the present invention, the business module includes: a business processing unit, an event monitoring unit, a test report generating unit and a report uploading unit; the event monitoring unit is used to monitor the events released by the auxiliary module; the business processing unit is used to perform corresponding business processing to generate a first business processing result when the event monitoring unit monitors the event, and perform corresponding business processing on the message parsing result generated by the data processing and message generation module to generate a second business processing result; the test report generating unit is used to generate a test report based on the second business processing result generated by the business processing unit; the report uploading unit is used to upload the generated test report.

[0011] In one embodiment of the present invention, the data processing and message generation module includes: a data message processing module, which is used to issue message instructions and parse received messages; a protocol message format module, which is connected to the data message processing module, and is used to generate messages of different charger interaction protocol versions and determine the charger interaction protocol version of the received message.

[0012] In one embodiment of the present invention, the data message processing module includes: a message parsing unit, used to parse the message based on the charger interaction protocol version of the message determined by the protocol message format module to obtain a corresponding message parsing result; a message instruction issuing unit, used to issue a corresponding message instruction based on the first business processing result generated by the business processing unit.

[0013] In one embodiment of the present invention, the protocol message format module has built-in multiple versions of charger interaction protocols set based on demand, including: a charging interaction protocol message generation unit, used to generate a message corresponding to the charging interaction protocol version based on the message instruction issued by the data message processing module; a charging interaction protocol version parsing unit, used to determine the charging interaction protocol version of the message received by the communication module.

[0014] In one embodiment of the present invention, the communication module includes: a TCP communication unit, an MQTT communication unit and a CAN communication unit; wherein the TCP communication unit is used to communicate with the charging terminal via the TCP communication protocol; the MQTT communication unit is used to communicate with the charging terminal via the MQTT communication protocol; and the CAN communication unit is used to communicate with the charging terminal via the CAN communication protocol.

[0015] As described above, the present invention is an automatic testing system for charging terminals, which has the following beneficial effects: the present invention realizes comprehensive automatic testing of various charging terminals by integrating a front-end page display module, a business control and processing module, a data processing and message generation module, and a communication module. The system reduces the reliance on manual operations and greatly improves the efficiency and accuracy of the test. It can also realize de-protocol verification between different devices, and can perform tests without the need for technicians to have deep knowledge of the protocol, thereby greatly simplifying the test process. In addition, the system also supports the configuration and verification of a variety of comprehensive scenarios to ensure the performance and reliability of the equipment under various actual working conditions. The present invention also automatically generates systematic test reports, which is convenient for recording and subsequent analysis, further improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 Shown is a schematic diagram of the structure of an automatic testing system for a charging terminal in one embodiment of the present invention.

[0017] Figure 2 Shown is a schematic diagram of the structure of an automatic testing system for a charging terminal in one embodiment of the present invention.

[0018] Figure 3 Shown is a schematic diagram of the structure of an automatic testing system for a charging terminal in one embodiment of the present invention.

[0019] Figure 4 Shown is a schematic structural diagram of an electronic terminal in an embodiment of the present invention. DETAILED DESCRIPTION

[0020] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0021] It should be noted that in the following description, reference is made to the accompanying drawings, which describe several embodiments of the present invention. It should be understood that other embodiments may also be used, and that mechanical composition, structural, electrical and operational changes may be made without departing from the spirit and scope of the present invention. The following detailed description should not be considered restrictive, and the scope of the embodiments of the present invention is limited only by the claims of the published patents. The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. Spatially related terms, such as "upper", "lower", "left", "right", "below", "below", "lower", "above", "upper", etc., may be used in the text to facilitate the description of the relationship between an element or feature shown in the figure and another element or feature.

[0022] Throughout the specification, when a part is said to be "connected" to another part, this includes not only the case of "direct connection" but also the case of "indirect connection" by placing other elements therebetween. In addition, when a part is said to "include" a certain constituent element, unless otherwise stated, it does not exclude other constituent elements, but means that other constituent elements may be included.

[0023] The terms first, second and third mentioned herein are used to describe various parts, components, regions, layers and / or segments, but are not limited thereto. These terms are only used to distinguish a certain part, component, region, layer or segment from other parts, components, regions, layers or segments. Therefore, the first part, component, region, layer or segment described below may refer to the second part, component, region, layer or segment within the scope of the present invention.

[0024] Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless there is an indication to the contrary in the context. It should be further understood that the terms "comprise", "include" indicate the presence of the described features, operations, elements, components, items, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, operations, elements, components, items, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Exceptions to this definition will only occur when the combination of elements, functions or operations is inherently mutually exclusive in some way.

[0025] The present invention provides an automatic testing system for charging terminals, which realizes comprehensive automatic testing of various charging terminals by integrating a front-end page display module, a business control and processing module, a data processing and message generation module, and a communication module. The system reduces the reliance on manual operation and greatly improves the efficiency and accuracy of the test. It can also realize de-protocol verification between different devices, and can perform tests without the need for technicians to have deep knowledge of the protocol, thereby greatly simplifying the test process. In addition, the system also supports the configuration and verification of multiple comprehensive scenarios to ensure the performance and reliability of the equipment under various actual working conditions. The present invention also automatically generates a systematic test report, which is convenient for recording and subsequent analysis, further improving work efficiency.

[0026] The following is a detailed description of the embodiments of the present invention with reference to the accompanying drawings so that those skilled in the art can easily implement the present invention. The present invention can be embodied in many different forms and is not limited to the embodiments described herein.

[0027] like Figure 1 A schematic diagram of the structure of an automatic testing system for a charging terminal in an embodiment of the present invention is shown.

[0028] The charging terminal automated testing system is compatible with charging piles, loaders, bidirectional charging and discharging machines and other equipment, and can be applied to the battery-swap heavy truck industry, other electric vehicle charging equipment, energy storage systems and related charging infrastructure testing.

[0029] The system comprises: a front-end page display module 1, a business control and processing module 2, a data processing and message generation module 3 and a communication module 4 connected in sequence;

[0030] The front-end page display module 1 provides an intuitive graphical user interface (GUI) through which users can configure comprehensive test scenarios, issue test instructions, view test reports, etc. Users can easily set test parameters, start tests, and monitor test progress.

[0031] The business control and processing module 2 is used to perform business control, business processing and test report generation operations. This module is mainly responsible for the control and processing of business logic, including the management of test processes, the processing of test data and the generation of test reports.

[0032] The data processing and message generation module 3 is used to generate messages of different charger interaction protocol versions according to test requirements and to parse messages of different charger interaction protocol versions;

[0033] The communication module 4 is used to communicate with the charging terminal using multiple built-in communication protocols;

[0034] Among them, the system's testing methods for the target charging terminal include:

[0035] The user configures the comprehensive test scenarios of the target charging terminal through the front-end page display module 1. This includes charging scenarios, discharging scenarios, load changes, etc. This step allows the user to customize the test environment according to the test requirements to ensure that the test can cover various possible usage scenarios.

[0036] The business control and processing module 2 performs business logic control and processing based on the comprehensive test scenario configured by the front-end page display module 1. This may include initializing the test environment, preparing test resources, setting test conditions, etc., in preparation for subsequent test operations.

[0037] The data processing and message generation module 3 generates messages that conform to the charger interaction protocol version of the target charging terminal based on the service processing results of the service control and processing module 2. These messages contain specific instructions and data required for the test.

[0038] The communication module 4 uses a communication protocol corresponding to the target charging terminal to send the generated message to the target charging terminal. The target charging terminal performs corresponding operations according to the received test operation instructions and returns the test results to the system in the form of a message.

[0039] The communication module 4 receives a message from a target charging terminal.

[0040] The data processing and message generation module 3 determines the charger interaction protocol version of the received test data message, and parses the message to obtain a message parsing result.

[0041] The service control and processing module 2 performs corresponding service processing according to the message parsing results, such as judging whether the test results are qualified, recording test data, calculating performance indicators, etc. According to the service processing results, the service control and processing module 2 generates a detailed test report, including information such as test time, test scenario, test results, performance indicators, problem location, etc.

[0042] The front-end page display module 1 displays the generated test report on the interface, and the user can view the detailed content of the test report through the interface, including test results, performance indicator charts, and problem location.

[0043] As can be seen from the above, the entire test process is highly automated. Users only need to perform simple configuration and operation through the front-end page display module 1, and the system can automatically complete the test and generate a test report. The system can support the configuration of multiple test scenarios and parameters, and can be flexibly adjusted according to different test requirements. It can also comprehensively test the charger interaction protocol, communication performance, functional integrity and other aspects of the target charging terminal to ensure the reliability and safety of the charging terminal. The front-end page display module 1 is intuitive and friendly in design, easy for users to understand and operate, and reduces the complexity of the test work.

[0044] In one embodiment, if Figure 3 , the front-end page display module includes:

[0045] The comprehensive scenario unit is used by users to configure various comprehensive test scenarios on the interface, including but not limited to charging scenarios, discharging scenarios, and load change scenarios. The configuration process may involve selecting the test type, setting test parameters (such as charging current, voltage, time, discharge rate, etc.), defining load changes, configuring test conditions, defining test steps, etc. After the test is completed, this unit is responsible for displaying the test report generated by the system on the display interface, which helps users fully understand the test situation.

[0046] The reliability verification unit is used to verify the reliability of the comprehensive test scenarios configured by the user on the display interface. Through highly simulated load simulation and equipment coordination, the performance of the equipment in actual use is fully verified to enhance the practicality of the test. Ensure that the configuration of the test scenario is reasonable and will not cause system errors or equipment failures. Subsequent test processes can only be carried out after the reliability verification is passed. This module helps users identify and correct possible problems to improve the accuracy and effectiveness of the test. Through the verification of comprehensive scenarios, the reliability of the charging terminal is effectively improved and the risk of accidents caused by equipment failure is reduced. User feedback shows that the equipment failure rate has dropped by 40%.

[0047] The status query unit provides system status query function on the display interface, including system status, test progress, system resource usage, connection to charging terminal, etc. This helps users understand the system's operating status and test progress in real time.

[0048] The data reporting unit is used to perform data reporting operations on the display interface and upload the test data to the database or remote server, which helps to promptly discover and handle problems in the test process.

[0049] The instruction issuing unit is used to execute related instruction issuing operations on the display interface, including controlling the device to perform charging, discharging, switching, etc. This unit can automatically issue various operation instructions to ensure the smooth progress of the test process.

[0050] The front-end page display module integrates multiple functional units and provides comprehensive user interface interaction functions, making it convenient for users to perform test scenario configuration, test execution, result viewing and other operations.

[0051] In one embodiment, if Figure 2 The service control and processing module 2 includes: a backend processing module 21, an auxiliary module 22 and a service module 23 connected in sequence; wherein,

[0052] The backend processing module 21 is used for business control and data storage;

[0053] The auxiliary module 22 is used to publish events and call data;

[0054] The business module 23 is used to perform business processing and generate test reports.

[0055] In a specific embodiment, if Figure 3 , the back-end processing module includes:

[0056] The data storage unit is used to store the data called by the auxiliary module; specifically, the data storage unit is responsible for storing the data called by the auxiliary module. Such data may include test configuration information, real-time data generated during the test (such as voltage, current, temperature, etc.), test results, generated test reports, etc.

[0057] The business control unit is used to perform corresponding business control based on the comprehensive test scenario configured by the front-end page display module; specifically, the test scenario configured by the user is parsed and converted into specific test steps, including initializing the test environment, preparing test resources, setting test conditions, defining test processes, etc., to generate business control results. Initializing the test environment ensures that the test environment is in a known initial state, which is crucial to ensuring the consistency and repeatability of test results. This may include resetting any hardware devices, clearing previous test data, configuring network settings, etc. Allocate necessary resources such as test equipment, software tools, database connections, etc. according to the requirements of the test scenario. Set specific test conditions such as charging current, voltage, temperature, load, etc. according to the test scenario configured by the user. Determine the order and steps of the tests, including which tests should be executed first, which can be executed in parallel, and the dependencies between tests.

[0058] In one embodiment, if Figure 3 , the auxiliary module includes:

[0059] The event publishing unit is used to publish events based on the business control results generated by the backend processing module; these events may include key nodes such as test start, test end, test step completion, and exception occurrence. By publishing these events, the event publishing unit can notify other modules about the current status of the test process or important events that have occurred, so that the system can respond to changes in the test process in a timely manner.

[0060] The API call unit provides an application programming interface (API) interface, allowing the call of data inside or outside the system. These data may include test reports generated by business modules, or other key data such as test configuration information, real-time data, historical records, etc.

[0061] In one embodiment, if Figure 3 , the business module includes: a business processing unit, an event monitoring unit, a test report generating unit and a report uploading unit;

[0062] The event monitoring unit is used to monitor the events released by the auxiliary module; these events may include test start, test step completion, test end, exception occurrence, etc. As the entrance to the business module, the event monitoring unit receives event notifications from the auxiliary module and triggers the corresponding business processing flow.

[0063] The business processing unit is used to perform corresponding business processing according to the event content when the event monitoring unit monitors the event, and generate a first business processing result. This may include updating the test status, adjusting the test parameters, recording the test event, etc. It is also responsible for performing business processing on the message parsing result generated by the data processing and message generation module to generate a second business processing result. This may involve further analysis, verification and processing of the message data to extract useful business information.

[0064] A test report generating unit is used to generate a test report based on the second service processing result generated by the service processing unit. The test report may include information such as test time, test scenario, test results (such as real-time data and average values ​​of parameters such as voltage, current, and temperature), performance indicators (such as charging efficiency, discharge capacity, etc.), problem location (such as the time and cause of the abnormality), etc. The unit can customize the content and format of the report according to user needs and system configuration to meet different report requirements.

[0065] The report uploading unit is used to upload the generated test report to a designated location or server, such as a server, database or cloud storage, for data sharing and long-term archiving.

[0066] In one embodiment, if Figure 2 , the data processing and message generation module 3 includes:

[0067] The data message processing module 31 is used to issue message instructions; specifically, it generates and issues data message instructions according to the requirements of the business module or other modules. At the same time, the data message processing module is also responsible for receiving and parsing messages from the charging terminal, and extracting useful information for further business processing. The parsing process may include verification of the message format, extraction and conversion of data, etc.

[0068] The protocol message format module 32 is connected to the data message processing module 31 and is used to generate a message that complies with a specific charger interaction protocol version according to business requirements. When receiving a message from the charging terminal, the protocol message format module is responsible for determining the charger interaction protocol version to which the message belongs for subsequent analysis.

[0069] In one embodiment, the data message processing module includes:

[0070] The message parsing unit is used to parse the message based on the charger interaction protocol version of the message determined by the protocol message format module to obtain the corresponding message parsing result; specifically, the unit first identifies the charger interaction protocol version used by the received message. This step is crucial because different chargers may use different versions of the communication protocol. Once the protocol version is determined, the message parsing unit can parse the message according to the corresponding rules.

[0071] The message instruction sending unit is used to send corresponding message instructions based on the first business processing result generated by the business processing unit. These instructions may be used to control the operation of the charging terminal. When generating message instructions, the message instruction sending unit will ensure that the instructions meet the requirements of the charger interaction protocol, such as the structure, encoding and protocol-specific parameters of the instructions. Finally, the unit will send the generated message instructions from the communication module to the charging terminal to perform the corresponding operation or respond to the request.

[0072] In one embodiment, the protocol message format module has built-in multiple versions of charger interaction protocols set based on demand, including:

[0073] The charging interaction protocol message generation unit is used to select or generate a message that complies with a specific charging interaction protocol version based on the message instruction issued by the data message processing module and according to the content and requirements of the message instruction.

[0074] The charging interaction protocol version parsing unit is used to analyze the structure and content of the message received by the communication module, identify the charging interaction protocol version to which the message belongs, and provide parsing guidance for the data message processing module to ensure that the message can be parsed according to the correct protocol version.

[0075] In one embodiment, the communication module includes: a TCP communication unit, an MQTT communication unit and a CAN communication unit;

[0076] The TCP communication unit is used to communicate with the charging terminal via the Transmission Control Protocol (TCP). TCP is a connection-oriented, reliable, byte stream-based communication protocol suitable for scenarios that require stable connections and data integrity. The specific communication method is: establishing a TCP connection with the charging terminal, sending and receiving data through the TCP connection, including message instructions and response messages.

[0077] The MQTT communication unit is used to communicate with the charging terminal through the MQTT (Message Queue Telemetry Transport) protocol. MQTT is a lightweight, publish / subscribe-based messaging protocol suitable for IoT scenarios and data transmission that requires low bandwidth and high efficiency. The specific communication method is: communicating by managing MQTT topics, including subscribing and publishing messages to specific topics. That is, sending and receiving messages through the MQTT connection, including message instructions and response messages.

[0078] The CAN communication unit is responsible for communicating with the charging terminal through the controller area network (CAN) protocol. CAN is a serial communication protocol suitable for vehicles and industrial automation, characterized by high reliability and real-time performance. The specific communication method is: establishing communication with the charging terminal by managing the CAN network, including node address allocation and network topology. That is, sending and receiving messages through the CAN network, including message instructions and response messages.

[0079] This design improves the flexibility and compatibility of the system, enabling it to communicate effectively with various charging terminals and ensuring the smooth progress of the test process. By selecting the appropriate communication unit, the system can achieve efficient, stable and reliable data exchange with the charging terminal.

[0080] The charging terminal automatic test system provided in the embodiment of the present invention can be implemented on the terminal side or the server side. As for the hardware structure of the electronic terminal, please refer to Figure 4, is an optional hardware structure diagram of an electronic terminal 1000 provided in an embodiment of the present invention. The terminal 1000 may be a mobile phone, a computer device, a tablet device, a personal digital processing device, a factory background processing device, etc. The terminal 1000 includes: at least one processor 1001, a memory 1002, at least one network interface 10010 and a user interface 1009. The various components in the device are coupled together through a bus system 1005. It can be understood that the bus system 1005 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1005 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in Figure 4 In the specification, various buses are labeled as bus systems.

[0081] The user interface 1009 may include a display, a keyboard, a mouse, a trackball, a click gun, keys, buttons, a touch pad or a touch screen.

[0082] It is understood that the memory 1002 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), which is used as an external cache. By way of exemplary but not limiting explanation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM). The memory described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable categories of memory.

[0083] The memory 1002 in the embodiment of the present invention is used to store various categories of data to support the operation of the terminal 1000. Examples of these data include: any executable program for operating on the terminal 1000, such as an operating system 10021 and an application 10022; the operating system 10021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 10022 may include various applications, such as a media player (MediaPlayer), a browser (Browser), etc., for implementing various application services. The charging terminal automation test system provided in the embodiment of the present invention may be included in the application 10022.

[0084] The method disclosed in the above embodiment of the present invention can be applied to the processor 1001, or implemented by the processor 1001. The processor 1001 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 1001 or the instruction in the form of software. The above processor 1001 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 1001 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor 1001 can be a microprocessor or any conventional processor, etc. In combination with the steps of the accessory optimization method provided in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0085] In an exemplary embodiment, the terminal 1000 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD) to execute the aforementioned method.

[0086] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

[0087] In the embodiments provided in the present application, the computer readable and writable storage medium may include a read-only memory, a random access memory, an EEPROM, a CD-ROM or other optical disk storage device, a disk storage device or other magnetic storage device, a flash memory, a USB flash drive, a mobile hard disk, or any other medium that can be used to store a desired program code in the form of an instruction or data structure and can be accessed by a computer. In addition, any connection can be appropriately referred to as a computer-readable medium. For example, if the instruction is sent from a website, a server or other remote source using a coaxial cable, an optical fiber cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, the coaxial cable, optical fiber cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of the medium. However, it should be understood that computer readable and writable storage media and data storage media do not include connections, carriers, signals, or other temporary media, but are intended to be non-temporary, tangible storage media. Disk and disc, as used in this application, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.

[0088] Compared with the prior art, the present invention has the following advantages:

[0089] 1. The present invention adopts a fully automated testing process, which greatly improves the speed of functional verification. Compared with the traditional manual testing method, the test cycle can be shortened by more than 50%, the test results can be obtained quickly, and the test efficiency can be significantly improved.

[0090] 2. The present invention supports real-time collection and analysis of test data, enabling the test team to obtain immediate feedback and make decisions quickly, further shortening the development and testing cycle.

[0091] 3. The present invention simplifies the testing process. Users do not need to master complex protocol knowledge and can complete various equipment tests through simple interface operations, which reduces manpower and time costs and makes testing work more efficient.

[0092] 4. The present invention integrates multiple test devices into a unified platform, reducing the physical connection and configuration work between devices, making the entire test process smoother, and improving the convenience of testing and the stability of the system.

[0093] 5. Users can operate through an intuitive graphical interface, which provides a friendly user experience and simplifies the operation steps. The system supports remote control function, allowing users to monitor and manage the test process in different locations.

[0094] 6. The present invention has effectively improved the reliability of charging terminals and reduced the risk of accidents caused by equipment failures through comprehensive scenario verification. User feedback shows that the equipment failure rate has dropped by 40%, significantly improving the stability and safety of the equipment.

[0095] 7. The present invention realizes the automatic generation of test reports to present the results in a visual form, and supports export and sharing, which is convenient for team discussion and subsequent improvement, and significantly improves user satisfaction.

[0096] It can be seen that the charging terminal automatic test system of the present invention significantly improves the test efficiency and accuracy of the charging terminal, reduces energy consumption, simplifies the test process, and greatly improves the convenience of operation. Through continuous data analysis and test verification, the platform has demonstrated outstanding and practical technical effects in practice and has made positive contributions to the development of the industry.

[0097] In summary, the charging terminal automation test system of the present invention realizes comprehensive automated testing of various charging terminals by integrating the front-end page display module, the business control and processing module, the data processing and message generation module, and the communication module. The system reduces the reliance on manual operation and greatly improves the efficiency and accuracy of the test. It can also realize de-protocol verification between different devices, and the test can be performed without the need for technicians to have deep knowledge of the protocol, thereby greatly simplifying the test process. In addition, the system also supports the configuration and verification of a variety of comprehensive scenarios to ensure the performance and reliability of the equipment under various actual working conditions. The present invention also automatically generates a systematic test report, which is convenient for recording and subsequent analysis, and further improves work efficiency. Therefore, the present invention effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.

[0098] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A charging terminal automatic testing system, characterized in that: The system comprises: a front-end page display module, a business control and processing module, a data processing and message generation module and a communication module connected in sequence; The front-end page display module is used to configure the test comprehensive scenario on the interface and execute related instruction issuance operations; The service control and processing module is used to perform service control, service processing and test report generation operations; The data processing and message generation module is used to generate messages of different charger interaction protocol versions and parse messages of different charger interaction protocol versions; The communication module is used to communicate with the charging terminal using multiple built-in communication protocols; Among them, the system's testing methods for the target charging terminal include: The test comprehensive scenario of the target charging terminal is configured through the front-end page display module, and then the corresponding business control and business processing are performed based on the test comprehensive scenario through the business control and processing module, and then the data processing and message generation module generates a message that conforms to the charger interaction protocol version of the target charging terminal, and finally the corresponding communication protocol is used by the communication module to send it to the target charging terminal, so that the target charging terminal can perform corresponding operations; The communication module receives the message from the target charging terminal, and the data processing and message generation module determines the charger interaction protocol version of the message and performs message parsing, and then the business control and processing module performs corresponding business processing to generate a test report, and finally the front-end page display module displays the test report on the interface.

2. The charging terminal automatic testing system according to claim 1, characterized in that: The front-end page display module includes: Comprehensive scenario unit, used to configure the test comprehensive scenario on the interface and display the generated test report; A reliability verification unit, used to verify the reliability of the configured test comprehensive scenario on the display interface; A status query unit, used to query the system status on the display interface; A data reporting unit, used to perform data reporting operations on the display interface; The instruction issuing unit is used to execute relevant instruction issuing operations on the display interface.

3. The charging terminal automatic testing system according to claim 1, characterized in that: The service control and processing module includes: a backend processing module, an auxiliary module and a service module connected in sequence; The backend processing module is used for business control and data storage; The auxiliary module is used to publish events and call data; The business module is used to perform business processing and generate test reports.

4. The charging terminal automatic testing system according to claim 3, characterized in that: The back-end processing module includes: A data storage unit, used to store data called by the auxiliary module; The business control unit is used to perform corresponding business control and generate business control results based on the test comprehensive scenario configured by the front-end page display module.

5. The charging terminal automatic testing system according to claim 3, characterized in that: The auxiliary module comprises: An event publishing unit, used for publishing events based on the business control results generated by the backend processing module; The API calling unit is used to call relevant data; wherein the relevant data includes: a test report generated by the business module.

6. The charging terminal automatic testing system according to claim 3, characterized in that: The business module includes: a business processing unit, an event monitoring unit, a test report generating unit and a report uploading unit; The event monitoring unit is used to monitor the events released by the auxiliary module; The business processing unit is used to perform corresponding business processing to generate a first business processing result when the event monitoring unit monitors an event, and to perform corresponding business processing on the message parsing result generated by the data processing and message generation module to generate a second business processing result; The test report generating unit is used to generate a test report based on the second service processing result generated by the service processing unit; The report uploading unit is used to upload the generated test report.

7. The charging terminal automatic testing system according to claim 6, characterized in that: The data processing and message generation module comprises: Data message processing module, used to issue message instructions and parse received messages; The protocol message format module is connected to the data message processing module and is used to generate messages of different charger interaction protocol versions and determine the charger interaction protocol version of the received message.

8. The charging terminal automatic testing system according to claim 7, characterized in that: The data message processing module comprises: A message parsing unit, configured to parse the message based on the charger interaction protocol version of the message determined by the protocol message format module to obtain a corresponding message parsing result; The message instruction issuing unit is used to issue a corresponding message instruction based on the first service processing result generated by the service processing unit.

9. The charging terminal automatic testing system according to claim 7, characterized in that: The protocol message format module has built-in multiple versions of charger interaction protocols based on demand settings, including: A charging interaction protocol message generation unit, configured to generate a message corresponding to a charging interaction protocol version based on a message instruction issued by the data message processing module; The charging interaction protocol version parsing unit is used to determine the charging interaction protocol version of the message received by the communication module.

10. The charging terminal automatic testing system according to claim 1, characterized in that: The communication module comprises: TCP communication unit, MQTT communication unit and CAN communication unit; Wherein, the TCP communication unit is used to communicate with the charging terminal through the TCP communication protocol; The MQTT communication unit is used to communicate with the charging terminal through the MQTT communication protocol; The CAN communication unit is used to communicate with the charging terminal via the CAN communication protocol.

Citation Information

Cited By

  • Battery replacement compatibility test method and system

    CN121142223A

  • Method for automatically testing interconnection and intercommunication of heterogeneous terminals of mobile internet operating system

    CN121644415A

  • Method for automatic testing of interconnection and intercommunication of mobile internet operating system heterogeneous terminals

    CN121644415B