[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112015167A - Concentrator testing method and device, computer equipment and storage medium - Google Patents

Concentrator testing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112015167A
CN112015167A CN202010900151.8A CN202010900151A CN112015167A CN 112015167 A CN112015167 A CN 112015167A CN 202010900151 A CN202010900151 A CN 202010900151A CN 112015167 A CN112015167 A CN 112015167A
Authority
CN
China
Prior art keywords
concentrator
data
metering data
control strategy
test server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010900151.8A
Other languages
Chinese (zh)
Other versions
CN112015167B (en
Inventor
吴丽云
陈飞虎
尹莉燕
余协珠
刘培旭
董秋影
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Sunrise Technology Co ltd
Original Assignee
Hangzhou Sunrise Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Sunrise Technology Co ltd filed Critical Hangzhou Sunrise Technology Co ltd
Priority to CN202010900151.8A priority Critical patent/CN112015167B/en
Publication of CN112015167A publication Critical patent/CN112015167A/en
Application granted granted Critical
Publication of CN112015167B publication Critical patent/CN112015167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0256Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults injecting test signals and analyzing monitored process response, e.g. injecting the test signal while interrupting the normal operation of the monitored system; superimposing the test signal onto a control signal during normal operation of the monitored system

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a concentrator testing method, a concentrator testing device, computer equipment and a storage medium. The method comprises the following steps: the concentrator acquires and stores metering data of the virtual electric energy meter, and the metering data is generated by the test server according to the running of the virtual electric energy meter under the control of a preset control strategy; the test server acquires the metering data from the concentrator and judges whether the metering data is matched with the preset control strategy or not; if the metering data is matched with the preset control strategy, the test server determines that the concentrator meets a first preset test standard; and if the metering data is not matched with the preset control strategy, the test server determines that the concentrator does not accord with the first preset test standard. The integrity of the concentrator test can be provided by adopting the method.

Description

Concentrator testing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of test technologies, and in particular, to a method and an apparatus for testing a concentrator, a computer device, and a storage medium.
Background
The concentrator defined by the national power grid is meter reading terminal equipment, the data of the electric energy meter is collected and stored through power carrier wave or 485 communication in a downlink mode, and the collected electric meter data is called and read from the concentrator through a GRPS or an Ethernet in an uplink mode by a main station. Because the concentrator is used for counting and reporting hundreds of thousands of electric energy meter data, if the concentrator cannot stably and reliably operate, the electric energy meter data counted by the power grid are wrong, and huge losses are brought to users and the power grid.
Before the concentrator leaves a factory, the concentrator needs to be tested, and the testing method comprises manual testing and automatic software testing. The manual testing efficiency is low, and errors are easy to occur; the test items in the automatic software test are fixed and cannot be changed, and the completeness of the function test of the concentrator cannot be met.
The existing testing method, whether manual testing or automatic software testing, cannot meet the requirement of testing the concentrator according to various conditions of the electric energy meter, so that the integrity of testing the concentrator is low.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a computer device and a storage medium for testing a concentrator, which can improve the integrity of the concentrator.
A concentrator test method, the method comprising:
the concentrator acquires and stores metering data of the virtual electric energy meter, and the metering data is generated by the test server according to the running of the virtual electric energy meter under the control of a preset control strategy;
the test server acquires the metering data from the concentrator and judges whether the metering data is matched with the preset control strategy or not;
if the metering data is matched with the preset control strategy, the test server determines that the concentrator meets a first preset test standard;
and if the metering data is not matched with the preset control strategy, the test server determines that the concentrator does not accord with the first preset test standard.
In one embodiment, after the concentrator obtains and stores metering data of a virtual electric energy meter, and the metering data is generated by a test server according to a preset control strategy, the method includes: the concentrator judges whether the virtual electric energy meter has an abnormal event or not according to the metering data; if the electric energy meter has an abnormal event, the concentrator generates abnormal event condition data; the test server acquires abnormal event condition data from the concentrator and judges whether the abnormal event condition data is matched with the preset control strategy or not; if the abnormal event condition data is matched with the preset control strategy, the test server determines that the concentrator meets a second preset test standard; and if the abnormal event condition data is not matched with the preset control strategy, the test server determines that the concentrator does not accord with the second preset test standard.
In one embodiment, the abnormal event comprises at least one of phase loss, voltage loss, current loss, power failure, power on and reverse phase sequence, and the abnormal event condition data comprises at least one of phase loss alarm data, voltage loss alarm data, current loss alarm data, power off alarm data, power on alarm data and reverse phase sequence alarm data.
In one embodiment, before the concentrator obtains and stores metering data of a virtual electric energy meter, and the metering data is generated by a test server according to a preset control strategy, the method includes: the test server sends initialization data to the concentrator; the concentrator initializes according to the initialization data.
In one embodiment, the initialization data includes at least one of hardware reset data, parameter initialization data, and data initialization data.
In one embodiment, the obtaining, by the test server, the metering data from the concentrator, and determining whether the metering data matches the preset control policy includes: and the test server receives the metering data reported by the concentrator and judges whether the metering data is matched with the preset control strategy or not.
In one embodiment, the obtaining, by the test server, the metering data from the concentrator, and determining whether the metering data matches the preset control policy includes: and the test server reads the metering data from the concentrator according to preset time and judges whether the metering data is matched with the preset control strategy.
A concentrator test apparatus, the apparatus comprising:
the measuring data acquisition module is used for acquiring and storing the measuring data of the virtual electric energy meter by the concentrator, and the measuring data is generated by the test server according to the running of the virtual electric energy meter under the control of a preset control strategy;
the judging module is used for acquiring the metering data from the concentrator by the test server and judging whether the metering data is matched with the preset control strategy or not;
the result determining module is used for determining that the concentrator conforms to a first preset test standard by the test server if the metering data is matched with the preset control strategy; and if the metering data is not matched with the preset control strategy, the test server determines that the concentrator does not accord with the first preset test standard.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
the concentrator acquires and stores metering data of the virtual electric energy meter, and the metering data is generated by the test server according to the running of the virtual electric energy meter under the control of a preset control strategy;
the test server acquires the metering data from the concentrator and judges whether the metering data is matched with the preset control strategy or not;
if the metering data is matched with the preset control strategy, the test server determines that the concentrator meets a first preset test standard;
and if the metering data is not matched with the preset control strategy, the test server determines that the concentrator does not accord with the first preset test standard.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
the concentrator acquires and stores metering data of the virtual electric energy meter, and the metering data is generated by the test server according to the running of the virtual electric energy meter under the control of a preset control strategy;
the test server acquires the metering data from the concentrator and judges whether the metering data is matched with the preset control strategy or not;
if the metering data is matched with the preset control strategy, the test server determines that the concentrator meets a first preset test standard;
and if the metering data is not matched with the preset control strategy, the test server determines that the concentrator does not accord with the first preset test standard.
According to the concentrator test method, the concentrator test device, the computer equipment and the storage medium, the test server controls the virtual electric energy meter to simulate the metering data of various field meters, the concentrator collects the metering data in various states, the test environment of the concentrator is enriched, the test server judges the test result of the concentrator in a matching mode, the completeness of the concentrator test is ensured, and the concentrator can be fully tested.
Drawings
FIG. 1 is a diagram of an exemplary implementation of a concentrator test method;
FIG. 2 is a flow diagram illustrating a method for testing a concentrator in one embodiment;
FIG. 3 is a block diagram of a concentrator test apparatus in one embodiment;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The concentrator testing method provided by the application can be applied to the application environment shown in fig. 1. The test server 102 communicates with the test device/stage 104 through the serial port/ethernet 103, the test device/stage 104 communicates with the concentrator 106 through the RS232/PLC converter 107, or the test device/stage 104 communicates with the concentrator 106 through the RS232/485 converter 108, and the test server 102 communicates with the concentrator 106 through the TCP communication module 105. The concentrator 106 acquires and stores metering data of the virtual electric energy meter, and the metering data is generated by the test server 102 according to a preset control strategy to control the virtual electric energy meter to operate; the test server 102 obtains the metering data from the concentrator 106, and determines whether the metering data matches the preset control strategy; if the metering data matches the predetermined control policy, the test server 102 determines that the concentrator 106 meets a first predetermined test criterion; if the metering data does not match the predetermined control strategy, the test server 102 determines that the concentrator 106 does not meet the first predetermined test criteria. The test server 102 may be implemented by a stand-alone server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, there is provided a concentrator test method, including the steps of:
and S110, the concentrator acquires and stores metering data of the virtual electric energy meter, and the metering data is generated by the test server according to the running of the virtual electric energy meter under the control of a preset control strategy.
The virtual electric energy meter is a program module which operates in the testing device or the platform body and simulates the function of the electric energy meter, and the metering operation of the electric energy meter can be simulated in the virtual electric energy meter, for example, the accumulation of the metering data of the electric energy meter is simulated through an accumulated program; moreover, the virtual electric energy meter can simulate the operations of stopping power supply, abnormal data, non-support of repudiation/non-response of data, voltage loss, current loss and the like of the electric energy meter. Before the virtual electric energy meter data sends the metering data to the concentrator or the metering data is read by the concentrator, the meter data of the virtual electric energy meter is set, the meter data comprises a meter address, a data identifier, a meter data value increment, a meter quantity and the like, the meter data value increment is the increment of the metering data which needs to be subjected to addition and subtraction processing, the metering data is returned to the concentrator after being subjected to the addition and subtraction processing, for example: the 220V curve of the virtual electric energy meter comprises 96 voltage values, the voltage values of all the points are different, if increment calculation of addition and subtraction processing is not carried out, 96 commands for setting voltage data of the virtual electric energy meter are required to be added in a scheme, the increment of the data value of the meter is the number of the commands set in the scheme, a cyclic execution mode of the increment of the data value of the meter is adopted, and the voltage is added or subtracted for 1 time according to the increment after 1 time of execution; by circularly executing the increment of the data value of the table, the data value of the table is increased or decreased, and the change of the data of the real environment can be simulated. The meter quantity can be used for setting data of the electric energy meters with continuous meter addresses in batches. The data identification is the unique identification of the electric energy meter data. The identification of the real electric energy meter can be simulated by setting the data identification of the virtual electric energy meter, and any abnormal data of the electric energy meter can be simulated by setting the frame message of the virtual electric energy meter.
For example, the virtual electric energy meter replies abnormal data to the concentrator, and when the concentrator receives the abnormal data, corresponding processing is carried out according to the abnormal condition; 1) if the virtual electric energy meter replies an invalid frame to the concentrator, the concentrator needs to acquire data to the virtual electric energy meter for 3 times again, and if the data acquisition for 3 times fails, the next piece of data is read; 2) and if the virtual electric energy meter replies abnormal value data to the concentrator, the concentrator processes the abnormal value data into invalid data after receiving the abnormal value data. Currently, a virtual electric energy meter can also simulate an electric energy meter that cannot return to the site, and the concentrator sets the virtual electric energy meter to be a blacklist.
The preset control strategy is a program for controlling the operation of the virtual electric energy meter, and comprises the steps of controlling the virtual electric energy meter to generate metering data, stopping power supply, abnormal data, data non-support denial/non-response, voltage loss, current loss and the like.
And S120, the test server acquires the metering data from the concentrator and judges whether the metering data is matched with the preset control strategy.
The calculation data generated by the virtual electric energy meter is generated according to a preset control strategy, and at the moment, whether the concentrator can normally collect data can be judged only according to whether the calculation data generated by the virtual electric energy meter is consistent with the metering data acquired by the concentrator or not.
Specifically, the calculation data generated by the virtual electric energy meter is matched and calculated with the data item name, the table address, the data identifier, the storage time increment, the storage time unit, the standard content, the standard value increment and the error value in the metering data acquired by the concentrator. The matching mode comprises time matching, character string matching and record number matching. The calculation data generated by the virtual electric energy meter and the metering data acquired by the concentrator can be allowed to have a certain error value, and when the error value exceeds a preset range, the matching is considered to be failed.
S130, if the metering data is matched with the preset control strategy, the test server determines that the concentrator meets a first preset test standard.
And the concentrator can normally collect the metering data of the electric energy meter according with the first test standard identification.
S140, if the metering data does not match the preset control policy, the test server determines that the concentrator does not meet the first preset test standard.
And identifying that the concentrator cannot normally collect the metering data of the electric energy meter when the concentrator does not meet the first test standard.
In the concentrator test method, the test server controls the virtual electric energy meter to simulate the metering data of various field meters, the concentrator collects the metering data in various states, the test environment of the concentrator is enriched, the test server judges the test result of the concentrator in a matching mode, the integrity of the test of the concentrator is ensured, and the concentrator can be fully tested.
In one embodiment, after the concentrator obtains and stores metering data of a virtual electric energy meter, and the metering data is generated by a test server according to a preset control strategy, the method includes: the concentrator judges whether the virtual electric energy meter has an abnormal event or not according to the metering data; if the electric energy meter has an abnormal event, the concentrator generates abnormal event condition data; the test server acquires abnormal event condition data from the concentrator and judges whether the abnormal event condition data is matched with the preset control strategy or not; if the abnormal event condition data is matched with the preset control strategy, the test server determines that the concentrator meets a second preset test standard; and if the abnormal event condition data is not matched with the preset control strategy, the test server determines that the concentrator does not accord with the second preset test standard.
The concentrator can actively judge the abnormal events and collect the events of the electric energy meter according to the metering data, and can actively record the data of the abnormal events when judging that the electric energy meter has the abnormal events. For example, when the virtual electric energy meter sends the flying metering data to the concentrator (flying is that the electric energy meter data is increased very fast), the concentrator judges whether a flying event exists according to the flying metering data, and when the flying event exists, the concentrator generates flying event condition data; when the virtual electric energy meter sends stop-off metering data to the concentrator (stop-off is that the electric energy meter metering electric quantity data is unchanged), the concentrator judges whether a stop-off event exists according to the metering data of the electric energy meter, and when the stop-off event exists, the concentrator generates stop-off event condition data; when the virtual electric energy meter sends the scale reduction metering data to the concentrator (the scale reduction is the electric energy meter data reversing), the concentrator judges whether a scale reduction event exists according to the reversing metering data, and when the scale reduction event exists, the concentrator generates scale reduction event situation data.
The metering data of the virtual electric energy meter is generated under the control of the test server, and abnormal events such as flying, stopping, indication descending and the like are also generated under the control of the test server, so that the test server can judge whether the concentrator detects the abnormal events according to a preset control strategy. For example, the test server controls the virtual electric energy meter to generate a flying abnormal event, the concentrator generates abnormal event condition data after acquiring the metering data and judging the abnormal event, the test server judges whether the abnormal event condition data is the flying abnormal event condition data according to the abnormal event condition data of the concentrator, if the concentrator detects the flying abnormal event, the concentrator conforms to a second preset test standard, and if the concentrator does not detect the flying abnormal event or judges other abnormal events, the concentrator does not conform to the second preset test standard.
In one embodiment, the abnormal event comprises at least one of phase loss, voltage loss, current loss, power failure, power on and reverse phase sequence, and the abnormal event condition data comprises at least one of phase loss alarm data, voltage loss alarm data, current loss alarm data, power off alarm data, power on alarm data and reverse phase sequence alarm data.
In one embodiment, before the concentrator obtains and stores metering data of a virtual electric energy meter, and the metering data is generated by a test server according to a preset control strategy, the method includes: the test server sends initialization data to the concentrator; the concentrator initializes according to the initialization data.
The initialization data comprises the number, the meter address and the data identification of the virtual electric energy meters sent to the concentrator, and the concentrator can access the virtual electric energy meters after initialization is carried out according to the initialization data.
In one embodiment, the initialization data includes at least one of hardware reset data, parameter initialization data, and data initialization data. The hardware reset data is used for resetting the hardware data of the concentrator and comprises a wiring position, a communication interface setting and the like; the parameter initialization data includes setting internal operating parameters of the concentrator; the data initialization comprises data initialization of a metering data storage position and data initialization of an abnormal event situation data storage position.
In one embodiment, the obtaining, by the test server, the metering data from the concentrator, and determining whether the metering data matches the preset control policy includes: and the test server receives the metering data reported by the concentrator and judges whether the metering data is matched with the preset control strategy or not. The concentrator can actively report the metering data to the test server after the metering data is sent and changed.
In one embodiment, the obtaining, by the test server, the metering data from the concentrator, and determining whether the metering data matches the preset control policy includes: and the test server reads the metering data from the concentrator according to preset time and judges whether the metering data is matched with the preset control strategy. The test server may also read the metering data from the concentrator at predetermined intervals, where the predetermined intervals may be 2 seconds or 10 seconds, and of course, the predetermined intervals may be set as needed.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
In one embodiment, as shown in fig. 3, there is provided a concentrator test apparatus including: a metering data obtaining module 210, a judging module 220 and a result determining module 230, wherein:
and the metering data acquisition module 210 is used for the concentrator to acquire and store metering data of the virtual electric energy meter, and the metering data is generated by the test server according to the operation of the virtual electric energy meter under the control of a preset control strategy.
The determining module 220 is configured to obtain the metering data from the concentrator by the test server, and determine whether the metering data matches the preset control policy.
A result determining module 230, configured to, if the metering data matches the preset control policy, determine that the concentrator meets a first preset test standard by the test server; and if the metering data is not matched with the preset control strategy, the test server determines that the concentrator does not accord with the first preset test standard.
In one embodiment, the concentrator test apparatus further includes: the abnormal event judging module is used for judging whether the virtual electric energy meter has an abnormal event or not by the concentrator according to the metering data; the abnormal event condition data production module is used for generating abnormal event condition data by the concentrator if the electric energy meter has an abnormal event; the determining module 220 is further configured to obtain abnormal event condition data from the concentrator by the test server, and determine whether the abnormal event condition data matches the preset control policy; the result determining module is further configured to determine, by the test server, that the concentrator meets a second preset test standard if the abnormal event condition data matches the preset control policy; and if the abnormal event condition data is not matched with the preset control strategy, the test server determines that the concentrator does not accord with the second preset test standard.
In one embodiment, the abnormal event comprises at least one of phase loss, voltage loss, current loss, power failure, power on and reverse phase sequence, and the abnormal event condition data comprises at least one of phase loss alarm data, voltage loss alarm data, current loss alarm data, power off alarm data, power on alarm data and reverse phase sequence alarm data.
In one embodiment, the concentrator test apparatus further includes: an initialization data sending module, configured to send initialization data to the concentrator by the test server; and the initialization module is used for initializing the concentrator according to the initialization data.
In one embodiment, the initialization data includes at least one of hardware reset data, parameter initialization data, and data initialization data.
In one embodiment, the determining module 220 is further configured to receive, by the test server, the metering data reported by the concentrator, and determine whether the metering data matches the preset control policy.
In one embodiment, the determining module 220 is further configured to read, by the test server, the metering data from the concentrator according to a predetermined time, and determine whether the metering data matches the preset control policy.
For specific limitations of the concentrator test device, reference may be made to the above limitations of the concentrator test method, which are not described herein again. The modules in the concentrator test device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing preset control strategy data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a concentrator test method.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A concentrator test method, the method comprising:
the concentrator acquires and stores metering data of the virtual electric energy meter, and the metering data is generated by the test server according to the running of the virtual electric energy meter under the control of a preset control strategy;
the test server acquires the metering data from the concentrator and judges whether the metering data is matched with the preset control strategy or not;
if the metering data is matched with the preset control strategy, the test server determines that the concentrator meets a first preset test standard;
and if the metering data is not matched with the preset control strategy, the test server determines that the concentrator does not accord with the first preset test standard.
2. The method of claim 1, wherein after the concentrator obtains and stores metering data of the virtual electric energy meter, the metering data is generated by the test server according to a preset control strategy to control the virtual electric energy meter to operate, the method comprises:
the concentrator judges whether the virtual electric energy meter has an abnormal event or not according to the metering data;
if the electric energy meter has an abnormal event, the concentrator generates abnormal event condition data;
the test server acquires abnormal event condition data from the concentrator and judges whether the abnormal event condition data is matched with the preset control strategy or not;
if the abnormal event condition data is matched with the preset control strategy, the test server determines that the concentrator meets a second preset test standard;
and if the abnormal event condition data is not matched with the preset control strategy, the test server determines that the concentrator does not accord with the second preset test standard.
3. The method of claim 2, wherein the abnormal event comprises at least one of phase loss, voltage loss, current loss, power failure, power up and reverse phase sequence, and the abnormal event condition data comprises at least one of phase loss alarm data, voltage loss alarm data, current loss alarm data, power failure alarm data, power up alarm data and reverse phase sequence alarm data.
4. The method of claim 1, wherein before the concentrator obtains and stores metering data of the virtual electric energy meter, the metering data is generated by the test server according to a preset control strategy to control the virtual electric energy meter to operate, the method comprises:
the test server sends initialization data to the concentrator;
the concentrator initializes according to the initialization data.
5. The method of claim 4, wherein the initialization data comprises at least one of hardware reset data, parameter initialization data, and data initialization data.
6. The method of claim 1, wherein the step of the test server obtaining the metering data from the concentrator and determining whether the metering data matches the predetermined control strategy comprises:
and the test server receives the metering data reported by the concentrator and judges whether the metering data is matched with the preset control strategy or not.
7. The method of claim 1, wherein the step of the test server obtaining the metering data from the concentrator and determining whether the metering data matches the predetermined control strategy comprises:
and the test server reads the metering data from the concentrator according to preset time and judges whether the metering data is matched with the preset control strategy.
8. A concentrator testing apparatus, the apparatus comprising:
the measuring data acquisition module is used for acquiring and storing the measuring data of the virtual electric energy meter by the concentrator, and the measuring data is generated by the test server according to the running of the virtual electric energy meter under the control of a preset control strategy;
the judging module is used for acquiring the metering data from the concentrator by the test server and judging whether the metering data is matched with the preset control strategy or not;
the result determining module is used for determining that the concentrator conforms to a first preset test standard by the test server if the metering data is matched with the preset control strategy; and if the metering data is not matched with the preset control strategy, the test server determines that the concentrator does not accord with the first preset test standard.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010900151.8A 2020-08-31 2020-08-31 Concentrator testing method and device, computer equipment and storage medium Active CN112015167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010900151.8A CN112015167B (en) 2020-08-31 2020-08-31 Concentrator testing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010900151.8A CN112015167B (en) 2020-08-31 2020-08-31 Concentrator testing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112015167A true CN112015167A (en) 2020-12-01
CN112015167B CN112015167B (en) 2021-09-17

