CMS protocol server construction method and system based on SylixOS operating system

By building a CMS protocol server based on SylixOS operating system, the problem that the IEC61850 communication protocol in the prior art does not meet network security requirements and the high cost of the MMS protocol is solved, and a low-cost and highly reliable communication solution is realized.

CN120475065APending Publication Date: 2025-08-12SHANDONG LUNENG SOFTWARE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510385099.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

The existing IEC61850 communication protocol used for the protection and control device based on SylixOS and the gateway/master station information interaction does not meet the network security technical requirements, and the MMS protocol is complex and costly, making it difficult to achieve independent control.

Method used

Build a CMS protocol server based on the SylixOS operating system, and use pre-building of the SCL model, parsing and storing configuration files, applying for runtime space, executing initialization and registration programs, calling the service interface to start CMS services, and performing service configuration.

Benefits of technology

It realizes a communication channel based on CMS protocol, complies with existing national standards, quickly access to high-reliability secondary systems, and reduces communication costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120475065A_ABST
    Figure CN120475065A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, and particularly provides a CMS protocol server construction method and system based on a SylixOS operating system, and the method comprises the steps: constructing an SCL model in advance, and the SCL model comprises Comuntation data, IED data, and DataTypeTemplates data; using a configuration file in the SylixOS to carry out CMS server side parameter configuration, wherein the configuration file comprises a file name of an SCL model; based on the file name of the SCL model in the configuration file, analyzing the SCL model, and storing the analyzed content in a tree form; applying for a space required by operation of the CMS server, and executing an initialization program and a registration program; and starting the CMS service by calling the service interface, and carrying out service configuration on the CMS service. The communication method provided by the invention accords with the existing national standard, can be quickly accessed to a high-reliability secondary system, and reduces the communication cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of communication technology, and in particular relates to a CMS protocol server construction method and system based on the SylixOS operating system. Background Art

[0002] The server-side operating system in existing protection, measurement, and control devices uses the Ubuntu operating system and the MMS communication protocol. SylixOS is an embedded real-time operating system that supports SMP multi-core real-time scheduling and can run on a variety of CPU architecture target platforms. Its real-time and reliability make it an ideal software development platform for embedded devices in various industries. The protection, measurement, and control device integrates multiple functions, including protection, measurement, control, monitoring, communication, event logging, fault recording, and error prevention.

[0003] Existing SylixOS-based protection, measurement, and control devices use the IEC61850 communication protocol (MMS), an international standard, for information exchange with gateways and master stations. This protocol does not meet network security technical requirements and is not conducive to achieving autonomous control. The MMS protocol itself is complex and resource-intensive. Furthermore, the underlying MMS protocol requires expensive copyright fees, which is costly. Summary of the Invention

[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a method and system for constructing a CMS protocol server based on the SylixOS operating system to solve the above-mentioned technical problems.

[0005] In a first aspect, the present invention provides a method for constructing a CMS protocol server based on the SylixOS operating system, comprising: Pre-building an SCL model, wherein the SCL model includes Communication data, IED data, and DataTypeTemplates data; Using a configuration file in the SylixOS operating system to configure CMS server parameters, the configuration file includes the file name of the SCL model; Parsing the SCL model based on the file name of the SCL model in the configuration file, and storing the parsed content in a tree form; Apply for the space required for CMS server operation and execute the initialization and registration procedures; The CMS service is started by calling the service interface and the service configuration of the CMS service is performed.

[0006] In an optional implementation, the Communication data includes: Related configurations for IP, MAC, and IP-SUBNET communications; The station control layer and process layer subnets are configured in the protection and measurement and control device; the station control layer contains the basic information of network A and network B; the process layer subnet configures the MAC address, VLAN-ID, VLAN-PRIORITY, APPID, and physical connection of GOOSE; the physical connection corresponds to the board number and port number in the protection and measurement and control device.

[0007] In an optional embodiment, the IED data includes: The architecture of logical devices, including: common LD, protection, recording, measurement, and control; The verification category of logical devices includes multiple logical nodes, and the service categories of multiple logical nodes include LLN0, general LPHD, alarm signal, GOOSE alarm, device temperature, power supply voltage monitoring, protection function blocking and time synchronization status self-test.

[0008] In an optional embodiment, the DataTypeTemplates data includes: The description information of the logical node type includes the data type and data composition; the logical node types include general LLN0, protection LLN0, measurement LLN0, protection and control LPHD, overcurrent protection, line overcurrent protection, and protection trip.

[0009] In an optional embodiment, a configuration file is used in the SylixOS operating system to configure CMS server parameters. The configuration file includes the file name of the SCL model, including: In the SylixOS operating system, a configuration file is used to pre-configure the CMS server. The configuration file includes ASDU, APDU, whitelist, SCL file name, whether to enable log, the maximum number of logs, and the file root path.

[0010] In an optional embodiment, based on the file name of the SCL model in the configuration file, the SCL model is parsed and the parsed content is stored in a tree form, including: According to the SCL file name in the configuration file, the SCL model is parsed and the parsed content is stored in a tree form. The parsed content includes: communication parameters including the local IP address. The system can start normally only when the communication parameters are consistent with the local content, otherwise the system will fail to start; basic data set content, which includes telesignaling and telemetering point information; report control block information, which includes the data set referenced by the report control block, trigger mode, and report control block type. The report control block type is urcb or brcb; control class information, which includes basic control point information and control mode; basic information of other control blocks other than the report control block; replacement class information, which includes replacement point and replacement value; When starting the analysis, the number of threads opened is limited to the set thread threshold range.

[0011] In an optional implementation, applying for the space required for the CMS server to run and executing the initialization and registration procedures include: Apply for space used by the server at runtime before SylixOS is initialized, and initialize the variables used; Register user information callback, data information callback and association callback; the user information callback is used for user initialization callback registration, service startup and exit; the data information callback is used for data reading and writing callback; the association callback is used for client disconnection callback; During initialization, the corresponding interface is used to obtain the return information of whether the startup is successful. The protection measurement and control device performs the next operation based on the return information. If the startup fails, the fault light is turned on to prompt; The protection measurement and control device obtains the IED name through the corresponding interface, and names the recording file if it exists; The protection measurement and control device obtains or writes the information corresponding to ref through the read and write interface and the read data definition interface.

[0012] In an optional embodiment, starting the CMS service by calling the service interface and configuring the CMS service includes: Call the service interface, start the CMS service, enable the monitoring service in the CMS service, and monitor the connected clients; Receive a connection request from a client and review the client's basic information, including determining whether the client is in the whitelist and whether the maximum number of connections has been exceeded; The server starts all basic services, including association services, read and write services, definition acquisition services, reporting services, log services, control services, fixed value services, replacement services, file services, and remote procedure call services. The reporting service includes: the server stores the triggering mode of the client and sends a report to the client when the triggering mode meets the established conditions. The control service includes: the server stores and determines the control mode and control sequence of the client, and sends a corresponding command to the protection measurement and control device when the operation sequence corresponds to the control mode. During the service process, log information is printed and output to a file.

[0013] In an optional embodiment, the method further comprises: If you exit the CMS service, the space applied for by the corresponding server will be released in sequence.

[0014] In a second aspect, the present invention provides a CMS protocol server construction system based on the SylixOS operating system, comprising: A model building module, used for pre-building an SCL model, wherein the SCL model includes Communication data, IED data, and DataTypeTemplates data; An initial configuration module, configured to configure CMS server parameters using a configuration file in the SylixOS operating system, wherein the configuration file includes a file name of an SCL model; A model parsing module, configured to parse the SCL model based on the file name of the SCL model in the configuration file, and store the parsed content in a tree form; The space application module is used to apply for the space required for the CMS server to run and execute the initialization and registration procedures; The service startup module is used to start the CMS service by calling the service interface and perform service configuration on the CMS service.

[0015] The beneficial effect of the present invention is that the CMS protocol server construction method and system based on the SylixOS operating system provided by the present invention establish a communication channel based on the CMS protocol for the protection measurement and control device using the SylixOS operating system. Compared with the existing MMS protocol, the communication method provided by the present invention complies with the existing national standards, can be quickly connected to a high-reliability secondary system, and reduces communication costs.

[0016] In addition, the present invention has a reliable design principle, a simple structure and a very broad application prospect. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0018] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention.

[0019] Figure 2 It is a schematic diagram of Communication data of a communication service model of a method according to an embodiment of the present invention.

[0020] Figure 3 FIG. 1 is a schematic diagram of IED data of a communication service model of a method according to an embodiment of the present invention.

[0021] Figure 4 It is a schematic diagram of DataTypeTemplates data of the communication service model of the method according to one embodiment of the present invention.

[0022] Figure 5 It is a schematic diagram of the server-side setting process of the method according to an embodiment of the present invention.

[0023] Figure 6 FIG. 4 is a schematic block diagram of a system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0026] The key terms appearing in the present invention are explained below.

[0027] The CMS (Content Management System) communication protocol defines how data is exchanged between the CMS system and the editor. This protocol involves operations such as retrieving content from the CMS, updating content, and managing user permissions. CMS is a core substation communication protocol independently developed and designed in my country with complete intellectual property rights. It is widely used in substation secondary systems and equipment. For example, a configurable hierarchical distributed heterogeneous protection, measurement, and control device uses the Substation Configuration Description Language (SCL) as a modeling language for data exchange between the protection, measurement, and control device and the gateway.

[0028] SCL (Structured Control Language) is a high-level programming language with syntax similar to PASCAL.

[0029] The method for constructing a CMS protocol server based on the SylixOS operating system provided in the embodiment of the present invention is executed by a computer device. Accordingly, the system for constructing a CMS protocol server based on the SylixOS operating system runs in the computer device.

[0030] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention. Figure 1 The execution entity can be a CMS protocol server-side construction system based on the SylixOS operating system. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0031] like Figure 1 As shown, the method includes: Step 110: pre-build an SCL model, wherein the SCL model includes Communication data, IED data, and DataTypeTemplates data; Step 120: Using a configuration file in the SylixOS operating system to configure CMS server parameters, the configuration file includes the file name of the SCL model; Step 130: parsing the SCL model based on the file name of the SCL model in the configuration file, and storing the parsed content in a tree format; Step 140: Apply for the space required for the CMS server to run, and execute the initialization and registration procedures; Step 150: Start the CMS service by calling the service interface and perform service configuration on the CMS service.

[0032] To facilitate understanding of the present invention, the following is a further description of the CMS protocol server construction method based on the SylixOS operating system provided by the present invention based on the principles of the CMS protocol server construction method based on the SylixOS operating system, combined with the process of establishing a CMS service for a protection measurement and control device using the SylixOS operating system in the embodiment.

[0033] The CMS protocol is a core substation communication protocol with fully proprietary intellectual property rights, widely used in substation secondary systems and equipment. Taking a configurable, hierarchically distributed, heterogeneous protection, measurement, and control device as an example, it uses the Substation Configuration Description Language (SCL) as a model language to facilitate data exchange between the protection, measurement, and control device and the gateway. Specifically, the method for building a CMS protocol server based on the SylixOS operating system includes: S1. Construct the SCL model.

[0034] Specifically, the SCL model structure includes: <header>Section: This section is used to identify the SCL file and its historical version information. Each entry in the historical version information can record its version, revision, reason for modification, modifier, modification time and modification content, etc.

[0035] <header> <history> <hitem revision="1.5" version="6.7" when="2021-07-12 10:26:49" who="" why="" what="" / > < / history> < / header> <substation>Part: used to describe the functional structure of the substation. This part is not considered for the protection and measurement and control devices. Substation is not a necessary content and does not need to be constructed.

[0036] <communication>Part, such as Figure 2 This section mainly includes configuration related to IP, MAC, and IP-SUBNET communications. The protection and measurement and control device requires configuration of the station control and process layer subnets. The station control layer includes basic information for networks A and B. The process layer subnet requires configuration of the GOOSE MAC address, VLAN ID, VLAN Priority, APPID, and physical connection information. The physical connection corresponds to the board number and port number in the protection and measurement and control device.

[0037] <ied>Part, such as Figure 3 The figure shows basic information about the protection, measurement, and control device. Logical devices and logical nodes are all contained in the AccessPoint node. Logical devices include common LD, protection, waveform recording, measurement, and control. Logical device LDs include LLN0, common LPHD, alarm signal, GOOSE alarm, device temperature, power supply voltage monitoring, protection function blocking, and time synchronization status self-test.

[0038] <datatypetemplates>Part, such as Figure 4 This section describes the logical node types, including data types and data composition. These can be referenced by logical nodes in IEDs, providing the basis for organizing data in datasets and, in turn, influencing the content of data sent in reports. Logical node types include general LLN0, protection LLN0, measurement LLN0, protection and control LPHD, overcurrent protection, line overcurrent protection, and protection trip.

[0039] S2, based on the SylixOS operating system, the CMS protocol server of the protection and control device is guided by the DL / T860 substation secondary system communication message (CMS) protocol specification, which directly maps the communication service model to TCP / IP. It processes the operation request from the client in a monitoring manner, processes the corresponding data according to the standard, and decides whether to send the message based on the specific operation. In the SylixOS operating system, the server call is made in the form of a library. The process is as follows: Figure 5 shown.

[0040] S201. Pre-configure the server using a configuration file in the SylixOS operating system. The configuration file includes information such as ASDU, APDU, whitelist, SCL file name, whether to enable log and the maximum number of log entries, and file root path.

[0041] S202. Parse the data model according to the SCL file name in the configuration file, and store it in a tree form after parsing. The parsed content includes: communication parameters such as the local IP address. This communication parameter must be consistent with the local content to start normally, otherwise the startup will fail. The basic content of the data set includes telesignaling and telemetering point information. The report control block information includes the data set referenced by the report control block, the triggering method, whether it is urcb or brcb, etc. Control information includes basic control point information, and control mode, etc. Basic information of other control blocks except the report control block. Replacement information includes replacement points, replacement values, etc. In the protection and measurement control device based on the SylixOS operating system, only 1 CPU core is allocated to the server. Therefore, when starting the parsing, the number of threads opened will be reduced to avoid resource exhaustion due to too many threads, making the CPU utilization rate as high as 100%.

[0042] During S203, SylixOS initialization requires application of server runtime space and initialization of variables. User information callbacks, data information callbacks, and association callbacks must also be registered. The user information callback is used for user initialization callback registration, service startup, and exit; the data information callback is used for data read and write; and the association callback is used for client disconnection. During initialization, the device can use the corresponding interface to determine if the startup was successful. The device uses this interface to return information for the next step. If it fails, the fault indicator will illuminate as a warning. The device can also obtain the IED name through the corresponding interface. If a recording file exists, it must be named. The device can obtain / write information corresponding to a reference (a reference mechanism) using the read / write interface and the read data definition interface.

[0043] S204, call the service interface, start the cms service, start the listening service in the service, and listen to the connected client; when the client comes to connect, it is necessary to make a detailed judgment on the basic information of the client to determine whether it is in the whitelist and whether the maximum number of connections has been exceeded. The server starts all basic services, including association services, read and write services, definition acquisition services, reporting services, log services, control services, fixed value services, replacement services, file services, and remote procedure call services. For example, in the reporting service, the server stores the triggering method of the client and sends a report to the client when the established conditions are met. If the data triggering method is data change, and the client turns on the corresponding report control block, a report will be sent to the client when the data changes. In the control service, the server saves and judges the client control mode and control sequence, and when the operation sequence corresponds to the control mode, it sends the corresponding command to the protection and measurement and control device. During the service process, the log information is printed and output to the file. In the protection and measurement and control device based on the SylixOS operating system, the information printing should not be output too much to the terminal.

[0044] S205: Exit the service and release the space applied for by the server in sequence.

[0045] In some embodiments, the CMS protocol server-side construction system based on the SylixOS operating system may include multiple functional modules composed of computer program segments. The computer program of each program segment in the CMS protocol server-side construction system based on the SylixOS operating system may be stored in the memory of a computer device and executed by at least one processor to perform (see Figure 1 Description) Functions built on the CMS protocol server of the SylixOS operating system.

[0046] In this embodiment, the CMS protocol server-side construction system based on the SylixOS operating system can be divided into multiple functional modules according to the functions it performs, such as Figure 6 As shown. The functional modules of system 600 may include: a model building module 610, an initial configuration module 620, a model parsing module 630, a space application module 640, and a service activation module 650. As used herein, a module refers to a series of computer program segments that can be executed by at least one processor and perform fixed functions, and is stored in memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

[0047] A model building module, used for pre-building an SCL model, wherein the SCL model includes Communication data, IED data, and DataTypeTemplates data; An initial configuration module, configured to configure CMS server parameters using a configuration file in the SylixOS operating system, wherein the configuration file includes a file name of an SCL model; A model parsing module, configured to parse the SCL model based on the file name of the SCL model in the configuration file, and store the parsed content in a tree form; The space application module is used to apply for the space required for the CMS server to run and execute the initialization and registration procedures; The service startup module is used to start the CMS service by calling the service interface and perform service configuration on the CMS service.

[0048] Optionally, as a preferred implementation, the Communication data includes: Related configurations for IP, MAC, and IP-SUBNET communications; The station control layer and process layer subnets are configured in the protection and measurement and control device; the station control layer contains the basic information of network A and network B; the process layer subnet configures the MAC address, VLAN-ID, VLAN-PRIORITY, APPID, and physical connection of GOOSE; the physical connection corresponds to the board number and port number in the protection and measurement and control device.

[0049] Optionally, as a preferred embodiment, the IED data includes: The architecture of logical devices, including: common LD, protection, recording, measurement, and control; The verification category of logical devices includes multiple logical nodes, and the service categories of multiple logical nodes include LLN0, general LPHD, alarm signal, GOOSE alarm, device temperature, power supply voltage monitoring, protection function blocking and time synchronization status self-test.

[0050] Optionally, as a preferred implementation, the DataTypeTemplates data includes: The description information of the logical node type includes the data type and data composition; the logical node types include general LLN0, protection LLN0, measurement LLN0, protection and control LPHD, overcurrent protection, line overcurrent protection, and protection trip.

[0051] Optionally, as a preferred implementation, a configuration file is used in the SylixOS operating system to configure CMS server parameters, and the configuration file includes the file name of the SCL model, including: In the SylixOS operating system, a configuration file is used to pre-configure the CMS server. The configuration file includes ASDU, APDU, whitelist, SCL file name, whether to enable log, the maximum number of logs, and the file root path.

[0052] Optionally, as a preferred implementation, based on the file name of the SCL model in the configuration file, the SCL model is parsed and the parsed content is stored in a tree form, including: According to the SCL file name in the configuration file, the SCL model is parsed and the parsed content is stored in a tree form. The parsed content includes: communication parameters including the local IP address. The system can start normally only when the communication parameters are consistent with the local content, otherwise the system will fail to start; basic data set content, which includes telesignaling and telemetering point information; report control block information, which includes the data set referenced by the report control block, trigger mode, and report control block type. The report control block type is urcb or brcb; control class information, which includes basic control point information and control mode; basic information of other control blocks other than the report control block; replacement class information, which includes replacement point and replacement value; When starting the analysis, the number of threads opened is limited to the set thread threshold range.

[0053] Optionally, as a preferred implementation, applying for the space required for the CMS server to run and executing the initialization and registration procedures include: Apply for space used by the server at runtime before SylixOS is initialized, and initialize the variables used; Register user information callback, data information callback and association callback; the user information callback is used for user initialization callback registration, service startup and exit; the data information callback is used for data reading and writing callback; the association callback is used for client disconnection callback; During initialization, the corresponding interface is used to obtain the return information of whether the startup is successful. The protection measurement and control device performs the next operation based on the return information. If the startup fails, the fault light is turned on to prompt; The protection measurement and control device obtains the IED name through the corresponding interface, and names the recording file if it exists; The protection measurement and control device obtains or writes the information corresponding to ref through the read and write interface and the read data definition interface.

[0054] Optionally, as a preferred implementation, starting the CMS service by calling the service interface and configuring the CMS service includes: Call the service interface, start the CMS service, enable the monitoring service in the CMS service, and monitor the connected clients; Receive a connection request from a client and review the client's basic information, including determining whether the client is in the whitelist and whether the maximum number of connections has been exceeded; The server starts all basic services, including association services, read and write services, definition acquisition services, reporting services, log services, control services, fixed value services, replacement services, file services, and remote procedure call services. The reporting service includes: the server stores the triggering mode of the client and sends a report to the client when the triggering mode meets the established conditions. The control service includes: the server stores and determines the control mode and control sequence of the client, and sends a corresponding command to the protection measurement and control device when the operation sequence corresponds to the control mode. During the service process, log information is printed and output to a file.

[0055] Optionally, as a preferred embodiment, it further includes: If you exit the CMS service, the space applied for by the corresponding server will be released in sequence.

[0056] Although the present invention has been described in detail with reference to the accompanying drawings and in conjunction with preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, persons of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and such modifications or substitutions shall be within the scope of the present invention. Any changes or substitutions that can be easily conceived by persons skilled in the art within the technical scope disclosed in the present invention shall be within the scope of protection of the present invention.< / datatypetemplates> < / ied> < / communication> < / substation> < / header>

Claims

1. A method for constructing a CMS protocol server based on the SylixOS operating system, characterized in that: include: Pre-building an SCL model, wherein the SCL model includes Communication data, IED data, and DataTypeTemplates data; Using a configuration file in the SylixOS operating system to configure CMS server parameters, the configuration file includes the file name of the SCL model; Parsing the SCL model based on the file name of the SCL model in the configuration file, and storing the parsed content in a tree form; Apply for the space required for CMS server operation and execute the initialization and registration procedures; The CMS service is started by calling the service interface and the service configuration of the CMS service is performed.

2. The method according to claim 1, characterized in that The Communication data includes: Related configurations for IP, MAC, and IP-SUBNET communications; The station control layer and process layer subnets are configured in the protection and measurement and control device; the station control layer contains the basic information of network A and network B; the process layer subnet configures the MAC address, VLAN-ID, VLAN-PRIORITY, APPID, and physical connection of GOOSE; the physical connection corresponds to the board number and port number in the protection and measurement and control device.

3. The method according to claim 1, characterized in that The IED data includes: The architecture of logical devices, including: common LD, protection, recording, measurement, and control; The verification category of logical devices includes multiple logical nodes, and the service categories of multiple logical nodes include LLN0, general LPHD, alarm signal, GOOSE alarm, device temperature, power supply voltage monitoring, protection function blocking and time synchronization status self-test.

4. The method according to claim 1, wherein The DataTypeTemplates data includes: The description information of the logical node type includes the data type and data composition; the logical node types include general LLN0, protection LLN0, measurement LLN0, protection and control LPHD, overcurrent protection, line overcurrent protection, and protection trip.

5. The method according to claim 1, wherein In the SylixOS operating system, a configuration file is used to configure CMS server parameters. The configuration file includes the file name of the SCL model, including: In the SylixOS operating system, a configuration file is used to pre-configure the CMS server. The configuration file includes ASDU, APDU, whitelist, SCL file name, whether to enable log, the maximum number of logs, and the file root path.

6. The method according to claim 1, characterized in that Based on the file name of the SCL model in the configuration file, the SCL model is parsed and the parsed content is stored in a tree form, including: According to the SCL file name in the configuration file, the SCL model is parsed and the parsed content is stored in a tree form. The parsed content includes: communication parameters including the local IP address. The system can start normally only when the communication parameters are consistent with the local content, otherwise the system will fail to start; basic data set content, which includes telesignaling and telemetering point information; report control block information, which includes the data set referenced by the report control block, trigger mode, and report control block type. The report control block type is urcb or brcb; control class information, which includes basic control point information and control mode; basic information of other control blocks other than the report control block; replacement class information, which includes replacement point and replacement value; When starting the analysis, the number of threads opened is limited to the set thread threshold range.

7. The method according to claim 1, characterized in that Apply for the space required for the CMS server to run and perform the initialization and registration procedures, including: Apply for space used by the server at runtime before SylixOS is initialized, and initialize the variables used; Register user information callback, data information callback and association callback; the user information callback is used for user initialization callback registration, service startup and exit; the data information callback is used for data reading and writing callback; the association callback is used for client disconnection callback; During initialization, the corresponding interface is used to obtain the return information of whether the startup is successful. The protection measurement and control device performs the next operation based on the return information. If the startup fails, the fault light is turned on to prompt; The protection measurement and control device obtains the IED name through the corresponding interface, and names the recording file if it exists; The protection measurement and control device obtains or writes the information corresponding to ref through the read and write interface and the read data definition interface.

8. The method according to claim 1, characterized in that Start the CMS service by calling the service interface and configure the CMS service, including: Call the service interface, start the CMS service, enable the monitoring service in the CMS service, and monitor the connected clients; Receive a connection request from a client and review the client's basic information, including determining whether the client is in the whitelist and whether the maximum number of connections has been exceeded; The server starts all basic services, including association services, read and write services, definition acquisition services, reporting services, log services, control services, fixed value services, replacement services, file services, and remote procedure call services. The reporting service includes: the server stores the triggering mode of the client and sends a report to the client when the triggering mode meets the established conditions. The control service includes: the server stores and determines the control mode and control sequence of the client, and sends a corresponding command to the protection measurement and control device when the operation sequence corresponds to the control mode. During the service process, log information is printed and output to a file.

9. The method according to claim 1, characterized in that The method further comprises: If you exit the CMS service, the space applied for by the corresponding server will be released in sequence.

10. A CMS protocol server construction system based on the SylixOS operating system, characterized in that: include: A model building module, used for pre-building an SCL model, wherein the SCL model includes Communication data, IED data, and DataTypeTemplates data; An initial configuration module, configured to configure CMS server parameters using a configuration file in the SylixOS operating system, wherein the configuration file includes a file name of an SCL model; A model parsing module, configured to parse the SCL model based on the file name of the SCL model in the configuration file, and store the parsed content in a tree form; The space application module is used to apply for the space required for the CMS server to run and execute the initialization and registration procedures; The service startup module is used to start the CMS service by calling the service interface and perform service configuration on the CMS service.