CN112612259A - Interchangeability testing method and system of energy controller - Google Patents

Interchangeability testing method and system of energy controller Download PDF

Info

Publication number
CN112612259A
CN112612259A CN202011431154.8A CN202011431154A CN112612259A CN 112612259 A CN112612259 A CN 112612259A CN 202011431154 A CN202011431154 A CN 202011431154A CN 112612259 A CN112612259 A CN 112612259A
Authority
CN
China
Prior art keywords
module
energy controller
virtual module
target virtual
state
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
CN202011431154.8A
Other languages
Chinese (zh)
Other versions
CN112612259B (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.)
China Electric Power Research Institute Co Ltd CEPRI
Original Assignee
China Electric Power Research Institute Co Ltd CEPRI
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 China Electric Power Research Institute Co Ltd CEPRI filed Critical China Electric Power Research Institute Co Ltd CEPRI
Priority to CN202011431154.8A priority Critical patent/CN112612259B/en
Publication of CN112612259A publication Critical patent/CN112612259A/en
Application granted granted Critical
Publication of CN112612259B publication Critical patent/CN112612259B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an interchangeability testing method and system of an energy controller, which comprises the following steps: detecting a dynamic link library of a software loading virtual module, setting the type of the virtual module, the IP address and the port number of a server of the energy controller through an interface function, and establishing the connection between the dynamic link library of the virtual module and the server of the energy controller through TCP/IP; the energy controller determines a target virtual module, sequentially sends different request messages to the target virtual module, and receives a response message of the target virtual module; and the detection software changes the state of the target virtual module through an interface function according to a preset state, reads a state message which is received by the energy controller and is actively reported by the target virtual module, compares whether the state message is consistent with the state information indicated by the preset state, and determines success when the state message is consistent with the state information indicated by the preset state. The invention can be compatible with different types of modules of the energy controller, reduces the maintenance work of the hardware of the test system, reduces the hardware cost and improves the test efficiency.

Description

