A method and system for building a database based on virtual data points of a communication management machine

By establishing a virtual data point library and setting priorities in the communication management machine, the problems of data communication delay and stability are solved, and fast and accurate response of data communication in the power system is achieved.

CN116866144BActive Publication Date: 2025-09-19JIANGSU WISCOM TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310764397.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-27
Publication Date
2025-09-19
Estimated Expiration
2043-06-27

AI Technical Summary

Technical Problem

Existing communication management machines have problems with data communication response delay and poor stability, especially the retrieval process causes hysteresis in frequent data point read and write operations.

Method used

A virtual data point database building method based on a communication management machine is adopted. By encoding all front-layer devices and their data point information, a virtual data point database is established, and different data processing priorities are set according to the data type and urgency to achieve hard real-time data communication.

Benefits of technology

It improves the response speed and stability of data communication, ensures the accuracy and speed of data communication, and meets the power system's requirements for real-time and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116866144B_ABST
    Figure CN116866144B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for building a database based on virtual data points of a communication management machine, including encoding all front-end devices and their data point information; establishing a virtual data point database and setting different data processing priorities for the data points; and realizing data communication between the front-end devices and the host computer based on hard real-time performance. The present invention saves additional memory overhead for data storage; the communication management machine uses virtual data points to manage communication data response operations, which not only improves the rapid response level of communication data, but also guarantees the accuracy of communication data operations to a certain extent, improving the communication quality of the communication management machine; the proposed design method based on the combination of hard real-time performance and virtual data database building technology can not only quickly and accurately retrieve and locate data points in the communication process, but also can achieve different communication responses according to the priority levels of different types of data commands.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of front-end device communication, and in particular to a method and system for building a database based on virtual data points of a communication management machine. Background Art

[0002] Communication management machines are primarily used to address communication issues between front-end protection / measurement and control devices in power systems and the host computer or distributed control system (DCS). Their primary functions are to aggregate data from various on-site intelligent devices and measurement and control equipment and transmit it to the host computer or DCS system according to specific requirements. They also receive remote control and adjustment commands from the host computer or DCS system to control and adjust various on-site intelligent devices and measurement and control equipment.

[0003] Currently, most communication management machines suffer from issues such as delayed data communication responses and poor data communication stability. Frequent read and write operations on data points require storing the data point information at a fixed access address. When performing read and write operations on fixed-point data using similar database storage methods, the retrieval process can cause device communication delays. Summary of the Invention

[0004] The purpose of this section is to summarize some aspects of the embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the abstract and title of this application to avoid obscuring the purpose of this section, the abstract and the title of the invention, and such simplifications or omissions should not be used to limit the scope of the present invention.

[0005] In view of the above problems and / or the problems existing in the existing communication management machines, the present invention is proposed.

[0006] Therefore, the problem to be solved by the present invention is how to provide a method that does not affect the data communication response delay and can keep the data communication stable.

[0007] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0008] In the first aspect, an embodiment of the present invention provides a method for building a library based on virtual data points of a communication management machine, which includes encoding all front-layer devices and their data point information; establishing a virtual data point library and setting different data processing priorities for the data points; and realizing data communication between the front-end device and the host computer based on hard real-time performance.

[0009] As a preferred solution of the method for building a database based on virtual data points of a communication management machine described in the present invention, encoding all front-layer devices and their data point information includes the following steps: independently numbering all devices under the same communication mode to ensure that there are no duplicate numbers between all device numbers under the communication mode; independently grouping all different types of data of a specific single device under the communication mode, and independently numbering all data points with the same data type; based on the encoding process of multiple devices and their data points under the same communication mode, the data points of all devices under the same communication mode have a unique identification ID; the data points of all front-layer devices are combined with the unique identification ID and the communication mode to finally form the mapping ID required for establishing a virtual data point library.

[0010] As a preferred solution of the method for building a library based on virtual data points of a communication management machine described in the present invention, the virtual data point library is based on the homogeneous nature of the data type of the front-layer device, and the inheritance concept in object-oriented design is introduced; the communication management machine regards each device in the front-layer as an independent object, and the data structure of each device object inherits from a common parent object, and the description information of the device is stored in the virtual device table in combination with the device information element in the device mapping ID; all device objects inherit the same parent object data structure and have convergent properties in data type and data structure.

