Communication control method and system applied to power industry

By designing a communication control method and system in the power industry, the command and command execution results are converted into a unified structure, and remote control and dispatching control between different protocols is realized, the problem of mutual incompatibility in the power system is solved, and the operation efficiency and stability are improved.

CN120075315AActive Publication Date: 2025-05-30北京网藤科技有限公司
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510550220.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2025-05-30
Estimated Expiration
2045-04-29

AI Technical Summary

Technical Problem

How to achieve remote control and remote adjustment and dispatch control between different protocols in the power industry to ensure the operating efficiency and stability of the power system.

Method used

By converting the command and command execution results into a unified structure, a communication control method and system is designed to realize remote control remote command issuance and communication between different protocols. The specific steps include the outgoing end of the communication management machine receiving the remote control remote adjustment command, converting it into a remote signal telemetry command and sending it to the access end, the access end parses and issues it to the transformer, the transformer executes and feedbacks the result, and converting it into a unified response command to return.

Benefits of technology

It realizes the issuance and communication of remote control and remote adjustment commands between different protocols, ensures the operating efficiency and stability of the power system, and solves the problem of mutual incompatibility of protocols.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075315A_ABST
    Figure CN120075315A_ABST
Patent Text Reader

Abstract

The invention discloses a communication control method and system applied to the power industry, and relates to the field of communication management machines. The method specifically comprises the steps that after a transfer-out end of a communication manager receives a remote control and remote regulation command issued by a telecontrol workstation, the command is converted into a remote signaling and telemetering command and sent to an access end of the communication manager, and meanwhile first response timeout timing is started; the access end analyzes the remote signaling and telemetering command, starts second response timeout timing at the same time, and sends the remote signaling and telemetering command to a transformer corresponding to the transformer substation cluster; after the transformer executes the remote signaling and telemetering command, an execution result is sent to the access end, and meanwhile second response timeout timing is ended; the access end converts the execution result into a unified response instruction and sends the unified response instruction to the roll-out end; and the roll-out end analyzes the unified response instruction, ends the first response timeout timing, and feeds back the timeout timing to the telecontrol work station. According to the invention, the command and the command execution result are converted into a unified structure, so that remote control command issuing and communication among different protocols are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication management machines, and particularly to a communication control method and system applied to the power industry. Background Art

[0002] With the continuous progress of industrial technology, industrial protocols are increasingly widely used in devices. In the power industry, there are various types of devices, different device manufacturers, and different interface function scales, resulting in the diversity of communication protocols used. How to remotely control the power grid by issuing remote control and remote adjustment commands and improve the operation efficiency and stability of the power system is an important part of the intelligent networking in the power industry. The power industry protocols include a series of industrial protocols such as DL / T 645, Modbus, IEC61850, IEC 60870, and IEC103. The protocols run by different devices are different from each other. In order to ensure that remote control and remote adjustment commands can be issued and controlled between different protocols, it is currently necessary to design a communication control method and system applied to the power industry to realize the issuance and communication of remote control and remote commands between different protocols. Summary of the Invention

[0003] The technical problem to be solved by the present invention is how to ensure the issuance and control of remote control and remote adjustment between different protocols. The purpose is to provide a communication control method and system applied to the power industry, which realizes the issuance and communication of remote control and remote commands between different protocols by converting commands and command execution results into a unified structure, and solves the above technical problem.

[0004] The present invention is realized by the following technical solutions:

[0005] A communication control method applied to the power industry includes the following steps:

[0006] After the outgoing end of the communication management machine receives the remote control and remote adjustment command issued by the telecontrol workstation, it converts the above remote control and remote adjustment command into a teleinformation and telemetry command and sends it to the access end of the communication management machine, and at the same time starts the first response timeout timing for the response of the telecontrol workstation; the access end analyzes the above teleinformation and telemetry command, and at the same time starts the second response timeout timing for the response of the transformer, and sends the above teleinformation and telemetry command to the transformer corresponding to the substation cluster; after the transformer executes the above teleinformation and telemetry command, it sends the execution result to the above access end; the access end converts the above execution result into a unified response instruction and sends it to the above outgoing end, and at the same time ends the above second response timeout timing; the outgoing end analyzes the above unified response instruction, and at the same time ends the above first response timeout timing, and feeds back to the telecontrol workstation.

[0007] The above communication control method applied to the power industry further includes: the configuration of the communication management machine, which specifically includes the following steps:

[0008] The Web backend sends the point configuration information of the transformer to the communication management machine;

[0009] The above communication management machine analyzes the above point configuration information through the data center to obtain the point position information and point attribute information;

[0010] The access triple of the access end of the point and the transfer triple of the transfer end are represented by the above point position information;

[0011] The data center saves the corresponding relationship between the above access triple and the unique identifier, and the corresponding relationship between the above access triple and the above transfer triple;

[0012] Obtain the protocol of the access end of the above communication management machine and the protocol of the above transformer from the above data center;

[0013] The above access end selects the corresponding client using the protocol of the above transformer; each of the above clients enables a timer thread;

[0014] Obtain the protocol of the transfer end from the data center, and enable the service of the transfer end of the above communication management machine to connect to the workbench; each server uses a timer thread.

[0015] After the transfer end of the above communication management machine receives the remote control and remote adjustment commands sent by the remote control workstation, it converts the above remote control and remote adjustment commands into telemetry and telemetry commands and sends them to the access end of the above communication management machine, and at the same time starts the first response timeout timing for the response of the remote control workstation, including the following steps:

[0016] The transfer end of the above communication management machine receives the message from the remote control workstation and judges whether it is a remote control instruction or a remote adjustment instruction; if it is a remote control instruction, the message is analyzed to obtain the remote control value to be sent to the transformer, the remote control command sending time and the above unique identifier; if it is a remote adjustment instruction, the message is analyzed to obtain the remote adjustment value to be sent, the remote adjustment command sending time and the above unique identifier;

[0017] Obtain the corresponding access triple and the above point attribute information according to the above unique identifier, query the above data center according to the above access triple, and obtain the above transfer triple and the above point attribute information of the corresponding point; if an error occurs when parsing the message or obtaining the above transfer triple, indicating that the modification fails, it is notified that the above remote control command or the above remote adjustment command issued by the above remote control workstation has not been executed; after successfully parsing the message and obtaining the above transfer triple, combine the above remote control value / above remote adjustment value, the above remote control command issuance time / above remote adjustment command issuance time, the above transfer triple, and the direction flag indicating the direction from the above transfer end to the above access end into a unified request command and send it to the bus processing pool; and start the first response timeout timing for the response of the above remote control workstation; the above bus processing pool queries the above data center according to the above transfer triple and obtains the corresponding above access triple; after replacing the above transfer triple with the above access triple, generate a telemetry and telecontrol command with the above remote control value / above remote adjustment value, the above remote control command issuance time / above remote adjustment command issuance time, and the above access triple and send it to the access end of the above communication management machine.

[0018] The above combines the above remote control value / above remote adjustment value, the above remote control command issuance time / above remote adjustment command issuance time, the above transfer triple, and the direction flag indicating the direction from the above transfer end to the above access end into a message and sends it to the bus processing pool for transmission using a dedicated bus bus.

[0019] The above access end parses the above telemetry and telecontrol command, starts the second response timeout timing at the same time, and sends the above telemetry and telecontrol command to the transformer corresponding to the substation cluster, which specifically includes the following steps:

[0020] The access end of the above communication management machine starts the second response timeout timing for the response of the transformer, and parses the above telemetry and telecontrol command to obtain the above access triple of the point;

[0021] Query the above data center according to the above access triple to obtain the above unique identifier of the point;

[0022] Combine the above unique identifier and the above telemetry and telecontrol command into a remote control message / remote adjustment message and send it to the corresponding transformer.

[0023] After the above transformer executes the above telemetry and telecontrol command, send the execution result to the above access end; the above access end converts the above execution result into a unified response command and sends it to the above transfer end, and ends the above second response timeout timing at the same time, which specifically includes the following steps:

[0024] After the above transformer executes the above remote signaling and telemetry commands, it generates a remote control response message / remote adjustment response message with the execution result and sends it to the above access end; if the above remote control response message / above remote adjustment response message fails to be sent, a combined unified response instruction is sent to the transfer end. The above unified response instruction includes a triple, a transmission direction, and a modification failure flag, and at the same time, the above second response timeout timing ends;

[0025] If the above remote control response message / above remote adjustment response message is successfully sent, the above access end parses the above remote control value / above remote adjustment value in the remote control response message / above remote adjustment response message, the remote control command response time in the remote control response message / above remote adjustment command response time in the above remote adjustment response message, and the above unique identifier;

[0026] Obtain the corresponding above access triple according to the above unique identifier, and obtain the above transfer triple and the above point attribute information of the point corresponding to the above access triple according to the above data center;

[0027] Generate a unified response instruction with the above remote control value / above remote adjustment value, the above remote control command response time / above remote adjustment command response time, the above transfer triple, and a direction flag indicating the direction from the above access end to the above transfer end, and send it to the bus processing pool; the above bus processing pool queries the above data center according to the above transfer triple to obtain the corresponding above access triple; after replacing the above transfer triple with the above access triple, generate a remote signaling and telemetry command with the above remote control value / above remote adjustment value, the above remote control command issuance time / above remote adjustment command issuance time, and the above access triple, and send it to the access end of the above communication management machine;

[0028] End the above second response timeout timing for the response of the above remote terminal workstation.

[0029] The following structure is the unified communication format between the access end and the transfer end, and between the transfer end and the access end:

[0030] typedef struct neu_bus_msg{

[0031] long int direction; / / direct

[0032] int ied;

[0033] int gid;

[0034] int pid;

[0035] neu dvalue t dvalue;

[0036] }heu _bus_msg_t;

[0037] typedef struct{

[0038] neu_type_e type;

[0039] neu_value_u value;

[0040] uint8_t precision;

[0041] uint16_t quality;

[0042] uint64_t timestamp;

[0043] uint64_t flag;

[0044] } neu_dvalue_t;

[0045] During remote control and remote adjustment: When the command is sent from the outgoing end to the incoming end, the triple, direction, timestamp, and value (in dvalue) are used. When the incoming end replies to the command from the outgoing end, the triple, flag (indicating the result of command modification, 0 for success and 1 for failure), and the modified value are used. If it fails here, just modify the flag to 1. There will be no unique identifier and point attribute information, which are not transmitted on the bus. They are only calculated by the incoming or outgoing end after receiving the value.

[0046] Generate a unified response instruction from the above-mentioned remote control value / above-mentioned remote adjustment value, above-mentioned remote control command response time / above-mentioned remote adjustment command response time, above-mentioned outgoing triple, and direction flag indicating the direction from the above-mentioned incoming end to the above-mentioned outgoing end, and send it to the bus processing pool for transmission using the dedicated bus.

[0047] After the above-mentioned outgoing end parses the above-mentioned unified response instruction, ends the above-mentioned first response timeout timing, and feeds back to the telecontrol workstation, it further includes:

[0048] When the outgoing end of the above-mentioned communication management machine receives the response instruction from the above-mentioned telecontrol workstation, determine whether the above-mentioned first response timeout timing has timed out; when and only when it is determined to be no, the outgoing end of the above-mentioned communication management machine parses the above-mentioned unified response instruction to obtain the above-mentioned outgoing triple of the point;

[0049] Query the above-mentioned data center according to the above-mentioned outgoing triple of the point to obtain the above-mentioned unique identifier of the corresponding point, and combine the above-mentioned unique identifier and the above-mentioned response instruction into a response message and forward it to the above-mentioned telecontrol workstation.

[0050] The access triple of the access end and the transfer triple of the transfer end of the point represented by the above point position information are specifically as follows: The above access triple of the access end and the above transfer triple of the transfer end are both represented by the transformer number, the data acquisition number, and the point number.

[0051] A communication control system applied to the power industry is implemented based on the above-mentioned communication control method applied to the power industry.

[0052] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0053] The remote control workstation issues a remote control and remote adjustment command to the communication management. After the transfer end of the communication management machine receives the remote control and remote adjustment command, it converts the command into a telemetry and telecontrol command and sends it to the access end, and at the same time starts the timeout timing for the response of the remote control workstation. After receiving the telemetry and telecontrol command, the access end analyzes the content of the telemetry and telecontrol command, and at the same time starts the timeout timing for the response of the transformer, and sends the command to the transformer corresponding to the substation cluster. The transformer receives the instruction and makes changes, and sends the change result to the access end. After receiving the result, the access end converts it into a unified response instruction, ends the timeout timing for the response of the transformer, and sends the timeout timing for the response of the transformer to the transfer end. The transfer end analyzes the unified response instruction, ends the timeout timing for the response of the remote control workstation, and reports the result to the specific remote control workstation. By converting the command and the command execution result into a unified structure, the present invention realizes the issuance and communication of remote control and remote commands between different protocols, and ensures the problem of realizing the issuance control of remote control and remote adjustment between different protocols. Brief Description of the Drawings

[0054] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following will briefly introduce the drawings required in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings. In the drawings:

[0055] Figure 1 It is a flowchart of the communication control method applied to the power industry in the embodiment of the present application. Detailed Embodiments

[0056] To make the purpose, technical solutions and advantages of the present invention clearer and more understandable, the following will further elaborate on the present invention in combination with the embodiments and drawings. The illustrative embodiments of the present invention and their descriptions are only used to explain the present invention and are not intended to limit the present invention.

[0057] Embodiment

[0058] As Figure 1As shown in the figure, an embodiment of the present application provides a communication control method applied to the power industry, including the following steps:

[0059] After the outgoing end of the communication management machine receives the remote control and remote adjustment command sent by the telecontrol workstation, it converts the above-mentioned remote control and remote adjustment command into a telemetry and telecontrol command and sends it to the incoming end of the communication management machine, and at the same time starts the first response timeout timing for the response of the telecontrol workstation; the incoming end analyzes the above-mentioned telemetry and telecontrol command, and at the same time starts the second response timeout timing for the response of the transformer, and sends the above-mentioned telemetry and telecontrol command to the transformer corresponding to the substation cluster; after the transformer executes the above-mentioned telemetry and telecontrol command, it sends the execution result to the above-mentioned incoming end; the incoming end converts the above-mentioned execution result into a unified response instruction and sends it to the above-mentioned outgoing end, and at the same time ends the above-mentioned second response timeout timing; the outgoing end analyzes the above-mentioned unified response instruction, and at the same time ends the above-mentioned first response timeout timing, and feeds back to the telecontrol workstation.

[0060] The above-mentioned communication control method applied to the power industry further includes: the configuration of the communication management machine, specifically including the following steps:

[0061] The Web backend sends the point configuration information of the transformer to the communication management machine;

[0062] The above-mentioned communication management machine analyzes the above-mentioned point configuration information through the data center to obtain the point position information and point attribute information;

[0063] The access triple of the incoming end of the point and the outgoing triple of the outgoing end are represented by the above-mentioned point position information;

[0064] The data center stores the correspondence between the above-mentioned access triple and the unique identifier, and the correspondence between the above-mentioned access triple and the above-mentioned outgoing triple;

[0065] Obtain the protocol of the incoming end of the communication management machine and the protocol of the transformer from the above-mentioned data center;

[0066] The above-mentioned incoming end selects the corresponding client using the protocol of the transformer; each of the above-mentioned clients enables a timer thread;

[0067] Obtain the protocol of the outgoing end from the data center, and enable the service of the outgoing end of the communication management machine to connect to the workbench; each server uses a timer thread.

[0068] After the outgoing end of the communication management machine receives the remote control and remote adjustment command sent by the telecontrol workstation, it converts the above-mentioned remote control and remote adjustment command into a telemetry and telecontrol command and sends it to the incoming end of the communication management machine, and at the same time starts the first response timeout timing for the response of the telecontrol workstation, including the following steps:

[0069] The output end of the above communication management machine receives the messages from the remote control workstation and determines whether they are remote control instructions or remote adjustment instructions. If they are remote control instructions, the remote control value to be sent to the transformer, the remote control command sending time, and the above unique identifier are obtained by parsing the message. If they are remote adjustment instructions, the remote adjustment value to be sent, the remote adjustment command sending time, and the above unique identifier are obtained by parsing the message.

[0070] The corresponding above access triple and the above point attribute information are obtained according to the above unique identifier. The data center is queried according to the above access triple to obtain the above output triple and the above point attribute information of the corresponding point. If an error occurs when parsing the message or obtaining the above output triple, indicating that the modification fails, it is notified that the above remote control instruction or the above remote adjustment command sent by the above remote control workstation has not been executed. After successfully parsing the message and obtaining the above output triple, the above remote control value / above remote adjustment value, the above remote control command sending time / above remote adjustment command sending time, the above output triple, and the direction flag indicating the direction from the above output end to the above access end are combined into a unified request instruction and sent to the bus processing pool. And start the first response timeout timing for the response of the above remote control workstation. The bus processing pool queries the data center according to the above output triple to obtain the corresponding above access triple. After replacing the above output triple with the above access triple, the above remote control value / above remote adjustment value, the above remote control command sending time / above remote adjustment command sending time, and the above access triple are used to generate a telecontrol and telemetry command and send it to the access end of the above communication management machine.

[0071] The output end first parses. After successful parsing, it is combined into a unified structure of a unified request instruction and sent to the bus processing pool, and then the first timing is started. If the modification fails, it is directly returned to the remote control workstation. The structures sent from the output end to the access end and from the access end to the output end are the same, and are composed of four major parts: triple, remote control / remote adjustment value, sending time, and direction flag. The unique identifier is used to query the triple and will not be transmitted between the access end and the output end, and between the output end and the access end. The point attribute information is used to convert the received value and will not be transmitted either.

[0072] Among them, the direction flag indicating the direction from the above output end to the above access end is "NORTH_TO_SOURCE". According to the triple, point attributes, and the remote control and remote adjustment information parsed from the message, the message is combined and sent to a dedicated bus. The execution of the remote control and remote adjustment commands requires speed, so there is a dedicated bus for communication between the access end and the output end, which does not use the same bus as the sudden change of the telecontrol and telemetry points.

[0073] The above-mentioned remote control value / above-mentioned remote adjustment value, the above-mentioned remote control command sending time / above-mentioned remote adjustment command sending time, the above-mentioned outgoing triple, and the direction flag indicating the direction from the above-mentioned outgoing end to the above-mentioned access end are combined into a message and sent to the bus processing pool, and transmitted using a dedicated bus bus.

[0074] The bus bus receives the sent bus message. Knowing from the direction flag that the message is sent from the outgoing end to the access end, according to the outgoing end triple in the bus message, query the data center of the outgoing end to obtain the access end triple, replace the outgoing triple with the access end triple, and send the replaced bus message to the corresponding bus processing pool (forwarding process).

[0075] Regardless of the telemetry and telecontrol commands such as sudden changes in telemetry and telecontrol sent by the access end, the remote control and remote adjustment commands replied by the substation, or the remote control and remote adjustment commands sent by the outgoing end, after the bus bus receives the message, it will convert it into the triple information of the receiving party in the bus according to the direction flag in the bus message. For example, if the direction is the remote control and remote adjustment sent from the outgoing end to the access end, the triple in the bus is the outgoing end. Replace the outgoing triple of the outgoing end with the access triple of the queried access end and send it to the corresponding processing thread in the bus processing pool. The threads in the bus processing pool include three types. The first type is the thread for processing the telemetry and telecontrol commands from the outgoing end to the access end. The second type is the thread for processing the remote control and remote adjustment commands from the outgoing end to the access end. The third type is the thread for processing the remote control response message / remote adjustment response message sent by the substation to the access end after changing the remote control value / remote adjustment value, and the access end sends the message to the outgoing end. It is equivalent to that multiple access ends and outgoing ends of the communication management machine (one protocol for one thread) all send three unified messages to the bus. After the bus receives the message, it modifies the triple, modifies it to the access end triple when going to the access end, and modifies it to the outgoing end triple when going to the outgoing end, and then sends the message to three outgoing threads, and the outgoing threads then send it to the corresponding protocol.

[0076] The above-mentioned access end parses the above-mentioned telemetry and telecontrol commands, simultaneously starts the second response timeout timing, and sends the above-mentioned telemetry and telecontrol commands to the corresponding transformer of the substation cluster, specifically including the following steps:

[0077] The access end of the above-mentioned communication management machine starts the second response timeout timing for the transformer response, and parses the above-mentioned telemetry and telecontrol commands to obtain the above-mentioned access triple of the point;

[0078] Query the above-mentioned data center according to the above-mentioned access triple to obtain the above-mentioned unique identifier of the point;

[0079] Combine the above-mentioned unique identifier and the above-mentioned telemetry and telecontrol commands into a remote control message / remote adjustment message and send it to the corresponding transformer.

[0080] After the transformer executes the above remote signaling and telemetry commands, it sends the execution result to the above access end; the above access end converts the above execution result into a unified response instruction and sends it to the above transfer end, and at the same time ends the above second response timeout timing, which specifically includes the following steps:

[0081] After the transformer executes the above remote signaling and telemetry commands, it generates a remote control response message / remote adjustment response message with the execution result and sends it to the above access end; if the above remote control response message / above remote adjustment response message fails to be sent, it sends the above remote signaling and telemetry commands to the above remote terminal unit, and at the same time ends the above second response timeout timing;

[0082] If the above remote control response message / above remote adjustment response message is successfully sent, the above access end parses the above remote control value / above remote adjustment value, the remote control command response time of the above remote control response message / above remote adjustment command response time of the above remote adjustment response message, and the above unique identifier from the remote control response message / above remote adjustment response message;

[0083] Obtain the corresponding above access triple according to the above unique identifier, and obtain the above transfer triple and the above point attribute information of the point corresponding to the above access triple according to the above data center;

[0084] Generate a unified response instruction with the above remote control value / above remote adjustment value, the above remote control command response time / above remote adjustment command response time, the above transfer triple, and a direction flag indicating the direction from the above access end to the above transfer end, and send it to the bus processing pool; the bus processing pool queries the above data center according to the above transfer triple to obtain the corresponding above access triple; after replacing the above transfer triple with the above access triple, generate a remote signaling and telemetry command with the above remote control value / above remote adjustment value, the above remote control command sending time / above remote adjustment command sending time, and the above access triple, and send it to the access end of the above communication management machine;

[0085] End the above second response timeout timing for the response of the above remote terminal unit.

[0086] Among them, if the unique identifier of the point is obtained by querying the data center according to the access triple, or the substation is out of contact, etc., resulting in the failure to send the remote control message / remote adjustment message to the substation transformer, a unified response instruction for the failed remote signaling and telemetry command is directly constructed and sent to the bus, and at the same time the second response timeout timing of the second response timeout timer is ended.

[0087] The output end needs to start the first response timeout timer for the remote control workstation response after combining and sending out the unified message. When the combined message fails due to various reasons (such as failure to query the data center), it directly returns a failure, so as to end the first response timeout timer of the timer after the output end receives the response message. At the access end, once the sent message is received, the second response timeout timer is started to avoid direct exit due to other reasons (such as failure to query the access data center), and the information cannot be returned to the output end in time, resulting in timeout and exit. After starting the second response timeout timer, even if a query or the like fails, a failure message can be directly returned to the output end. After receiving the execution result of the substation transformer and parsing it into a remote control response message / remote adjustment response message and sending it to the bus, the second response timeout timer ends.

[0088] Among them, the direction mark indicating the direction from the access end to the output end is "_SOURCE_TO_NORTH_SYNC". According to the triple, point attributes, remote control and remote adjustment information parsed from the message, and the direction combined message, it is sent to a dedicated bus.

[0089] The above-mentioned remote control value / above-mentioned remote adjustment value, above-mentioned remote control command response time / above-mentioned remote adjustment command response time, above-mentioned output triple, and the direction mark used to represent the direction from the above-mentioned access end to the above-mentioned output end are used to generate a unified response instruction and send it to the bus processing pool, and a dedicated bus is used for transmission.

[0090] After the above-mentioned output end parses the above-mentioned unified response instruction, ends the above-mentioned first response timeout timer, and feeds back to the remote control workstation, it further includes:

[0091] When the output end of the communication management machine receives the response instruction from the remote control workstation, it judges whether the first response timeout timer times out; when and only when it is judged to be no, the output end of the communication management machine parses the above-mentioned unified response instruction to obtain the above-mentioned output triple of the point position.

[0092] Query the above-mentioned data center according to the above-mentioned output triple of the point position to obtain the above-mentioned unique identifier of the corresponding point position, and combine the above-mentioned unique identifier and the above-mentioned response instruction into a response message and forward it to the above-mentioned remote control workstation.

[0093] The above-mentioned access triple of the access end of the point position represented by the above-mentioned point position information and the output triple of the output end are specifically: the above-mentioned access triple of the access end and the above-mentioned output triple of the output end are both represented by the transformer number, data acquisition number, and point number.

[0094] During application, the point configuration is issued on the web front end. Mainly, the customer operates to issue the points and point information required for the substation. The points and related information are sent from the front end to the back end and finally sent to the communication management machine. The specific process is as follows:

[0095] Step1: Configure points. According to the type and quantity of substations received by the access end, and the information content recorded for each transformer, configure the position information such as the type of protocol specification, data type, and point type accordingly.

[0096] Step2: Configure point information. According to the specific requirements of the customer, configure point attribute information such as conversion base, conversion coefficient, and calculation expression for calculating the point value based on the base and coefficient.

[0097] Step3: Configure the corresponding relationship. Correlate the access end points with the transfer end points. One point can have at most one corresponding relationship.

[0098] Step4: Issue the configuration. Send the point position information, point attribute information, and corresponding relationship to the communication management machine.

[0099] After the communication management machine runs, the data center automatically parses the issued configuration information. The processing process is as follows:

[0100] Step1: Read the configuration. The data center reads the issued configuration information.

[0101] Step2: Parse the point position information, so as to allocate a triple representing the point position to the issued points. The access end triple is {ied, gid, pid}, and the transfer end triple is {tied, tgid, tpid}.

[0102] Step3: Parse the point information. According to the issued configuration, obtain the point attribute information such as point base, point coefficient, and inversion enable function.

[0103] Step4: Construct the access hash table. According to the access triple {ied, gid, pid} initialized in Module 2.2.2, calculate the key of the hash table. The specific calculation method is as follows: Combine ied, gid, and pid into a string A (ied - gid - pid). Perform a loop calculation on the characters a[i] in the string A, hash = hash * seed + a[i], and select different values of seed according to different scales; finally, obtain the value of hash. According to the size of the hash table size, calculate key = hash % size for hash. Construct the access hash table according to the key. The transfer end triple {tied, tgid, tpid} and the transferred point attribute information are the values of the access hash table;

[0104] Step 5: Construct the outgoing hash table. The key is determined by the outgoing triple {tied, tgid, tpid}, and the calculation method is the same as that in the previous Step 4. The value is the access point location attribute information.

[0105] After the data center is initialized, initialize the protocol-related information to prepare for subsequent communication. The processing process is as follows:

[0106] Step 1: Parse the configuration. Obtain the enabled protocols of the access side from the data center, query the connection information of the transformer equipment communicating with the access side, and generate a client to connect to the transformer equipment. Note: There may be multiple enabled protocols, such as Modbus, IEC 104, etc. The number and types of clients correspond to the types and numbers of the operating protocols of the transformers to be connected as needed.

[0107] Step 2: Enable the timer. Enable a timer thread for each access-side client to prepare for the subsequent issuance of telecontrol and teleadjustment commands.

[0108] Step 3: Parse the configuration. Obtain the enabled protocols of the outgoing side from the data center, the port numbers used by the protocols, and the private configuration information, and enable the corresponding services to wait for the workbench to send connection requests. Note: There are multiple enabled protocols, such as Modbus, IEC 104, etc.

[0109] Step 4: Enable the timer. Enable a timer thread for each service on the outgoing side to prepare for the subsequent workbench to issue telecontrol and teleadjustment.

[0110] The instruction issuance is divided into two processes: outgoing and access. The process on the outgoing side is as follows:

[0111] Step 1: Receive the instruction. Receive the request sent by the remote control workstation on the outgoing side of the communication management machine, and determine whether it is a telecontrol instruction or a teleadjustment instruction. If not, it is processed by other interfaces. If so, it proceeds to the next Step 2.

[0112] Among them, when it is a telecontrol instruction, the message of the remote control workstation is sent to the transformer, and the telecontrol value is the opening and closing state of the transformer. When it is a teleadjustment instruction, the teleadjustment value refers to various parameters of electrical equipment in power plants and substations within the remote adjustment range of the power system dispatching center, such as on-load tap-changer of the transformer, etc.

[0113] Step 2: Start timing. Start the timeout timing T1 for the response instruction of the remote control workstation. Here, it is set to 10s. The time is relatively long here to be able to process the messages sent in the future, so that the response messages are not blocked in the message queue.

[0114] Step 3: Parse the identifier. Each protocol uses a different method to represent the point position. For example, IEC 61850 uses logical nodes (level 1), logical devices, data sets, reports, and logical attributes to represent; IEC 60870 is represented by site address (ASDU), application control information (ACPI), and information object (IOA). Parse the unique identifier of the point position, the point value, the point type, the point timestamp, the point quality, and other information according to the message information.

[0115] Step 4: Query. Query the data center according to the different unique identifiers, and parse out the point position information corresponding to the unique identifier, such as the outgoing triple {tied, tgid, tpid} of the point position, the current value of the point position, the point type, and other information.

[0116] Step 5: Combine the instruction into the telecontrol and telemetry command A. According to the outgoing triple parsed in the previous Step 3, the point type, and the point type and point value parsed in the previous Step 2, etc., and there is also a direction identifier DIR. At this time, the direction identifier is OUT_TO_IN_REQ, and combine it into instruction A and send it through the bus.

[0117] Step 6: Obtain the message. Loop to obtain the message in the message queue. The message identification code is IN_TO_OUT_RES. If it times out and the unified response instruction B is not received, a timeout message is replied to the remote terminal unit according to the running protocol, otherwise the unified response instruction B is received.

[0118] Step 7: Parse the unified response instruction B. Parse the unified response instruction B, including the triple, the identification code, the FLAG flag. There is information such as whether the response is successful and the common unsuccessful reason in the FLAG.

[0119] Step 8: Combine the message. Since the unsuccessful reason codes returned by different protocols are different from each other, the common unsuccessful reason needs to be converted into the result identifier specific to this protocol at the outgoing end. Query the data center according to the incoming triple in the previous Step 7 to obtain the unique identifier, and combine the response message according to the identifier and the response instruction B and forward it to the remote terminal unit.

[0120] The process at the incoming end is as follows:

[0121] Step 1: Parse instruction A. The incoming end receives the telecontrol and teleadjustment instruction A sent from the bus, and parses the point position attributes such as the triple and the value.

[0122] Step 2: Start the timeout timing for the transformer response, set the timeout event T2, which is 4s here.

[0123] Step 3: Query, query the data center based on the parsed transfer-end triplet information, and obtain the data center information corresponding to the point, including the access triplet, unique identifier, etc.

[0124] Step 4: Send information. According to the remote control and remote regulation point attribute information of the previous Step 1 and the unique identifier of the previous Step 3, a remote control and remote regulation message of the protocol is combined and sent to the transformer equipment of the substation.

[0125] Step 5: Receive the message, add the event descriptor of the message sent in the previous Step 4, check whether the device response message is received within T2, if not, forward the combined timeout response instruction B to the remote control workstation, the response instruction contains FLAG, where the timeout is marked as 0xff, the direction mark DIR is IN_TO_OUT_RES, and delete the time descriptor in Step 4. If the response packet is received, continue to Step 6.

[0126] Step 6: Parse the message, parse the response message, obtain the unique identifier in the message, the modified value, modify the result, and find the data center according to the unique identifier to obtain the access triplet.

[0127] Step 7: Combine instruction B, modify the result according to the access triplet obtained, and combine the modified value into timeout response instruction B, where the FLAG timeout timeout identifier is 0, convert the parsed protocol identifier into a public result identifier, and the direction identifier DIR is IN_TO_OUT_RES. Send the timeout response instruction B to the output end through the bus.

[0128] Aiming at the problem that different power protocols in the power industry are not interoperable in remote control and remote adjustment, the present invention proposes a method for converting remote control and remote adjustment of various power protocols into a unified information type so as to achieve flexible issuance of instructions and response instructions. By converting into a unified information type, various power protocols can flexibly issue instructions and response instructions, interoperate, and have strong flexibility. New power protocols can be directly added. As long as the remote control and remote adjustment commands are converted into universal ones, they can be used in the current system, which has strong scalability.

[0129] The embodiment of the present application realizes a method for mutual communication between different power protocol specifications. By establishing a data center, establishing position triplet information and point information for points of different protocols, and establishing a triplet correspondence between access points and transfer points, it is a prerequisite for different protocols to issue remote control and remote adjustment commands to each other. By establishing a timer at the access end and the transfer end and converting the remote control and remote adjustment instructions and response instructions into a unified information type, the command protocol is made independent. In addition to being used in the field of the power industry where different protocols issue remote control and remote adjustment commands to each other for monitoring and control, it can also be used in other fields where various different protocols issue control commands to each other for monitoring.

[0130] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A communication control method applied to the electric power industry, characterized in that: The steps include: After receiving the remote control and remote adjustment command issued by the telecontrol workstation, the output end of the communication management machine converts the remote control and remote adjustment command into a telesignaling and telemetering command and sends it to the access end of the communication management machine, and starts the first response timeout timing of the telecontrol workstation response; the access end parses the telesignaling and telemetering command, starts the second response timeout timing of the transformer response, and sends the telesignaling and telemetering command to the transformer corresponding to the substation cluster; After executing the remote signaling and telemetry command, the transformer sends the execution result to the access terminal; The access end converts the execution result into a unified response instruction and sends it to the transfer end, and ends the second response timeout timing; the transfer end parses the unified response instruction, ends the first response timeout timing, and feeds back to the remote control workstation.

2. A communication control method applied to the electric power industry according to claim 1, characterized in that: Also includes: The configuration of the communication management machine specifically includes the following steps: The Web backend sends the transformer point configuration information to the communication management machine; The communication management machine parses the point configuration information through the data center to obtain point location information and point attribute information; The access triplet of the access end of the point and the output triplet of the output end are represented by the point location information; The corresponding relationship between the access triplet and the unique identifier, and the corresponding relationship between the access triplet and the outgoing triplet are stored in the data center; Obtaining the protocol of the access terminal of the communication management machine and the protocol of the transformer from the data center; The access end selects a corresponding client using the protocol of the transformer; each of the clients enables a timer thread; The protocol of the outgoing end is obtained from the data center, and the service of the outgoing end of the communication management machine is enabled to connect with the workbench; each server uses a timer thread.

3. A communication control method applied to the electric power industry according to claim 2, characterized in that: After receiving the remote control and remote adjustment command issued by the telecontrol workstation, the output end of the communication management machine converts the remote control and remote adjustment command into a remote signaling and telemetry command and sends it to the access end of the communication management machine, and at the same time starts the first response timeout timing of the telecontrol workstation response, including the following steps: The output end of the communication management machine receives the message from the telecontrol workstation and determines whether it is a remote control command or a remote adjustment command; if it is a remote control command, the message is parsed to obtain the remote control value to be issued to the transformer, the time when the remote control command is issued, and the unique identifier; if it is a remote adjustment command, the message is parsed to obtain the remote adjustment value to be issued, the time when the remote adjustment command is issued, and the unique identifier; Acquire the corresponding access triplet and the point attribute information according to the unique identifier, query the data center according to the access triplet, and obtain the transfer triplet and the point attribute information of the corresponding point; If an error occurs when parsing the message or obtaining the transfer-out triplet, indicating that the modification has failed, the remote control instruction or the remote adjustment command issued by the remote control workstation is not executed; after successfully parsing the message and obtaining the transfer-out triplet, the remote control value / the remote adjustment value, the time when the remote control command is issued / the time when the remote adjustment command is issued, the transfer-out triplet, and the direction mark used to indicate the direction in which the transfer-out end sends to the access end are combined into a unified request instruction and sent to the bus processing pool; and the first response timeout timing of the response of the remote control workstation is started; The bus processing pool queries the data center according to the outgoing triplet to obtain the corresponding incoming triplet; After replacing the transfer triplet with the access triplet, the remote control value / the remote adjustment value, the remote control command sending time / the remote adjustment command sending time and the access triplet are used to generate a remote signaling and telemetry command and sent to the access end of the communication management machine.

4. A communication control method applied to the electric power industry according to claim 3, characterized in that: The remote control value / remote adjustment value, the remote control command sending time / remote adjustment command sending time, the transfer-out triplet, and the direction mark used to indicate the direction in which the transfer-out end sends to the access end are combined into a message and sent to a bus processing pool, and a dedicated bus is used for transmission.

5. A communication control method applied to the electric power industry according to claim 4, characterized in that: The access end parses the telesignaling and telemetry command, starts a second response timeout, and sends the telesignaling and telemetry command to the transformer corresponding to the substation cluster, specifically including the following steps: The access end of the communication management machine starts the second response timeout timing of the transformer response, and parses the remote signaling and telemetry command to obtain the access triplet of the point; Query the data center according to the access triplet to obtain the unique identifier of the point; The unique identifier and the telesignaling and telemetering command are combined into a remote control message / remote adjustment message and sent to the corresponding transformer.

6. A communication control method applied to the electric power industry according to claim 5, characterized in that: After the transformer executes the telesignaling and telemetering command, the execution result is sent to the access end; the access end converts the execution result into a unified response instruction and sends it to the output end, and ends the second response timeout timing at the same time, which specifically includes the following steps: After the transformer executes the telesignaling and telemetering command, the transformer generates a remote control response message / remote adjustment response message based on the execution result and sends it to the access end; if the remote control response message / remote adjustment response message fails to be sent, a combined unified response instruction is sent to the output end, and the unified response instruction includes a triplet, a transmission direction, and a modification failure flag, and the second response timeout timing is ended at the same time; If the remote control response message / the remote adjustment response message is sent successfully, the access terminal parses the remote control response message / the remote control value / the remote adjustment value of the remote adjustment response message, the remote control command response time of the remote control response message / the remote adjustment command response time of the remote adjustment response message, and the unique identifier; Acquire the corresponding access triplet according to the unique identifier, and obtain the transfer triplet and the point attribute information of the point corresponding to the access triplet according to the data center; Generate a unified response instruction by using the remote control value / remote adjustment value, the remote control command response time / remote adjustment command response time, the transfer-out triplet, and a direction mark indicating the direction in which the access end sends to the transfer-out end and send it to the bus processing pool; The bus processing pool queries the data center according to the outgoing triplet to obtain the corresponding incoming triplet; After replacing the transfer-out triplet with the access triplet, the remote control value / the remote adjustment value, the remote control command issuance time / the remote adjustment command issuance time and the access triplet are used to generate a remote signaling and telemetry command and send it to the access end of the communication management machine; End the second response timeout timing of the remote control workstation response.

7. A communication control method applied to the electric power industry according to claim 6, characterized in that: The remote control value / remote adjustment value, the remote control command response time / the remote adjustment command response time, the transfer-out triplet, and the direction mark used to indicate the direction sent by the access end to the transfer-out end generate a unified response instruction and send it to the bus processing pool, and use a dedicated bus for transmission.

8. A communication control method applied to the electric power industry according to claim 7, characterized in that: After the output terminal parses the unified response instruction, ends the first response timeout timing, and feeds back to the telecontrol workstation, the method further includes: When the transfer-out end of the communication management machine receives the response instruction from the remote control workstation, it determines whether the first response timeout timing has timed out; if and only if it is determined to be no, the transfer-out end of the communication management machine parses the unified response instruction to obtain the transfer-out triplet of the point; The data center is queried according to the transfer triplet of the point to obtain the unique identifier of the corresponding point, and the unique identifier and the response instruction are combined into a response message and forwarded to the remote control workstation.

9. A communication control method applied to the electric power industry according to claim 2, characterized in that: The access triplet of the access end of the point and the output triplet of the output end are represented by the point location information, specifically: the access triplet of the access end and the output triplet of the output end are both represented by the transformer number, data collection number and point number.

10. A communication control system applied to the electric power industry, characterized in that: A communication control method applied to the electric power industry is implemented based on any one of claims 1 to 9.

Citation Information

Patent Citations

  • Automatic diagnosis method for remote control / remote transferring instruction transmission fault of industrial control system

    CN104750092A

  • Virtual master station system for power telecontrol engine debugging

    CN108923953A

  • Multi-inverter management control information transmission method and system

    CN111224464A

  • Remote control and remote regulation method, device and system

    CN113573171A

  • Automatic voltage control method for power system

    CN113629788A