Automatic virtual table platform and method for simulating acquisition environment of intelligent equipment

By designing an automated virtual table platform and simulating the on-site meter reading environment, the problem that existing testing methods are difficult to simulate complex environments and cannot be automated is solved, and an efficient, flexible and automated test process is achieved, improving testing efficiency and accuracy.

CN119690823APending Publication Date: 2025-03-25QINGDAO ITECHENE TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411625964.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

Existing testing methods are difficult to simulate complex on-site meter reading environments, cannot effectively test a large number of power meters of various types, and cannot automate test cases, resulting in low test efficiency, many repetitive work, and the inability to flexibly configure test scenarios.

Method used

Design an automated virtual table platform, including a virtual table server module, a collection terminal test system module, a virtual table data processing module, an automated script execution module, a flexible configuration module and a variable value reading storage database module, and simulate the on-site meter reading environment through virtualization to realize flexible configuration of testing scenarios, automated testing and efficient data processing.

Benefits of technology

Virtualization simulation of complex on-site meter reading environments is realized, testing efficiency and accuracy is improved, repetitive work and human resource investment is reduced, testing flexibility and automation level are enhanced, and testing costs are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119690823A_ABST
    Figure CN119690823A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electric energy meter data testing, in particular to an automatic virtual table platform and method for simulating the collection environment of intelligent equipment. The platform comprises a virtual table server module, an acquisition terminal test system module, a virtual table data processing module, an automatic script execution module, a flexible configuration module and a variable value reading storage database module. The platform can simulate an on-site meter reading environment, virtualizes and simulates the complex on-site meter reading environment, improves the testing efficiency, reduces the cost, and promotes the application of automatic testing in the testing of the data acquisition terminal of the electric energy meter. The working method comprises the steps of starting and initialization, control command sending, virtual table data processing, data verification and storage, automatic script execution, test ending, data extraction and the like, automatic control over the test process is achieved, and test comprehensiveness and effectiveness are 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 electric energy meter data testing, and in particular to an automated virtual meter platform and method for simulating an intelligent device acquisition environment. Background Art

[0002] With the increase in the types of data acquisition terminals for electric energy meters and the improvement of data acquisition process and processing requirements, the on-site meter reading environment has become increasingly complex. Traditional test methods are difficult to simulate the complex meter environment on site, such as carrier meter networking failure, abnormal data item response, etc. The actual environment is difficult to build and fixed, and cannot meet the test requirements of various types and a large number of electric energy meters required for testing, as well as the requirements of simulating various abnormal situations.

[0003] In the existing test methods, if a small number of simple electric energy meters are used for testing, the test of the electric energy meter data acquisition terminal can be barely achieved manually, but the efficiency is low. When simulating the field environment and conducting stress testing, the test requirements are complex and require a lot of human resources and time. In addition, the test cases cannot be converted into automation, resulting in a lot of repetitive work for testers. The existing test methods cannot flexibly configure test scenarios, such as changing meter types, meter reply data values, abnormal responses, etc. These test requirements are difficult to achieve in the actual environment and cannot be completed by simple test tools or methods, which limits the effectiveness and reliability of the test. In addition, due to the complexity and variability of the field environment, the existing automated test methods are greatly limited in practical applications. Automated test tools often cannot adapt to complex field environments, resulting in inaccurate test results or inability to complete test tasks.

[0004] In view of the above problems, an automated virtual meter platform and method for simulating the intelligent device acquisition environment are designed to solve the above problems. The on-site meter reading environment is simulated in a virtualized way, and the flexible configuration of test scenarios is achieved, the test efficiency is improved, and repetitive work is reduced. It also promotes the application of automated testing in the test of electric energy meter data acquisition terminals, which has important practical significance. Summary of the invention

[0005] In order to solve the problems existing in the background technology, the present invention provides an automated virtual table platform for simulating the intelligent device acquisition environment, which includes a virtual table server module, an acquisition terminal test system module, a virtual table data processing module, an automated script execution module, a flexible configuration module, and a variable value reading storage database module, wherein:

[0006] The virtual meter server module communicates with the acquisition terminal test system module through the public interface module, simulates the virtual energy meter in the on-site meter reading environment, receives and processes the control commands from the intelligent device acquisition environment, performs corresponding data operations and generates reply data;

[0007] The acquisition terminal test system module communicates with the virtual meter server module through the public interface module; interacts with the automated script execution module through the master station configuration interface; provides a channel interface for communicating with the virtual energy meter server, sends control commands to the virtual meter server, and receives its reply data for verification;

[0008] The virtual table data processing module is closely integrated with the virtual table server module, receives its control instructions and performs data processing; interacts with the variable value reading and storage database module for data; processes the control commands received by the virtual table server, modifies or updates the virtual table data accordingly, and generates the final reply data;

[0009] The automated script execution module is tightly integrated with the virtual table server module, receives its control instructions and performs data processing; interacts with the variable value reading and storage database module for data; loads and executes predefined automated test scripts, controls the acquisition terminal test system module to send control commands, simulates test scenarios, and collects test results;

[0010] Flexible configuration module, which interacts with the virtual table server module and the acquisition terminal test system module to exchange configuration information; it provides flexible configuration options for the virtual table server module and the acquisition terminal test system module, including narrow-bandwidth mode switching, blacklist testing, preamble configuration, and delayed reply configuration;

[0011] The variable value reading and storage database module interacts with the virtual table data processing module and the automated script execution module to provide data storage and retrieval functions; it stores the reply data generated by the virtual table server, the data collected during the test, and the test result data generated by the automated script execution module;

[0012] The virtual table server module and the acquisition terminal test system module communicate through the public interface module to realize the sending of control commands and the receiving of reply data; the virtual table data processing module, as a part of the virtual table server module, processes the control commands from the acquisition terminal test system module and generates reply data; the automated script execution module interacts with the acquisition terminal test system module through the master station configuration interface to control the test process and collect test results; the flexible configuration module interacts with the virtual table server module and the acquisition terminal test system module for configuration information to realize flexible configuration of the test environment; the variable value reading storage database module interacts with the virtual table data processing module and the automated script execution module for data to store and retrieve data generated during the test process.

[0013] A working method of an automated virtual table platform for simulating a smart device acquisition environment comprises the following steps:

[0014] S1, startup and initialization: load the virtual table server module, acquisition terminal test system module, virtual table data processing module, automated script execution module, flexible configuration module and variable value reading storage database module to ensure that the data channel is unobstructed; according to the test requirements, load the corresponding configuration information, including the type, quantity, data items and communication rate of the virtual table; the automated script execution module loads the predefined automated test script and prepares to execute the test;

[0015] S2, sending control commands: the acquisition terminal test system module sends control commands to the virtual table server module through the public interface module according to the instructions of the automation script execution module;

[0016] S3, virtual table data processing: after receiving the control command, the virtual table server module passes it to the virtual table data processing module for processing; the virtual table data processing module modifies or updates the virtual table data accordingly according to the requirements of the control command, including modifying the power, time, voltage, and current parameters; after the processing is completed, the virtual table data processing module generates reply data and returns it to the acquisition terminal test system module through the virtual table server module;

[0017] S4, data verification and storage: After receiving the reply data, the acquisition terminal test system module compares it with the expected result to verify the correctness and completeness of the data; after the verification is passed, the automated script execution module stores the test results and related data in the variable value reading storage database module for subsequent analysis and use;

[0018] S5, automated script execution: The automated script execution module continuously sends new control commands to the acquisition terminal test system module according to the requirements of the test script to simulate different test scenarios; during the test, the automated script execution module adjusts the test time, test times, and test types to meet different test requirements; the test environment or test parameters are modified and adjusted through the flexible configuration module, including switching narrow-bandwidth mode, adding blacklist tests, configuring preambles, and setting delayed responses to simulate more complex on-site environments;

[0019] S6, test end and data extraction: When all test tasks are completed, the automated script execution module will send a test end signal; the system stops sending control commands and closes related data channels and connections; the tester extracts the test results and related data from the variable value reading storage database module.

