A power distribution network data acquisition method and system based on Beidou short message communication

By using BeiDou short message communication, a logical channel model and token ring mechanism were established, which solved the data monitoring problem in the blind spots of the power distribution network, realized reliable data transmission and collection, and improved the level of power distribution automation.

CN117119332BActive Publication Date: 2026-05-22NARI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NARI TECH CO LTD
Filing Date
2023-08-28
Publication Date
2026-05-22

Smart Images

  • Figure CN117119332B_ABST
    Figure CN117119332B_ABST
Patent Text Reader

Abstract

The application discloses a power distribution network data acquisition method and system based on Beidou short message communication, which comprises the following steps: collecting power distribution network data Beidou message, determining corresponding uplink message transmission terminals according to the user ID and public body address double-factor verification mode in the Beidou message; establishing a plurality of logical channel models according to the uplink message transmission terminals, wherein the number of the logical channel models is determined by the number of the uplink message transmission terminals; and presetting token cyclic transmission logic, and realizing power distribution network data acquisition according to the token cyclic transmission logic and the logical channel models. The application solves the problem of the power distribution network monitoring blind area in the area where the conventional communication signal cannot cover, expands the monitoring range of the power distribution automation system, solves the conflict problem when the Beidou command machine issues a short message, and guarantees the reliability of downlink message transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power distribution automation data acquisition technology, and in particular to a power distribution network data acquisition method and system based on BeiDou short message communication. Background Technology

[0002] The power distribution network is the last link in the power system facing users, serving as the connection between the power grid and users. Distribution automation is a core means to improve the reliability and quality of power supply, expand power supply capacity, and enhance the operation and management level of the distribution network. China began developing distribution automation in the late 1990s, and since 2009, distribution automation construction has been an important part of the construction of smart distribution. Distribution automation construction and application have been carried out in 26 provinces (municipalities) within the company's scope, mainly covering A+, A, and B-class areas in urban core areas. The level of distribution automation in remote areas of C and D-class areas is still relatively backward, especially in areas where communication signals cannot reach, which are still in the blind spots of distribution network monitoring. Summary of the Invention

[0003] The purpose of this section is to outline some aspects of embodiments of the present invention and to briefly describe some preferred embodiments. Simplifications or omissions may be made in this section, as well as in the abstract and title of this application, to avoid obscuring the purpose of these documents; however, such simplifications or omissions should not be construed as limiting the scope of the invention.

[0004] In view of the aforementioned existing problems, the present invention is proposed.

[0005] Therefore, the present invention provides a distribution network data acquisition method and system based on BeiDou short message communication, which can solve the problems mentioned in the background art.