Interchangeability testing method and system of energy controller
Technical Field
The present invention relates to the field of power testing technologies, and in particular, to a method and a system for testing interchangeability of an energy controller.
Background
In the construction process of the power consumption information acquisition system, the problems that functions and demands of an original power consumption information acquisition terminal are not matched and a communication mode is single exist in partial areas, the differentiation demands of all areas cannot be met, the types of the terminals are more, the requirements on manufacturing enterprises are higher, and the large-scale production of the manufacturing enterprises is restricted. If design into the independent module structural style of a plurality of functions with power consumption information acquisition terminal to prepare corresponding module combination according to each district's actual demand, can form the terminal that has different functions, in order to satisfy the demand that the market is diversified to power consumption information acquisition terminal. Based on the reasons, the energy controller based on the modularized appearance is produced by operation, the core concept of 'product modularization and module productization' is formed, advanced technologies such as an industrial bus, a distributed power supply design, an embedded system, large-capacity storage and multi-channel compatible interchange are combined, and the terminal is decomposed into a plurality of independent and universal functional modules through understanding and analyzing the user requirements. Therefore, the energy controller adopts a modular design, the requirements on various input/output interfaces are different in different application scenes, so that functional modules of various types are generated at the same time, and the energy controller realizes the redefinition of the terminal form through the cooperation of different types of functional modules.
Therefore, it is urgently needed to provide a method for realizing various module functions so as to realize interchangeability test of the energy controller.
Disclosure of Invention
The invention provides an interchangeability testing method and system of an energy controller, and aims to solve the problem of how to efficiently test interchangeability of the energy controller.
In order to solve the above problem, according to an aspect of the present invention, there is provided an interchangeability testing method of an energy controller, the method including:
detecting a dynamic link library of a software loading virtual module, setting the type of the virtual module, the IP address and the port number of a server of the energy controller through an interface function, and establishing the connection between the dynamic link library of the virtual module and the server of the energy controller through TCP/IP;
the energy controller determines a target virtual module, sequentially sends different request messages to the target virtual module and receives a response message of the target virtual module;
and the detection software changes the state of the target virtual module through an interface function according to a preset state, reads a state message which is received by the energy controller and is actively reported by the target virtual module, compares whether the state message is consistent with the state information indicated by the preset state, and determines success when the state message is consistent with the state information indicated by the preset state.
Preferably, the virtual dynamic link library can be compatible with various modules of the energy controller, virtualizes 30 module objects, manages information of the 30 modules, and can set parameters of the modules according to the parameter setting request of the detection software and the energy controller.
Preferably, the module type of the energy controller includes: the remote signaling module comprises a remote signaling pulse module, an RS485 module, an HPLC module, a CAN communication module and a remote communication module.
Preferably, the sequentially sending different request messages to the target virtual module and receiving a response message of the target virtual module includes:
the energy controller sends a link negotiation request message to the virtual module through the detection software;
after receiving a first response message sent by the target virtual module according to the link negotiation request message, the energy controller sends a module information reading request to the virtual module through detection software;
when the energy controller receives a second response message sent by the target virtual module according to the reading module information request, the energy controller identifies the type of the target virtual module according to the second response message;
and the energy controller sends a clock setting request to the target virtual module and receives a third response message sent by the target virtual module according to the clock setting request.
Preferably, wherein the method further comprises:
and the energy controller reads the state of the target virtual module according to the period and receives a state response message returned by the target virtual module.
According to another aspect of the present invention, there is provided an interchangeability testing system of an energy controller, the system including:
the setting unit is used for detecting a software loaded virtual module dynamic link library, setting the type of the virtual module, the IP address and the port number of a server of the energy controller through an interface function, and establishing the connection between the virtual module dynamic link library and the server of the energy controller through TCP/IP;
the communication unit is used for enabling the energy controller to determine a target virtual module, sequentially sending different request messages to the target virtual module and receiving a response message of the target virtual module;
and the state judgment unit is used for detecting that the software changes the state of the target virtual module through an interface function according to a preset state, reading a state message which is received by the energy controller and is actively reported by the target virtual module, comparing whether the state message is consistent with the state information indicated by the preset state, and determining success when the state message is consistent with the state information indicated by the preset state.
Preferably, the virtual dynamic link library can be compatible with various modules of the energy controller, virtualizes 30 module objects, manages information of the 30 modules, and can set parameters of the modules according to the parameter setting request of the detection software and the energy controller.
Preferably, the module type of the energy controller includes: the remote signaling module comprises a remote signaling pulse module, an RS485 module, an HPLC module, a CAN communication module and a remote communication module.
Preferably, the sending, by the communication unit, the request message to the target virtual module in sequence, and receiving the response message from the target virtual module includes:
the energy controller sends a link negotiation request message to the virtual module through the detection software;
after receiving a first response message sent by the target virtual module according to the link negotiation request message, the energy controller sends a module information reading request to the virtual module through detection software;
when the energy controller receives a second response message sent by the target virtual module according to the reading module information request, the energy controller identifies the type of the target virtual module according to the second response message;
and the energy controller sends a clock setting request to the target virtual module and receives a third response message sent by the target virtual module according to the clock setting request.
Preferably, wherein the system further comprises:
and the state reading unit is used for enabling the source controller to read the state of the target virtual module according to the period and receiving a state response message returned by the target virtual module.
The invention provides an interchangeability test method and system of an energy controller, which realize interchangeability test of the energy controller through a virtual module based on a dynamic link library, can be compatible with different types of modules of the energy controller, can well solve the problem of the interchangeability test of energy control by utilizing the virtual module based on the dynamic link library, reduce the maintenance work of test system hardware, reduce the hardware cost and improve the test efficiency.
Drawings
A more complete understanding of exemplary embodiments of the present invention may be had by reference to the following drawings in which:
FIG. 1 is a flow diagram of a method 100 for interchangeability testing of an energy controller according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a connection between a virtual module and an energy controller according to an embodiment of the invention;
FIG. 3 is a flowchart of communication between a virtual module and an energy controller according to an embodiment of the invention;
FIG. 4 is a schematic diagram of an interchangeability testing system 400 for an energy controller, according to an embodiment of the invention.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
FIG. 1 is a flow chart of a method 100 for interchangeability testing of an energy controller according to an embodiment of the present invention. As shown in fig. 1, in the interchangeability testing method of the energy controller provided by the embodiment of the present invention, the interchangeability test of the energy controller is implemented by using the virtual module based on the dynamic link library, so that different types of modules of the energy controller can be compatible, and hardware and maintenance cost thereof are reduced; the invention can well solve the problem of energy control interchangeability test by utilizing the virtual module based on the dynamic link library, reduces the maintenance work of the hardware of the test system, reduces the hardware cost and improves the test efficiency. The interchangeability testing method 100 of the energy controller provided by the embodiment of the invention starts from step 101, detects that software loads a dynamic link library of the virtual module in step 101, sets the type of the virtual module, the IP address and the port number of the server of the energy controller through an interface function, and establishes the connection between the dynamic link library of the virtual module and the server of the energy controller through TCP/IP.
Preferably, the virtual dynamic link library can be compatible with various modules of the energy controller, virtualizes 30 module objects, manages information of the 30 modules, and can set parameters of the modules according to the parameter setting request of the detection software and the energy controller.
Preferably, the module type of the energy controller includes: the remote signaling module comprises a remote signaling pulse module, an RS485 module, an HPLC module, a CAN communication module and a remote communication module.
In the embodiment of the present invention, in the method for testing interchangeability of an energy controller based on a dynamic link library, it is necessary to load a virtual module dynamic link library by detection software, and set a module type, an IP address and a port number of a server through an interface function, so as to establish a connection between the virtual module dynamic link library and the detection software through TCP/IP, as shown in fig. 2. The program source code of the virtual module dynamic link library is compiled into the dynamic link library, and the virtual module dynamic link library is compatible with various virtual modules of the energy controller; the virtual module dynamic link library can virtualize 30 module objects simultaneously and manage the information of 30 modules; the virtual module dynamic link library carries out data interaction with the energy controller through TCP/IP; the virtual module dynamic link library is communicated with the detection software through a function interface; the virtual module dynamic link library receives the parameters of the detection software setting module; the virtual module dynamic link library receives the parameters of the energy controller setting module. The type of module in which the energy controller is set may be: the module 1 is a remote signaling pulse module, the module 2 is an RS485 module, the module 3 is an HPLC module, the module 4 is a CAN communication module, and the module 5 is a remote communication module.
In step 102, the energy controller determines a target virtual module, sequentially sends different request messages to the target virtual module, and receives a response message of the target virtual module.
Preferably, the sequentially sending different request messages to the target virtual module and receiving a response message of the target virtual module includes:
the energy controller sends a link negotiation request message to the virtual module through the detection software;
after receiving a first response message sent by the target virtual module according to the link negotiation request message, the energy controller sends a module information reading request to the virtual module through detection software;
when the energy controller receives a second response message sent by the target virtual module according to the reading module information request, the energy controller identifies the type of the target virtual module according to the second response message;
and the energy controller sends a clock setting request to the target virtual module and receives a third response message sent by the target virtual module according to the clock setting request.
In step 103, the detection software changes the state of the target virtual module through an interface function according to a preset state, reads a state message actively reported by the target virtual module and received by the energy controller, compares whether the state message is consistent with state information indicated by the preset state, and determines success when the state message is consistent with the state information indicated by the preset state.
Preferably, wherein the method further comprises:
and the energy controller reads the state of the target virtual module according to the period and receives a state response message returned by the target virtual module.
In an embodiment of the present invention, the virtual module dynamic link library performs data interaction with the energy controller through detection software, as shown in fig. 3, including: the energy controller sends the link negotiation request message to the virtual module, and the virtual module organizes the response message and sends the response message to the energy controller; the source controller sends the reading module information message to the virtual module, and the virtual module organizes a response message and sends the response message to the source controller; the energy controller identifies the type of the virtual module; the energy controller is provided with a virtual module clock; and the energy controller performs application layer data interaction with the virtual module according to the identified type of the virtual module.
Specifically, the interchangeability testing method of the energy controller comprises the following steps:
step 1: the master station loads a dynamic link library of the virtual module, sets the IP address and the port number of the device server through an interface function, and sets the module type of the energy controller: the module 1 is a remote signaling pulse module, the module 2 is an RS485 module, the module 3 is an HPLC module, the module 4 is a CAN communication module, and the module 5 is a remote communication module.
Step 2: the virtual module dynamic link library establishes a connection with the device server.
And step 3: the energy controller initiates a link negotiation request to the number 1 virtual module through the number 1 management channel, and the virtual module sends a first response message to respond to the link negotiation request.
And 4, step 4: the energy controller reads the module information of the virtual module 1 through the management channel 1, and the virtual module sends a second response message to answer the module information.
And 5: and the energy controller identifies the number 1 virtual module as a remote signaling pulse module according to the second response message.
Step 6: the energy controller sends a request for setting the clock of the number 1 virtual module, and the number 1 virtual module sends a third response request response and sets the clock.
And 7: the detection software changes the remote signaling state of the module 1 through an interface function, the virtual module 1 organizes remote signaling state messages and actively reports the remote signaling state messages to the energy controller, the detection software reads the remote signaling state of the module 1 of the energy controller and compares the remote signaling state messages with the set remote signaling state, and if the remote signaling state messages are consistent, the detection software succeeds.
The energy controller periodically reads the remote signaling state of the number 1 virtual module according to a preset period, and the number 1 virtual module responds. The data interaction flow between the energy controller and the modules No. 2, No. 3, No. 4, and No. 5 is the same as that of the module No. 1, and is not described herein again. In the steps 3 to 8, the communication adopts an energy controller module control protocol.
FIG. 4 is a schematic diagram of an interchangeability testing system 400 for an energy controller, according to an embodiment of the invention. As shown in fig. 4, an interchangeability testing system 400 of an energy controller according to an embodiment of the present invention includes: a setting unit 401, a communication unit 401, and a state judgment unit 403.
Preferably, the setting unit 401 is configured to detect that the software loads the dynamic link library of the virtual module, set the type of the virtual module, the IP address and the port number of the server of the energy controller through an interface function, and establish a connection between the dynamic link library of the virtual module and the server of the energy controller through TCP/IP.
Preferably, the virtual dynamic link library can be compatible with various modules of the energy controller, virtualizes 30 module objects, manages information of the 30 modules, and can set parameters of the modules according to the parameter setting request of the detection software and the energy controller.
Preferably, the module type of the energy controller includes: the remote signaling module comprises a remote signaling pulse module, an RS485 module, an HPLC module, a CAN communication module and a remote communication module.
Preferably, the communication unit 402 is configured to enable the controller to determine a target virtual module, sequentially send different request messages to the target virtual module, and receive a response message of the target virtual module.
Preferably, the sending, by the communication unit, the request message to the target virtual module in sequence, and receiving the response message from the target virtual module includes:
the energy controller sends a link negotiation request message to the virtual module through the detection software;
after receiving a first response message sent by the target virtual module according to the link negotiation request message, the energy controller sends a module information reading request to the virtual module through detection software;
when the energy controller receives a second response message sent by the target virtual module according to the reading module information request, the energy controller identifies the type of the target virtual module according to the second response message;
and the energy controller sends a clock setting request to the target virtual module and receives a third response message sent by the target virtual module according to the clock setting request.
Preferably, the state determining unit 403 is configured to detect that software changes the state of the target virtual module through an interface function according to a preset state, read a state packet actively reported by the target virtual module and received by the energy controller, compare whether the state packet is consistent with state information indicated by the preset state, and determine that the state packet is successful when the state packet is consistent with the state information indicated by the preset state.
Preferably, wherein the system further comprises:
and the state reading unit is used for enabling the source controller to read the state of the target virtual module according to the period and receiving a state response message returned by the target virtual module.
The interchangeability testing system 400 of the energy controller according to the embodiment of the present invention corresponds to the interchangeability testing method 100 of the energy controller according to another embodiment of the present invention, and details thereof are not described herein again.
The invention has been described with reference to a few embodiments. However, other embodiments of the invention than the one disclosed above are equally possible within the scope of the invention, as would be apparent to a person skilled in the art from the appended patent claims.
Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a/an/the [ device, component, etc ]" are to be interpreted openly as referring to at least one instance of said device, component, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.