[0011] As a preferred solution of the method for building a library based on virtual data points of a communication management machine described in the present invention, the virtual data point library also combines the data type element information and entry element information of the specific data point in the device mapping ID to map the actual information of the data point to the corresponding data type object space under the corresponding virtual device.

[0012] As a preferred solution of the method for building a database based on virtual data points of a communication management machine described in the present invention, wherein: realizing data communication between the front-end device and the upper computer based on hard real-time performance includes the following steps: the front-layer device responds to the data call command of the communication management machine, and sends all data points of the device to the communication management machine in groups according to data types; the communication management machine quickly retrieves the mapping position of the virtual data point library where the data point is located based on the mapping ID of each data point; the sending of all data points of the device to the communication management machine in groups according to data types is based on the urgency of the data point data changes under different data types, and clarifies the priority task triggered by the data point data sending.

[0013] As a preferred solution of the method for building a database based on virtual data points of a communication management machine described in the present invention, the degree of urgency is divided into three levels, specifically including: Level 1, control command data, which is sent to equipment and devices in the power system through the background system to achieve control and adjustment of equipment status and operating behavior; Level 2, real-time monitoring data, this type of data is used to monitor the operating status of the power system in real time, and is crucial for timely detection of system anomalies, faults and safety issues; Level 3, periodic data upload, changes in this type of data have little impact on the power system, and the value of this type of data point can be updated within the cycle.

[0014] As a preferred solution of the method for building a database based on virtual data points of a communication management machine described in the present invention, the priority includes high-priority interrupts, which are used to handle time-sensitive tasks and emergency events. The priority of these interrupts is higher than that of other interrupts and regular tasks. Changes in data types of urgency level one trigger interrupts of this level to complete the execution of control commands; triggering high-priority interrupts can interrupt other relatively low-priority interrupts, so this interrupt needs to respond to events in a shorter time; low-priority interrupts, which have a lower priority than high-priority interrupts but higher than regular tasks; changes in data types of urgency level two trigger interrupts of this level to complete communication interaction of real-time monitoring data; compared with high-priority interrupts, the time requirements of this interrupt level are relatively loose: when the data of a data point in the monitoring data changes, the interrupt is triggered to complete the communication interaction of the data of the data point; task-level interrupts, which usually have a lower priority than hardware interrupts, are used to implement periodic data uploading; this process has relatively loose time requirements. Unlike hardware interrupts that execute operations on the data of one data point each time, the execution of this task interrupt requires that all data points of periodically uploaded data be uploaded in sequence.

[0015] Secondly, in order to further solve the problems existing in the existing communication management machine, an embodiment of the present invention provides a system for building a database based on the virtual data points of the communication management machine, including: a data acquisition module for collecting information of the front-layer device and its data points; a data processing module for encoding the collected data, establishing a virtual data point library, and setting different data processing priorities for the data points; a control module for realizing data communication between the front-end device and the host computer based on hard real-time performance.

[0016] In a third aspect, an embodiment of the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program instructions are executed by the processor, the method for building a database based on virtual data points of a communication management machine as described in any embodiment of the present invention is implemented.

[0017] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, wherein: when the computer program is executed by a processor, it implements the method for building a database based on virtual data points of a communication management machine as described in any embodiment of the present invention.

[0018] The beneficial effects of the present invention are as follows: the core code module of the communication management machine based on the hard real-time nature of the system and the virtual data point database building is written in standard C / C++, has good portability, and has good interoperability with other high-level language modules; it saves additional memory overhead for data storage; the communication management machine uses virtual data points to manage communication data response operations, which can not only improve the rapid response level of communication data, but also ensure the accuracy of communication data operations to a certain extent, and improve the communication quality of the communication management machine; the proposed design method based on the combination of hard real-time and virtual data database building technology can not only quickly and accurately retrieve and locate data points in the communication process, but also can achieve different communication responses according to the priority levels of different types of data commands. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. Those skilled in the art can also derive other drawings based on these drawings without inventive effort. Among them:

[0020] Figure 1 This is the communication flow chart of the communication management machine system in Example 1.

[0021] Figure 2 A flow chart is established for the virtual data point library of the communication management machine in Example 1.

[0022] Figure 3 This is a communication diagram based on hard real-time performance and a virtual data point library in Example 1. DETAILED DESCRIPTION

[0023] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0024] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0025] Secondly, the term "one embodiment" or "embodiment" herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in one embodiment" appearing in various places throughout this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive of other embodiments.

[0026] Example 1

[0027] Reference Figures 1 to 3 , which is the first embodiment of the present invention, provides a method for building a database based on virtual data points of a communication management machine, comprising the following steps:

[0028] S1: Encode all front-layer devices and their data point information.

[0029] The communication process of the power system mainly involves data interaction between the front-layer protection / measurement and control devices and the host computer using many different communication methods; the two use the communication management machine to summarize and analyze the communication data, and ultimately realize the interaction needs of the communication data between the two.

[0030] According to different communication types of data, device data can be roughly divided into telemetry data, telesignaling data, teleadjustment data and remote control data; among the different types of data of many devices, the communication management machine needs to respond quickly and accurately with the data of the corresponding data point according to the front-layer device command or the upper computer scheduling command; based on the above communication demand goals, the core function positioning of the communication management machine is the timely and accurate communication function of data.

[0031] Preferably, the communication management machine acts as a medium to enable data exchange between multiple devices and the host computer using different communication methods in the front-end layer. This functionality requires that the attribute information of the data points of different devices in the front-end layer be accurately reflected to the communication management machine. To achieve this goal, the information of all devices and their data points in the front-end layer must first be encoded.

[0032] Preferably, encoding all front-layer devices and their data point information includes the following steps:

[0033] S1.1: All devices under the same communication mode shall be numbered independently to ensure that there are no duplicate numbers among all device numbers under the communication mode.

[0034] Furthermore, the communication method includes serial communication / CAN communication / Ethernet communication and the like.

[0035] S1.2: All different types of data for a specific single device under this communication mode are grouped independently, and all data points with the same data type are numbered independently.

[0036] S1.3: Based on the encoding process of multiple devices and their data points under the same communication mode, the data points of all devices under the same communication mode have a unique identification ID.

[0037] S1.4: The data points of all front-layer devices are combined through a unique identification ID and a communication method to ultimately form a mapping ID required to establish a virtual data point library.

[0038] It is worth noting that the mapping ID contains information such as the communication method of the corresponding device, device number, data type, and current data point entry number.

[0039] Specifically, the management machine first categorizes each data point's communication type based on its communication device's attribute information and creates a virtual data point database for that data point. Furthermore, it assigns different data processing priorities to each data point based on its communication type and the urgency of its response. After completing the database creation for all device data points using this virtual data point database creation mechanism, the resulting virtual data point table, categorized by communication type, is stored on the disk of the communication management machine's processor.

[0040] S2: Establish a virtual data point library and set different data processing priorities for the data points.

[0041] The purpose of establishing a virtual data point library is to accurately map the data points of all devices in the front layer that communicate with the communication management machine to the memory of the communication management machine processor, and to build a library for all data points according to certain rules so that the processor can quickly retrieve and operate the data of the data point during the process of processing communication data.

[0042] Furthermore, the virtual data point library includes:

[0043] S2.1: Based on the homogeneous nature of the data types of the front-layer devices, the concept of inheritance in object-oriented design is introduced.

[0044] The parent object that defines the device data structure is an abstract hierarchical data structure used to represent and manage the data points of the actual device. It can be used to de-emphasize the details of the actual device data points and provide a higher level of data organization and management.

[0045] S2.2: The communication management machine regards each device in the front layer as an independent object, and the data structure of each device object inherits from a common parent object. Combined with the device information element in the device mapping ID, the description information of the device is saved in the virtual device table.

[0046] The virtual device table stores the description information of all devices so that the communication management machine can manage the device data in a unified and convenient manner.