[0020] In the preferred solution, in step S3, after receiving the control command, the virtual meter server performs data processing according to the command requirements; uses the public default library to manage the virtual meter data, and modifies or updates the freeze time and default data items as needed; processes the virtual meter power and time parameters so that it moves according to the time setting, and the voltage and current variables fluctuate within the setting range to simulate the field environment, specifically including:

[0021] S31, data reply and storage: the virtual meter platform generates data reply content according to the processing results and sends it to the intelligent terminal through the communication channel; the virtual meter is assigned and stored using the variable value reading storage database so that the automation master station platform can directly call it when comparing the meter reading data;

[0022] S32, functional operation: support narrow-bandwidth mode switching, reply to the corresponding communication mode according to the selected carrier communication mode; perform blacklist test, and do not reply or reply to specific data processing for the meters that are not connected to the network on site;

[0023] S33, command operation:

[0024] Configure the running data to simulate the running data of the on-site electric meter;

[0025] Configure the data items for cyclic setting to simulate stress testing under long-term operation time on site;

[0026] Configure single and three phases and support data structures of different types of tables;

[0027] Configuration data items are abnormal, simulating inconsistent data responses in complex on-site environments;

[0028] S34, enabling operations:

[0029] Configure the preamble to carry a specific preamble frame when the test meter replies;

[0030] Configure delayed reply to simulate reply timeout caused by poor on-site carrier environment;

[0031] Configure the module ID and simulate the module replacement action by modifying the module ID;

[0032] Configure phase information and simulate abnormal phase sequence action by modifying the phase information.

[0033] The beneficial effects achieved by the present invention are:

[0034] First, the automated virtual meter platform for simulating the intelligent device acquisition environment of the present invention simulates the virtual electric energy meter in the on-site meter reading environment by constructing a virtual meter server module, thereby realizing the virtual simulation of the complex on-site meter reading environment. This method breaks through the limitation of the traditional test method that relies on the actual electric energy meter, and greatly expands the flexibility and scalability of the test environment. It enables the test to be carried out without relying on the actual electric energy meter, reduces the test cost, and improves the test efficiency.

[0035] Second, the introduction of the automated script execution module realizes automated control of the test process by loading and executing predefined automated test scripts, which significantly reduces the repetitive work of testers, improves the accuracy and consistency of the test, and speeds up the test.

[0036] Third, a flexible configuration module is designed to allow users to configure various parameters of the virtual table server and acquisition terminal test system according to their needs, such as narrow-bandwidth mode switching, blacklist testing, preamble configuration, delayed reply configuration, etc., so that the test environment can simulate various complex on-site situations and improve the comprehensiveness and effectiveness of the test.

[0037] Fourth, through the virtual table data processing module and the variable value reading and storage database module, real-time processing and efficient storage of test data are achieved to ensure the accuracy and completeness of the test data, which is convenient for subsequent data analysis and result verification.

[0038] Fifth, the present invention organically integrates the above modules into one platform, forming an automated virtual meter test platform with comprehensive functions and easy operation. This comprehensive test environment not only improves the test efficiency, but also reduces the test cost, providing a new solution for the test of the electric energy meter data acquisition terminal.

[0039] Sixth, the present invention has significant beneficial effects in improving test efficiency, reducing test costs, enhancing test flexibility, improving test accuracy, supporting multiple test requirements, promoting automated test applications, and facilitating data management and analysis, which are specifically manifested in: through the automated script execution module, the automated control of the test process is realized, and the repetitive work of testers is significantly reduced, thereby improving the test efficiency. By simulating the on-site meter reading environment through virtualization, the high cost of building an actual test environment is avoided, and the manpower, material resources and time investment in the test process are reduced. The flexible configuration module allows the user to configure the test environment and parameters as needed, such as narrow-bandwidth mode switching, blacklist testing, etc., so that the test environment can simulate various complex on-site situations and enhance the flexibility of the test. Automated testing and virtualized simulation environments reduce test errors caused by human factors and improve the accuracy and reliability of the test. The platform can simulate different types of electric energy meters and acquisition terminals, and support multiple test requirements, such as testing of parameters such as power, time, voltage, current, and simulation of complex scenarios such as abnormal response and stress testing. By converting test cases into automated scripts, the platform promotes the application of automated testing in the testing of electric energy meter data acquisition terminals, and provides strong support for the standardization and process of testing work. The variable value reading storage database module provides data storage and retrieval functions, which facilitates the collection, organization and analysis of data during the test and provides data support for subsequent optimization and improvement. The present invention can simulate various complex field environments and abnormal situations. The platform improves the comprehensiveness of the test and ensures the stability and reliability of the electric energy meter data acquisition terminal under various conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A workflow diagram of an automated virtual table platform for simulating a smart device acquisition environment;