Claims (10)

1. An interchangeability testing method for an energy controller, the method comprising:
detecting a dynamic link library of a software loading virtual module, setting the type of the virtual module, the IP address and the port number of a server of the energy controller through an interface function, and establishing the connection between the dynamic link library of the virtual module and the server of the energy controller through TCP/IP;
the energy controller determines a target virtual module, sequentially sends different request messages to the target virtual module and receives a response message of the target virtual module;
and the detection software changes the state of the target virtual module through an interface function according to a preset state, reads a state message which is received by the energy controller and is actively reported by the target virtual module, compares whether the state message is consistent with the state information indicated by the preset state, and determines success when the state message is consistent with the state information indicated by the preset state.
2. The method according to claim 1, wherein the virtual dynamic link library is compatible with a plurality of modules of the energy controller, virtualizes 30 module objects, manages information of the 30 modules, and can perform setting of module parameters according to a parameter setting request of the detection software and the energy controller.
3. The method of claim 1, wherein the type of module of the energy controller comprises: the remote signaling module comprises a remote signaling pulse module, an RS485 module, an HPLC module, a CAN communication module and a remote communication module.
4. The method according to claim 1, wherein said sequentially sending different request messages to the target virtual module and receiving a response message of the target virtual module comprises:
the energy controller sends a link negotiation request message to the virtual module through the detection software;
after receiving a first response message sent by the target virtual module according to the link negotiation request message, the energy controller sends a module information reading request to the virtual module through detection software;
when the energy controller receives a second response message sent by the target virtual module according to the reading module information request, the energy controller identifies the type of the target virtual module according to the second response message;
and the energy controller sends a clock setting request to the target virtual module and receives a third response message sent by the target virtual module according to the clock setting request.
5. The method of claim 1, further comprising:
and the energy controller reads the state of the target virtual module according to the period and receives a state response message returned by the target virtual module.
6. An interchangeability testing system for an energy controller, the system comprising:
the setting unit is used for detecting a software loaded virtual module dynamic link library, setting the type of the virtual module, the IP address and the port number of a server of the energy controller through an interface function, and establishing the connection between the virtual module dynamic link library and the server of the energy controller through TCP/IP;
the communication unit is used for enabling the energy controller to determine a target virtual module, sequentially sending different request messages to the target virtual module and receiving a response message of the target virtual module;
and the state judgment unit is used for detecting that the software changes the state of the target virtual module through an interface function according to a preset state, reading a state message which is received by the energy controller and is actively reported by the target virtual module, comparing whether the state message is consistent with the state information indicated by the preset state, and determining success when the state message is consistent with the state information indicated by the preset state.
7. The system according to claim 6, wherein the virtual dynamic link library is compatible with a plurality of modules of the energy controller, virtualizes 30 module objects, manages information of the 30 modules, and can perform setting of module parameters according to the parameter setting request of the detection software and the energy controller.
8. The system of claim 6, wherein the model type of the energy controller comprises: the remote signaling module comprises a remote signaling pulse module, an RS485 module, an HPLC module, a CAN communication module and a remote communication module.
9. The system according to claim 6, wherein the communication unit sequentially sends different request messages to the target virtual module and receives a response message from the target virtual module, and the method comprises:
the energy controller sends a link negotiation request message to the virtual module through the detection software;
after receiving a first response message sent by the target virtual module according to the link negotiation request message, the energy controller sends a module information reading request to the virtual module through detection software;
when the energy controller receives a second response message sent by the target virtual module according to the reading module information request, the energy controller identifies the type of the target virtual module according to the second response message;
and the energy controller sends a clock setting request to the target virtual module and receives a third response message sent by the target virtual module according to the clock setting request.
10. The system of claim 6, further comprising:
and the state reading unit is used for enabling the source controller to read the state of the target virtual module according to the period and receiving a state response message returned by the target virtual module.
CN202011431154.8A 2020-12-07 2020-12-07 Interchangeability testing method and system for energy controllers Active CN112612259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011431154.8A CN112612259B (en) 2020-12-07 2020-12-07 Interchangeability testing method and system for energy controllers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011431154.8A CN112612259B (en) 2020-12-07 2020-12-07 Interchangeability testing method and system for energy controllers

