Multi-meter simulation method and device based on entity electric energy meter
Through the multi-meter simulation method based on physical electricity meter, the meter search instructions and table number generation mechanism between the collector and the electricity meter solves the problem of simulating multiple electricity meter scenarios in the electricity meter communication test, and achieves the effect of quickly building test scenarios and reducing manpower and material investment.
Patent Information
- Application Number
- CN202411566390.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-03-18
AI Technical Summary
In the power meter communication test, it is difficult for the existing technology to effectively simulate multiple power meter scenarios, which makes it cost a lot of manpower and material resources to build the test scenarios, and the difference between the simulation equipment and the physical meter may affect the test results.
Through a multi-meter simulation method based on physical electricity meter, the collector sends search commands to the electricity meter. The electricity meter generates different table numbers based on the number of search commands received. The collector creates meter files and reads the data of multiple virtual electricity meters to realize the simulation of multiple electricity meters.
It realizes that multiple power meter scenarios are simulated through a collector and a physical power meter, quickly set up test scenarios, reduce manpower and material investment, ensure the authenticity of communication, and support related testing and verification work.
Smart Images

Figure CN119653259A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric energy meter simulation, and in particular to a multi-meter simulation method and device based on a physical electric energy meter. Background Art
[0002] In the scenario of centralized meter reading, one collector can establish reading relationships with dozens of meters. When conducting some large data volume and high frequency communication performance limit tests, since the existing meters can only reply with their own meter numbers when communicating with the collector, in order to build different test scenarios, multiple physical meters are needed. However, if all physical meters are used to build test scenarios, a lot of manpower and material resources will be consumed; however, if PC and other equipment are used to simulate the meters, there may be differences from the physical meters, and the test purpose cannot be achieved. Summary of the invention
[0003] In order to solve the above problems, an embodiment of the present application provides a multi-meter simulation method and device based on a physical electric energy meter.
[0004] In a first aspect, the present application provides a multi-meter simulation method based on a physical electric energy meter, comprising the following steps: The collector sends a table search instruction to an electric energy meter, and the electric energy meter is configured to have the same number of different meter numbers according to the number of received table search instructions; The collector receives the meter number returned by the electric energy meter in response to the meter search instruction; The collector creates a meter file of the electric energy meter according to the meter number received after multiple meter searches; Based on the meter file of the electric energy meter, the collector reads data of multiple virtual electric meters corresponding to multiple meter numbers in the electric energy meter.
[0005] Preferably, based on the meter file of the electric energy meter, the collector reads the data of multiple virtual meters corresponding to multiple meter numbers in the electric energy meter, specifically including: the collector obtains a meter number from the meter file; the collector sends the meter number to the electric energy meter; the electric energy meter compares the meter number with the meter numbers corresponding to the multiple virtual meters one by one, if the meter number is correctly compared with the meter number corresponding to a virtual meter, the electric energy meter gives a normal response to the collector, and the collector performs the data reading work of the corresponding virtual meter; if the meter number is incorrectly compared with the meter number corresponding to any virtual meter, the electric energy meter does not respond to the collector, and the collector does not perform the data reading work.
[0006] Preferably, before the collector sends a meter search instruction to an electric energy meter, the process further includes: powering on and initializing each device.
[0007] Preferably, after the electric energy meter is powered on and initialized, when the electric energy meter receives a meter search instruction for the first time, the meter number replied to the collector by default is M01, wherein M represents the first M digits of the meter number.
[0008] Preferably, the collector establishes a meter file for the electric energy meter based on the meter number received after multiple meter searches, including: accumulating the number of times the collector sends a meter search instruction to obtain a real-time count; if the real-time count is less than the preset count, the collector continues to send a meter search instruction to the electric energy meter.
[0009] Preferably, the collector receives the table number returned by the electric energy meter in response to the table search instruction, including: recording the receiving time of the table search instruction when the electric energy meter receives the table search instruction; obtaining the time interval between the two receiving times corresponding to two consecutive receiving of the table search instruction by the electric energy meter, if the time interval is less than the preset time, adding 1 to the table number previously sent by the electric energy meter as the current table number of the electric energy meter and sending it to the collector, if the time interval is not less than the preset time, M01 is used as the current table number of the electric energy meter and sent to the collector, where M represents the first M digits of the table number.
[0010] In the second aspect, an embodiment of the present application provides a multi-meter simulation device based on a physical electric energy meter, including a collector and an electric energy meter; the collector is used to send a table search instruction to the electric energy meter, and the electric energy meter is configured to have the same number of different table numbers according to the number of table search instructions received; the collector receives the table number returned by the electric energy meter in response to the table search instruction and establishes a meter file of the electric energy meter according to the table number received after multiple table searches; based on the meter file of the electric energy meter, the collector reads the data of multiple virtual electric meters corresponding to the multiple meter numbers in the electric energy meter.
[0011] Preferably, it also includes a counting module, which is used to accumulate and count the number of times the collector sends the table search instruction to obtain a real-time count, and the collector continues to send the table search instruction to the electric energy meter when the real-time count is less than the preset count.
[0012] Preferably, it also includes a time acquisition module and a time calculation module, wherein the time acquisition module is used to record the receiving time of the table search instruction when the electric energy meter receives the table search instruction, and the time calculation module is used to obtain the time interval between two receiving times corresponding to two consecutive table search instructions received by the electric energy meter; the electric energy meter is used to add 1 to the meter number previously sent by the electric energy meter as the current meter number of the electric energy meter and send it to the collector if the time interval is less than the preset time; the electric energy meter is used to use M01 as the current meter number of the electric energy meter and send it to the collector if the time interval is not less than the preset time, wherein M represents the first M digits of the meter number.
[0013] The beneficial effects of the present invention are as follows: when conducting relevant tests, the electric energy meter can reply with different meter numbers, and can reply with one meter number after receiving the meter search instruction sent by the collector. The electric energy meter can reply with different meter numbers after receiving different meter search instructions, thereby realizing the scenario of simulating multiple electric energy meters through one collector and one physical meter, and can quickly complete the construction of the test scenario, effectively reducing the investment in manpower and material resources, and eliminating many links such as wiring and sample preparation. Moreover, for the collector, its communication with each meter number is a real device, which also plays a strong supporting role in the test results. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0015] Figure 1 A flowchart of a multi-meter simulation method based on a physical electric energy meter provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of a multi-meter simulation device based on a physical electric energy meter provided in an embodiment of the present application. DETAILED DESCRIPTION
[0016] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0017] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.
[0018] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.
[0019] See also Figure 1 . Figure 1 1 is a flow chart of a method for calculating the leakage flow of a pipeline 1 based on pressure changes provided in an embodiment of the present application. In an embodiment of the present application, the method comprises the following steps: The collector sends a table search instruction to an electric energy meter, and the electric energy meter is configured to have the same number of different meter numbers according to the number of received table search instructions; The collector receives the meter number returned by the electric energy meter in response to the meter search instruction; The collector creates a meter file of the electric energy meter according to the meter number received after multiple meter searches; Based on the meter file of the electric energy meter, the collector reads data of multiple virtual electric meters corresponding to multiple meter numbers in the electric energy meter.
[0020] In an embodiment of the present application, the collector sends a table search instruction to the electric energy meter, and the electric energy meter replies with a table number to the collector after receiving the table search instruction. After sending the table search instruction multiple times, the collector receives multiple table numbers replied by the electric energy meter, and the collector establishes a meter file of the electric energy meter according to the multiple table numbers. The collector addresses the electric energy meter through a table number in the meter file, and performs data reading of the corresponding electric energy meter; the electric energy meter can reply with different table numbers; the collector sends the first table search instruction to the electric energy meter, and the electric energy meter replies with a table number to the collector, and the collector establishes the meter file of the electric energy meter according to the table number. The collector addresses the electric energy meter through a table number in the meter file, and performs data reading of the corresponding electric energy meter; the collector sends the second table search instruction to the electric energy meter, and the electric energy meter replies with another table number to the collector, and the collector establishes the meter file of the electric energy meter according to the table number. The collector addresses the electric energy meter through a table number in the meter file, and performs data reading of the corresponding electric energy meter. This application uses a physical meter to simulate multiple physical meters. On the one hand, it reduces the manpower and material resources for environment construction, and on the other hand, it truly restores the interaction process between the collector and the electricity meter, effectively supporting related testing and verification work.
[0021] In the embodiment of the present application, the collector completes the tasks of searching the meter, establishing the meter file of the electric energy meter, and reading the data. Searching the meter: The collector sends a meter search instruction; the electric energy meter replies with the meter number after receiving the meter search instruction; the collector establishes the meter file of the electric energy meter after receiving the meter number. Reading the data: The collector addresses the electric energy meter through the meter number in the meter file and performs the tasks of reading the data of the corresponding electric energy meter.
[0022] In one feasible implementation, based on the meter file of the electric energy meter, the collector reads the data of multiple virtual meters corresponding to multiple meter numbers in the electric energy meter, specifically including: the collector obtains a meter number from the meter file; the collector sends the meter number to the electric energy meter; the electric energy meter compares the meter number with the meter numbers corresponding to the multiple virtual meters one by one, if the meter number is correctly compared with the meter number corresponding to a virtual meter, the electric energy meter gives a normal response to the collector, and the collector performs the data reading work of the corresponding virtual meter, if the meter number is incorrectly compared with the meter number corresponding to any virtual meter, the electric energy meter does not respond to the collector, and the collector does not perform the data reading work.
[0023] In an embodiment of the present application, each virtual electric meter corresponds to a meter number. After the electric energy meter receives the meter number sent by the collector, the multiple virtual meter units in the electric energy meter perform meter number comparison work one by one. After each virtual meter unit obtains its corresponding meter number, it compares its corresponding meter number with the meter number sent to the electric energy meter by the collector. If the comparison is correct, it means that the comparison between the electric energy meter and the meter number corresponding to the virtual meter is correct. If the comparison is incorrect, it means that the comparison between the electric energy meter and the meter number corresponding to the virtual meter is incorrect.
[0024] In an embodiment of the present application, the process of comparing the virtual meter unit's own meter number with the meter number sent by the collector can be: comparing each digit of its own meter number with the digit at the corresponding position on the meter number sent by the collector; if each digit of its own meter number is the same as the digit at the corresponding position on the meter number sent by the collector, it means that the comparison is correct; the meter number of the electric energy meter and the meter number sent by the collector to the electric energy meter both include N digits. Of course, the first M digits of the own meter number can also be compared with the first M digits of the meter number sent by the collector to obtain the first M digits of the meter number sent by the collector. word; obtain the second first M digits of the current meter number of the electric energy meter; compare each digit of the first first M digits with the digits at the corresponding positions on the second first M digits, if each digit of the first M digits is the same as the digits at the corresponding positions on the second first M digits, then the meter number sent by the collector to the electric energy meter is correctly compared with the meter number corresponding to the virtual meter; if any digit of the first M digits is different from the digits at the corresponding positions on the second first M digits, then the meter number sent by the collector to the electric energy meter is incorrectly compared with the meter number corresponding to the virtual meter.
[0025] In the embodiment of the present application, the electric energy meter supports multi-meter number communication, that is, when the meter number is used to communicate with the electric energy meter, the last two digits of the meter number will not be compared. That is, if the meter number is set to 12345678, then during regular reading, the electric energy meter program only compares the first 6 digits of the data, and the last two digits of the data are not compared. The collector addresses the electric energy meter through a meter number in the meter file, that is, the collector sends a meter number to the electric energy meter. The meter number is set to 12345678. If the meter number sent by the collector is 12345603, the electric energy meter responds normally. If the meter number sent by the collector is 12345503, the electric energy meter does not respond.
[0026] In one possible implementation, before the collector sends a meter search instruction to an electric energy meter, the process further includes: powering on and initializing each device.
[0027] In one possible implementation, after the electric energy meter is powered on and initialized, when the electric energy meter receives a meter search instruction for the first time, the meter number that the electric energy meter replies to the collector is M01 by default, where M represents the first M digits of the meter number.
[0028] In the embodiment of the present application, after the electric energy meter is powered on and initialized, the meter number that the electric energy meter replies to the collector when it receives a meter search instruction for the first time is 12345601 by default.
[0029] In one possible implementation, the collector establishes a meter file for the electric energy meter based on the meter number received after multiple meter searches, including: accumulating the number of times the collector sends a meter search instruction to obtain a real-time count; if the real-time count is less than a preset count, the collector continues to send a meter search instruction to the electric energy meter.
[0030] In an embodiment of the present application, after the data reading work of the corresponding electric energy meter is completed, the number of times the collector sends the table search instruction is accumulated once, the real-time count is obtained, and the preset count is set in advance. If the real-time count is less than the preset count, the collector continues to send the table search instruction to the electric energy meter.
[0031] In one possible implementation, the collector receives the table number returned by the electric energy meter in response to the table search instruction, including: recording the reception time of the table search instruction when the electric energy meter receives the table search instruction; obtaining the time interval between the two reception times corresponding to two consecutive receptions of the table search instruction by the electric energy meter, if the time interval is less than the preset time, adding 1 to the table number previously sent by the electric energy meter as the current table number of the electric energy meter and sending it to the collector, if the time interval is not less than the preset time, using M01 as the current table number of the electric energy meter and sending it to the collector, where M represents the first M digits of the table number.
[0032] In the embodiment of the present application, the preset time can be 10 seconds. If the electric energy meter does not receive the table search command within 10 seconds, the electric energy meter's response meter number starts from 12345601; if the meter search command is received continuously with an interval of less than 10 seconds, the meter number is automatically accumulated. When receiving the table search command, the meter automatically accumulates the meter number. When the electric energy meter receives the meter search instruction for the first time, the electric energy meter responds 12345601, that is, after receiving the first meter search instruction, the electric energy meter replies with the meter number 12345601 to the collector; when the electric energy meter receives the meter search instruction for the second time, the electric energy meter responds 12345602, that is, after receiving the second meter search instruction, the electric energy meter replies with the meter number 12345602 to the collector; when the electric energy meter receives the meter search instruction for the third time, the electric energy meter responds 12345603, that is, after receiving the third meter search instruction, the electric energy meter replies with the meter number 12345603 to the collector; when the electric energy meter receives the meter search instruction for the eighteenth time, the electric energy meter responds 12345618, that is, after receiving the eighteenth meter search instruction, the electric energy meter replies with the meter number 12345618 to the collector.
[0033] In the embodiment of the present application, 1. The electric energy meter is set to simulate multiple meters mode. This mode of simulating multiple meters actually forms a state of combination of virtual and real. Compared with the virtual meter that is completely simulated by computer, it is an entity. In the overall communication process, the main station communicates with the physical device. Here, the differences that may be caused by the use of computer virtualization (such as differences in response time, such as differences in the impact of external interference on the communication line, etc.) can be effectively avoided, so as to better complete the relevant tests and verifications. And this mode can be exited when needed, that is to say, the meter can be restored to normal mode, because in some scenarios, users are not willing to accept single-unit multi-user metering products. Under such conditions, it can only be designed as one meter for one user; 2. Each device is powered on to complete power-on self-test and initialization; 3. The collector continuously sends meter search instructions at intervals of less than 10 seconds. The number of simulated meters is determined by the number of meter search instructions sent, that is, the number of meters is determined by the number of meter searches. This breaks the limitation of entities and theoretically can simulate an infinite number of virtual meters. Compared with single multi-user meters, the number of meters formed can be more and more flexible; 4. The electric energy meter replies with different meter numbers; (In the mode of simulating multiple meters, the same meter can reply with multiple meter numbers. In the normal mode, the meter only replies with its own meter number. The whole difference is determined by the mode of the meter) 5. The collector creates meter files (meter list); 6. The collector reads different meters (meter numbers) according to the meter files. In this process, the collector thinks it is communicating with different meters, but it is actually communicating with the same meter. The advantage of this is that it can quickly build scenarios and complete the simulation of a large amount of data. Moreover, these data are generated by physical tables, not simulated by the PC. The entire communication process is real.
[0034] In the embodiments of the present application, the present application can realize a scenario in which one physical meter simulates multiple electricity meters; when conducting relevant tests, only the above steps need to be executed to realize a scenario in which one collector + one physical meter simulates up to 99 electricity meters, and the test scenario can be quickly built, effectively reducing the investment in manpower and material resources, and eliminating many links such as wiring and sample preparation; and for the collector, its communication with each meter number is a real device, which also plays a strong supporting role in the test results; when the product is conducting communication testing, the efficiency of building the test environment is greatly improved, and the number of electricity meters can be freely simulated, and a large amount of data can be quickly generated, which plays a very large supporting role in communication and other related performance tests.
[0035] The following will be combined with the attached Figure 2 , a multi-meter simulation device based on a physical electric energy meter provided in an embodiment of the present application is introduced in detail. It should be noted that the attached Figure 2 A multi-meter simulation device based on a physical electric energy meter is shown, which is used to execute the present application Figure 1 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 1 The embodiment shown.
[0036] See also Figure 2 , Figure 2 Schematic diagram of a multi-meter simulation device based on a physical electric energy meter provided in an embodiment of the present application. Figure 2 As shown, the device comprises Collector 201, an electric energy meter 202; The collector 201 is used to send a meter search instruction to the electric energy meter 202, and the electric energy meter 202 is configured to have the same number of different meter numbers according to the number of meter search instructions received; the collector 201 receives the meter number returned by the electric energy meter 202 in response to the meter search instruction and establishes a meter file of the electric energy meter 202 according to the meter number received after multiple meter searches; based on the meter file of the electric energy meter 202, the collector 201 reads data of multiple virtual meters corresponding to multiple meter numbers in the electric energy meter 202.
[0037] In the embodiment of the present application, the collector 201 is used to send a meter search instruction to the electric energy meter 202. The electric energy meter 202 replies with a meter number to the collector 201 after the meter search instruction. The collector 201 establishes a meter file of the electric energy meter 202 according to the meter number. The collector 201 addresses the electric energy meter 202 through a meter number in the meter file and performs data reading of the corresponding electric energy meter 202.
[0038] In the embodiment of the present application, the collector 201 obtains a meter number from the meter file; the collector 201 sends the meter number to the electric energy meter 202; the electric energy meter 202 compares the meter number with the meter numbers corresponding to multiple virtual meters one by one. If the meter number is correctly compared with the meter number corresponding to a virtual meter, the electric energy meter 202 gives a normal response to the collector 201, and the collector 201 performs the data reading work of the corresponding virtual meter. If the meter number is incorrectly compared with the meter number corresponding to any virtual meter, the electric energy meter 202 does not respond to the collector 201, and the collector 201 does not perform the data reading work.
[0039] In the embodiment of the present application, after the electric energy meter 202 is powered on and initialized, when the electric energy meter 202 receives a meter search instruction for the first time, the meter number replied to the collector 201 is M01 by default, where M represents the first M digits of the meter number.
[0040] In one possible implementation, a counting module 203 is further included, and the counting module 203 is used to accumulate and count the number of times the collector 201 sends the table search instruction to obtain a real-time count. The collector 201 continues to send the table search instruction to the electric energy meter 202 when the real-time count is less than the preset count.
[0041] In one possible implementation, it also includes a time acquisition module 204 and a time calculation module 205. The time acquisition module 204 is used to record the receiving time of the table search instruction when the electric energy meter 202 receives the table search instruction, and the time calculation module 205 is used to obtain the time interval between two receiving times corresponding to two consecutive table search instructions received by the electric energy meter 202; the electric energy meter 202 is used to add 1 to the meter number previously sent by the electric energy meter 202 as the current meter number of the electric energy meter 202 and send it to the collector 201 if the time interval is less than the preset time; the electric energy meter 202 is used to use M01 as the current meter number of the electric energy meter 202 and send it to the collector 201 if the time interval is not less than the preset time, wherein M represents the first M digits of the meter number.
[0042] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit", "module" and "part" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.
[0043] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.
[0044] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A multi-meter simulation method based on physical electric energy meters, characterized in that: The steps include: The collector sends a table search instruction to an electric energy meter, and the electric energy meter is configured to have the same number of different meter numbers according to the number of received table search instructions; The collector receives the meter number returned by the electric energy meter in response to the meter search instruction; The collector creates a meter file of the electric energy meter according to the meter number received after multiple meter searches; Based on the meter file of the electric energy meter, the collector reads data of multiple virtual electric meters corresponding to multiple meter numbers in the electric energy meter.
2. A multi-meter simulation method based on a physical electric energy meter as claimed in claim 1, characterized in that: Based on the meter file of the electric energy meter, the collector reads the data of multiple virtual meters corresponding to the multiple meter numbers in the electric energy meter, specifically including: the collector obtains a meter number from the meter file and sends the meter number to the electric energy meter; the electric energy meter compares the meter number with the meter numbers corresponding to the multiple virtual meters one by one, if the meter number is correctly compared with the meter number corresponding to a virtual meter, the electric energy meter gives a normal response to the collector, and the collector performs the data reading work of the corresponding virtual meter, if the meter number is incorrectly compared with the meter number corresponding to any virtual meter, the electric energy meter does not respond to the collector, and the collector does not perform the data reading work.
3. The multi-meter simulation method based on physical electric energy meters according to claim 1 or 2, characterized in that: Before the collector sends a meter search instruction to an electric energy meter, the process also includes: powering on and initializing each device.
4. The multi-meter simulation method based on physical electric energy meters according to claim 3, characterized in that: After the electric energy meter is powered on and initialized, the meter number it replies to the collector when it receives the meter search command for the first time is M01 by default, where M represents the first M digits of the meter number.
5. A multi-meter simulation method based on a physical electric energy meter as claimed in claim 1 or 2, characterized in that: The collector establishes a meter file of the electric energy meter according to the meter number received after multiple meter searches, including: accumulating the number of times the collector sends a meter search instruction to obtain a real-time count. If the real-time count is less than the preset count, the collector continues to send a meter search instruction to the electric energy meter.
6. A multi-meter simulation method based on a physical electric energy meter as claimed in claim 5, characterized in that: The collector receives the table number returned by the electric energy meter in response to the table search instruction, including: recording the receiving time of the table search instruction when the electric energy meter receives the table search instruction; obtaining the time interval between the two receiving times corresponding to two consecutive receptions of the table search instruction by the electric energy meter, if the time interval is less than the preset time, adding 1 to the table number previously sent by the electric energy meter as the current table number of the electric energy meter and sending it to the collector, if the time interval is not less than the preset time, M01 is used as the current table number of the electric energy meter and sent to the collector, where M represents the first M digits of the table number.
7. A multi-meter simulation device based on a physical electric energy meter, characterized in that: It includes a collector and an electric energy meter; the collector is used to send a table search instruction to the electric energy meter, and the electric energy meter is configured to have the same number and different meter numbers according to the number of received table search instructions; The collector receives the meter number returned by the electric energy meter in response to the meter search instruction and establishes a meter file of the electric energy meter according to the meter number received after multiple meter searches; The collector is based on the meter file of the electric energy meter, and reads the data of multiple virtual meters corresponding to multiple meter numbers in the electric energy meter.
8. A multi-meter simulation device based on a physical electric energy meter as claimed in claim 7, characterized in that: It also includes a counting module, which is used to accumulate and count the number of times the collector sends the table search instruction to obtain a real-time count. The collector continues to send the table search instruction to the electric energy meter when the real-time count is less than the preset count.
9. A multi-meter simulation device based on a physical electric energy meter as claimed in claim 8, characterized in that: It also includes a time acquisition module and a time calculation module. The time acquisition module is used to record the receiving time of the table search instruction when the electric energy meter receives the table search instruction. The time calculation module is used to obtain the time interval between two receiving times corresponding to two consecutive table search instructions received by the electric energy meter; the electric energy meter is used to add 1 to the meter number previously sent by the electric energy meter as the current meter number of the electric energy meter and send it to the collector if the time interval is less than the preset time; The electric energy meter is used to use M01 as the current meter number of the electric energy meter and send it to the collector if the time interval is not less than the preset time, wherein M represents the first M digits of the meter number.
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