[0041] Figure 2 This is a diagram of the environment architecture of the acquisition terminal test system simulated by the automated virtual table platform for simulating the intelligent device acquisition environment in Example 1;

[0042] Figure 3 The invention is a flowchart of preprocessing virtual table reply data by an automated virtual table platform for simulating the intelligent device collection environment. DETAILED DESCRIPTION

[0043] The technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. In addition, the forms of the various structures recorded in the following embodiments are merely illustrative, and the present invention is not limited to the various structures recorded in the following embodiments. All other embodiments obtained by ordinary technicians in this field without making creative work belong to the scope of protection of the present invention.

[0044] Reference Figure 1 - Figure 3 The present invention provides an automated virtual table platform for simulating the intelligent device acquisition environment, which includes a virtual table server module, an acquisition terminal test system module, a virtual table data processing module, an automated script execution module, a flexible configuration module, and a variable value reading storage database module, wherein:

[0045] The virtual meter server module communicates with the acquisition terminal test system module through the public interface module, simulates the virtual energy meter in the on-site meter reading environment, receives and processes the control commands from the intelligent device acquisition environment, performs corresponding data operations and generates reply data;

[0046] The acquisition terminal test system module communicates with the virtual meter server module through the public interface module; interacts with the automated script execution module through the master station configuration interface; provides a channel interface for communicating with the virtual energy meter server, sends control commands to the virtual meter server, and receives its reply data for verification;

[0047] The virtual table data processing module is closely integrated with the virtual table server module, receives its control instructions and performs data processing; interacts with the variable value reading and storage database module for data; processes the control commands received by the virtual table server, modifies or updates the virtual table data accordingly, and generates the final reply data;

[0048] The automated script execution module is tightly integrated with the virtual table server module, receives its control instructions and performs data processing; interacts with the variable value reading and storage database module for data; loads and executes predefined automated test scripts, controls the acquisition terminal test system module to send control commands, simulates test scenarios, and collects test results;

[0049] Flexible configuration module, which interacts with the virtual table server module and the acquisition terminal test system module to exchange configuration information; it provides flexible configuration options for the virtual table server module and the acquisition terminal test system module, including narrow-bandwidth mode switching, blacklist testing, preamble configuration, and delayed reply configuration;

[0050] The variable value reading and storage database module interacts with the virtual table data processing module and the automated script execution module to provide data storage and retrieval functions; it stores the reply data generated by the virtual table server, the data collected during the test, and the test result data generated by the automated script execution module;

[0051] The virtual table server module and the acquisition terminal test system module communicate through the public interface module to realize the sending of control commands and the receiving of reply data; the virtual table data processing module, as a part of the virtual table server module, processes the control commands from the acquisition terminal test system module and generates reply data; the automated script execution module interacts with the acquisition terminal test system module through the master station configuration interface to control the test process and collect test results; the flexible configuration module interacts with the virtual table server module and the acquisition terminal test system module for configuration information to realize flexible configuration of the test environment; the variable value reading storage database module interacts with the virtual table data processing module and the automated script execution module for data to store and retrieve data generated during the test process.

[0052] The present invention also provides a working method of an automated virtual table platform for simulating an intelligent device acquisition environment, comprising the following steps:

[0053] S1, startup and initialization: load the virtual table server module, acquisition terminal test system module, virtual table data processing module, automated script execution module, flexible configuration module and variable value reading storage database module to ensure that the data channel is unobstructed; according to the test requirements, load the corresponding configuration information, including the type, quantity, data items and communication rate of the virtual table; the automated script execution module loads the predefined automated test script and prepares to execute the test;