Publications (2)

Publication Number Publication Date
CN112612259A true CN112612259A (en) 2021-04-06
CN112612259B CN112612259B (en) 2023-10-13

Family

ID=75229463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011431154.8A Active CN112612259B (en) 2020-12-07 2020-12-07 Interchangeability testing method and system for energy controllers

Country Status (1)

Country Link
CN (1) CN112612259B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114489000A (en) * 2021-12-30 2022-05-13 青岛鼎信通讯股份有限公司 Automatic detection system applied to energy controller
CN115033507A (en) * 2022-06-08 2022-09-09 宁波迦南智能电气股份有限公司 Method for realizing special remote signaling module for energy controller

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100060772A (en) * 2008-11-28 2010-06-07 하이테콤시스템(주) Test apparatus for possibility of interchange of automatic vehicle-detecting system
CN104793083A (en) * 2015-04-23 2015-07-22 广西电网有限责任公司电力科学研究院 Communication unit interchangeability testing system and interchanging method thereof
CN104901843A (en) * 2015-04-23 2015-09-09 广西电网有限责任公司电力科学研究院 Interchangeability tester of communication unit
CN109617628A (en) * 2018-12-07 2019-04-12 国网山东省电力公司电力科学研究院 A kind of multiple-in-one acquisition equipment multifunctional detecting device and method
CN111078539A (en) * 2019-11-29 2020-04-28 江苏苏宁物流有限公司 Test method, device, system and computer readable storage medium
CN111147324A (en) * 2019-12-17 2020-05-12 国网北京市电力公司 Multi-dimensional integrated detection and evaluation system
CN111445686A (en) * 2020-04-29 2020-07-24 国网上海市电力公司 Device and method for detecting interchangeability of electricity consumption information acquisition terminal
CN111966374A (en) * 2020-08-11 2020-11-20 南京新联电子股份有限公司 Container-based energy controller terminal software deployment and management method
CN112000659A (en) * 2020-06-29 2020-11-27 中国电力科学研究院有限公司 Basic application system suitable for intelligent terminal equipment of power distribution station

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100060772A (en) * 2008-11-28 2010-06-07 하이테콤시스템(주) Test apparatus for possibility of interchange of automatic vehicle-detecting system
CN104793083A (en) * 2015-04-23 2015-07-22 广西电网有限责任公司电力科学研究院 Communication unit interchangeability testing system and interchanging method thereof
CN104901843A (en) * 2015-04-23 2015-09-09 广西电网有限责任公司电力科学研究院 Interchangeability tester of communication unit
CN109617628A (en) * 2018-12-07 2019-04-12 国网山东省电力公司电力科学研究院 A kind of multiple-in-one acquisition equipment multifunctional detecting device and method
CN111078539A (en) * 2019-11-29 2020-04-28 江苏苏宁物流有限公司 Test method, device, system and computer readable storage medium
CN111147324A (en) * 2019-12-17 2020-05-12 国网北京市电力公司 Multi-dimensional integrated detection and evaluation system
CN111445686A (en) * 2020-04-29 2020-07-24 国网上海市电力公司 Device and method for detecting interchangeability of electricity consumption information acquisition terminal
CN112000659A (en) * 2020-06-29 2020-11-27 中国电力科学研究院有限公司 Basic application system suitable for intelligent terminal equipment of power distribution station
CN111966374A (en) * 2020-08-11 2020-11-20 南京新联电子股份有限公司 Container-based energy controller terminal software deployment and management method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
史轮;冯波;马红明;耿建坡;任鹏;李飞;张洋瑞;石振刚;: "低压电力线载波信道一体化智能检测技术", 电气应用, no. 2, pages 141 - 144 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114489000A (en) * 2021-12-30 2022-05-13 青岛鼎信通讯股份有限公司 Automatic detection system applied to energy controller
CN115033507A (en) * 2022-06-08 2022-09-09 宁波迦南智能电气股份有限公司 Method for realizing special remote signaling module for energy controller

