Disclosure of Invention
The invention aims to provide a 5G-based power distribution network real-time monitoring method, a device and a storage medium, which are used for solving the problem that the data transmission omission of a collected power distribution network is easily caused in the data transmission process of data collection in the power distribution network monitoring process.
In order to achieve the above purpose, the embodiment of the present invention provides the following technical solutions.
In a first aspect, an embodiment of the present invention provides a 5G-based real-time monitoring method for a power distribution network, where the real-time monitoring method includes:
Acquiring real-time operation data of the power distribution network based on a data acquisition end;
Dividing the operation data into a plurality of data packets, wherein each data packet is configured with identification information, and the identification information comprises sequential identifications and unified identifications;
Sequentially transmitting a plurality of data packets to a data receiving end through a 5G channel based on the identification information;
And judging the integrity of the operation data of the data receiving end based on the identification information, and when the operation data of the data receiving end is incomplete, receiving feedback information returned from the data receiving end, and repeating the data packet based on the feedback information until the operation data of the data receiving end is judged to be complete based on the identification information.
In some embodiments of the present invention, after the step of dividing the operation data into a plurality of data packets, the real-time monitoring method further includes buffering the data packets configured with the identification information in a buffer queue of the data acquisition end.
In some embodiments of the present invention, the step of sequentially sending the plurality of data packets to the data receiving end through the 5G channel based on the identification information includes:
Adding the plurality of data packets to a current transmission sequence in the buffer queue based on the unified identification;
Setting the sub-data packet with the largest sequence in the current transmission sequence as the current sub-data packet based on the sequence identification;
the current sub-data packet is sent to a data receiving end through a 5G channel;
and responding to response information returned by the data receiving end, and transmitting the rest data packets in the transmission sequence to the data receiving end according to a random sequence.
In some embodiments of the present invention, the step of determining the integrity of the operation data of the data receiving end based on the identification information includes:
determining the theoretical number of the operation data packets based on the sequence identification of the current sub-data packet;
counting the actual number of the data packets received by the data receiving end according to the unified identification;
when the theoretical quantity is consistent with the actual quantity, judging that the operation data of the data receiving end is complete based on the identification information;
and when the theoretical quantity is inconsistent with the actual quantity, judging that the operation data of the data receiving end is incomplete based on the identification information.
In some embodiments of the present invention, the step of receiving feedback information returned from the data receiving end and performing the reissuing of the data packet based on the feedback information includes:
when the theoretical number is inconsistent with the actual number, determining that the data receiving end does not receive the data packet sequence number based on the sequence identifier;
generating feedback information of incomplete data according to the sequence number of the unattached data packet, and sending the feedback information of incomplete data to the data acquisition end;
And responding to the feedback information of incomplete data, and sending the unsent data packet corresponding to the unsent data packet sequence number in the current transmission sequence to a data receiving end.
In some embodiments of the present invention, the step of receiving feedback information returned from the data receiving end and performing the reissuing of the data packet based on the feedback information further includes:
When the theoretical quantity is consistent with the actual quantity, generating feedback information with complete data, and sending the feedback information with complete data to the data acquisition end;
And deleting the data packet of the current transmission sequence in the buffer queue in response to the feedback information of the complete data.
In some embodiments of the present invention, after the step of determining that the operation data of the data receiving end is complete based on the identification information, the real-time monitoring method further includes:
Extracting a plurality of data packets from the queue based on the uniform identification;
and combining the plurality of data packets based on the sequence identifier to form the complete operation data.
In a second aspect, an embodiment of the present invention provides a 5G-based real-time monitoring device for a power distribution network, where the real-time monitoring device includes:
the data acquisition module is used for acquiring real-time operation data of the power distribution network based on the data acquisition end;
The data processing module is used for dividing the operation data into a plurality of data packets, and each data packet is configured with identification information, wherein the identification information comprises a sequence identification and a unified identification;
The data sending module is used for sequentially sending the plurality of data packets to the data receiving end based on the identification information;
And the data verification module is used for judging the integrity of the operation data of the data receiving end based on the identification information, and receiving feedback information returned from the data receiving end when the operation data of the data receiving end is incomplete, and repeating the data packet based on the feedback information until the operation data of the data receiving end is judged to be complete based on the identification information.
In some embodiments of the present invention, the data transmitting module includes:
A transmission sequence sub-module, configured to add the plurality of data packets to a current transmission sequence in the buffer queue based on the uniform identifier;
The data packet selecting sub-module is used for setting the sub-data packet with the largest sequence in the current transmission sequence as the current sub-data packet based on the sequence identification;
the first sending sub-module is used for sending the current sub-data packet to a data receiving end through a 5G channel;
and the second sending submodule is used for responding to response information returned by the data receiving end and sending the rest data packets in the transmission sequence to the data receiving end according to a random sequence.
In a third aspect, an embodiment of the present invention provides a computer storage medium, where computer readable instructions are stored, where the computer readable instructions, when executed by a processor, implement the steps of the 5G-based power distribution network real-time monitoring method provided in the first aspect above.
Compared with the prior art, in the 5G-based power distribution network real-time monitoring method, device and storage medium provided by the embodiment of the invention, the monitoring method is characterized in that the data acquisition end acquires all-station real-time operation data of different power distribution network manufacturers, different protocols, wired or wireless communication modes and the like, the operation data is divided into a plurality of data packets, each data packet is configured with identification information, the identification information comprises sequential identification and unified identification, the plurality of data packets are sequentially sent to the data receiving end based on the identification information, the integrity of the operation data of the data receiving end is judged based on the identification information, feedback information returned by the data receiving end is received when the operation data of the data receiving end is incomplete, and the data packets are reissued based on the feedback information until the completion of the operation data of the data receiving end is judged based on the identification information, so that timely feedback and reissue of the operation data which are not received can be carried out in time, the timeliness of data transmission can be avoided, the problem that the monitoring data of the power distribution network is easy to be lost in time is ensured, and the monitoring effect of the power distribution network is effectively solved, and the missing of the data is prevented from being transmitted in the process of the data transmission is ensured.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements throughout, the principles of the present invention are illustrated in an appropriate computing environment. The following description is based on illustrative embodiments of the invention and should not be taken as limiting other embodiments of the invention not described in detail herein.
As used herein, a "data receiving end" includes both devices of a wireless signal receiver having only wireless signal receivers without transmitting capabilities and devices of receiving and transmitting hardware having devices capable of performing two-way communications over a two-way communications link, as will be appreciated by those skilled in the art.
The "data receiving end" used herein may also be a communication terminal, a network access terminal, and a music/video playing terminal, for example, may be a PDA, a MID (Mobile INTERNET DEVICE ) and/or a Mobile phone with a music/video playing function, and may also be a smart tv, a set-top box, and other devices.
As used herein, a "data receiving end" includes, but is not limited to, a computer, a network host, a single network server, a collection of network servers, or a cloud of multiple servers, as will be appreciated by those skilled in the art. Here, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, a super virtual computer composed of a group of loosely coupled computer sets.
The method aims at solving the problem that the data transmission omission of the acquired power distribution network is easily caused in the traditional data transmission process of data acquisition. The invention provides a 5G-based real-time monitoring method for a power distribution network, which is completed in data interaction between a data acquisition end 1000 and a data receiving end 2000, as shown in fig. 1, the data acquisition end 1000 and the data receiving end 2000 provided by test-sample in the invention transmit data through a 5G channel, preferably, a 5G slice network is adopted, and on the premise of fully ensuring network safety, reliability and low delay, blind area data acquisition and transmission are completed, a data island is communicated, and full data coverage is formed.
Referring to fig. 2, fig. 2 is a flowchart of a 5G-based power distribution network real-time monitoring method according to an embodiment, the method includes the following steps:
Step S102, acquiring real-time operation data of the power distribution network based on a data acquisition end, and acquiring total station real-time operation data of different manufacturers, different protocols, wired or wireless communication modes and the like of the power distribution network based on the data acquisition end;
In the specific implementation of step S102 provided by the embodiment of the present invention, the data acquisition end 1000 in the embodiment of the present invention is a sensor, a detection device, etc. for acquiring operation data of a power distribution network, and is not limited in particular, the data acquisition end 1000 has a communication function to implement data transmission and reception.
Step S104, dividing the operation data into a plurality of data packets, wherein each data packet is configured with identification information, and the identification information comprises sequential identifications and unified identifications;
In the specific implementation of step S104 provided in the embodiment of the present invention, the operation data of the power distribution network to be sent is encapsulated into a plurality of data packets containing the operation data, each data packet is configured with identification information, where the identification information includes a sequential identification and a unified identification, and the sequential identification is an exemplary sequence of the current data packet, and the unified identification is used to identify the plurality of data packets into which the operation data is divided, and further, the data packet configured with the identification information is cached in a cache queue of the data acquisition end.
Step S106, based on the identification information, sequentially sending a plurality of data packets to a data receiving end through a 5G channel, wherein the data receiving end transmits data to a power distribution network monitoring background or other third party systems according to power standard communication protocols (IEC 104, 61850, MODBUS and the like) according to the specification requirements of the power distribution network;
In the specific implementation of step S106 provided in this embodiment of the present invention, through a unified identifier in the identifier information configured by each data packet, the data packets with the same unified identifier are concentrated, and the data packets are added to a current transmission sequence of a buffer queue, where the current transmission sequence is a sequence of data packets to be transmitted, further, based on the sequence identifier, a sub-data packet with the largest sequence in the current transmission sequence is set as a current sub-data packet, and when the sequence identifier indicates 1,2, 3, 4, and 5, the sub-data packet with the largest sequence in the transmission sequence is an exemplary data packet with the sequence identifier 5, at this time, the data packet with the sequence identifier indicated 5 is sent to a data receiving end through a 5G channel, and further, the data sending end responds to response information returned by the data receiving end, and sends the remaining data packets in the transmission sequence to the data receiving end according to a random sequence.
And S108, judging the integrity of the operation data of the data receiving end based on the identification information, and when the operation data of the data receiving end is incomplete, receiving feedback information returned from the data receiving end, and repeating the data packet based on the feedback information until judging the operation data of the data receiving end is complete based on the identification information.
In the specific implementation of step S108 provided in the embodiment of the present invention, the theoretical number of the running data packets is determined based on the sequence identifier of the current sub-packet, and when the sequence identifier of the current sub-packet is indicated as 5, the total number of the running data packets is indicated as 5, that is, the theoretical number of the running data packets of the running data is 5, further, the actual number of the data packets received by the data receiving end is counted according to the uniform identifier, when the theoretical number is consistent with the actual number, the running data of the data receiving end is judged to be complete based on the identification information, and when the theoretical number is inconsistent with the actual number, the running data of the data receiving end is judged to be incomplete based on the identification information.
In some embodiments of the present invention, after the step of dividing the operation data into a plurality of data packets, the real-time monitoring method further includes:
And caching the data packet configured with the identification information in a cache queue of the data acquisition end.
Fig. 3 shows a sub-flowchart of the real-time monitoring method according to the embodiment of the present invention. As shown in fig. 3, in a preferred embodiment of the present invention, the step of sequentially sending a plurality of data packets to a data receiving end through a 5G channel based on the identification information includes:
Step S202, adding the data packets to the current transmission sequence in the buffer queue based on the unified identification;
step S204, setting the sub-data packet with the largest sequence in the current transmission sequence as the current sub-data packet based on the sequence identification;
Step S206, the current sub-data packet is sent to a data receiving end through a 5G channel;
And step S208, responding to response information returned by the data receiving end, and transmitting the rest data packets in the transmission sequence to the data receiving end according to a random sequence.
Fig. 4 shows a sub-flowchart of the real-time monitoring method according to the embodiment of the present invention. As shown in fig. 4, in a preferred embodiment of the present invention, the step of determining the integrity of the operation data of the data receiving end based on the identification information includes:
step S302, determining the theoretical number of the operation data packets based on the sequence identification of the current sub-data packet;
step S304, counting the actual number of the data packets received by the data receiving end according to the unified identification;
step S306, judging that the operation data of the data receiving end is complete based on the identification information when the theoretical quantity is consistent with the actual quantity;
And step 308, judging that the operation data of the data receiving end is incomplete based on the identification information when the theoretical number is inconsistent with the actual number.
Fig. 5 shows a sub-flowchart of the real-time monitoring method according to the embodiment of the present invention. As shown in fig. 5, in a preferred embodiment of the present invention, the step of receiving feedback information returned from the data receiving end and performing the data packet reissuing based on the feedback information includes:
Step S402, when the theoretical number is inconsistent with the actual number, determining that the data receiving end does not receive the data packet sequence number based on the sequence identifier;
In the implementation of step S402 provided in the embodiment of the present invention, for example, when the sequence identifier of the current sub-packet is indicated as 5, it may be determined that there are 4 data that need to be received by the data receiving end, and further, according to the sequence identifier, a specific sequence number of a data packet that is not received by the data end may be determined.
Step S404, generating incomplete feedback information according to the sequence number of the missed data packet, and sending the incomplete feedback information to the data acquisition end;
And step S406, responding to the feedback information of incomplete data, and sending the unsent data packet corresponding to the unsent data packet sequence number in the current transmission sequence to a data receiving end.
Fig. 6 shows a sub-flowchart of the real-time monitoring method according to the embodiment of the present invention. As shown in fig. 6, in a preferred embodiment of the present invention, the step of receiving feedback information returned from the data receiving end and performing the data packet reissuing based on the feedback information further includes:
Step S502, when the theoretical quantity is consistent with the actual quantity, generating feedback information with complete data, and sending the feedback information with complete data to the data acquisition end;
and step S504, deleting the data packet of the current transmission sequence in the buffer queue in response to the feedback information of the complete data.
Fig. 7 shows a sub-flowchart of the real-time monitoring method according to the embodiment of the present invention. As shown in fig. 7, in a preferred embodiment of the present invention, after the step of determining that the operation data of the data receiving end is complete based on the identification information, the real-time monitoring method further includes:
step S602, extracting a plurality of data packets from the queue based on the unified identification;
step S604, combining the plurality of data packets based on the sequence identifier to form the complete operation data.
Fig. 8 shows a block diagram of a real-time monitoring device according to an embodiment of the present invention.
As shown in fig. 8, an embodiment of the present invention provides a real-time monitoring device for a power distribution network based on 5G, where the real-time monitoring device 700 includes:
The data acquisition module 701 is configured to obtain real-time operation data of the power distribution network based on the data acquisition end, and may obtain total station real-time operation data of different manufacturers, different protocols, wired or wireless communication modes of the power distribution network based on the data acquisition end;
A data processing module 702, configured to divide the operation data into a plurality of data packets, where each data packet is configured with identification information, and the identification information includes a sequential identifier and a uniform identifier;
a data sending module 703, configured to send a plurality of data packets to a data receiving end in sequence based on the identification information;
And the data verification module 704 is used for judging the integrity of the operation data of the data receiving end based on the identification information, and receiving feedback information returned from the data receiving end when the operation data of the data receiving end is incomplete, and repeating the data packet based on the feedback information until judging the integrity of the operation data of the data receiving end based on the identification information.
Fig. 9 shows a block diagram of a data transmission module according to an embodiment of the present invention.
As shown in fig. 9, in one embodiment provided by the present invention, the data sending module 703 includes:
a transmission sequence sub-module 7031, configured to add the plurality of data packets to a current transmission sequence in the buffer queue based on the uniform identifier;
A packet selection sub-module 7032, configured to set, based on the sequence identifier, a sub-packet with the largest order in the current transmission sequence as a current sub-packet;
A first sending sub-module 7033, configured to send the current sub-packet to a data receiving end through a 5G channel;
And the second sending sub-module 7034 is configured to send, in response to response information returned by the data receiving end, remaining data packets in the transmission sequence to the data receiving end according to a random sequence.
In summary, in the method, the device and the storage medium for monitoring the power distribution network based on 5G provided by the embodiment of the invention, the monitoring method provided by the embodiment of the invention acquires real-time operation data of the power distribution network based on the data acquisition end, divides the operation data into a plurality of data packets, each data packet is configured with identification information, the identification information comprises sequential identification and unified identification, the plurality of data packets are sequentially sent to the data receiving end based on the identification information, the integrity of the operation data of the data receiving end is judged based on the identification information, when the operation data of the data receiving end is incomplete, feedback information returned from the data receiving end is received, and the data packets are reissued based on the feedback information until the operation data of the data receiving end is judged to be complete based on the identification information, so that timely feedback and reissue of the operation data which are not completely received can be carried out, the timeliness of data acquisition in the data transmission process can be avoided, the omission of the data acquisition process is avoided, the real-time monitoring effect of the power distribution network data is ensured, and the problem of the data transmission process of the power distribution network caused by the data acquisition process is effectively solved.
Fig. 10 is a diagram schematically illustrating a structure of a computer device according to an embodiment of the present invention.
Further, as shown in fig. 10, in still another preferred embodiment of the present invention, a computer device is provided, where the computer device is configured to execute the processing flow of the method, the apparatus, and the storage medium for monitoring a power distribution network based on 5G.
The computer device 800 includes:
a memory 801 and one or more processors 802;
the memory 801 is configured to store one or more programs;
The one or more programs, when executed by the one or more processors 802, cause the one or more processors 802 to implement the 5G-based power distribution network real-time monitoring method, apparatus, and storage medium as provided in the foregoing embodiments.
In a preferred embodiment of the present invention, the method for monitoring a 5G-based power distribution network in real time includes the following steps:
Acquiring real-time operation data of the power distribution network based on a data acquisition end;
Dividing the operation data into a plurality of data packets, wherein each data packet is configured with identification information, and the identification information comprises sequential identifications and unified identifications;
Sequentially transmitting a plurality of data packets to a data receiving end through a 5G channel based on the identification information;
And judging the integrity of the operation data of the data receiving end based on the identification information, and when the operation data of the data receiving end is incomplete, receiving feedback information returned from the data receiving end, and repeating the data packet based on the feedback information until the operation data of the data receiving end is judged to be complete based on the identification information.
Further, in the real-time example provided by the present invention, the industrial equipment management based on the internet of things further has a communication interface 803 for receiving a control instruction.
Further, in yet another preferred embodiment provided by the present invention, a storage medium containing computer executable instructions which, when executed by a computer processor, are provided for performing the steps of the 5G based power distribution network real time monitoring method as provided by the above embodiments.
In a preferred embodiment of the present invention, the method for monitoring a 5G-based power distribution network in real time includes the following steps:
Acquiring real-time operation data of the power distribution network based on a data acquisition end;
Dividing the operation data into a plurality of data packets, wherein each data packet is configured with identification information, and the identification information comprises sequential identifications and unified identifications;
Sequentially transmitting a plurality of data packets to a data receiving end through a 5G channel based on the identification information;
And judging the integrity of the operation data of the data receiving end based on the identification information, and when the operation data of the data receiving end is incomplete, receiving feedback information returned from the data receiving end, and repeating the data packet based on the feedback information until the operation data of the data receiving end is judged to be complete based on the identification information.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
In one typical configuration of an embodiment of the present invention, a terminal, a device serving a network, and a computing device include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data.
Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer readable media, as defined herein, does not include non-transitory computer readable media (transmission media), such as modulated data signals and carrier waves.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above. The specific working process of the above-described device may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The embodiments are only used to illustrate the technical scheme of the present invention, but not to limit the technical scheme, and although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that the technical scheme described in the foregoing embodiments may be modified or some or all technical features may be equivalently replaced, and the modification or replacement does not deviate the essence of the corresponding technical scheme from the scope of the technical scheme of the embodiments of the present invention.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. The embodiments of the present disclosure are intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.