Family

ID=73515301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010900151.8A Active CN112015167B (en) 2020-08-31 2020-08-31 Concentrator testing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112015167B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118331161A (en) * 2024-06-14 2024-07-12 中电装备山东电子有限公司 Concentrator operation environment monitoring management system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158852A (en) * 2014-07-23 2014-11-19 国家电网公司 Information interaction detection system for low-voltage meter reading concentrator and local communication module
CN104391499A (en) * 2014-10-29 2015-03-04 江苏林洋电子股份有限公司 Simulated electric energy meter used for testing electric power centralized meter reading system and test method thereof
CN104714206A (en) * 2012-10-29 2015-06-17 江苏省电力公司常州供电公司 Remote monitoring and diagnosing method for electric energy metering device capable of finding faults timely
CN204758723U (en) * 2015-06-25 2015-11-11 云南电网有限责任公司电力科学研究院 Measurement automatic system terminal communication protocol test platform
CN105279952A (en) * 2015-11-30 2016-01-27 国网江西省电力科学研究院 Whole-event acquisition testing system of intelligent ammeter based on virtual ammeter module
CN105809942A (en) * 2016-03-17 2016-07-27 国家电网公司 Data processing method and device for electricity information collection system
KR101958304B1 (en) * 2017-10-23 2019-03-15 한국전력공사 Apparatus and method for communication test in watt-hour meter installed field
CN110443998A (en) * 2019-06-05 2019-11-12 沈干珍 A kind of power equipment monitoring system
CN110867069A (en) * 2019-10-29 2020-03-06 中国电力科学研究院有限公司 Metering data simulation device for various metering instruments
CN110865251A (en) * 2019-10-31 2020-03-06 中国电力科学研究院有限公司 System and method for testing concentrator
CN110907882A (en) * 2019-10-10 2020-03-24 中国电力科学研究院有限公司 Electric energy meter-oriented virtualization test method and system
CN211319013U (en) * 2019-10-21 2020-08-21 中国电力科学研究院有限公司 Data simulation device of multiple metering instruments comprising local communication interface unit

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714206A (en) * 2012-10-29 2015-06-17 江苏省电力公司常州供电公司 Remote monitoring and diagnosing method for electric energy metering device capable of finding faults timely
CN104158852A (en) * 2014-07-23 2014-11-19 国家电网公司 Information interaction detection system for low-voltage meter reading concentrator and local communication module
CN104391499A (en) * 2014-10-29 2015-03-04 江苏林洋电子股份有限公司 Simulated electric energy meter used for testing electric power centralized meter reading system and test method thereof
CN204758723U (en) * 2015-06-25 2015-11-11 云南电网有限责任公司电力科学研究院 Measurement automatic system terminal communication protocol test platform
CN105279952A (en) * 2015-11-30 2016-01-27 国网江西省电力科学研究院 Whole-event acquisition testing system of intelligent ammeter based on virtual ammeter module
CN105809942A (en) * 2016-03-17 2016-07-27 国家电网公司 Data processing method and device for electricity information collection system
KR101958304B1 (en) * 2017-10-23 2019-03-15 한국전력공사 Apparatus and method for communication test in watt-hour meter installed field
CN110443998A (en) * 2019-06-05 2019-11-12 沈干珍 A kind of power equipment monitoring system
CN110907882A (en) * 2019-10-10 2020-03-24 中国电力科学研究院有限公司 Electric energy meter-oriented virtualization test method and system
CN211319013U (en) * 2019-10-21 2020-08-21 中国电力科学研究院有限公司 Data simulation device of multiple metering instruments comprising local communication interface unit
CN110867069A (en) * 2019-10-29 2020-03-06 中国电力科学研究院有限公司 Metering data simulation device for various metering instruments
CN110865251A (en) * 2019-10-31 2020-03-06 中国电力科学研究院有限公司 System and method for testing concentrator

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
广泽晶 等: "虚拟智能电表仿真系统的研究", 《电力系统通信》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118331161A (en) * 2024-06-14 2024-07-12 中电装备山东电子有限公司 Concentrator operation environment monitoring management system
CN118331161B (en) * 2024-06-14 2024-09-10 中电装备山东电子有限公司 Concentrator operation environment monitoring management system