[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution: a method for data acquisition in power distribution networks based on BeiDou short message communication, comprising:

[0007] Collect BeiDou messages of data from the power distribution network, and determine the corresponding uplink message transmission terminal based on the user ID and public address dual-factor verification method in the BeiDou message;

[0008] Several logical channel models are established based on the uplink message transmission terminal, and the number of logical channel models is determined by the number of uplink message transmission terminals;

[0009] A pre-defined token cyclic sending logic is used to collect data from the power distribution network based on the token cyclic sending logic and the logic channel model.

[0010] As a preferred embodiment of the power distribution network data acquisition method based on BeiDou short message communication described in this invention, the preset token cyclic sending logic includes:

[0011] The plurality of logical channel models are constructed into a token ring, the token ring including a token, and the token is passed in the plurality of logical channel models in a preset order;

[0012] When a token is transmitted to a channel, the message buffer of that channel is read.

[0013] If the message buffer of the channel contains message information, the message information is sent directly. If the message buffer of the channel does not contain message information, the token is transferred to the next channel in a preset order.

[0014] If the message buffer of a channel does not contain message information, the token will be directly transferred to the next channel in a preset order.

[0015] A power distribution network data acquisition system based on BeiDou short message communication is characterized by comprising a BeiDou FTU terminal unit, a BeiDou command unit, a terminal server, and a BeiDou front-end processor.

[0016] The Beidou FTU terminal unit is used to collect real-time operation data of overhead lines in the power distribution network and communicates with the Beidou command unit through Beidou short message communication. The Beidou FTU terminal unit contains at least two Beidou FTU terminal modules.

[0017] The Beidou command unit is used to receive uplink Beidou short message information and send it to the Beidou front-end unit through the terminal server; it also receives downlink messages from the main station and sends them to the Beidou FTU terminal unit through Beidou short message communication.

[0018] The terminal server converts the serial port signal into a network TCP mode to interact with the Beidou front-end device.

[0019] The Beidou front-end unit is used to receive power distribution network business messages, parse out real-time power business data, and, in conjunction with the power distribution network equipment model, convert it into a familiar data format within the main station system, and send downlink command messages to realize remote control operation of the Beidou FTU terminal unit.

[0020] As a preferred embodiment of the power distribution network data acquisition system based on BeiDou short message communication described in this invention, the BeiDou front-end unit includes a communication processing module and a protocol parsing module.

[0021] The communication processing module is used for sending and receiving BeiDou messages, and the protocol parsing module is used for generating and parsing BeiDou protocol messages.

[0022] Both the communication processing module and the protocol parsing module are connected to the BeiDou command machine through the terminal server.

[0023] The communication processing module and the protocol parsing module exchange messages through a channel message buffer, and the protocol parsing module senses the connectivity status of the channel link through a message queue.

[0024] The communication processing module is used for concurrent communication of multiple long-connection communication links, automatically senses the status of the communication links, and automatically recovers abnormal links, while also connecting to the Beidou FTU terminal unit.

[0025] The protocol processing module prioritizes the generation and parsing of BeiDou messages, giving priority to BeiDou remote control messages with high priority among the BeiDou messages in the distribution network data, and then processes BeiDou telemetry messages and BeiDou telematics messages in sequence.

[0026] As a preferred embodiment of the power distribution network data acquisition system based on BeiDou short message communication described in this invention, the BeiDou front-end unit further includes:

[0027] Establish a corresponding number of communication channels based on the number of BeiDou FTU terminal modules;

[0028] Select any one communication channel as the master channel and the rest as slave channels. The master channel and the slave channels are referred to as a master-slave channel group. The master-slave channel group shares a TCP connection. The master channel is used for TCP message sending and receiving.

[0029] The main channel establishes a TCP connection for direct external communication, while the slave channels can only share the main channel's TCP connection.

[0030] Establish a master-slave channel collaborative working logic so that only one channel sends messages at any given time.

[0031] As a preferred embodiment of the power distribution network data acquisition system based on BeiDou short message communication described in this invention, the BeiDou front-end unit further includes:

[0032] The Beidou front-end unit constructs a token ring from the plurality of logical channel models. The token ring includes a token, which is passed in a preset order among the plurality of logical channel models.

[0033] When a token is transmitted to a channel, the message buffer of that channel is read.

[0034] If the message buffer of the channel contains message information, the message information is sent directly. If the message buffer of the channel does not contain message information, the token is transferred to the next channel in a preset order.

[0035] If the message buffer of a channel does not contain message information, the token will be directly transferred to the next channel in a preset order.

[0036] As a preferred embodiment of the power distribution network data acquisition system based on BeiDou short message communication described in this invention, the BeiDou front-end unit further includes:

[0037] It receives BeiDou data messages from the distribution network, parses out the real-time data of the power business in the BeiDou data messages from the distribution network, and matches the specific BeiDou FTU terminal unit according to the dual-factor verification method of user ID and public address in the system.

[0038] In the measurement table, the Beidou FTU terminal and the point number are mapped to the unique measurement ID inside the main station, thus completing the conversion from the Beidou FTU terminal point table to the Beidou front-end measurement ID.

[0039] After sending downlink remote control messages and manually confirming the equipment to be operated, the device ID is found through the remote control table, and the corresponding Beidou FTU terminal and point number are matched. The data is then organized into a Beidou remote control message and sent to the Beidou FTU terminal unit.

[0040] As a preferred embodiment of the power distribution network data acquisition system based on BeiDou short message communication described in this invention, it further includes:

[0041] The BeiDou command unit is used to receive uplink BeiDou short message information and then send it to the BeiDou front-end unit through the northbound terminal server. It also receives downlink messages from the master station and sends them to the BeiDou FTU terminal unit through BeiDou short message communication. The uplink information includes remote signaling messages and telemetry messages; the downlink messages include general call messages and synchronization messages.

[0042] The BeiDou front-end device communicates with the terminal server using TCP. The BeiDou front-end device is a TCP client, and the terminal server is a TCP server. The terminal server's baud rate is configured to 9600bps.

[0043] A computer device includes a memory and a processor, the memory storing a computer program, characterized in that the processor executes the computer program to implement the steps of the method described above.

[0044] A computer-readable storage medium having a computer program stored thereon, characterized in that the computer program, when executed by a processor, implements the steps of the method described above.

[0045] The beneficial effects of this invention are as follows: This invention proposes a method and system for data acquisition in power distribution networks based on BeiDou short message communication. It acquires BeiDou messages of power distribution network data, determines the corresponding uplink message transmission terminal based on a dual-factor authentication method using the user ID and public address in the BeiDou message, and establishes several logical channel models based on the uplink message transmission terminals. The number of logical channel models is determined by the number of uplink message transmission terminals. A pre-set token cyclic sending logic is used to acquire power distribution network data based on the token cyclic sending logic and the logical channel models. This solves the problem of blind spots in power distribution network monitoring in areas where conventional communication signals cannot cover, expands the monitoring range of the power distribution automation system, resolves the conflict problem when the BeiDou command center sends short messages, and ensures the reliability of downlink message transmission. Attached Figure Description

[0046] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein:

[0047] Figure 1 A flowchart of a distribution network data acquisition method and system based on BeiDou short message communication is provided as an embodiment of the present invention;

[0048] Figure 2 A schematic diagram of the system structure of a power distribution network data acquisition method and system based on BeiDou short message communication, provided as an embodiment of the present invention;

[0049] Figure 3 This is an internal structural diagram of a computer device for a power distribution network data acquisition method and system based on BeiDou short message communication, provided as an embodiment of the present invention. Detailed Implementation

[0050] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.

[0051] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.

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

[0053] This invention is described in detail with reference to the schematic diagrams. When detailing the embodiments of this invention, for ease of explanation, the cross-sectional views illustrating the device structure may be partially enlarged, not adhering to the usual scale. Furthermore, the schematic diagrams are merely examples and should not be construed as limiting the scope of protection of this invention. In actual fabrication, the three-dimensional spatial dimensions of length, width, and depth should be included.

[0054] Furthermore, in the description of this invention, it should be noted that the terms "upper," "lower," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. These terms are used solely for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. In addition, the terms "first," "second," or "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0055] Unless otherwise explicitly specified and limited, the terms "installation," "connection," and "joining" in this invention should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; similarly, they can refer to mechanical connections, electrical connections, or direct connections, or indirect connections through an intermediate medium, or internal connections between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0056] Example 1

[0057] Reference Figure 1-3 This is the first embodiment of the present invention, which provides a method and system for data acquisition in power distribution networks based on BeiDou short message communication, including:

[0058] Collect BeiDou messages from the power distribution network and determine the corresponding uplink message transmission terminal based on the user ID and public address dual-factor verification method in the BeiDou message.

[0059] Several logical channel models are established based on the uplink message transmission terminal. The number of logical channel models is determined by the number of uplink message transmission terminals.

[0060] A pre-defined token cyclic sending logic is used to collect data from the distribution network based on the token cyclic sending logic and the logic channel model.

[0061] The preset token cyclic sending logic includes,

[0062] Several logical channel models are constructed into a token ring, which includes a token. The token is passed among the several logical channel models in a preset order.

[0063] Furthermore, when a token is transmitted to a channel, the message buffer of that channel is read;

[0064] Furthermore, if there is message information in the message buffer of the channel, the message information is sent directly; if there is no message information in the message buffer of the channel, the token is transferred to the next channel in a preset order.

[0065] Furthermore, if the message buffer of a channel does not contain message information, the token will be directly transferred to the next channel in a preset order.

[0066] In a preferred embodiment, a power distribution network data acquisition system based on BeiDou short message communication includes a BeiDou FTU terminal unit 100, a BeiDou command unit 200, a terminal server 300, and a BeiDou front-end unit 400.

[0067] The Beidou FTU terminal unit 100 is used to collect real-time operation data of overhead lines in the power distribution network and communicates with the Beidou command unit 200 through Beidou short message communication. The Beidou FTU terminal unit 100 contains at least two Beidou FTU terminal modules.

[0068] The Beidou command unit 200 is used to receive uplink Beidou short message information and then send it to the Beidou front-end unit 400 through the terminal server 300. It also receives downlink messages from the main station and sends them to the Beidou FTU terminal unit 100 through Beidou short message communication.

[0069] Terminal server 300 converts serial port signals into network TCP mode to interact with Beidou front-end unit 400;

[0070] The Beidou front-end unit 400 is used to receive power distribution network business messages, parse out real-time power business data, and, in conjunction with the power distribution network equipment model, convert it into a familiar data format within the main station system, and send downlink command messages to realize remote control operation of the Beidou FTU terminal unit 100.

[0071] The Beidou front-end unit 400 includes a communication processing module 401 and a protocol parsing module 402.

[0072] The communication processing module 401 is used for sending and receiving BeiDou messages, and the protocol parsing module 402 is used for generating and parsing BeiDou protocol messages.

[0073] Both the communication processing module 400 and the protocol parsing module 402 are connected to the Beidou command machine via the terminal server;

[0074] The communication processing module 400 and the protocol parsing module 402 exchange messages through the channel message buffer. The protocol parsing module 402 senses the connection status of the channel link through the message queue.

[0075] The communication processing module 400 is used for concurrent communication of multiple long-connection communication links, and automatically senses the status of the communication links and performs automatic recovery of abnormal links. At the same time, it is connected to the Beidou FTU terminal unit 100.

[0076] The protocol processing module 402 processes the generation and parsing of BeiDou messages according to priority. Among the BeiDou messages in the distribution network data, the BeiDou remote control messages with high priority are processed first, and then the BeiDou remote signaling messages and BeiDou telemetry messages are processed in order.

[0077] It should be noted that the Beidou front-end unit 400 also includes establishing a corresponding number of communication channels based on the number of Beidou FTU terminal modules;

[0078] Furthermore, any one communication channel is selected as the master channel, and the rest are slave channels. The master channel and the slave channels are referred to as a master-slave channel group. A master-slave channel group shares a TCP connection. The master channel is used for TCP message sending and receiving.

[0079] Furthermore, the primary channel establishes a TCP connection for direct external communication, while secondary channels can only share the primary channel's TCP connection.

[0080] Furthermore, a master-slave channel collaborative working logic is established, so that only one channel sends messages at any given time.

[0081] It should be noted that the Beidou front-end 400 also includes a token ring constructed from several logical channel models. The token ring includes a token, which is passed in a preset order among the several logical channel models.

[0082] Furthermore, when a token is transmitted to a channel, the message buffer of that channel is read;

[0083] Furthermore, if there is message information in the message buffer of the channel, the message information is sent directly; if there is no message information in the message buffer of the channel, the token is transferred to the next channel in a preset order.

[0084] Furthermore, if the message buffer of a channel does not contain message information, the token will be directly transferred to the next channel in a preset order.

[0085] Furthermore, it receives BeiDou data messages from the distribution network, parses out the real-time data of the power business in the BeiDou data messages from the distribution network, and matches the specific BeiDou FTU terminal unit 100 according to the dual-factor verification method of user ID and public body address in the system.

[0086] Furthermore, the measurement table is mapped to a unique measurement ID within the main station by the BeiDou FTU terminal and the point number, thus completing the conversion from the BeiDou FTU terminal point table to the BeiDou front-end 400 measurement ID.

[0087] It should be noted that after sending downlink remote control messages and manually confirming the equipment to be operated, the device ID is found through the remote control table, and the corresponding Beidou FTU terminal and point number are matched. The data is then organized into a Beidou remote control message and sent to the Beidou FTU terminal unit 100.

[0088] It should be noted that the Beidou command unit 200 receives uplink Beidou short message information and then sends it to the Beidou front-end unit 400 through the northbound terminal server 300. It also receives downlink messages from the master station and sends them to the Beidou FTU terminal unit 100 through Beidou short message communication. The uplink information includes remote signaling messages and telemetry messages; the downlink messages include general call messages and communication messages.

[0089] It should be noted that the Beidou front-end unit 400 communicates with the terminal server 300 using TCP. The Beidou front-end unit 400 is a TCP client, and the terminal server 300 is a TCP server. The baud rate of the terminal server 300 is configured to be 9600bps.

[0090] The above-mentioned unit modules can be embedded in the processor of the computer device in hardware form or independent of it, or they can be stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of the above modules.

[0091] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 3As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a power distribution network data acquisition method based on BeiDou short message communication. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.

[0092] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0093] Collect BeiDou messages from the power distribution network and determine the corresponding uplink message transmission terminal based on the user ID and public address dual-factor verification method in the BeiDou message.