[0054] S2, sending control commands: the acquisition terminal test system module sends control commands to the virtual table server module through the public interface module according to the instructions of the automation script execution module;

[0055] S3, virtual table data processing: after receiving the control command, the virtual table server module passes it to the virtual table data processing module for processing; the virtual table data processing module modifies or updates the virtual table data accordingly according to the requirements of the control command, including modifying the power, time, voltage, and current parameters; after the processing is completed, the virtual table data processing module generates reply data and returns it to the acquisition terminal test system module through the virtual table server module;

[0056] S4, data verification and storage: After receiving the reply data, the acquisition terminal test system module compares it with the expected result to verify the correctness and completeness of the data; after the verification is passed, the automated script execution module stores the test results and related data in the variable value reading storage database module for subsequent analysis and use;

[0057] S5, automated script execution: The automated script execution module continuously sends new control commands to the acquisition terminal test system module according to the requirements of the test script to simulate different test scenarios; during the test, the automated script execution module adjusts the test time, test times, test type and test parameters to meet different test requirements; the test environment or test parameters are modified and adjusted through the flexible configuration module, including switching narrow-bandwidth mode, adding blacklist tests, configuring preambles, and setting delayed responses to simulate more complex on-site environments;

[0058] S6, test end and data extraction: When all test tasks are completed, the automated script execution module will send a test end signal; the system stops sending control commands and closes related data channels and connections; the tester extracts the test results and related data from the variable value reading storage database module.

[0059] In step S3, after receiving the control command, the virtual meter server processes the data according to the command requirements; uses the public default library to manage the virtual meter data, and modifies or updates the freeze time and default data items as needed; processes the virtual meter power and time parameters so that it moves according to the time setting, and the voltage and current variables fluctuate within the setting range to simulate the field environment, specifically including:

[0060] S31, data reply and storage: the virtual meter platform generates data reply content according to the processing results and sends it to the intelligent terminal through the communication channel; the virtual meter is assigned and stored using the variable value reading storage database so that the automation master station platform can directly call it when comparing the meter reading data;

[0061] S32, functional operation: support narrow-bandwidth mode switching, reply to the corresponding communication mode according to the selected carrier communication mode; perform blacklist test, and do not reply or reply to specific data processing for the meters that are not connected to the network on site;

[0062] S33, command operation:

[0063] Configure the running data to simulate the running data of the on-site electric meter;

[0064] Configure the data items for cyclic setting to simulate stress testing under long-term operation time on site;

[0065] Configure single and three phases and support data structures of different types of tables;

[0066] Configuration data items are abnormal, simulating inconsistent data responses in complex on-site environments;

[0067] S34, enabling operations:

[0068] Configure the preamble to carry a specific preamble frame when the test meter replies;

[0069] Configure delayed reply to simulate reply timeout caused by poor on-site carrier environment;

[0070] Configure the module ID and simulate the module replacement action by modifying the module ID;

[0071] Configure phase information and simulate abnormal phase sequence action by modifying the phase information.

[0072] Example 1, this example refers to Figure 2 , Figure 3 , Figure 2 The acquisition terminal test system environment simulated by the automated virtual meter platform provided by the present invention provides a channel interface for communicating with the virtual electric energy meter server. The intelligent device acquisition environment issues control commands to the automated virtual meter platform server through a common interface module, so that the virtual meter server executes the control instructions. Figure 1 As shown, after the master station configures the intelligent terminal reading parameters, the intelligent terminal reads each sub-node under the virtual meter platform through the carrier meter reading port and the 485 meter reading port. The automated virtual meter platform modifies the virtual meter data reply content through configuration instructions or directly modifies the configuration file;