[0047] S2.3: All device objects inherit the same parent object data structure and have convergent properties in data type and data structure.

[0048] Combined with the data type element and item element information for a specific data point in the device mapping ID, the actual information of that data point is mapped to the corresponding data type object space under the corresponding virtual device. All information within this object space, except for the real-time value of the data point, is de-emphasized. This saves space in the device data point database while enabling rapid location of virtual device data points.

[0049] According to the above process, after all the data points of the device have completed the corresponding virtual data point library, all the data points in the actual device are mapped one by one to the corresponding virtual device of the communication management machine. When all the devices have completed the data point library process, the description information of all the devices will be summarized into a virtual device table so that the communication management machine can quickly and uniformly manage the device data. For the specific virtual data point library process, see Figure 2 .

[0050] Furthermore, the virtual data point library also includes the data type element information and entry element information of the specific data point in the device mapping ID, mapping the actual information of the data point to the corresponding data type object space under the corresponding virtual device; all information of all data points in the data type object space except the real-time value of the data is weakened, saving the device data point library construction space and realizing the rapid positioning of virtual device data points.

[0051] Different data processing priorities are set for the data points according to the communication type of the data points and the urgency of the communication data response.

[0052] Furthermore, the priorities include: high priority interrupt, low priority interrupt, and task-level interrupt.

[0053] High-Priority Interrupts (HPIs): High-priority interrupts are used to handle time-sensitive tasks and emergency events. These interrupts have a higher priority than other interrupts and regular tasks, ensuring a timely response. Changes in data types with an urgency level of 1 trigger interrupts of this level to complete the execution of control commands. Triggering a high-priority interrupt may interrupt other, lower-priority interrupts, requiring a shorter response time.

[0054] Low-Priority Interrupts (LPIs): These interrupts handle less urgent events. These interrupts have a lower priority than high-priority interrupts, but higher priority than regular tasks. Changes in data at Urgency Level 2 trigger interrupts at this level, enabling real-time communication of monitoring data. Compared to high-priority interrupts, these interrupts have more relaxed timing requirements. When a data point in the monitoring data changes, this interrupt triggers, enabling communication of that data point.

[0055] Task-Level Interrupts: Strictly speaking, they are software interrupts, triggered by software. They typically have a lower priority than hardware interrupts and are used to periodically upload data. This process has relatively loose timing requirements. Unlike hardware interrupts, which execute operations on a single data point at a time, task-level interrupts require all periodically uploaded data points to be uploaded sequentially.

[0056] After completing the database building for all device data points based on the virtual data point database building mechanism, the virtual data point table formed by all data points is finally stored in the disk of the communication management machine processor according to the communication type classification.

[0057] During the actual communication process of the management machine, the processor directly performs read and write response operations on the data point from the memory address of the corresponding virtual data point table according to different interrupt levels.

[0058] Furthermore, the interrupt level classification can be adjusted based on system needs and real-time requirements. This ensures that high-priority interrupts can quickly respond to and interrupt low-priority interrupts to meet the system's hard real-time requirements. Depending on the type of communication data, data that requires urgent processing is assigned a higher interrupt level, while data that is periodically sent is assigned a lower interrupt level. Based on the principle of giving priority to high-priority data (low-priority interrupt data interrupted by a high-priority interrupt will continue after all high-priority interrupts are completed), orderly and stable interactive communication of different data types is achieved.

[0059] S3: Realize data communication between the front-end device and the host computer based on hard real-time performance.

[0060] The communication management machine serves as a bridge between the front-layer measurement and control / protection devices and the host computer. Its rapid and accurate response to data operations depends on the application of virtual data point database. Whether the data is sent from the front-layer device to the host computer, or the control command data is sent from the host computer to the front-layer device, the data must be mapped to the corresponding virtual data point database. The data communication between the front-layer device and the host computer based on hard real-time performance includes the following steps: the front-layer device responds to the data call command of the communication management machine and sends all the data points of the device to the communication management machine in groups according to the data type; the communication management machine quickly retrieves the mapping location of the virtual data point library where the data point is located based on the mapping ID of each data point; sending all the data points of the device to the communication management machine in groups according to the data type is based on the urgency of the data point data changes under different data types, and clarifies the priority task triggered by the data point data sending.

