Dynamic resource defining method and control method of measurement and control device
By establishing a mapping relationship between resources and output terminals in the measurement and control device, dynamic definition and communication of resources are achieved, which solves the problem that resources cannot be dynamically defined in the existing technology, improves flexibility and development efficiency, and reduces costs.
Patent Information
- Application Number
- CN202411078808.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-10-15
AI Technical Summary
The hardware resources of existing measurement and control devices cannot be dynamically defined, resulting in poor flexibility, inconvenience in routine operations of expanding or reducing resources and changing terminal definitions, and high development and maintenance costs.
By establishing a mapping relationship between the measurement and control device resources and the preset output terminals, the mapping relationship is allowed to be identified and used at runtime to communicate between the resources and the monitoring master station, thereby realizing dynamic definition and flexible configuration of resources.
It achieves flexible configuration of measurement and control device resources, reduces development and maintenance costs, improves flexibility, and avoids the cumbersome process of frequent program modifications and re-exports.
Smart Images

Figure CN118784473A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a dynamic resource definition method and a control method for a measurement and control device, belonging to the technical field of measurement and control. Background Art
[0002] The measurement and control device mainly includes hardware resources such as input, output, and analog quantity. Among them, input resources are used to collect the location information and alarm information of plant equipment; output resources are used to control primary equipment at the remote end and device side; analog quantity resources are used to collect analog quantity information such as voltage, current, frequency, and power of the plant.
[0003] As more and more old measurement and control products need to be upgraded, and users require that the external terminals of the upgraded devices remain unchanged, the demand for overall screen modification is increasing. At present, the input, output, analog and other resources of the measurement and control devices are all processed in a fixed manner. Once the program design is completed, the hardware resources are basically fixed. Conventional operations such as expanding or reducing resources and changing terminal definitions are not convenient enough, and even require re-modifying the program, which has high development and maintenance costs. In addition, some devices use input and output plug-ins with intelligent IO mode, which can realize the flexible investment and withdrawal of input and output plug-ins, but the definition of input and output resources is still relatively fixed, and it is impossible to dynamically define resources according to customer needs. Therefore, it is impossible to flexibly transform the device, resulting in poor flexibility. Summary of the invention
[0004] The purpose of the present invention is to provide a method for dynamically defining resources and a control method for a measurement and control device, so as to solve the problem that the hardware resources of the current measurement and control device cannot be dynamically defined, resulting in poor flexibility.
[0005] In order to solve the above-mentioned technical problems, the present invention provides a method for dynamically defining resources of a measurement and control device, the method comprising: establishing a mapping relationship between the resources of the measurement and control device and a preset output terminal corresponding to the type of the resource according to the required definition of the resources of the measurement and control device; the mapping relationship is used to be identified when the measurement and control device is running, so as to communicate between the output terminal corresponding to the mapping relationship and the resource corresponding to the mapping relationship, and through the communication between the output terminal corresponding to the mapping relationship and the resource corresponding to the mapping relationship and the communication between the output terminal corresponding to the mapping relationship and the monitoring main station, so as to communicate between the resource corresponding to the mapping relationship and the monitoring main station.
[0006] Furthermore, the types of the resources include one or more of input, output, and analog quantity.
[0007] Furthermore, the output terminal corresponding to the input is the remote signal output terminal; the output terminal corresponding to the output is the remote control output terminal; and the output terminal corresponding to the analog quantity is the telemetry output terminal.
[0008] Furthermore, the mapping relationship is stored in the form of a configuration file of the output end corresponding to the mapping relationship; the method of identifying the mapping relationship when the measurement and control device is running includes: parsing the configuration file of the output end to identify the mapping relationship between the output end and the resource.
[0009] Furthermore, the resources of the measurement and control device are divided into corresponding preset resource pools according to their types; the method of establishing a mapping relationship between the resources of the measurement and control device and the preset output terminals corresponding to the types of the resources includes: according to the required definition of the resources of the measurement and control device, a corresponding mapping relationship is established between the resources of the measurement and control device in the preset resource pool and the preset output terminals corresponding to the types of the resources.
[0010] Furthermore, the IP communication information of the set monitoring main station is used to perform communication between the output end corresponding to the mapping relationship and the monitoring main station.
[0011] Furthermore, the communication between the output terminal corresponding to the mapping relationship and the monitoring main station includes:
[0012] If the output terminal corresponding to the mapping relationship is a remote signaling output terminal or a remote measurement output terminal, then according to the IP communication information of the set monitoring master station, the data of the resource corresponding to the mapping relationship read to the output terminal is sent to the monitoring master station through the output terminal;
[0013] If the output end corresponding to the mapping relationship is a remote control output end, then according to the set IP communication information of the monitoring master station, the information sent by the monitoring master station is sent to the resource corresponding to the mapping relationship through the output end corresponding to the mapping relationship.
[0014] Furthermore, it also includes: modifying the name description of the corresponding output terminal according to the required definition of the resources of the measurement and control device and the established mapping relationship.
[0015] Further, the mapping relationship includes one or more of the mapping relationship between the resources of multiple measurement and control devices and a single preset output terminal corresponding to the type of the resources, the mapping relationship between the resources of a single measurement and control device and a single preset output terminal corresponding to the type of the resources, the mapping relationship between the resources of multiple measurement and control devices and multiple preset output terminals corresponding to the type of the resources, and the mapping relationship between the resources of a single measurement and control device and multiple preset output terminals corresponding to the type of the resources.
[0016] Furthermore, the method further includes: updating the ICD file of the measurement and control device according to the modified name description of the output terminal and the established mapping relationship.
[0017] Furthermore, when establishing a mapping relationship between resources of the measurement and control device and preset output terminals corresponding to the types of the resources, if a plug-in corresponding to a resource is not assembled to the measurement and control device, the mapping relationship corresponding to the resource is not established.
[0018] Beneficial effects: As a pioneering invention, the present invention establishes a mapping relationship between the resources of the measurement and control device and the preset output terminals corresponding to the types of resources according to the required definition of the resources of the measurement and control device. When the measurement and control device is running, the mapping relationship can be identified, and the communication between the output terminals corresponding to the mapping relationship and the resources corresponding to the mapping relationship and the communication between the output terminals corresponding to the mapping relationship and the monitoring main station can be used to communicate between the resources corresponding to the mapping relationship and the monitoring main station. This method only needs to determine the required definition of the resources of the measurement and control device, establish the corresponding mapping relationship, identify the mapping relationship, and communicate between the resources corresponding to the mapping relationship and the monitoring main station to complete the dynamic definition of the resources of the device. Therefore, this method can flexibly configure the device and has high flexibility.
[0019] The present invention also provides a control method for a measurement and control device, comprising: communicating the resources with a monitoring master station according to the dynamically defined resources of the measurement and control device; the method for dynamically defining the resources of the measurement and control device is the above-mentioned method for dynamically defining resources of the measurement and control device.
[0020] Furthermore, it also includes: controlling the resources of the measurement and control device for which no mapping relationship is established to exit operation.
[0021] The control method of the measurement and control device can achieve the same beneficial effects as the dynamic resource definition method of the measurement and control device mentioned above. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a flowchart of a method for dynamically defining resources of a measurement and control device in an embodiment of the method for dynamically defining resources of a measurement and control device of the present invention;
[0023] Figure 2 It is a schematic diagram of the plug-in configuration of the measurement and control device in the embodiment of the method for dynamically defining resources of the measurement and control device of the present invention;
[0024] Figure 3 It is a schematic diagram of a process of dynamically defining input resources of a measurement and control device in an embodiment of a method for dynamically defining resources of a measurement and control device of the present invention;
[0025] Figure 4 It is a schematic diagram of a process of dynamically defining resources of a measurement and control device in an embodiment of a method for dynamically defining resources of a measurement and control device of the present invention;
[0026] Figure 5It is a schematic diagram of a dynamic definition process of analog quantity resources of a measurement and control device in an embodiment of a method for dynamically defining resources of a measurement and control device of the present invention. DETAILED DESCRIPTION
[0027] The specific implementation of the present invention will be further described below in conjunction with the accompanying drawings.
[0028] Embodiment of a method for dynamically defining resources of a measurement and control device
[0029] The present invention provides a technical solution for a method for dynamically defining resources of a measurement and control device, the method comprising: establishing a mapping relationship between the resources of the measurement and control device and a preset output terminal corresponding to the type of resource according to the required definition of the resources of the measurement and control device; the mapping relationship is used to be identified when the measurement and control device is running, so as to communicate between the output terminal corresponding to the mapping relationship and the resource corresponding to the mapping relationship and the output terminal corresponding to the mapping relationship and the monitoring main station, so as to communicate between the resources corresponding to the mapping relationship and the monitoring main station. When the measurement and control device is running, by identifying the mapping relationship between the resources of the measurement and control device and the preset output terminal corresponding to the type of resource, the resources corresponding to the mapping relationship communicate with the monitoring main station, thereby completing the dynamic definition of the resources of the measurement and control device, realizing the transformation and upgrading of the device, improving the development efficiency of the measurement and control device, reducing the program versions of the measurement and control device, and achieving higher flexibility. The method is described in detail below.
[0030] The flowchart of the dynamic resource definition method of the measurement and control device is as follows: Figure 1 As shown, the method specifically includes:
[0031] After the required definition of the resources of the measurement and control device is determined according to the needs, a mapping relationship between the resources of the measurement and control device and the preset output terminals corresponding to the types of resources is established according to the definition of the required resources; the mapping relationship is used to be identified when the measurement and control device is running, so as to communicate between the output terminal corresponding to the mapping relationship and the resources corresponding to the mapping relationship, and through the communication between the output terminal corresponding to the mapping relationship and the resources corresponding to the mapping relationship, and the communication between the output terminal corresponding to the mapping relationship and the monitoring main station, so as to carry out communication between the resources corresponding to the mapping relationship and the monitoring main station.
[0032] Therefore, it is only necessary to determine the required definition of the resources of the measurement and control device, establish the corresponding mapping relationship, identify the mapping relationship, and communicate the resources corresponding to the mapping relationship with the monitoring main station to complete the dynamic definition of the device's resources. This method can flexibly configure the device and has high flexibility.
[0033] Among them, the method of communicating between resources and the monitoring main station includes: identifying the mapping relationship between the resources of the measurement and control device and the output end corresponding to the resource type, communicating between the output end and the resource corresponding to the mapping relationship and between the output end corresponding to the mapping relationship and the monitoring main station, and communicating between the resources corresponding to the mapping relationship and the monitoring main station.
[0034] In this embodiment, the types of resources of the measurement and control device include one or more of input, output, and analog quantity. This method can realize the dynamic definition of one or more of the input resources, output resources, and analog quantity resources of the measurement and control device. The output end of the measurement and control device is used for data processing, display, and protocol transmission such as remote signaling, telemetry, and remote control of the device; the output end corresponding to the input is the remote signaling output end; the output end corresponding to the output is the remote control output end; and the output end corresponding to the analog quantity is the telemetry output end.
[0035] At the same time, according to the required definition of the resources of the measurement and control device and the established mapping relationship, the name description of the corresponding output terminal is modified. The ICD file of the measurement and control device is also updated according to the modified name description of the output terminal and the established mapping relationship. In the prior art, when communicating with the monitoring master station, the required ICD file is generally exported offline. Every time the program is modified, the ICD file needs to be re-exported, which is very cumbersome; compared with the prior art, this method can update the ICD file of the measurement and control device according to the modified name description of the output terminal and the established mapping relationship, avoiding the problem of frequent export due to program modification, which is more convenient and quick; to further facilitate the acquisition of ICD files, in this embodiment, the ICD file is automatically generated online; that is, when it is necessary to redefine the hardware resources (i.e., the resources of the measurement and control device), it is only necessary to modify the name description of the remote signal output terminal, the control object output terminal and the analog output terminal, and adjust the mapping relationship accordingly. The device is automatically updated to the ICD file, and the dynamic customization of the ICD file can be realized.
[0036] The ICD file is a file that describes device information. The ICD file contains access points, logical devices (LDs), logical nodes (LNs), and data references. The access point for the device to communicate with the monitoring master station is the s1 access point. The S1 access point contains several LDs, and one LD contains several LNs. Below the LN is the data that needs to be uploaded for modeling, which is a hierarchical relationship.
[0037] The automatic generation of ICD files includes: when the measurement and control device is running, the output end file 61850LN (logical node) modeling information needs to be associated with the data sent to the 61850 monitoring master station to the corresponding LN in advance, and the LD (logical device) to which it belongs needs to be selected to generate the ICD file; among them, 61850 is the IEC61850 communication protocol, which is the communication protocol currently used between secondary equipment such as protection, measurement and control and the monitoring master station in the substation. This communication protocol can be considered as the most important and most common communication protocol in the substation. The communication protocol is modeled based on the above-mentioned ICD file.
[0038] Among them, the resources of the measurement and control device are divided into corresponding preset resource pools according to their types; the method of establishing a mapping relationship between the resources of the measurement and control device and the preset output terminals corresponding to the types of resources includes: according to the required definition of the resources of the measurement and control device, a corresponding mapping relationship is established between the resources of the measurement and control device in the preset resource pool and the preset output terminals corresponding to the types of resources.
[0039] Since the input, output, and analog quantities of the measurement and control device are different types of resources with different uses and processing methods, they are difficult to unify. Therefore, the resources of the measurement and control device are divided into corresponding preset resource pools according to their types, making it more convenient to find the resources to be configured and to establish a mapping relationship between the resources and the preset output terminals corresponding to the resource types, thereby improving the efficiency of dynamically defining resources.
[0040] Specifically, the method of setting the preset resource pool and the preset output terminal corresponding to the resource type includes: the measurement and control device will collect the input, output, analog and other resources in advance and perform general processing, establish the preset resource pool of input, output, analog and other resources corresponding to the measurement and control device, and the preset output terminal corresponding to the resources; wherein, the device collects the input resources and performs de-jitter processing, generates the input displacement information to the input resource pool, and establishes the corresponding remote signal output terminal; the device collects all the output resources, generates the available output resources into the output resource pool after the output self-test, and generates the corresponding remote control output terminal (control object), the control object supports receiving the control commands issued by the remote master station and the local, and controls the separation and combination of the primary equipment of the plant station, the lifting and lowering of the transformer gear, the emergency stop and other reset operations through the output resources; the device collects the analog quantity information, calculates the corresponding amplitude, phase, quality and other data according to the corresponding type, and generates the corresponding analog quantity resource pool. At the same time, the corresponding telemetry output terminal is generated according to the maximum analog quantity actually supported by the device.
[0041] The mapping relationship includes one or more of the mapping relationship between the resources of multiple measurement and control devices and a single preset output terminal corresponding to the type of resource, the mapping relationship between the resources of a single measurement and control device and a single preset output terminal corresponding to the type of resource, the mapping relationship between the resources of multiple measurement and control devices and multiple preset output terminals corresponding to the type of resource, and the mapping relationship between the resources of a single measurement and control device and multiple preset output terminals corresponding to the type of resource. That is, the established mapping relationship does not necessarily have to be a one-to-one relationship; for example, in the case where it is necessary to define the dual-point remote signaling, after establishing the mapping relationship between the output terminal of the dual-point remote signaling and the two inputs, the measurement and control device can recognize the mapping relationship during operation to realize the communication between the output terminal corresponding to the mapping relationship and the resource corresponding to the mapping relationship, and the communication between the output terminal corresponding to the mapping relationship and the monitoring master station, thereby realizing the communication between the resource corresponding to the mapping relationship and the monitoring master station, thereby realizing the dynamic definition of the dual-point remote signaling.
[0042] The schematic diagram of the plug-in configuration of the measurement and control device in this embodiment is as follows Figure 2 As shown, the measurement and control device can adopt a plug-in configuration method, and the plug-ins include input plug-ins, output plug-ins, AC plug-ins, CPU plug-ins, power plug-ins, etc.; when the resources of the measurement and control device for which a mapping relationship has not been established are controlled to exit operation, that is, the plug-in corresponding to the control resource exits operation, the input resources correspond to the input plug-in, the output resources correspond to the output plug-in, and the analog resources correspond to the AC plug-in; when establishing a mapping relationship between the resources of the measurement and control device and the preset output terminals corresponding to the type of resources, if the plug-in corresponding to a certain resource is not assembled to the measurement and control device, the mapping relationship corresponding to the resource is not established, and the entire plug-in can be simply and efficiently put into operation and exited.
[0043] The mapping relationship is stored in the form of a configuration file of the output end corresponding to the mapping relationship; that is, the configuration file stores the mapping relationship between the output end and the resource.
[0044] The method of identifying the mapping relationship when the measurement and control device is running includes: by parsing the configuration file of the output end, identifying the mapping relationship between the output end and the resource. Among them, the IP communication information of the set monitoring main station is used to communicate between the output end corresponding to the mapping relationship and the monitoring main station. In the prior art, when the device communicates with the main station, the device needs to reconfigure the CID file and download it to the device; compared with the prior art, the present invention does not need to additionally configure the CID file offline and download the CID file through the SCD configuration tool. It only needs to adjust the IP and other information required for communication to communicate with the main station, which simplifies the communication process between the device and the main station, making it more convenient and efficient. The method of communicating between the output end corresponding to the mapping relationship and the monitoring main station includes:
[0045] If the output terminal corresponding to the mapping relationship is a remote signaling output terminal or a remote measurement output terminal, then according to the IP communication information of the set monitoring master station, the data of the resource corresponding to the mapping relationship read to the output terminal is sent to the monitoring master station through the output terminal;
[0046] If the output end corresponding to the mapping relationship is a remote control output end, then according to the set IP communication information of the monitoring master station, the information sent by the monitoring master station is sent to the resource corresponding to the mapping relationship through the output end corresponding to the mapping relationship.
[0047] Specifically, the device parses the configuration file of the output terminal, identifies the mapping relationship between the output terminal and the resource, and uses the IP communication information of the set monitoring master station to communicate with the output terminal corresponding to the mapping relationship; when communicating with the 61850 monitoring master station, the device does not need to use the SCD configuration tool to create and download CID files. The device only needs to set the IP of the 61850 monitoring master station and other necessary communication information. The following takes the resource types of the measurement and control device including three types (i.e., all) of input, output, and analog as an example, and explains in detail the dynamic definition process of the input resources, output resources, and analog resources of the measurement and control device:
[0048] The schematic diagram of the dynamic definition process of the input resources of the measurement and control device is as follows Figure 3 As shown, the device searches for the corresponding preset input resource pool according to the required definition of the input resource of the measurement and control device, and accordingly establishes a mapping relationship between the input resource of the measurement and control device in the preset input resource pool and the preset remote signal output terminal corresponding to the type of the input resource; Figure 3 The connection between the input resources (input 1, input 2, ...) and the telesignal output terminals (telesignal 1, telesignal 2, ...) indicates the established mapping relationship. The mapping relationship is stored in the form of a configuration file of the telesignal output terminal corresponding to the mapping relationship. During actual operation, the measurement and control device identifies the mapping relationship between the telesignal output terminal and the input resources by parsing the configuration file. The state of the input corresponding to the mapping relationship in the input resource pool and the shift time stamp and other information are read to the telesignal output terminal as the state of the telesignal. According to the set IP communication information of the monitoring master station and the state and time stamp of the resources corresponding to the mapping relationship read to the output terminal, the telesignal report is triggered and sent to the monitoring master station or the human-machine display. The telesignal output terminal without establishing a mapping relationship exits operation by default. In the above manner, the dynamic definition of the input telesignal can be realized by modifying the mapping relationship.
[0049] The schematic diagram of the dynamic definition process of the resource output of the measurement and control device is as follows Figure 4As shown, the device searches for the corresponding preset output resource pool according to the required definition of the output resource of the measurement and control device, and accordingly establishes a mapping relationship between the output resource of the measurement and control device in the preset output resource pool and the preset remote control output terminal corresponding to the type of the output resource; Figure 4 The connection between the output resources (output 1, output 2, etc.) and the remote control output terminal (control object 1, control object 2, etc.) indicates the established mapping relationship. The mapping relationship is stored in the form of a configuration file of the remote control output terminal corresponding to the mapping relationship. The remote control output terminal is a control object, which supports receiving control commands issued by the remote master station and the local station, and controls the opening and closing of the primary equipment of the plant station, the lifting and lowering of the transformer gear, the emergency stop and other reset operations through the output resources. During actual operation, when the measurement and control device receives the control command issued by the remote or local station, it parses the configuration file of the remote control output terminal to identify the mapping relationship between the remote control output terminal (control object) and the output resource. According to the IP communication information of the set monitoring master station, the information issued by the monitoring master station is sent to the output resource corresponding to the mapping relationship through the remote control output terminal corresponding to the mapping relationship, and the corresponding connected output output relay is driven to control the primary equipment. The control object for which the mapping relationship is not established exits by default. Through the above method, the dynamic definition of the device output can be realized.
[0050] The schematic diagram of the dynamic definition process of the analog resources of the measurement and control device is as follows: Figure 5 As shown, the AC analog resources supported by the measurement and control device mainly include three-phase voltage, three-phase current, single-phase zero-sequence voltage, single-phase zero-sequence current, extracted voltage, etc. The device finds the corresponding preset output resource pool according to the required definition of the output resources of the measurement and control device, and accordingly establishes a mapping relationship between the output resources of the measurement and control device in the preset output resource pool and the preset telemetry output terminal corresponding to the type of the output resource; Figure 5 The connection between the AC analog resources (Ua1, Ub1...) and the telemetering output terminals (voltage calculation module 1, voltage calculation module 2...) indicates the established mapping relationship. The mapping relationship is stored in the form of a configuration file of the telemetering output terminal corresponding to the mapping relationship. During actual operation, the measurement and control device identifies the mapping relationship between the telemetering output terminal and the analog resources by parsing the configuration file. According to the IP communication information of the set monitoring master station, the data of the corresponding analog resources in the resource pool is read to the telemetering output terminal, displayed locally and sent to the background. The telemetering output terminal for which the mapping relationship is not established exits. Through the above method, the dynamic definition of the analog resources of the measurement and control device can be realized.
[0051] Embodiment of the control method of the measurement and control device
[0052] This embodiment provides a technical solution for a control method of a measurement and control device, and this method communicates the resource with a monitoring master station according to the dynamically defined resource of the measurement and control device. The method for dynamically defining the resource of the measurement and control device has been described in detail in the method for dynamically defining resources of the measurement and control device, and will not be repeated here.
[0053] Among them, the control method of the measurement and control device includes: according to the resources of the measurement and control device dynamically defined, communicating between the resources and the monitoring main station; the way of communicating between the resources and the monitoring main station includes: identifying the mapping relationship between the resources of the measurement and control device and the output ends corresponding to the resource types, communicating between the output ends and the resources corresponding to the mapping relationship and communicating between the output ends corresponding to the mapping relationship and the monitoring main station, and communicating between the resources corresponding to the mapping relationship and the monitoring main station.
[0054] In addition, the method further includes: controlling the resources of the measurement and control device for which no mapping relationship is established to exit operation, so that unused resources can be prevented from occupying the processing memory of the device, and thus the method reduces the complexity of device processing.
[0055] The measurement and control device of this embodiment can adopt a plug-in configuration method, and the plug-ins include input plug-ins, output plug-ins, AC plug-ins, CPU plug-ins, and power plug-ins; when the resources of the measurement and control device for which a mapping relationship has not been established are controlled to exit operation, the plug-ins corresponding to the control resources exit operation, the input resources correspond to the input plug-ins, the output resources correspond to the output plug-ins, and the analog resources correspond to the AC plug-ins; when a certain plug-in is not assembled, the mapping relationship of the plug-in is not established, and the entire plug-in can be simply and efficiently put into operation and exited.
Claims
1. A method for dynamically defining resources of a measurement and control device, It is characterized in that include: According to the required definition of the resources of the measurement and control device, a mapping relationship between the resources of the measurement and control device and a preset output terminal corresponding to the type of the resource is established; The mapping relationship is used to be identified when the measurement and control device is running, so as to communicate between the output end corresponding to the mapping relationship and the resource corresponding to the mapping relationship, and through the communication between the output end corresponding to the mapping relationship and the monitoring main station, the communication between the resource corresponding to the mapping relationship and the monitoring main station is carried out.
2. The method for dynamically defining resources of a measurement and control device according to claim 1, It is characterized in that The types of the resources include one or more of input, output, and analog quantity.
3. The method for dynamically defining resources of a measurement and control device according to claim 2, It is characterized in that The output end corresponding to the input is the remote signal output end; the output end corresponding to the output is the remote control output end; the output end corresponding to the analog quantity is the telemetry output end.
4. The method for dynamically defining resources of a measurement and control device according to any one of claims 1 to 3, It is characterized in that The mapping relationship is stored in the form of a configuration file of the output end corresponding to the mapping relationship; The method of identifying the mapping relationship when the measurement and control device is running includes: parsing the configuration file of the output terminal to identify the mapping relationship between the output terminal and the resource.
5. The method for dynamically defining resources of a measurement and control device according to any one of claims 1 to 3, It is characterized in that The resources of the measurement and control device are divided into corresponding preset resource pools according to their types; The method of establishing a mapping relationship between the resources of the measurement and control device and the preset output terminals corresponding to the type of the resources includes: according to the required definition of the resources of the measurement and control device, correspondingly establishing a mapping relationship between the resources of the measurement and control device in the preset resource pool and the preset output terminals corresponding to the type of the resources.
6. The method for dynamically defining resources of a measurement and control device according to claim 3, It is characterized in that The IP communication information of the set monitoring main station is used to perform communication between the output end corresponding to the mapping relationship and the monitoring main station.
7. The method for dynamically defining resources of a measurement and control device according to claim 6, It is characterized in that The communication method between the output terminal corresponding to the mapping relationship and the monitoring main station includes: If the output terminal corresponding to the mapping relationship is a remote signaling output terminal or a remote measurement output terminal, then according to the IP communication information of the set monitoring master station, the data of the resource corresponding to the mapping relationship read to the output terminal is sent to the monitoring master station through the output terminal; If the output end corresponding to the mapping relationship is a remote control output end, then according to the set IP communication information of the monitoring master station, the information sent by the monitoring master station is sent to the resource corresponding to the mapping relationship through the output end corresponding to the mapping relationship.
8. The method for dynamically defining resources of a measurement and control device according to any one of claims 1 to 3, It is characterized in that Also includes: According to the required definition of the resources of the measurement and control device and the established mapping relationship, modify the name description of the corresponding output terminal.
9. The method for dynamically defining resources of a measurement and control device according to any one of claims 1 to 3, It is characterized in that The mapping relationship includes one or more of the following: a mapping relationship between resources of multiple measurement and control devices and a single preset output terminal corresponding to the type of the resources, a mapping relationship between resources of a single measurement and control device and a single preset output terminal corresponding to the type of the resources, a mapping relationship between resources of multiple measurement and control devices and multiple preset output terminals corresponding to the type of the resources, and a mapping relationship between resources of a single measurement and control device and multiple preset output terminals corresponding to the type of the resources.
10. The method for dynamically defining resources of a measurement and control device according to claim 8, It is characterized in that Also includes: The ICD file of the measurement and control device is also updated according to the modified output terminal name description and the established mapping relationship.
11. The method for dynamically defining resources of a measurement and control device according to any one of claims 1 to 3, It is characterized in that When establishing a mapping relationship between resources of the measurement and control device and preset output terminals corresponding to the types of the resources, if a plug-in corresponding to a resource is not assembled to the measurement and control device, the mapping relationship corresponding to the resource is not established.
12. A control method for a measurement and control device, It is characterized in that include: According to the resources of the dynamically defined measurement and control device, the resources communicate with the monitoring master station; The method for dynamically defining resources of a measurement and control device is the method for dynamically defining resources of a measurement and control device as described in any one of claims 1-11.
13. The control method of the measurement and control device according to claim 12, It is characterized in that Also includes: Control the resources of the measurement and control devices for which no mapping relationship has been established to exit operation.