[0073] Figure 3 This is a flowchart of the present invention for processing virtual table reply data items. All tables have a public default library. When the freezing time needs to be modified, the frozen database update data value remains unchanged. If the default data item needs to be modified, the original library data is overwritten as the final reply data after modification. Similarly, if the data of certain tables is modified separately, after specifying the slave node address setting, the original database is overwritten as the data value of a single table, and other tables still use the data value in the default library. Among them, the processing of virtual table power, time and other parameters can be set according to the time, and variables such as voltage and current can fluctuate at any time within the set range to ensure that the virtual table environment is more in line with the on-site environment. The virtual table automation platform provides a variable value reading and storage database function to store virtual table assignments. The automation master station platform directly calls this database when comparing meter reading data; in order to more conveniently understand the detailed functions of the automated virtual table platform, the following three main parts are listed:

[0074] (1) Functional category: narrow-bandwidth mode switching, blacklist test;

[0075] Narrow-bandwidth mode switching: Switch between meter reading modes for different carriers. When narrowband carrier communication is selected, the virtual meter platform replies that the communication mode is 1. When broadband carrier communication is selected, the virtual meter platform replies that the communication mode is 2.

[0076] Blacklist test: For the table test that is not connected to the network on site, blacklist processing is added. The virtual table platform will not reply to the slave node selected in the blacklist or reply F101 without carrying data;

[0077] (2) Commands: configure walking characters, configure loop setting data items, configure single and three phases, configure data item exceptions;

[0078] Configuration of the data: By setting the minimum and maximum values ​​of the data, setting the jump time and jump value, simulate the field meter data

[0079] Configure loop setting data items: By loop setting the freezing time interval, the loop setting data items simulate the stress test under long-term operation time on site.

[0080] Configure single-phase and three-phase: Differentiate the data structure of different types of meters by configuring single-phase and three-phase. When set to a three-phase meter, it supports variable assignments such as A\B\C phase voltage and current. When set to a single-phase meter, it only supports variable assignments such as A phase voltage and current.

[0081] Configuration data item exception: It is used to simulate the inconsistent data response of meters from different manufacturers in complex on-site environments. You can configure table 698 to respond to DAR type, table 645 to respond to empty value, no response, or response to abnormal D101 (D201, etc.).

[0082] (3) Enablement class: configure preamble, configure delayed reply, configure module ID, and configure phase information.

[0083] Configure the preamble: The test meter reply carries the preceding frame (FE FE FE FE).

[0084] Configure delayed reply: Delayed reply of meter data can be used to simulate poor carrier environment and reply timeout on site;

[0085] Configure module ID: create a module replacement action by modifying the module ID;

[0086] Configure phase information: Create abnormal phase sequence action by modifying the phase information.

[0087] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. An automated virtual table platform for simulating the intelligent device acquisition environment, characterized in that: It includes a virtual table server module, a collection terminal test system module, a virtual table data processing module, an automated script execution module, a flexible configuration module, and a variable value reading and storage database module, among which: The virtual meter server module communicates with the acquisition terminal test system module through the public interface module, simulates the virtual electric energy meter in the on-site meter reading environment, receives and processes the control commands from the intelligent device acquisition environment, performs corresponding data operations and generates reply data; The acquisition terminal test system module communicates with the virtual meter server module through the public interface module; interacts with the automated script execution module through the master station configuration interface; provides a channel interface for communicating with the virtual energy meter server, sends control commands to the virtual meter server, and receives its reply data for verification; The virtual table data processing module is closely integrated with the virtual table server module, receives its control instructions and performs data processing; interacts with the variable value reading and storage database module for data; processes the control commands received by the virtual table server, modifies or updates the virtual table data accordingly, and generates the final reply data; The automated script execution module is tightly integrated with the virtual table server module, receives its control instructions and performs data processing; interacts with the variable value reading and storage database module for data; loads and executes predefined automated test scripts, controls the acquisition terminal test system module to send control commands, simulates test scenarios, and collects test results; Flexible configuration module, which interacts with the virtual table server module and the acquisition terminal test system module to exchange configuration information; it provides flexible configuration options for the virtual table server module and the acquisition terminal test system module, including narrow-bandwidth mode switching, blacklist testing, preamble configuration, and delayed reply configuration; The variable value reading and storage database module interacts with the virtual table data processing module and the automated script execution module to provide data storage and retrieval functions; it stores the reply data generated by the virtual table server, the data collected during the test, and the test result data generated by the automated script execution module; The virtual table server module and the acquisition terminal test system module communicate through the public interface module to realize the sending of control commands and the receiving of reply data; the virtual table data processing module, as a part of the virtual table server module, processes the control commands from the acquisition terminal test system module and generates reply data; the automated script execution module interacts with the acquisition terminal test system module through the master station configuration interface to control the test process and collect test results; the flexible configuration module interacts with the virtual table server module and the acquisition terminal test system module for configuration information to realize flexible configuration of the test environment; the variable value reading storage database module interacts with the virtual table data processing module and the automated script execution module for data to store and retrieve data generated during the test process.