[0061] Among them, the urgency of the corresponding data point data changes is divided into three levels according to the different data types: Level 1: Control command data, this type of data includes remote control / remote adjustment and other command data, which are sent to the equipment and devices in the power system through the background system to achieve control and adjustment of the equipment status and operating behavior. Under normal system operation, the equipment needs to respond to the control command data in a timely manner. Therefore, the urgency of processing this type of data is very high. Level 2: Real-time monitoring data, this data is used to monitor the operating status of the power system in real time, including parameters such as voltage, current, and frequency. The urgency of real-time monitoring data is relatively high because they are crucial for timely detection of system anomalies, faults, and safety issues. Level 3: Periodically uploaded data: Changes in this type of data have little impact on the power system, and the values ​​of this type of data points only need to be updated within the cycle. Therefore, the urgency of periodically uploaded data is classified as general.

[0062] Furthermore, data processing of different data types triggers interrupts of different priorities according to different urgency levels.

[0063] Since the establishment of the virtual data point library treats each device as a library building object, it is only necessary to retrieve the corresponding virtual device object in the virtual device table through the device information element of the mapping ID, and then quickly retrieve the mapping address of the virtual data point library corresponding to the actual data point based on the data type information element and entry information element of the mapping ID.

[0064] When a device uploads data point data to the virtual device point database of the communication management machine, the priority task triggered by the data point data upload is determined based on the urgency of the data point data change under different data types. Low-priority data upload tasks can only be executed after the high-priority data upload tasks are completed.

[0065] When the value of the virtual data point library corresponding to the data point of a higher priority data type changes, the communication data will be sent to the host computer first and quickly. The virtual data point library is used in the data response operation of the communication management machine. The device retrieval is used as the retrieval object of the virtual data point library mapping address corresponding to the actual data point. It not only speeds up the retrieval speed of the virtual data point library mapping address, but also improves the accuracy of the mapping of the actual data point to the virtual data point library to a certain extent based on the retrieval of the data type and data point entry number under the same device. Figure 3 .

[0066] This embodiment also provides a system for building a database based on virtual data points of a communication management machine, including: a data acquisition module for collecting information of the front-layer device and its data points; a data processing module for encoding the collected data, establishing a virtual data point library, and setting different data processing priorities for the data points; and a control module for realizing data communication between the front-end device and the host computer based on hard real-time performance.

[0067] This embodiment further provides a computer device applicable to the method for building a database based on virtual data points of a communication management machine, including:

[0068] Memory and processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the method of building a database based on virtual data points of the communication management machine as proposed in the above embodiment.

[0069] The computer device may be a terminal, comprising a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device comprises a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a button, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse.

[0070] This embodiment further provides a storage medium storing a computer program, which, when executed by a processor, implements the method for building a database based on virtual data points of a communication management machine as proposed in the above embodiment.

[0071] In summary, the present invention proposes a design method for a communication management machine that combines hard real-time performance with virtual data database technology. Hard real-time performance, through technologies such as a real-time operating system and hardware acceleration, ensures that the system responds to events within a given time limit, meeting the real-time requirements of the communication management machine. Virtual data database technology can classify, organize, and store this data, making data processing and management more efficient and convenient. Through virtual data database technology, the communication management machine can increase data processing speed, reduce storage space usage, and improve the reliability and stability of the communication management machine.

[0072] Example 2

[0073] Referring to Table 1, which is a second embodiment of the present invention, based on the first embodiment, in order to verify its beneficial effects, experimental hardware environment data of this experiment is provided.

[0074] As shown in Table 1, the following is the experimental hardware environment data of our invention based on the hard real-time performance of the system and the construction of the virtual data point database.

[0075] Table 1 Experimental hardware environment data of the present invention

[0076]

