An open electricity meter and acquisition terminal automatic test system
By using an open automated testing system for electricity meters and data acquisition terminals, the problem of test coverage relying on experience has been solved. This system enables efficient and traceable testing processes and result determination, reduces reliance on developers, and improves the standardization and maintainability of the testing system.
Patent Information
- Application Number
- CN202512041427.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-31
- Publication Date
- 2026-06-19
Smart Images

Figure CN122238975A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electricity meter testing technology, and specifically to an open-type automated testing system for electricity meters and data acquisition terminals. Background Technology
[0002] Smart meters and data acquisition terminals have complex functions, and standards typically provide only general qualitative descriptions (such as clock accuracy and metering accuracy). Test coverage is usually determined by the experience of testers. The existing model suffers from the following drawbacks: 1) A wide variety of test equipment and supporting software, leading to high maintenance costs. 2) General descriptions in standards can easily lead to subjective interpretations, resulting in biased test results, poor consistency and accuracy, and hindering the development of standardized testing techniques. 3) The workload for processing test records is large, and the testing process is uncontrollable and difficult to trace. 4) The high complexity of smart meter programs results in low coverage for manual testing, making full-coverage testing impossible, leading to low testing efficiency. Differences in test engineer experience also contribute to inconsistent test results. 5) "Black-box" automated scripts designed by software developers place high demands on human expertise and lack flexibility. Testers cannot modify these scripts themselves, resulting in low efficiency in solution design, optimization, and problem analysis. 6) The development of automated scripts relies on software developers, leading to low quality scripts due to development efficiency and discrepancies in design requirement transmission. These scripts are typically used as tools and are difficult to standardize.
[0003] For example, Chinese patent CN118859087A discloses a testing method for electricity meters, including: generating a preset number of test schemes based on the electricity meter parameters corresponding to sampled electricity meters and preset test schemes; obtaining currently unexecuted test schemes and simultaneously applying electrical stress parameters and environmental stress parameters corresponding to the currently unexecuted test schemes to each sampled electricity meter; obtaining a test report corresponding to each sampled electricity meter based on the test results, preset standard test parameters, and a preset test report generation method; generating a reliability evaluation report for the batch of electricity meters to be tested corresponding to the sampled electricity meters; and modifying the design scheme corresponding to the sampled electricity meters based on the reliability evaluation report. However, this method cannot completely solve the aforementioned defects. Summary of the Invention
[0004] This invention addresses the problem that the test coverage of existing electricity meter testing schemes is usually determined by the experience of testers. It proposes an open automated testing system for electricity meters and data acquisition terminals, which significantly improves test coverage and efficiency through automated testing technology, reduces reliance on developers, and avoids deviations in requirement transmission.
[0005] To achieve the above objectives, the present invention adopts the following technical solution: an open-source automated testing system for electricity meters and data acquisition terminals, comprising: an equipment management module for integrated control of the equipment and automatic control to meet testing conditions; a bottom-level platform module providing a set of step instructions for the smallest unit; a communication protocol module containing several protocols and parsing data according to the frame format structure and data type of the protocol; a script testing module for setting script programs according to the test process and logic, calling step instructions, and verifying test results by reading, setting, and comparing data in the table through the data structure of the protocol library; and a task management module for establishing task numbers, selecting script programs through task allocation, executing tests, and outputting test reports.
[0006] The open-source automated testing system for electricity meters and data acquisition terminals of the present invention mainly includes an equipment management module, an underlying platform template, a communication protocol module, a script testing module, and a task management module. The equipment management module enables centralized control of the testing equipment; the underlying platform module is a set of step instructions for the smallest unit in the design of automated script programs; and the task management module can establish an independent task number for each test task.
[0007] The present invention is further configured such that: the device management module is connected to the detection device via a serial port, and the device management module achieves control by calling the dynamic link library of the detection device.
[0008] The present invention is further configured such that: the step instructions include electrical parameter control instructions, which can adjust the electrical parameters of the detection device; signal source reading instructions, which can read the electrical parameter data of the detection device; arithmetic control instructions, which can perform calculation, conversion and logical processing on the data; time control instructions, which can control the test timing and time-related operations; and data processing instructions, which can organize, convert and format the data.
[0009] In this technical solution, the electrical parameter control instructions include adjustment step instructions such as voltage, current, frequency, phase line, phase, power direction switch, phase sequence direction switch, power-down, and power-on. Signal source reading instructions can read the electrical parameter data of the detection device; operation control instructions include assignment, number system conversion, calculation, and function call step instructions; time control instructions include delay and time calculation step instructions. Data processing instructions include string extraction, concatenation, comparison, recursion, annotation, and referencing step instructions.
[0010] The present invention is further configured such that: the script testing module includes a fault diagnosis model, the script program contains a large number of judgment statements, the execution logic and data of each judgment statement are compiled, and the true or false branch verification of each judgment statement is performed through the fault diagnosis model.
[0011] In this technical solution, the fault diagnosis model performs true / false branch verification on each judgment statement to ensure the correct execution flow and realize the standardized application of automated scripts.
[0012] The present invention is further configured such that: the script testing module includes a dynamic loop monitoring model, which continuously monitors and compares data at comparison intervals through a loop testing mode, identifies the process of continuous data accumulation within the test cycle, and realizes dynamic result determination. The loop testing mode achieves looping through assignment, step definition, and statement judgment jump.
[0013] In this technical solution, the dynamic cycle monitoring model is applicable to the monitoring / testing of functions such as metering, freeze, and event monitoring. For example, when monitoring the metering function, dynamic result determination is achieved by identifying the accuracy of the total battery level during the test cycle and the process of continuous battery accumulation. Similarly, when monitoring the freeze function, dynamic result determination is achieved by identifying the accuracy of the total battery level at the freeze point within the test cycle. And when monitoring the event function, dynamic result determination is achieved by identifying the accuracy of the total battery level at the event occurrence and termination points within the test cycle.
[0014] The present invention is further configured such that: the script testing module includes a data storage function testing model, the data storage function testing model includes a data verification model, a data recursion model and a data connection comparison model, the data verification model is capable of verifying and judging pure data, step execution results and data operation results.
[0015] The present invention is further configured such that: the underlying platform module utilizes low-code testing logic technology to construct an open underlying platform, and visualizes and configures the test process, conditions and rules to realize the testing of functions such as communication, metering, clock, event recording, freezing, settlement day transfer, data storage and clearing of the electricity meter and data acquisition terminal.
[0016] This technical solution utilizes low-code testing logic technology to build an open underlying platform, enabling visual configuration of test processes, conditions, and rules. It also allows for flexible secondary development of automated scripts, enabling testers to design automated scripts in a simple and easy-to-understand manner, thus resolving the issue of design requirement transmission deviations.
[0017] The present invention is further configured such that: the data recursion model functions as follows: the electricity meter stores a large amount of historical data, and a transfer action is triggered after each settlement day or freeze time. The electricity meter data packet is read for the first time, the data recursion mode is configured, and the historical data is recursively transferred after the transfer. The historical stored data is quickly compared through the n+1 recursion model.
[0018] In this technical solution, a data recursion model is set up to achieve rapid comparison of historical stored data.
[0019] The present invention is further configured such that each line of the script program of the script testing module has an execution result, and the result is automatically output by comparison and judgment.
[0020] In this technical solution, the results and messages can be displayed intuitively, thus improving analysis efficiency.
[0021] The present invention is further configured to include a protection and early warning module, which comprises a voltage over-limit judgment unit and a current over-limit judgment unit. Both the voltage over-limit judgment unit and the current over-limit judgment unit are configured with corresponding references, and automatically implement a source reduction action when either the voltage or current exceeds the limit.
[0022] In this technical solution, in order to improve the safety of the test, a corresponding protection mechanism is constructed. Specifically, it is achieved by setting up a voltage over-limit judgment unit and a current over-limit judgment unit. The corresponding energy meter parameters are set as a reference. When the voltage or current exceeds n times the reference, the power supply is automatically reduced to ensure the safety of the test.
[0023] The open-type automated testing system for electricity meters and data acquisition terminals of the present invention can bring the following technical effects: 1. Integrated equipment control and management reduces reliance on the equipment's built-in host computer software, improves the management efficiency of the equipment and its supporting software, and reduces maintenance costs; 2. Utilize low-code testing logic technology to build an open underlying platform, visually configure test processes, conditions, and rules, and make the list-style automated scripts logical, simple, and easy to understand. With modular design and sub-solution call design patterns, the automated scripts have high development efficiency and good maintainability. 3. Set up a fault diagnosis model to transform the general qualitative description requirements into standardized applications, and to transform the general description requirements into quantifiable technical solutions and judgment criteria; 4. Quickly generate executable automated script assemblies, compatible with multiple execution modes, and quickly and efficiently meet various detection needs; 5. Set up a test model for the data storage function to improve data comparison efficiency and significantly shorten the test cycle; 6. Continuous monitoring of the testing process ensures the quality of the testing process, facilitates the discovery of probabilistic bugs, significantly reduces manual intervention, and ensures good traceability by recording the entire testing process. Attached Figure Description
[0024] Figure 1 This is a logic flowchart of a dynamic cyclic monitoring model for an open-type automated testing system for electricity meters and data acquisition terminals according to the present invention.
[0025] Figure 2This is a logical flowchart of the data verification model of an open-ended automated testing system for electricity meters and data acquisition terminals according to the present invention.
[0026] Figure 3 This is a logical flowchart of the data recursion model of an open-ended automated testing system for electricity meters and data acquisition terminals according to the present invention.
[0027] Figure 4 This is a logical flowchart of the data connection and comparison model of an open automated testing system for electricity meters and data acquisition terminals according to the present invention. Detailed Implementation
[0028] Example 1 To address the issue that the test coverage of existing electricity meter testing schemes is usually determined by the experience of the testers, this embodiment proposes an open automated testing system for electricity meters and data acquisition terminals, which mainly includes a device management module, an underlying platform module, a communication protocol module, and a task management module.
[0029] The equipment management module integrates and controls the equipment, automatically controlling it to meet testing conditions.
[0030] The aforementioned equipment management module has the following functions: it can connect to relevant testing equipment via serial port to establish a physical link; it can implement control by calling the dynamic link library of the testing equipment; it can adapt to the control instructions and parameters of different testing equipment through the standardization of step instructions; and it can convert them into controllable single step instructions and instruction sets to achieve convenient control.
[0031] The underlying platform module provides the smallest unit of step instruction set.
[0032] The underlying platform module specifically includes the following: it is a set of step instructions that form the smallest unit in the design of automated scripts. It builds a list-based automated script design platform, which can generate visual automated scripts based on the design of the test process and logic. The step instruction types mainly include the following: Electrical parameter control commands: to adjust the electrical parameters of the detection equipment; in this embodiment, electrical parameter control commands include, but are not limited to, adjustment step commands such as voltage, current, frequency, phase line, phase, power direction switch, phase sequence direction switch, power off, power on, etc.
[0033] Signal source read command: Read the electrical parameter data of the detection equipment.
[0034] Operation control instructions: perform calculations, conversions, and logical processing on data; in this embodiment, operation control instructions include, but are not limited to, assignment, number system conversion, arithmetic, and function calls.
[0035] Time control instructions: control the test timing and time-related operations; in this embodiment, time control instructions include, but are not limited to, delays and time calculations.
[0036] Data processing instructions: to organize, transform, and format data; in this embodiment, data processing instructions include, but are not limited to, string extraction, concatenation, comparison, recursion, annotation, and citation.
[0037] In this embodiment, the electrical parameter control instructions include adjustment step instructions such as voltage, current, frequency, phase line, phase, power direction switch, phase sequence direction switch, power-down, and power-on. The signal source reading instructions can read the electrical parameter data of the detection device; the operation control instructions include assignment, number system conversion, operation, and function call step instructions; the time control instructions include delay and time operation step instructions. The data processing instructions include string extraction, concatenation, comparison, recursion, annotation, and referencing step instructions.
[0038] The communication protocol module contains several protocols and parses data according to the frame format structure and data type of the protocol.
[0039] The communication protocol module specifically includes the following: it is a set of communication protocols designed during the automation script design, including 645, 698, and DLMS protocols. It parses data according to the frame format structure and data type of the protocol to realize the read and write data interaction of the smart energy meter.
[0040] The script testing module sets up script programs according to the test process and logic, calls step instructions, and verifies the test results by copying, setting, and comparing data in the specification library's data structures. Specifically, the called step instructions include electrical parameter control instructions, signal source reading instructions, arithmetic control instructions, time control instructions, and data processing instructions.
[0041] The task management module establishes task numbers, selects scripts through task allocation, executes tests, and outputs test reports. Specifically, each submitted test task is assigned a unique task number C + year (2 digits) + month (2 digits) + serial number (4 digits), which includes task information, product information, responsible person information, conclusion information, and standard information.
[0042] The open-source automated testing system for electricity meters and data acquisition terminals of the present invention mainly includes an equipment management module, an underlying platform template, a communication protocol module, a script testing module, and a task management module. The equipment management module enables centralized control of the testing equipment; the underlying platform module is a set of step instructions for the smallest unit in the design of automated script programs; and the task management module can establish an independent task number for each test task.
[0043] The business process of the open-source automated testing system for electricity meters and data acquisition terminals of this invention includes: task reception, task creation, calculation and allocation, selection of automated script program set, configuration of electricity meter parameters, start of automated testing, confirmation of test results, and generation of test report.
[0044] The technical solution of this invention significantly improves test coverage and efficiency through automated testing technology, playing a positive role in the continuous improvement of product quality. By building an open and visual underlying platform and designing automated scripts in a step-by-step manner, it reduces reliance on software developers, avoids deviations in requirement transmission, improves problem analysis efficiency, and achieves traceability of the testing process.
[0045] The software of this invention includes an encryption machine, an electricity meter communication module, and a database. The encryption machine can encrypt and decrypt electricity meter read / write operations and perform data interaction according to the flow of an automated script. The electricity meter communication module specifically employs communication methods such as RS-485, infrared, and Bluetooth, and performs data interaction according to the flow of the automated script. The database can store automated script programs, test records, and test reports.
[0046] In this technical solution, the underlying platform module utilizes low-code testing logic technology to build an open underlying platform (white box, step execution), which allows for visual configuration of test processes, conditions, and rules, and enables flexible secondary development of automated scripts.
[0047] Specifically, in the design interface of the automation script, users can select electrical parameter control instructions, signal source reading instructions, arithmetic control instructions, time control instructions, data processing instructions, and protocol copying and setting through the operation tree, and then load them into the visual automation script by right-clicking according to the preset logic and process.
[0048] The design interface of the automation script in this embodiment adopts a modular design, sub-scheme calling, and data verification design pattern.
[0049] Modular design specifically involves studying standard requirements, combining them with practical application characteristics and program design logic to transform them into detailed test points, and then designing modular automated scripts for each test point. This approach offers the following advantages: good maintainability, strong interrelationships, enabling quick execution, and significantly improving testing efficiency.
[0050] The sub-solution invocation process involves designing comprehensive and compatible sub-solutions, configuring associated test parameters through entry parameters, and selectively invoking sub-solutions to form automated scripts, significantly reducing the complexity of the steps. It boasts the following advantages: good adaptability, clear logic, concise solutions, and convenient iteration.
[0051] Data verification specifically involves: functional testing requires a large amount of data comparison. The copying instructions to be compared are filled into the verification data rules. While copying the data results, the system automatically compares them with the verification data in the background, improving efficiency by more than 50%. Among them, the data verification types include pure data, step execution results, and data calculation results.
[0052] The script testing module includes a fault diagnosis model. The script program contains a large number of conditional statements. The execution logic and data of each conditional statement are compiled, and the fault diagnosis model is used to verify the true or false branches of each conditional statement to ensure the correct execution flow and realize the standardized application of automated scripts.
[0053] Each line of the automated script program is accompanied by the execution result. By comparing and judging, the results are automatically output, and the results and messages are displayed intuitively, improving analysis efficiency.
[0054] In this technical solution, the step-by-step automated script program execution modes include sequential mode, loop mode, jump mode, shortcut mode, and combination mode.
[0055] Sequential mode, as the name suggests, executes the script in the order it is supposed to run.
[0056] Loop mode: Specifically, it uses assignment, step definition, and statement judgment jump to achieve looping by number of times, looping by time, and looping by judgment result, and visualizes the test process.
[0057] Jump Mode: Differences in the functional design of electricity meters are often the cause of standardization difficulties. In order to improve the compatibility of automated script programs, automated script programs with different functions are designed in segments. By judging the configured electricity meter parameters, the program automatically jumps to the corresponding execution step, which greatly improves execution efficiency, maintainability and iteration efficiency.
[0058] Quick mode: Modular design based on the functional points of test cases, defining key and secondary functional points, quickly executing key functional points to improve testing efficiency, applicable when program changes are minor or delivery time is urgent.
[0059] Combination Mode: "Building block" style combination of test projects to form an automated script program set, quickly and automatically generate executable test technology solutions, meet 24-hour uninterrupted testing without human intervention, and improve testing efficiency.
[0060] The script testing module includes a dynamic loop monitoring model, which continuously monitors and compares data at comparison intervals through loop testing mode, and identifies the accuracy of total power consumption and the process of continuous power accumulation during the test cycle. The loop testing mode achieves looping through assignment, step definition, and statement judgment jump.
[0061] Traditional testing models primarily calculate the metering accuracy of smart meters within a test cycle by multiplying power by time. This requires continuous manual observation of the accuracy of accumulated electricity consumption, resulting in a large workload of manual intervention, which is prone to oversights and makes it difficult to detect probabilistic, sporadic, or sudden bugs.
[0062] When the dynamic cycle monitoring model of this technical solution is used to monitor the metering function, it can not only identify the accuracy of the total power consumption during the test cycle, but also effectively identify the process of continuous power consumption accumulation, thus effectively monitoring the quality of the test process.
[0063] As one implementation method, refer to Figure 1 The logic of the dynamic cyclic monitoring model includes the following process: read the signal source power and calculate the standard power error limit based on the interval time; read the current power data P1; compare it with the interval time; determine whether the comparison interval time has been reached; if not, return to the judgment; if yes, read the current power data P2; calculate P equal to P2 minus P1; determine the power increase; if P is not less than 0, calculate the current error within the comparison interval time; if P is less than 0, record the abnormal test result and return to calculate the power error within the comparison interval time; determine whether P is not greater than the error limit; if yes, read the system time; if no, record the abnormal test result and return to read the system time; then determine whether the test cycle has been reached; if yes, the test ends; if no, return to reread the current power data P1.
[0064] In this embodiment, the comparison interval is 5 seconds.
[0065] The correctness of stored data is determined by comparing a large amount of data. A lot of time is spent on data recursion and verification of the correctness of data comparison. This embodiment improves testing efficiency by establishing a data comparison function test model.
[0066] The script testing module includes a data storage function test model, which includes a data verification model, a data recursion model, and a data connection comparison model. The data verification model can verify and judge the data of pure data, step execution results, and data operation results.
[0067] The data verification model reads the electricity meter data while simultaneously judging the verification data. The verification data includes pure data (directly obtained), step execution results (obtaining the results of specified steps), and data calculation results (obtaining the results after calculation). This significantly reduces the number of step instruction entries and automatically outputs the data comparison results, greatly improving efficiency.
[0068] Its logic can be referenced. Figure 2Specifically, this includes: reading electricity meter data, determining whether the data has been returned, if not, accumulating the number of reads, if yes, determining whether to verify, if yes, obtaining verification data, if not, executing the next instruction; after accumulating the number of reads, determining whether the number is no more than 3, if yes, returning to read electricity meter data, if not, recording the abnormal test result; after obtaining the verification data, determining whether it is consistent, if consistent, executing the next instruction, if inconsistent, recording the abnormal test result.
[0069] The data recursion model functions as follows: Electricity meters store a large amount of historical data, such as daily electricity consumption data. After each settlement day, a data transfer action is triggered. The electricity meter data packet is read initially, and a data recursion mode is configured. After transfer, historical data is sequentially recursively transferred. An n+1 recursion model is used for rapid comparison of historical stored data. It can be applied to the recursive verification of historical electricity consumption, event records, frozen data, and load records.
[0070] refer to Figure 3 The logic of the data recursion model includes the following specific steps: Assign the number of transfers n, then read the historical storage data packet D1, modify the time to 5 seconds before the settlement date, delay for 10 seconds, check if the delay time is 10 seconds. If not, return the delay; if yes, read the historical storage data packet D2, check if the data has been returned. If yes, check if the verification has passed. If yes, obtain the comparison parameters; if no, transfer the number of transfers n-1. If the data has not been returned, accumulate the number of reads and check if the number is not greater than 3. If yes, return to read the historical storage data packet D2; if no, record the abnormal test result. After obtaining the comparison parameters, compare the data of D1 and D2, check if the comparison has passed. If no, record the abnormal test result; if yes, transfer the number of transfers n-1, check if n is 0. If yes, the test ends; if no, update the data of D1 with the data of D2, and finally return to the time to 5 seconds before the settlement date to achieve continuous data comparison of transfers.
[0071] For the data linking and comparison model, individual instruction data is read, and the data field in each read instruction is obtained through the data field and byte length defined by the specification, and the data field in each read instruction is obtained through the substring extraction instruction. All data is then summarized sequentially through the data linking function, and direct comparison with the data block copying instruction is achieved, thereby improving the comparison efficiency.
[0072] refer to Figure 4 The data connection comparison model logic includes the following specific contents: read the total electricity consumption, find the substring D1, read the electricity consumption at rate 1, find the substring D2, and so on up to reading the electricity consumption at rate n, find the substring Dn, connect the data to D, read the electricity consumption of the data block DL, and determine whether DL is equal to D. If yes, the test ends; if no, the abnormal test result is recorded.
[0073] The system of the present invention also includes a protection and early warning module, which includes a voltage over-limit judgment unit and a current over-limit judgment unit. Both the voltage over-limit judgment unit and the current over-limit judgment unit are set with corresponding references, and automatically implement a power reduction action when the voltage or current exceeds the limit.
[0074] In the 24-hour unattended continuous testing mode, in order to improve the safety of the test, the automated testing system has established a corresponding protection mechanism, specifically by setting up voltage over-limit judgment units and current over-limit judgment units.
[0075] In this embodiment, the voltage over-limit judgment unit uses the energy meter parameter Un as a reference. When the voltage exceeds 1.5 times Un, it automatically implements a power source reduction action to ensure test safety. Similarly, the current over-limit judgment unit uses the energy meter parameter Imax as a reference. When the voltage exceeds 1.5 times Imax, it automatically implements a power source reduction action to ensure test safety.
[0076] This embodiment of an open-type automated testing system for electricity meters and data acquisition terminals can bring the following technical effects.
[0077] 1. Integrated control and management of equipment reduces reliance on the equipment's built-in host computer software, improves the management efficiency of equipment and supporting software, and reduces maintenance costs.
[0078] 2. Utilize low-code testing logic technology to build an open underlying platform, visually configure test processes, conditions, and rules, and ensure that the list-style automated scripts are logically clear, simple, and easy to understand. With modular design and sub-solution call design patterns, the automated scripts have high development efficiency and good maintainability.
[0079] 3. Utilize fault diagnosis models to transform general qualitative description requirements into standardized applications, and to transform general description requirements into quantifiable technical solutions and judgment criteria.
[0080] 4. Quickly generate executable automated script assemblies in a "building block" style, compatible with multiple execution modes, and quickly and efficiently meet various testing needs.
[0081] 5. Continuous monitoring of the testing process ensures the quality of the testing process, facilitates the discovery of probabilistic bugs, significantly reduces manual intervention, and records the entire testing process, providing excellent traceability.
[0082] 6. Three comparison modes are set up: data verification model, data recursion model, and data connection comparison model, which improves data comparison efficiency and significantly shortens the testing cycle.
Claims
1. An open type electric energy meter and acquisition terminal automatic test system, characterized in that, It includes an equipment management module for integrated control of equipment and automatic control to meet testing conditions; an underlying platform module that provides a set of step instructions for the smallest unit; and a communication protocol module that contains several protocols and parses data according to the frame format structure and data type of the protocol. The script testing module sets up script programs according to the test process and logic, calls step instructions, and reads, sets, and compares data in the table through the data structure of the specification library to verify the test results. The task management module creates task numbers, selects scripts through task allocation, executes tests, and outputs test reports.
2. The open type electric energy meter and collection terminal automatic test system according to claim 1, characterized in that, The device management module connects to the testing device via a serial port, and controls the device by calling the dynamic link library of the testing device.
3. The open type electric energy meter and collection terminal automatic test system according to claim 2, characterized in that, The step instructions include electrical parameter control instructions, which can adjust the electrical parameters of the detection equipment; signal source reading instructions, which can read the electrical parameter data of the detection equipment; calculation control instructions, which can perform calculation, conversion and logical processing on the data; time control instructions, which can control the test timing and time-related operations; and data processing instructions, which can organize, convert and format the data.
4. An open-type automated testing system for electricity meters and data acquisition terminals according to claim 1 or 2, characterized in that, The script testing module includes a fault diagnosis model. The script program contains a large number of judgment statements. The execution logic and data of each judgment statement are compiled, and the true or false branches of each judgment statement are verified through the fault diagnosis model.
5. An open-type automated testing system for electricity meters and data acquisition terminals according to claim 1 or 2, characterized in that, The script testing module includes a dynamic loop monitoring model, which continuously monitors and compares data at comparison intervals through a loop testing mode, identifies the process of continuous data accumulation within the test cycle, and realizes dynamic result determination. The loop testing mode achieves looping through assignment, step definition, and statement judgment jump.
6. An open-type automated testing system for electricity meters and data acquisition terminals according to claim 1 or 2, characterized in that, The script testing module includes a data storage function testing model, which includes a data verification model, a data recursion model, and a data connection comparison model. The data verification model can verify and judge the data of pure data, step execution results, and data operation results.
7. The open-type automated testing system for electricity meters and data acquisition terminals according to claim 1, characterized in that, The underlying platform module utilizes low-code testing logic technology to build an open underlying platform, enabling visual configuration of testing processes, conditions, and rules.
8. An open-type automated testing system for electricity meters and data acquisition terminals according to claim 6, characterized in that, The function of the data recursion model is as follows: the data stored in the electricity meter includes a large amount of historical data. After each settlement day or freeze time, a transfer action is triggered. The electricity meter data packet is read for the first time, the data recursion mode is configured, and the historical data is recursively transferred after the transfer. The n+1 recursion model is used to quickly compare the historical stored data.
9. The open-type automated testing system for electricity meters and data acquisition terminals according to claim 1, characterized in that, Each line of the script program in the script testing module has an execution result, and the result is automatically output by comparison.
10. An open-type automated testing system for energy meters and data acquisition terminals according to claim 1 or 2, characterized in that, It also includes a protection and early warning module, which includes a voltage over-limit judgment unit and a current over-limit judgment unit. Both the voltage over-limit judgment unit and the current over-limit judgment unit are set with corresponding references, and automatically implement source reduction action when the voltage or current exceeds the limit.
Citation Information
Patent Citations
Test method, system and test equipment of electric energy meter
CN118859087A