2. A working method of an automated virtual table platform for simulating an intelligent device acquisition environment as claimed in claim 1, characterized in that: The steps include: S1, startup and initialization: load the virtual table server module, acquisition terminal test system module, virtual table data processing module, automated script execution module, flexible configuration module and variable value reading storage database module to ensure that the data channel is unobstructed; according to the test requirements, load the corresponding configuration information, including the type, quantity, data items and communication rate of the virtual table; The automated script execution module loads the predefined automated test script and prepares to execute the test; S2, sending control commands: the acquisition terminal test system module sends control commands to the virtual table server module through the public interface module according to the instructions of the automation script execution module; S3, virtual table data processing: after receiving the control command, the virtual table server module passes it to the virtual table data processing module for processing; the virtual table data processing module modifies or updates the virtual table data accordingly according to the requirements of the control command, including modifying the power, time, voltage, and current parameters; after the processing is completed, the virtual table data processing module generates reply data and returns it to the acquisition terminal test system module through the virtual table server module; S4, data verification and storage: After receiving the reply data, the acquisition terminal test system module compares it with the expected result to verify the correctness and completeness of the data; after the verification is passed, the automated script execution module stores the test results and related data in the variable value reading storage database module for subsequent analysis and use; S5, automated script execution: The automated script execution module continuously sends new control commands to the acquisition terminal test system module according to the requirements of the test script to simulate different test scenarios; during the test, the automated script execution module adjusts the test time, test times, and test types to meet different test requirements; the test environment or test parameters are modified and adjusted through the flexible configuration module, including switching narrow-bandwidth mode, adding blacklist tests, configuring preambles, and setting delayed responses to simulate more complex on-site environments; S6, test end and data extraction: When all test tasks are completed, the automated script execution module will send a test end signal; the system stops sending control commands and closes related data channels and connections; the tester extracts the test results and related data from the variable value reading storage database module.

3. The method according to claim 2, characterized in that In step S3, after receiving the control command, the virtual meter server processes the data according to the command requirements; uses the public default library to manage the virtual meter data, and modifies or updates the freeze time and default data items as needed; processes the virtual meter power and time parameters so that it moves according to the time setting, and the voltage and current variables fluctuate within the setting range to simulate the field environment, specifically including: S31, data reply and storage: the virtual meter platform generates data reply content according to the processing results and sends it to the intelligent terminal through the communication channel; the virtual meter is assigned and stored using the variable value reading storage database so that the automation master station platform can directly call it when comparing the meter reading data; S32, functional operation: support narrow-bandwidth mode switching, reply to the corresponding communication mode according to the selected carrier communication mode; perform blacklist test, and do not reply or reply to specific data processing for the meters that are not connected to the network on site; S33, command operation: Configure the running data to simulate the running data of the on-site electric meter; Configure the data items for cyclic setting to simulate stress testing under long-term operation time on site; Configure single and three phases and support data structures of different types of tables; Configuration data items are abnormal, simulating inconsistent data responses in complex on-site environments; S34, enabling operations: Configure the preamble to carry a specific preamble frame when the test meter replies; Configure delayed reply to simulate reply timeout caused by poor on-site carrier environment; Configure the module ID and simulate the module replacement action by modifying the module ID; Configure phase information and simulate abnormal phase sequence action by modifying the phase information.

Citation Information

Cited By

  • Electric energy meter test simulation method and system based on experimental environment

    CN120949153A

  • Electric energy meter test simulation method and system based on experimental environment

    CN120949153B