[0094] Several logical channel models are established based on the uplink message transmission terminal, and the number of logical channel models is determined by the number of uplink message transmission terminals;

[0095] A pre-defined token cyclic sending logic is used to collect data from the distribution network based on the token cyclic sending logic and the logic channel model.

[0096] Example 2

[0097] Reference Figure 1-3 As an embodiment of the present invention, a method and system for data acquisition in power distribution networks based on BeiDou short message communication are provided. To verify the beneficial effects of the present invention, comparative experiments are conducted for scientific demonstration.

[0098] The power distribution service messages are nested in the BeiDou short message data frames. The service message structure is based on the IEC101 protocol message structure, and the application service units in the message are specially defined. A single message frame can carry all the remote signaling and telemetry data of the BeiDou power distribution feeder terminal.

[0099] The structure of a power distribution service message frame nested within a BeiDou short message data frame can be represented as follows: The overall structure of the service message is similar to the IEC101 protocol, with a message start marker of 0x68 and an end marker of 0x16. The difference lies in the design of the application information; the type marker for the application information is 0x15, which can carry remote signaling and telemetry data in the same message frame; the number of information bodies is 1, representing the first section data of the BeiDou power distribution feeder terminal; the transmission reason is 0x14, representing background scan information; the terminal address represents the serial number of the BeiDou feeder terminal, used to distinguish different terminal devices; status quantity 1 represents the first remote signaling quantity, status quantity 16 represents the 16th remote signaling quantity, analog quantity 1 represents the first telemetry quantity, and analog quantity 12 represents the 12th telemetry quantity. This design eliminates the point number information of remote signaling and telemetry data, using the order of the point number in the message to improve the utilization rate of BeiDou short messages.