[0077] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for building a database based on virtual data points of a communication management machine, characterized by: include, Encode all front-layer devices and their data point information; Establish a virtual data point library and set different data processing priorities for the data points; Realize data communication between the front-end device and the host computer based on hard real-time performance; The encoding of all front-layer devices and their data point information includes the following steps: All devices under the same communication mode should be numbered independently to ensure that there are no duplicate numbers among all device numbers under the communication mode; All different types of data for a specific single device under this communication mode are grouped independently, and all data points with the same data type are numbered independently; Based on the encoding process of multiple devices and their data points under the same communication mode, the data points of all devices under the same communication mode have a unique identification ID; The data points of all front-end devices are combined with unique identification IDs and communication methods to ultimately form the mapping IDs required to establish a virtual data point library.

2. The method for building a database based on virtual data points of a communication management machine according to claim 1, characterized in that: The virtual data point library is: Based on the homogeneous nature of the data types of the front-end devices, the concept of inheritance in object-oriented design is introduced; The communication management machine treats each device in the front layer as an independent object, and the data structure of each device object inherits from a common parent object. It combines the device information elements in each device mapping ID and saves the device description information in the virtual device table; All device objects inherit the same parent object data structure and have similar properties in data type and data structure.

3. The method for building a database based on virtual data points of a communication management machine according to claim 2, characterized in that: The virtual data point library also combines the data type element information and entry element information of the specific data point in the device mapping ID to map the actual information of the data point to the corresponding data type object space under the corresponding virtual device.

4. The method for building a database based on virtual data points of a communication management machine according to claim 3, characterized in that: The data communication between the front-end device and the host computer based on hard real-time performance includes the following steps: The front-end device responds to the data call command of the communication management machine and sends all the data points of the device to the communication management machine in groups according to the data type; The communication management machine quickly retrieves the mapping location of the virtual data point library where the data point is located based on the mapping ID of each data point; The sending of all the data points of the device to the communication management machine in groups according to data types is based on the urgency of the data point data changes under different data types, and clarifies the priority task triggered by the sending of the data point data.

5. The method for building a database based on virtual data points of a communication management machine according to claim 4, characterized in that: The urgency is divided into three levels, including: Level 1: Control command data is sent to the equipment and devices in the power system through the background system to control and adjust the equipment status and operating behavior; Level 2, real-time monitoring data. This type of data is used to monitor the operating status of the power system in real time and is crucial for timely detection of system anomalies, faults, and safety issues. Level 3: Periodic data upload. Changes in this type of data have little impact on the power system, and the values ​​of this type of data points are updated within the cycle.

6. The method for building a database based on virtual data points of a communication management machine according to claim 5, characterized in that: The priorities include: High-priority interrupts are used to handle time-sensitive tasks and emergency events. High-priority interrupts have higher priority than other interrupts and regular tasks. Changes in data types with an urgency level of one trigger this high-priority interrupt to complete the execution of control commands. Triggering a high-priority interrupt can interrupt other relatively lower-priority interrupts, so this interrupt needs to respond to events in a shorter time. Low-priority interrupts have a lower priority than high-priority interrupts but higher priority than regular tasks. Changes in data types with urgency level 2 trigger low-priority interrupts to complete communication and interaction of real-time monitoring data. Compared with high-priority interrupts, low-priority interrupts have relatively loose time requirements: when a data point in the monitoring data changes, a low-priority interrupt is triggered to complete communication and interaction of the data at that data point. Task-level interrupts have a lower priority than hardware interrupts and are used to implement periodic data transmission. Task-level interrupts have relatively loose time requirements. Unlike hardware interrupts that execute operations on one data point at a time, task-level interrupts require that all data points that are periodically transmitted be transmitted sequentially.

7. A system for building a virtual data point database using the method for building a virtual data point database based on a communication management machine according to any one of claims 1 to 6, characterized in that: Also includes, Data acquisition module, used to collect information about the front layer devices and their data points; The data processing module is used to encode the collected data, establish a virtual data point library, and set different data processing priorities for the data points; The control module is used to realize data communication between the front-end device and the host computer based on hard real-time performance.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method for building a database based on virtual data points of a communication management machine according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for building a database based on virtual data points of a communication management machine according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Point table-free telecontrol communication method between master and slave stations of power grid based on UGID

    CN106788596A

  • My pet ID collar

    US20080133256A1