Also Published As

Publication number Publication date
CN112612259B (en) 2023-10-13

Similar Documents

Publication Publication Date Title
CN112612259B (en) Interchangeability testing method and system for energy controllers
CN112053041B (en) Province-region integrated source network load storage real-time control system and control method
CN101477506A (en) Addressing system and method of master equipment to slave equipment
CN103399546A (en) Method and system for controlling triple redundancy
CN109702960A (en) Control device the next mechanical, electrical penetrates platform and injection molding machine
EP1929708A1 (en) A distributed monitoring method
CN103678423A (en) Data file input system, device and method
CN114285695A (en) Communication method, device, equipment, system and storage medium
CN103885393A (en) Cluster control system and operation method thereof
CN112000659A (en) Basic application system suitable for intelligent terminal equipment of power distribution station
CN112201378A (en) Hot standby switching method, system, terminal and medium based on nuclear power plant DCS platform
CN113741687B (en) Industrial air conditioner control communication method, system and storage medium based on AR (augmented reality) glasses
CN115309679A (en) BMS slave control address allocation method, BMS master control module and BMS slave control module
CN100530106C (en) Implementing method of multi-machine fault-tolerance system kermel
CN114915515A (en) CAN communication method and system based on SOC
CN203224756U (en) Cluster control system
CN105182826A (en) Intelligent locker control system capable of multi-person simultaneous operation and control, and control method thereof
CN114741349B (en) Multi-platform data transparent transmission 485 bus interaction method, medium, equipment and system
CN116319443A (en) Interchangeable testing method and system for communication interfaces of intelligent convergence terminal modules of transformer areas
CN117111537B (en) Control system and method for hydrogen system based on hydrogen controller
CN112526949B (en) Module information setting method, acquisition method and device of industrial control system
CN117155466B (en) Control method, system, medium and equipment of optical fiber communication equipment
CN112601271A (en) Remote recall and test method and system for realizing low-power-consumption operation of end sensing equipment
CN115543343B (en) Variable cross-thread operation method and device
CN113722123B (en) Cross-system multi-type data forwarding transmission method and system

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