[0100] When the preset token cyclic sending logic is used, several logical channel models are constructed into a token ring. The token ring includes a token, and the token is passed in a preset order among several logical channel models.

[0101] When a token is transmitted to a channel, the message buffer of that channel is read.

[0102] If the message buffer of the channel contains message information, the message information is sent directly. If the message buffer of the channel does not contain message information, the token is transferred to the next channel in a preset order.

[0103] If the message buffer of a channel does not contain message information, the token will be directly transferred to the next channel in a preset order.

[0104] Generally, there are 50 channels in a group, with one channel configured as the master channel and the rest as slave channels; the time it takes for a token to circulate once within a group of channels is about 200 milliseconds.

[0105] This invention proposes a method and system for data acquisition in distribution networks based on BeiDou short message communication. The method collects BeiDou messages of distribution network data and determines the corresponding uplink message transmission terminal based on a two-factor authentication method using the user ID and public address in the BeiDou message. Several logical channel models are established based on the uplink message transmission terminals, with the number of logical channel models determined by the number of uplink message transmission terminals. A pre-set token cyclic sending logic is used to acquire distribution network data based on the token cyclic sending logic and the logical channel models. This solves the problem of blind spots in distribution network monitoring in areas where conventional communication signals cannot cover, expands the monitoring range of the distribution automation system, resolves conflicts when the BeiDou command center sends short messages, and ensures the reliability of downlink message transmission.