Also Published As

Publication number Publication date
CN112015167B (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN110113224B (en) Capacity monitoring method and device, computer equipment and storage medium
CN110633893B (en) Policy effectiveness monitoring method and device and computer equipment
CN109733238B (en) Fault detection method, device, storage medium and processor
CN112015167B (en) Concentrator testing method and device, computer equipment and storage medium
CN116154765A (en) Power topological relation identification method and device, computer equipment and storage medium
CN111666273B (en) Meter reading system data validity analysis method and device
CN113191074A (en) Machine room power supply parameter detection method for data center
CN111062503B (en) Power grid monitoring alarm processing method, system, terminal and storage medium
CN110324207B (en) Detection method and device for data acquisition terminal
CN115858311A (en) Operation and maintenance monitoring method and device, electronic equipment and readable storage medium
CN111413564A (en) Supercapacitor failure early warning method, system and equipment
CN115047288A (en) Transformer area fault positioning method and device based on power acquisition terminal
CN115061079A (en) Electric energy meter metering error online measurement method and batch test system
CN110850354B (en) Metering fault recognition module detection method, device, system and storage medium
CN113010423A (en) Method and device for detecting reliability of electric energy meter software, computer equipment and medium
CN110595001B (en) Household charging debugging method and device for multi-split air conditioner and computer equipment
CN117607652A (en) Equivalent test method and device for evaluating failure rate of power semiconductor device
CN117635106A (en) Power equipment monitoring method, system, terminal and storage medium
CN113923101B (en) Internet of Things equipment network fault analysis method and device
CN113032998B (en) Medical instrument life assessment method and device
CN113172764B (en) Monitoring method and system for mixing plant
CN116243199A (en) Method and device for detecting abnormal battery cell and computer storage medium
CN111274687B (en) Component failure rate prediction method and device, computer equipment and storage medium
CN115567422A (en) Basic platform testing method, testing terminal, host and testing system
CN113973064B (en) Stability testing method and system based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant