A communication control method and system applied to the electric power industry

By using a communication management unit in the power industry to convert remote control and telemetry commands into remote signaling and telemetry commands, and establishing a unified triplet structure between the access end and the sending end, the problem of remote control and telemetry commands being unable to be issued between different protocols is solved, thereby improving the system's operating efficiency and stability.

CN120075315BActive Publication Date: 2025-10-24北京网藤科技有限公司
View PDF 3 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the power industry, different devices use inconsistent communication protocols, which makes it impossible to effectively issue remote control commands and communicate, affecting system operating efficiency and stability.

Method used

The communication management unit converts remote control and telemetry commands into remote signaling and telemetry commands, and establishes a unified triplet structure between the access end and the sending end to realize command conversion and communication between different protocols.

Benefits of technology

It enables the issuance and communication of remote control and adjustment commands between different protocols, thereby improving the operating efficiency and stability of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075315B_ABST
    Figure CN120075315B_ABST
Patent Text Reader

Abstract

The application discloses a communication control method and system applied to the electric power industry and relates to the field of communication management machines. Specifically disclosed is that after a remote control and remote adjustment command issued by a remote workstation is received by a transfer-out end of a communication management machine, the command is converted into a remote signaling and remote measurement command and is sent to an access end of the communication management machine, and simultaneously, a first response timeout timing is started; the access end analyzes the remote signaling and remote measurement command and simultaneously starts a second response timeout timing, and sends the remote signaling and remote measurement command to a transformer corresponding to a transformer substation cluster; after the transformer executes the remote signaling and remote measurement command, the execution result is sent to the access end, and simultaneously, the 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 transfer-out end; the transfer-out end analyzes the unified response instruction, simultaneously ends the first response timeout timing, and feeds back to the remote workstation. The application converts the command and the command execution result into a unified structure, and realizes remote control and remote command issuing and communication among different protocols.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of communication management machines, in particular to a communication control method and system applied to the power industry. BACKGROUND

[0002] With the continuous progress of industrial technology, industrial protocols are increasingly widely used in devices. In the field of power industry, there are many types of devices, various device manufacturers, and different interface function scales, resulting in the diversity of communication protocols used. How to remotely control the remote control and remote adjustment commands issued by the power grid to improve the operation efficiency and stability of the power system is an important link in the intelligent network of the power industry. The power industry protocol includes a series of industrial protocols such as DL / T 645, Modbus, IEC61850, IEC 60870, and IEC103. The protocols operated by different devices are different from each other. In order to ensure that the remote control and remote adjustment commands can be issued and controlled between different protocols, a communication control method and system applied to the power industry is needed to be designed to realize the remote control and remote adjustment command issuing and communication between different protocols. SUMMARY

[0003] The technical problem to be solved by the present application is how to ensure that the remote control and remote adjustment commands can be issued and controlled between different protocols. The purpose is to provide a communication control method and system applied to the power industry, which converts commands and command execution results into a unified structure to realize remote control and remote adjustment command issuing and communication between different protocols, thereby solving the above technical problems.

[0004] The present application is implemented by the following technical scheme:

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

[0006] After the outgoing end of the communication management machine receives the remote control and remote adjustment command issued by the remote workstation, the remote control and remote adjustment command is converted into a remote signal and remote measurement command and sent to the access end of the communication management machine, and a first response timeout timer for the response of the remote workstation is started; the access end analyzes the remote signal and remote measurement command, starts a second response timeout timer for the response of the transformer, and sends the remote signal and remote measurement command to the transformer corresponding to the transformer station cluster; after the transformer executes the remote signal and remote measurement 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 outgoing end, and ends the second response timeout timer; the outgoing end analyzes the unified response instruction, ends the first response timeout timer, and feeds back to the remote workstation.

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

[0008] The web backend issues point position configuration information of the transformer to the communication management machine;

[0009] The communication management machine obtains point position information and point attribute information from the data center by analyzing the point position configuration information;

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

[0011] The data center stores the correspondence between the access triple and the unique identifier, and the correspondence between the access triple and the transfer-out triple;

[0012] The protocol of the access end of the communication management machine and the protocol of the transformer are obtained from the data center;

[0013] The access end selects the corresponding client by using the protocol of the transformer; each client starts a timer thread;

[0014] The protocol of the transfer-out end is obtained from the data center, the service and the workbench of the transfer-out end of the communication management machine are connected, and each server uses a timer thread.

[0015] After the transfer-out end of the communication management machine receives the remote control and remote adjustment command issued by the remote work station, the remote control and remote adjustment command is converted into a remote signaling and remote measurement command and sent to the access end of the communication management machine, and a first response timeout timer for the response of the remote work station is started, including the following steps:

[0016] The transfer-out end of the communication management machine receives the message of the remote work station 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, the remote control command issue time and the unique identifier to be issued to the transformer; if it is a remote adjustment instruction, the message is analyzed to obtain the remote adjustment value, the remote adjustment command issue time and the unique identifier to be issued;

[0017] According to the unique identifier, the corresponding access triple and the point attribute information are obtained, the data center is queried according to the access triple, and the corresponding point out triple and the point attribute information are obtained; if an error occurs when the message is parsed or the out triple is obtained, indicating that the modification fails, the remote control instruction or the remote adjustment command issued by the remote workstation is notified to be not executed; after the message is successfully parsed and the out triple is obtained, the remote control value / remote adjustment value, the remote control command issue time / remote adjustment command issue time, the out triple, and a direction marker for indicating the direction of the out terminal to the access terminal are combined into a unified request instruction and sent to the bus processing pool; and the first response timeout of the remote workstation is started; the bus processing pool queries the data center according to the out triple, and obtains the corresponding access triple; after the out triple is replaced by the access triple, the remote control value / remote adjustment value, the remote control command issue time / remote adjustment command issue time, and the access triple are sent to the access terminal of the communication management machine to generate a remote signal and remote measurement command.

[0018] The remote control value / remote adjustment value, the remote control command issue time / remote adjustment command issue time, the out triple, and the direction marker for indicating the direction of the out terminal to the access terminal are combined into a message and sent to the bus processing pool, which is transmitted using a dedicated bus.

[0019] The access terminal parses the remote signal and remote measurement command, starts a second response timeout, and sends the remote signal and remote measurement command to the transformer corresponding to the transformer substation cluster, specifically including the following steps:

[0020] The access terminal of the communication management machine starts the second response timeout of the transformer response, and parses the remote signal and remote measurement command to obtain the access triple of the point;

[0021] The data center is queried according to the access triple to obtain the unique identifier of the point;

[0022] The unique identifier and the remote signal and remote measurement command are combined into a remote control message / remote adjustment message and sent to the corresponding transformer.

[0023] After the transformer executes the remote signal and remote measurement command, the execution result is sent to the access terminal; the access terminal converts the execution result into a unified response instruction and sends it to the out terminal, and at the same time ends the second response timeout, specifically including the following steps:

[0024] The transformer executes the remote signaling and telemetry command, generates a remote control response message / remote adjustment response message, and sends it to the access end; if the remote control response message / remote adjustment response message fails to be sent, a unified response instruction is sent to the outgoing end, the unified response instruction includes a triple, a transmission direction, and a modification failure flag, and the second response timeout timer is ended;

[0025] If the remote control response message / remote adjustment response message is successfully sent, the access end parses the remote control value / remote adjustment value of the remote control response message / 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;

[0026] According to the unique identifier, the corresponding access triple is obtained, and according to the data center, the outgoing triple corresponding to the access triple and the point attribute information of the point are obtained;

[0027] The remote control value / remote adjustment value, the remote control command response time / remote adjustment command response time, the outgoing triple, and the direction mark for indicating the direction of the access end sent to the outgoing end are generated to generate a unified response instruction and sent to the bus processing pool; the bus processing pool queries the data center according to the outgoing triple, and obtains the corresponding access triple; after replacing the outgoing triple with the access triple, the remote control value / remote adjustment value, the remote control command response time / remote adjustment command response time, and the access triple are generated to generate a remote signaling and telemetry command and sent to the access end of the communication management machine;

[0028] The second response timeout timer of the remote workstation response is ended.

[0029] The following structure is the unified communication format of the access end-outgoing end and the outgoing end-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] When remote control and remote adjustment, the exit end--access end uses triad, direction, timestamp, value (dvalue) to issue command. The access end--exit end uses triad, flag (0 is successful, 1 is failed) to respond to the command. If it fails, the flag is modified to 1, and there is no unique identifier and point attribute information in it. These are not transmitted in the bus, but the access or exit receives the value and calculates it by itself.

[0046] The above remote control value / remote adjustment value, remote control command response time / remote adjustment command response time, exit triad, and direction marker for indicating the direction of the access end sent to the exit end are generated into a unified response instruction, which is sent to the bus processing pool and transmitted using a dedicated bus.

[0047] The exit end analyzes the unified response instruction, simultaneously ends the first response timeout counting, and feeds back to the remote workstation, which further includes:

[0048] When the exit end of the communication management machine receives the response instruction of the remote workstation, it is determined whether the first response timeout counting is timed out. Only when the determination is negative, the exit end of the communication management machine analyzes the unified response instruction to obtain the exit triad of the point.

[0049] According to the exit triad of the point, the data center is queried to obtain the unique identifier of the corresponding point, and the unique identifier and the response instruction are combined into a response packet and forwarded to the remote workstation.

[0050] The access triplet of the access end and the transfer-out triplet of the transfer-out end for representing the access end of the point by the point position information are specifically: the access triplet of the access end and the transfer-out triplet of the transfer-out end are represented by the transformer number, the data acquisition number and the point number.

[0051] A communication control system applied to the electric power industry is realized based on the communication control method applied to the electric power industry.

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

[0053] The remote control and remote adjustment command is issued by the remote station to the communication management, and the communication management machine receives the remote control and remote adjustment command, converts the command into a remote signaling and remote measurement command, and sends the command to the access end, and starts the timeout timer for the response of the remote station. The access end receives the remote signaling and remote measurement command, analyzes the content of the remote signaling and remote measurement command, starts the timeout timer for the response of the transformer, issues the command to the transformer corresponding to the transformer station cluster, the transformer receives the instruction and makes changes, sends the change result to the access end, the access end converts the result into a unified response instruction after receiving the result, ends the timeout timer for the response of the transformer, and sends the timeout timer for the response of the transformer to the transfer-out end. The transfer-out end analyzes the unified response instruction, ends the timeout timer for the response of the remote station, and reports the result to the specific remote station. The application converts the command and the command execution result into a unified structure, realizes the issuance and communication of the remote control and remote adjustment command between different protocols, and solves the problem of realizing the issuance control of the remote control and remote adjustment between different protocols. BRIEF DESCRIPTION OF DRAWINGS

[0054] In order to more clearly illustrate the technical scheme of the exemplary embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiments, and it should be understood that the following drawings only show some embodiments of the application, and therefore should not be regarded as a limitation on the scope, and for those skilled in the art, other related drawings can also be obtained without creative labor. In the drawings:

[0055] Figure 1 The flowchart of the communication control method applied to the electric power industry by the embodiments of the application. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical scheme and advantages of the application more clear and obvious, the following will further describe the application in combination with the embodiments and drawings, and the exemplary embodiments of the application and the description thereof are only used to explain the application, and should not be regarded as a limitation on the application.

[0057] EMBODIMENT

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

[0059] The outgoing end of the communication management machine receives the remote control and remote adjustment command issued by the remote workstation, converts the remote control and remote adjustment command into a remote signaling and remote measurement command, and sends it to the access end of the communication management machine, while starting the first response timeout timer for the response of the remote workstation; the access end analyzes the remote signaling and remote measurement command, starts the second response timeout timer for the response of the transformer, and sends the remote signaling and remote measurement command to the transformer corresponding to the transformer substation cluster; the transformer executes the remote signaling and remote measurement command, and sends the execution result to the access end; the access end converts the execution result into a unified response instruction and sends it to the outgoing end, while ending the second response timeout timer; the outgoing end analyzes the unified response instruction, ends the first response timeout timer, and feeds back to the remote workstation.

[0060] The communication control method applied to the electric power industry further comprises the configuration of the communication management machine, specifically comprising the following steps:

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

[0062] The communication management machine obtains the point position information and point attribute information from the data center by analyzing the point position configuration information;

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

[0064] The data center saves the correspondence between the access triple and the unique identifier, and the correspondence between the access triple and the outgoing triple;

[0065] The protocol of the access end of the communication management machine and the protocol of the transformer are obtained from the data center;

[0066] The access end selects the corresponding client by using the protocol of the transformer; each client enables a timer thread;

[0067] The protocol of the outgoing end is obtained from the data center, the service of the outgoing end of the communication management machine is connected with the workstation, and each server uses a timer thread.

[0068] The outgoing end of the communication management machine receives the remote control and remote adjustment command issued by the remote workstation, converts the remote control and remote adjustment command into a remote signaling and remote measurement command, and sends it to the access end of the communication management machine, while starting the first response timeout timer for the response of the remote workstation, comprising the following steps:

[0069] The outgoing end of the communication management machine receives the message of the remote workstation, judges whether it is a remote control instruction or a remote adjustment instruction; if it is a remote control instruction, the message is parsed to obtain the remote control value to be issued to the transformer, the remote control command issue time and the unique identifier; if it is a remote adjustment instruction, the message is parsed to obtain the remote adjustment value to be issued, the remote adjustment command issue time and the unique identifier;

[0070] According to the unique identifier, the corresponding access triple and the point attribute information are obtained, the access triple is queried according to the data center, the outgoing triple and the point attribute information of the corresponding point are obtained; if the message is parsed or the outgoing triple is obtained, it is indicated that the modification fails, and the remote workstation is notified that the remote control instruction or the remote adjustment command issued is not executed; after the message is successfully parsed and the outgoing triple is obtained, the remote control value / remote adjustment value, the remote control command issue time / remote adjustment command issue time, the outgoing triple, and the direction marker indicating the direction of the outgoing end sent to the access end are combined into a unified request instruction and sent to the bus processing pool; and the first response timeout of the remote workstation is started; the bus processing pool queries the data center according to the outgoing triple, and obtains the corresponding access triple; after the outgoing triple is replaced by the access triple, the remote control value / remote adjustment value, the remote control command issue time / remote adjustment command issue time and the access triple are generated, and the remote signal and remote measurement command are sent to the access end of the communication management machine.

[0071] The outgoing end is parsed first, and the unified structure of the unified request instruction is sent to the bus processing pool after the first timing is started, if the modification fails, it is directly returned to the remote workstation, the structure sent by the outgoing end to the access end, and the structure sent by the access end to the outgoing end are consistent, which consists of triple, remote control / remote adjustment value, issue time and direction marker. The unique identifier is used to query the triple, and will not be transmitted between the access end and the outgoing end, and between the outgoing end and the access end. The point attribute information is used to convert the received value, and will not be transmitted.

[0072] Wherein, the direction marker of the outgoing end sent to the access end direction is "NORTH_TO_SOURCE". According to the triple and the point attribute, the remote control and remote adjustment information parsed by the message, and the direction combined message, the message is sent to the special bus. The remote control and remote adjustment command execution requires fast, so the bus used by the special access end and the outgoing end for communication is not the same as the bus used by the remote signal and remote measurement point mutation.

[0073] The remote control value / remote adjustment value, remote control command sending time / remote adjustment command sending time, the outgoing triple, and the direction marker indicating the direction of the outgoing end sending to the access end are combined into a message and sent to the bus processing pool, and the transmission is performed using a dedicated bus.

[0074] The bus receives the sent bus message, knows from the direction marker that the message is sent from the outgoing end to the access end, queries the data center of the outgoing end according to the triple of the outgoing end in the bus message, obtains the triple of the access end, replaces the outgoing triple with the access triple, and sends the replaced bus message to the corresponding bus processing pool (forwarding process).

[0075] Regardless of the remote signaling and telemetry commands of sudden changes such as electric energy sent by the access end, the remote control and remote adjustment commands replied by the transformer substation, or the remote control and remote adjustment commands sent by the outgoing end, the bus receives the message and converts the triple information of the receiver in the bus according to the direction marker 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, the outgoing triple of the outgoing end is replaced with the access triple of the access end obtained by querying, and the replaced bus message is sent to the corresponding processing thread of the bus processing pool. The threads of the bus processing pool include three kinds, the first kind is the thread for processing the remote signaling and telemetry commands from the outgoing end to the access end, the second kind is the thread for processing the remote control and remote adjustment commands from the outgoing end to the access end, and the third kind is the thread for processing the remote control and remote adjustment commands from the outgoing end to the access end. The transformer substation sends the message to the access end, and the access end sends the message to the outgoing end. It is equivalent to that the communication management machine sends three kinds of unified messages to the bus through multiple access ends and outgoing end protocols (one protocol one thread), the bus modifies the triple after receiving the message, modifies the access end triple to the access end triple, and modifies the outgoing end triple to the outgoing end triple, and then sends the message to the three outgoing threads, and the outgoing threads send the message to the corresponding protocol.

[0076] The access end of the communication management machine starts the second response timeout timer of the transformer, parses the remote signaling and telemetry command to obtain the access triple of the point, and sends the remote signaling and telemetry command to the corresponding transformer of the transformer substation, specifically including the following steps:

[0077] The access end of the communication management machine starts the second response timeout timer of the transformer, parses the remote signaling and telemetry command to obtain the access triple of the point, and sends the remote signaling and telemetry command to the corresponding transformer of the transformer substation, specifically including the following steps:

[0078] The access triple is used to query the data center to obtain the unique identifier of the point;

[0079] The unique identifier and the remote signaling and telemetry command are combined into a remote control message / remote adjustment message and sent to the corresponding transformer.

[0080] After the transformer executes the telesignaling and telemetering command, it sends the execution result to the access terminal; the access terminal converts the execution result into a unified response instruction and sends it to the output terminal, and simultaneously ends the second response timeout timing, which specifically includes the following steps:

[0081] After the transformer executes the telesignaling and telemetering command, it generates a remote control response message / remote adjustment response message based on the execution result and sends it to the access terminal; if the remote control response message / remote adjustment response message fails to be sent, the telesignaling and telemetering command is sent to the telecontrol workstation, and the second response timeout is terminated at the same time;

[0082] If the remote control response message / the remote modulation response message is successfully transmitted, the access terminal parses the remote control response message / the remote control value / the remote modulation value of the remote modulation response message, the remote control command response time of the remote control response message / the remote modulation command response time of the remote modulation response message, and the unique identifier;

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

[0084] 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 data to the transfer-out end are used to generate a unified response instruction and send it to the bus processing pool; the bus processing pool queries the data center based on the transfer-out triplet to obtain the corresponding access triplet; after replacing the transfer-out triplet with the access triplet, the remote control value / remote adjustment value, the remote control command issuance time / remote adjustment command issuance time, and the access triplet are used to generate a telesignaling and telemetering command and send it to the access end of the communication management machine;

[0085] End the second response timeout timing of the remote control workstation response.

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

[0087] The first response timeout timer of the remote work station is started after the outgoing end sends out the combined unified message. When the combined message fails due to various reasons (such as failure of querying the data center), the failure is directly returned, so that the first response timeout timer of the outgoing end is ended after the response message is received. In the access end, the second response timeout timer is started as soon as the sent message is received, so as to avoid direct exit due to other reasons (such as failure of querying the access data center), and to avoid the exit due to the failure of returning information to the outgoing end in time, thereby causing the timeout. After the second response timeout timer is started, the failure information can be directly returned to the outgoing end even if the query fails. The second response timeout timer is ended after the execution result of the transformer of the substation is received, parsed into the remote control response message / remote adjustment response message, and sent to the bus.

[0088] The direction mark of the access end sent to the outgoing end direction is represented as “_SOURCE_TO_NORTH_SYNC”, and the remote control / remote adjustment information, the remote control command response time / remote adjustment command response time, the outgoing triple, and the direction mark of the access end sent to the outgoing end direction are combined into a unified response instruction, which is sent to the bus processing pool.

[0089] The remote control value / remote adjustment value, the remote control command response time / remote adjustment command response time, the outgoing triple, and the direction mark of the access end sent to the outgoing end direction are combined into a unified response instruction, which is sent to the bus processing pool.

[0090] The outgoing end parses the unified response instruction, ends the first response timeout timer, and feeds back to the remote work station, and further comprises:

[0091] When the outgoing end of the communication management machine receives the response instruction of the remote work station, it is judged whether the first response timeout timer is timed out; and only when the judgment is no, the outgoing end of the communication management machine parses the unified response instruction to obtain the outgoing triple of the point.

[0092] The unique identifier of the corresponding point is obtained by querying the data center according to the outgoing triple of the point, the unique identifier and the response instruction are combined into a response message, and the response message is forwarded to the remote work station.

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

[0094] When applied, the point position configuration is issued in the web front end, mainly by the customer to issue the required point position of the substation and the point position information, and the point position and related information are issued to the back end through the front end, and finally issued to the communication management machine. The specific process is as follows:

[0095] Step 1: Configure point position, according to the type and quantity of substation received by the access end and the information content recorded by each transformer, configure the type of protocol specification, the type of data, the type of point position and other position information.

[0096] Step 2: Configure point position information, configure point position attribute information such as conversion base, conversion coefficient, and calculation expression for calculating point position value based on base and coefficient according to customer's specific needs.

[0097] Step 3: Configure the correspondence, correspond the access end point position with the export end point position, and one point position has at most one correspondence.

[0098] Step 4: Issue configuration, issue point position information and point position attribute information and correspondence to the communication management machine.

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

[0100] Step 1: Read configuration, the data center reads the issued configuration information.

[0101] Step 2: Parse point position information, and assign a three-tuple representing the point position to the issued point position, the access end three-tuple {ied, gid, pid}, and the export end three-tuple {tied, tgid, tpid}.

[0102] Step 3: Parse point position information, according to the issued configuration, obtain point position attribute information such as point position base, point position coefficient and inverse enable function.

[0103] Step 4: Build access hash table, according to the access three-tuple {ied, gid, pid} initialized in module 2.2.2, calculate the hash table key, the specific calculation method: combine ied, gid, pid into string A (ied-gid-pid), and perform cyclic calculation hash=hash*seed+a[i] on the characters a[i] in string A, seed is selected according to different size; Finally get the value of hash, according to the size of hash table size, calculate key=hash%size, according to key, build access hash table, export three-tuple {tied, tgid, tpid} and exported point position attribute information as access hash table value;

[0104] Step 5: Construct a transfer-out hash table. The key is determined by the transfer-out triple {tied, tgid, tpid}. The calculation method is the same as Step 4. The value is the attribute information of the access endpoint.

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

[0106] Step 1: Parse the configuration, obtain the enabled protocols on the access point from the data center, query the connection information of the transformer device communicating with the access point, and generate a client to connect to the transformer device. Note: Multiple protocols may be enabled, such as Modbus and IEC 104. The number and type of clients will correspond to the type and number of protocols running on the transformers to be connected.

[0107] Step 2: Enable the timer. Each access client enables a timer thread to prepare for the subsequent remote control and remote adjustment command.

[0108] Step 3: Parse the configuration, obtain the protocol enabled on the outbound side, the port number used by the protocol, and private configuration information from the data center, enable the corresponding service, and wait for the workbench to send a connection request. Note: There are many protocols that can be enabled, such as Modbus and IEC 104.

[0109] Step 4: Enable the timer. Each service on the outgoing end enables a timer thread to prepare for the subsequent workbench to issue remote control and remote adjustment.

[0110] The instruction issuance is divided into two processes: transfer-out and transfer-in. The process on the transfer-out side is as follows:

[0111] Step 1: Receive the command. The communication management machine transfers the request sent by the remote control workstation to determine whether it is a remote control command or a remote adjustment command. If not, it will be processed by other interfaces. If it is, it will go to the next Step 2.

[0112] When it is a remote control command, the remote control value sent to the transformer by the telecontrol workstation in the message is the transformer's on / off status. When it is a remote adjustment command, the remote adjustment value refers to the various parameters of electrical equipment in power plants and substations within the power system dispatching center's remote adjustment range, such as the transformer's on-load tap change.

[0113] Step 2: Start the timer, start the response command timeout timer T1 of the remote control workstation response, which is set to 10s. This time is longer, so that the messages sent in the future can be processed and the response messages will not be blocked in the message queue.

[0114] Step3: Analyzing the identifier, different protocols use different methods to represent the point, such as IEC61850 uses logical node (first level), logical device, data set, report, logical attribute representation; IEC60870 is represented by station address (ASDU), application control information (ACPI), information object (IOA); According to the message information, the unique identifier of the point, the point value, the point type, the point timestamp, the point quality and other information are parsed.

[0115] Step4: Query, according to the unique identifier, query the data center, and parse the point information corresponding to the unique identifier, such as the outgoing three-tuple {tied, tgid, tpid} of the point, the current value of the point, the type of the point, etc.

[0116] Step5: Combine the command A for remote signaling and telemetry, according to the outgoing three-tuple parsed in Step3, the point type and the point value parsed in Step2, and the direction identifier DIR, which is OUT_TO_IN_REQ at this time, combine into command A and send it through the bus.

[0117] Step6: Get the message, loop to get the message from the message queue, the message identification code is IN_TO_OUT_RES. If the timeout and no unified response command B is received, according to the running protocol, the remote workstation is replied with a timeout message, otherwise the unified response command B is received.

[0118] Step7: Analyze the unified response command B, analyze the unified response command B, including three-tuple, identification code, FLAG identifier, FLAG, whether the response is successful, common unsuccessful reason and other information.

[0119] Step8: Combine the message, since the unsuccessful reason code returned by different protocols is different, the common unsuccessful reason needs to be converted into the result identifier specific to the outgoing end of the protocol, according to the three-tuple in Step7, query the data center to get the unique identifier, and according to the identifier and response command B, combine the response message and forward it to the remote workstation.

[0120] The flow of the access end is:

[0121] Step1: Analyze command A, the access end receives the remote signaling and telemetry issuing command A issued by the bus, and analyzes the three-tuple and value and other point attribute information.

[0122] Step2: Start the timeout timer of the transformer response, set the timeout event T2, which is 4s here.

[0123] Step3: Query, according to the parsed outgoing end triple information, query the data center to obtain the data center information corresponding to the point, including access triple, unique identifier, etc.

[0124] Step4: Send information, according to the remote control and remote adjustment point attribute information of Step1 and the unique identifier of Step3, combine the protocol remote control and remote adjustment message to send to the transformer equipment of the substation.

[0125] Step5: Receive message, add the event descriptor of the message sent in Step4, check whether the device response message is received within T2 time, if not, combine the timeout response instruction B and forward it to the remote workstation, the response instruction contains FLAG, wherein the timeout is identified as 0xff, the direction identifier DIR is IN_TO_OUT_RES, and the time descriptor in Step4 is deleted, if the response packet is received, continue to Step6.

[0126] Step6: Analyze the message, parse the response message, obtain the unique identifier, modified value, modification result in the message, and find the access triple according to the unique identifier.

[0127] Step7: Combine instruction B, according to the obtained access triple, modification result and modified value, combine the timeout response instruction B, wherein the timeout identifier FLAG is 0xff, the parsed protocol identifier is converted into a common result identifier, and the direction identifier DIR is IN_TO_OUT_RES. Send the timeout response instruction B to the outgoing end through the bus.

[0128] The application proposes a method for converting various power protocol regulations of remote control and remote adjustment into unified information type to realize flexible issuance of instructions and response instructions, aiming at the problem of non-intercommunication of remote control and remote adjustment in different power protocol regulations in the power industry. By converting into unified information type, various power protocol regulations are realized to flexibly issue instructions and response instructions, intercommunication, strong flexibility, new power protocol regulations can be directly added, remote control and remote adjustment commands can be converted into general in the current system, and the expansibility is strong.

[0129] The embodiment of the application realizes a method for mutual communication between different electric power protocol specifications, establishes location triple information and point information for points of different protocols through a data center, and establishes a triple correspondence relationship between access points and transfer-out points, which is a prerequisite for mutual issuance of remote control and remote adjustment commands between different protocols. Through the establishment of timers at the access end and the transfer-out end, and the conversion of remote control and remote adjustment issuance instructions and response instructions into unified information types, the protocol independence of the instructions is realized. In addition to being applied to the mutual issuance of remote control and remote adjustment commands between different protocols in the electric power industry field for monitoring and control, the method can also be applied to other fields with various different protocols for mutual issuance of control commands for monitoring.

[0130] The above detailed description further explains the purpose, technical solutions and beneficial effects of the application. It should be understood that the above description is only a specific embodiment of the application and is not used to limit the protection scope of the application. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the application should be included in the protection scope of the application.

Claims

1. A communication control method applied to the electric power industry, characterized by, The method comprises the following steps: The outgoing terminal of the communication management machine receives the remote control and remote adjustment command issued by the remote workstation, parses the unique identifier and point value of the transformer point, queries the data center to obtain the outgoing triad corresponding to the unique identifier, combines into a telesignaling and telemetering command and sends it to the access terminal of the communication management machine, and simultaneously starts the first response timeout timer for the response of the remote workstation; the access terminal parses the telesignaling and telemetering command to obtain the outgoing triad and the modified point value of the transformer point, simultaneously starts the second response timeout timer for the response of the transformer, queries the data center according to the parsed outgoing triad, obtains the access triad and unique identifier of the transformer point, and recombines into a telesignaling and telemetering command and sends it to the transformer corresponding to the transformer station cluster; The transformer executes the telesignaling and telemetering command and sends the execution result to the access terminal; The access terminal converts the execution result into a unified response instruction and sends it to the outgoing terminal, and simultaneously ends the second response timeout timer; the outgoing terminal parses the unified response instruction to obtain the unique identifier and the execution result of the transformer point, queries the data center according to the unique identifier to obtain the outgoing triad of the transformer point, simultaneously ends the first response timeout timer, and combines the unique identifier and the unified response instruction into a response message and feeds back to the remote workstation; The access terminal selects the corresponding client by using the protocol of the transformer; The protocol of the outgoing terminal is obtained, and the service of the outgoing terminal of the communication management machine is connected with the workstation.

2. The communication control method for the electric power industry according to claim 1, wherein Further comprising: The configuration of the communication management machine, specifically comprising the following steps: The web backend issues the point configuration information of the transformer to the communication management machine; The communication management machine parses the point configuration information to obtain point position information and point attribute information through the data center; The access triad of the access terminal and the outgoing triad of the outgoing terminal of the point are represented by the point position information; The data center saves the correspondence between the access triad and the unique identifier, and the correspondence between the access triad and the outgoing triad; The protocol of the access terminal of the communication management machine and the protocol of the transformer are obtained from the data center; The access terminal selects the corresponding client by using the protocol of the transformer; each client enables a timer thread; The protocol of the outgoing terminal is obtained from the data center, and the service of the outgoing terminal of the communication management machine is connected with the workstation; each server uses a timer thread.

3. The communication control method for the electric power industry according to claim 2, wherein The outgoing terminal of the communication management machine receives the remote control and remote adjustment command issued by the remote workstation, converts the remote control and remote adjustment command into a telesignaling and telemetering command and sends it to the access terminal of the communication management machine, and simultaneously starts the first response timeout timer for the response of the remote workstation, comprising the following steps: The outgoing end of the communication management machine receives the message of the remote workstation, judges whether it is a remote control instruction or a remote adjustment instruction; if it is a remote control instruction, the message is parsed to obtain the remote control value to be issued to the transformer, the remote control command issuing time and the unique identifier; if it is a remote adjustment instruction, the message is parsed to obtain the remote adjustment value to be issued, the remote adjustment command issuing time and the unique identifier; According to the unique identifier, the corresponding access triple and the point attribute information are obtained, and the data center is queried according to the access triple, so that the outgoing triple and the point attribute information of the corresponding point are obtained; If the message parsing or the outgoing triple acquisition fails, it indicates that the modification fails, and the remote workstation is notified that the remote control instruction or the remote adjustment command issued is not executed; after the message is successfully parsed and the outgoing triple is acquired, the remote control value / remote adjustment value, the remote control command issuing time / remote adjustment command issuing time, the outgoing triple, and the direction marker for indicating the direction of the outgoing end to the access end are combined into a unified request instruction and sent to the bus processing pool; and the first response timeout of the remote workstation is started. The bus processing pool queries the data center according to the outgoing triple to obtain the corresponding access triple; After the outgoing triple is replaced by the access triple, the remote control value / remote adjustment value, the remote control command issuing time / remote adjustment command issuing time and the access triple are combined to generate a remote signaling and remote measurement command, which is sent to the access end of the communication management machine.

4. The communication control method for the electric power industry according to claim 3, wherein The remote control value / remote adjustment value, the remote control command issuing time / remote adjustment command issuing time, the outgoing triple, and the direction marker for indicating the direction of the outgoing end to the access end are combined into a message and sent to the bus processing pool, which is transmitted using a dedicated bus.

5. The communication control method applied to the power industry according to claim 4, characterized in that: After the transformer executes the remote signaling and remote measurement 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 outgoing end, and simultaneously ends the second response timeout, specifically including the following steps: After the transformer executes the remote signaling and remote measurement command, the execution result is sent to the access end in the form of a remote control response message / remote adjustment response message; if the remote control response message / remote adjustment response message fails to be sent, a unified response instruction is combined and sent to the outgoing end, the unified response instruction including a triple, a transmission direction and a modification failure flag, and simultaneously ending the second response timeout; If the remote control response message / remote adjustment response message is successfully sent, the access end parses the remote control value / remote adjustment value of the remote control response message / remote adjustment response message, the remote control command response time of the remote control response message / remote adjustment command response time of the remote adjustment response message, and the unique identifier. According to the unique identifier, the corresponding access triple is obtained, and according to the data center, the conversion-out triple and the point attribute information corresponding to the access triple are obtained; The remote value / remote adjustment value, the remote command response time / remote adjustment command response time, the conversion-out triple, and a direction mark indicating the direction from the access end to the conversion-out end are generated into a unified response instruction and sent to the bus processing pool; The bus processing pool queries the data center according to the conversion-out triple to obtain the corresponding access triple; After the conversion-out triple is replaced by the access triple, the remote value / remote adjustment value, the remote command issuing time / remote adjustment command issuing time, and the access triple are generated into a remote signaling and telemetry command and sent to the access end of the communication management machine; The second response timeout timer of the remote workstation is ended.

6. The communication control method for the electric power industry according to claim 5, wherein The remote value / remote adjustment value, the remote command response time / remote adjustment command response time, the conversion-out triple, and a direction mark indicating the direction from the access end to the conversion-out end are generated into a unified response instruction and sent to the bus processing pool, which is transmitted by using a dedicated bus.

7. The communication control method for the electric power industry according to claim 6, wherein The conversion-out end analyzes the unified response instruction to obtain the unique identifier of the transformer point and the transformer execution result, and according to the unique identifier, the data center is queried to obtain the conversion-out triple of the transformer point, and simultaneously, the first response timeout timer is ended, and after being fed back to the remote workstation, the method further comprises: When the conversion-out end of the communication management machine receives the response instruction of the remote workstation, it is judged whether the first response timeout timer is timed out; only when the judgment result is negative, the conversion-out end of the communication management machine analyzes the unified response instruction to obtain the conversion-out triple of the point; According to the conversion-out triple of the point, the data center is queried to obtain the unique identifier of the corresponding point, and the unique identifier and the response instruction are combined into a response packet and forwarded to the remote workstation.

8. The communication control method for the electric power industry according to claim 2, wherein The access triple of the access end of the point and the conversion-out triple of the conversion-out end are represented by the point position information, specifically, the access triple of the access end and the conversion-out triple of the conversion-out end are represented by the transformer number, the data acquisition number, and the point number.

Citation Information

Patent Citations

  • Multi-inverter management control information transmission method and system

    CN111224464A

  • Communication acquisition system and acquisition method of photovoltaic inverter

    CN115133658A

  • Message filtering configuration method and device, electronic equipment and medium

    CN115913782A