[0106] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

[0107] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The solutions in the embodiments of this application can be implemented in various computer languages, such as the object-oriented programming language Java and the interpreted scripting language JavaScript.

[0108] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0109] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0110] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1The steps of the function specified in one or more boxes.

[0111] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0112] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for data acquisition in power distribution networks based on BeiDou short message communication, characterized in that: include, Collect BeiDou messages of data from the power distribution network, and determine the corresponding uplink message transmission terminal based on the user ID and public address dual-factor verification method in the BeiDou message; The structure of a power distribution service message frame nested within a BeiDou message data frame is as follows: The start marker for power distribution service messages is 0x68, and the end marker is 0x16. The difference lies in the design of the application information. The application information type is marked as 0x15, which is used to carry remote signaling and telemetry data in the same frame message; The number of information elements is 1, which is used to represent the primary cross-sectional data of the Beidou power distribution feeder terminal; The transmission reason is 0x14, which indicates background scan information; The terminal address represents the serial number of the Beidou feeder terminal, used to distinguish different terminal devices; Status quantity 1 represents the first telemetry quantity, status quantity 16 represents the 16th telemetry quantity, analog quantity 1 represents the first telemetry measurement, and analog quantity 12 represents the 12th telemetry measurement. This design eliminates the point number information of telemetry and telemetry data and uses the order of the point number in the message to represent the point number. Several logical channel models are established based on the uplink message transmission terminal, and the number of logical channel models is determined by the number of uplink message transmission terminals; A pre-defined token cyclic sending logic is used to collect data from the power distribution network based on the token cyclic sending logic and the logic channel model. The preset token cyclic sending logic includes, The plurality of logical channel models are constructed into a token ring, the token ring including a token, and the token is passed in the plurality of logical channel models in a preset order; When a token is transmitted to a channel, the message buffer of that channel is read. If the message buffer of the channel contains message information, the message information is sent directly. If the message buffer of the channel does not contain message information, the token is transferred to the next channel in a preset order. If the message buffer of a channel does not contain message information, the token will be directly transferred to the next channel in a preset order.

2. A power distribution network data acquisition system based on BeiDou short message communication using the method described in claim 1, characterized in that: It includes a BeiDou FTU terminal unit (100), a BeiDou command unit (200), a terminal server (300), and a BeiDou front-end unit (400). The Beidou FTU terminal unit (100) is used to collect real-time operation data of overhead lines in the power distribution network and communicate with the Beidou command machine (200) through Beidou short message communication. The Beidou FTU terminal unit (100) contains at least two Beidou FTU terminal modules. The Beidou command unit (200) is used to receive uplink Beidou short message information and send it to the Beidou front-end unit (400) through the terminal server (300), receive downlink messages from the main station and send them to the Beidou FTU terminal unit (100) through Beidou short message communication; The terminal server (300) converts the serial port signal into a network TCP mode to interact with the Beidou front-end (400); The Beidou front-end unit (400) is used to receive power distribution network business messages, parse out real-time power business data, and, in conjunction with the power distribution network equipment model, convert it into a familiar data format within the main station system, send downlink command messages, and realize remote control operation of the Beidou FTU terminal unit (100).

3. The power distribution network data acquisition system based on BeiDou short message communication as described in claim 2, characterized in that: The Beidou front-end unit (400) includes a communication processing module (401) and a protocol parsing module (402). The communication processing module (401) is used for sending and receiving BeiDou messages, and the protocol parsing module (402) is used for generating and parsing BeiDou protocol messages; Both the communication processing module (400) and the protocol parsing module (402) are connected to the Beidou command machine through the terminal server; The communication processing module (400) and the protocol parsing module (402) exchange messages through the channel message buffer, and the protocol parsing module (402) senses the connection status of the channel link through the message queue; The communication processing module (400) is used for concurrent communication of multiple long-connection communication links, and automatically senses the status of the communication links and performs automatic recovery of abnormal links, while connecting to the Beidou FTU terminal unit (100). The protocol processing module (402) processes the generation and parsing of BeiDou messages according to priority. It prioritizes BeiDou remote control messages with high priority in the distribution network data BeiDou messages, and then processes BeiDou remote signaling messages and BeiDou telemetry messages in sequence.

4. The power distribution network data acquisition system based on BeiDou short message communication as described in claim 3, characterized in that: The Beidou front-end unit (400) also includes, Establish a corresponding number of communication channels based on the number of BeiDou FTU terminal modules; Select any one communication channel as the master channel and the rest as slave channels. The master channel and the slave channels are referred to as a master-slave channel group. The master-slave channel group shares a TCP connection. The master channel is used for TCP message sending and receiving. The main channel establishes a TCP connection for direct external communication, while the slave channels can only share the main channel's TCP connection. Establish a master-slave channel collaborative working logic so that only one channel sends messages at any given time.

5. The power distribution network data acquisition system based on BeiDou short message communication as described in claim 4, characterized in that: The Beidou front-end unit (400) also includes, The Beidou front-end unit (400) constructs a token ring from the plurality of logical channel models. The token ring includes a token, which is passed in a preset order among the plurality of logical channel models. When a token is transmitted to a channel, the message buffer of that channel is read. If the message buffer of the channel contains message information, the message information is sent directly. If the message buffer of the channel does not contain message information, the token is transferred to the next channel in a preset order. If the message buffer of a channel does not contain message information, the token will be directly transferred to the next channel in a preset order.

6. The power distribution network data acquisition system based on BeiDou short message communication as described in claim 5, characterized in that: The BeiDou front-end device also includes Receive distribution network data Beidou messages, parse out the real-time data of power business in the distribution network data Beidou messages, and match the specific Beidou FTU terminal unit (100) according to the dual factor verification method of user ID and public body address in the system; In the measurement table, the Beidou FTU terminal and the point number are matched with the unique measurement ID inside the main station to complete the conversion from the Beidou FTU terminal point table to the Beidou front-end machine (400) measurement ID; After sending downlink remote control messages and manually confirming the equipment to be operated, the device ID is found through the remote control table, and the corresponding Beidou FTU terminal and point number are matched. The Beidou remote control message is then organized and sent to the Beidou FTU terminal unit (100).

7. The power distribution network data acquisition system based on BeiDou short message communication as described in claim 6, characterized in that: It also includes, The Beidou command unit (200) is used to receive uplink Beidou short message information and then send it to the Beidou front-end unit (400) through the northbound terminal server (300). It also receives downlink messages from the master station and sends them to the Beidou FTU terminal unit (100) through Beidou short message communication. The uplink information includes remote signaling messages and telemetry messages; the downlink messages include general call messages and synchronization messages. The Beidou front-end unit (400) communicates with the terminal server (300) using TCP. The Beidou front-end unit (400) is a TCP client, and the terminal server (300) is a TCP server. The baud rate of the terminal server (300) is configured to be 9600bps.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method of claim 1.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method of claim 1.