CN115696497B - Communication method and system between power distribution terminals based on 5G technology and terminal equipment - Google Patents

Communication method and system between power distribution terminals based on 5G technology and terminal equipment Download PDF

Info

Publication number
CN115696497B
CN115696497B CN202310009833.3A CN202310009833A CN115696497B CN 115696497 B CN115696497 B CN 115696497B CN 202310009833 A CN202310009833 A CN 202310009833A CN 115696497 B CN115696497 B CN 115696497B
Authority
CN
China
Prior art keywords
data
power distribution
goose
distribution terminal
computer software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310009833.3A
Other languages
Chinese (zh)
Other versions
CN115696497A (en
Inventor
刘海涛
辛海斌
杨松
王强
王志辉
姚嘉楠
王志豪
胡敬洋
李国朋
焦龙飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shijiazhuang Kelin Electric Co Ltd
Original Assignee
Shijiazhuang Kelin Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shijiazhuang Kelin Electric Co Ltd filed Critical Shijiazhuang Kelin Electric Co Ltd
Priority to CN202310009833.3A priority Critical patent/CN115696497B/en
Publication of CN115696497A publication Critical patent/CN115696497A/en
Application granted granted Critical
Publication of CN115696497B publication Critical patent/CN115696497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application is applicable to the technical field of communication, and provides a communication method, a system and terminal equipment between power distribution terminals based on a 5G technology, wherein the method comprises the following steps: the power distribution terminal packs the acquired state data into GOOSE data and sends the GOOSE data to the corresponding 5G router in a two-layer network protocol mode; the power distribution terminal has a fixed IP; the 5G router receives the GOOSE data and packages the GOOSE data into an IP layer data packet based on the fixed IP of the power distribution terminal; after the 5G router establishes TCP connection with computer software, an IP layer data packet is sent to the computer software; wherein the computer software runs on virtual computer hardware, the virtual computer hardware being within the MEC device of the core network; the computer software analyzes the state data from the IP layer data packet and forwards the first state data to other power distribution terminals based on a two-layer network protocol; the other power distribution terminals are power distribution terminals other than the above power distribution terminal. According to the method and the device, the data can be rapidly interacted between the devices under the condition that the cards and the cards are not required to be communicated with each other.

Description

Communication method and system between power distribution terminals based on 5G technology and terminal equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a communication method, a communication system and terminal equipment between power distribution terminals based on a 5G technology.
Background
For a period of time, intelligent distributed FA (Feeder automation) differential protection has been applied to test points in a 5G network, and one is to use a special network card for card intercommunication handled by an operator, and establish a special communication channel between points to multipoint to realize interaction between devices by two-layer data GOOSE. The other is to pack a GOOSE (Generic Object Oriented Substation Event) data packet into an IP layer data packet, and to implement the inter-device communication in a TCP (Transmission Control Protocol) or UDP (User data Protocol) manner. The two methods are realized based on the intercommunication between the cards, the data transmission path is SIM card-core network-SIM card, and the promotion of the 5G application trial point of the existing intelligent distributed differential protection is hindered along with the business that the national power grid company and the Ministry of industry and communications forbid the intercommunication between the cards.
Under the condition that the cards can not be communicated with each other, a special line server can be arranged, the server realizes data interaction between the cards in a data forwarding mode, and a data transmission path is an SIM card-core network-special line server-core network-SIM card.
Disclosure of Invention
In order to solve the problems in the related art, embodiments of the present application provide a communication method, a communication system, and a terminal device between distribution terminals based on a 5G technology, so as to achieve fast data interaction between devices without card-to-card communication.
The application is realized by the following technical scheme:
in a first aspect, an embodiment of the present application provides a communication method between power distribution terminals based on a 5G technology, including: the first power distribution terminal packs the acquired first state data into GOOSE data and sends the GOOSE data to the corresponding first 5G router in a two-layer network protocol mode; the first power distribution terminal is provided with a 5G special network card with a fixed IP; the first state data represents an operating state of the first power distribution terminal;
the first 5G router receives the GOOSE data and packages the GOOSE data into a first IP layer data packet based on the fixed IP of the first power distribution terminal;
after the first 5G router establishes TCP connection with computer software, a first IP layer data packet is sent to the computer software; wherein the computer software runs on virtual computer hardware, the virtual computer hardware being within a mobile edge computing, MEC, device of the core network;
the computer software analyzes the first state data from the first IP layer data packet and forwards the first state data to the second power distribution terminal based on the two-layer network protocol; the second power distribution terminal is a power distribution terminal other than the first power distribution terminal.
In one possible implementation of the first aspect, the first power distribution terminal and the second power distribution terminal are power distribution terminals within the same group; the first power distribution terminal can be any power distribution terminal in the same group;
aiming at the same group, the computer software uses the port number to represent the group number, and the power distribution terminals accessing the same server port number are in one group.
In one possible implementation of the first aspect, the first 5G router establishes a TCP connection with computer software, and the TCP connection includes:
embedding the first device software into a first 5G router corresponding to the power distribution terminal;
the first device software is embedded into a GOOSE capturing function module through a driving layer of the first 5G router;
and the GOOSE capture function module performs data transmission with a TCP application module of the virtual computer hardware.
In a possible implementation manner of the first aspect, the first 5G router establishes a TCP connection with computer software, and further includes:
the first device software and the computer software perform identity authentication;
after the first device software and the computer software are authenticated successfully, the first 5G router establishes TCP connection with the computer software.
In a possible implementation manner of the first aspect, the authenticating of the first device software and the computer software includes:
the method comprises the steps that first device software generates a random number with preset bytes, the random number is symmetrically encrypted by using a symmetric secret key K to form encrypted content, and the encrypted content is sent to computer software;
when the computer software receives the encrypted content, based on the data type of the encrypted content, decrypting by using the same symmetric key K, and sending a decrypted random number to the first device software;
and the first device software judges that the content of the decrypted random number is consistent with the content of the random number of the preset byte, the identity authentication is successful, and otherwise, the authentication is carried out again.
In one possible implementation of the first aspect, the computer software parsing the first status data from the IP layer packet comprises:
the TCP application module extracts GOOSE data from the IP layer data packet, packages the GOOSE data as application data into a TCP data packet and sends the TCP data packet to computer software embedded in the MEC device;
and the computer software disassembles the TCP data packet to obtain the GOOSE data comprising the first state data.
In one possible implementation of the first aspect, forwarding the first status data to the second power distribution terminal based on a two-layer network protocol includes:
the computer software packages the GOOSE data comprising the state data into TCP data aiming at the second power distribution terminal based on a two-layer network protocol; the TCP data for the second power distribution terminal is used for establishing connection with the second power distribution terminal;
and packaging the TCP data aiming at the second power distribution terminal into a second IP layer data packet, and sending the second IP layer data packet to the corresponding second power distribution terminal.
In a possible implementation manner of the first aspect, the GOOSE capture function module performs data transmission with a TCP application module of virtual computer hardware, and includes:
the GOOSE capturing function module reads network data from a driving layer of the first 5G router, and judges whether the network data belongs to a GOOSE data type or not according to the network frame type; the network data comprises a first IP layer data packet;
and if the network data belong to the GOOSE data type, capturing the GOOSE data in the network data, and sending the GOOSE data to the TCP application module.
In a second aspect, an embodiment of the present application provides a communication system between power distribution terminals based on a 5G technology, including:
the power distribution device is used for packaging the acquired state data into GOOSE data and sending the GOOSE data to the corresponding 5G router in a two-layer network protocol mode; the power distribution terminal has a fixed IP;
the 5G router is used for receiving the GOOSE data and packaging the GOOSE data into an IP layer data packet based on the fixed IP of the power distribution terminal; the IP layer data packet is also used for sending the IP layer data packet to the computer software after the TCP connection is established with the computer software; wherein the computer software runs on virtual computer hardware, the virtual computer hardware being within a mobile edge computing, MEC, device of the core network;
a core network comprising computer software and an MEC device, the computer software running on virtual computer hardware, the virtual computer hardware being within a mobile edge computing MEC device of the core network; the computer software is used for analyzing the state data from the IP layer data packet and forwarding the state data to other power distribution terminals based on a two-layer network protocol; the other power distribution terminals are other power distribution terminals than the power distribution terminal.
In a third aspect, an embodiment of the present application provides a terminal device, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor executes the computer program to implement the method according to any one of the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that:
according to the embodiment of the application, the power distribution terminal uses the 5G special network card with the fixed IP, and a computer hardware is virtualized on the core network, so that the connection between the power distribution terminal with the fixed IP and the core network can be established, data transmission paths from the core network to the special line server are reduced, communication time delay is reduced, and rapid data interaction between devices can be realized without the need of card-card intercommunication.
It is to be understood that, the beneficial effects of the second to third aspects may be referred to the related description of the first aspect, and are not described herein again.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the specification.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a communication method between power distribution terminals based on a 5G technology according to an embodiment of the present application;
fig. 2 is a schematic data transmission diagram of a communication method between power distribution terminals based on the 5G technology according to an embodiment of the present application;
fig. 3 is a schematic diagram of an n-group of electric terminals simultaneously accessing computer software according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a TCP application module extracting GOOSE data from an IP layer packet according to an embodiment of the present application;
fig. 5 is a schematic diagram of encapsulating GOOSE data as application data into TCP data according to an embodiment of the present application;
fig. 6 is a schematic diagram of the computer software provided in the present application, which disassembles the TCP packet to obtain GOOSE data;
fig. 7 is a schematic structural diagram of a communication system between power distribution terminals based on 5G technology according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing a relative importance or importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless otherwise specifically stated.
In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings and the detailed description, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flowchart of a communication method between distribution terminals based on a 5G technology according to an embodiment of the present application, and with reference to fig. 1, the communication method between the distribution terminals based on the 5G technology is described in detail as follows:
in step 101, a first power distribution terminal packs acquired first state data into GOOSE data, and sends the GOOSE data to a corresponding first 5G router in a two-layer network protocol manner; the first power distribution terminal is provided with a 5G special network card with a fixed IP; the first status data characterizes an operational status of the first power distribution terminal.
The first state number can be data of voltage, current, switch position, fault information and the like of the power distribution terminal.
Illustratively, the power distribution terminal may be a power distribution terminal for intelligent distributed feeder automation or a differential protection terminal. The power distribution terminal and the differential protection terminal are universal terminals, special development work is not needed, and the method is suitable for the application occasions of interconnection and intercommunication of terminals of multiple manufacturers.
Illustratively, each power distribution terminal has a 5G private network card with a fixed IP, so that each power distribution terminal has a fixed IP.
For the same group, the computer software represents the group number by the port number, and the power distribution terminals accessing the same server port number are in one group, as shown in fig. 2. M power distribution terminals may be included in a group, each having a corresponding 5G router, and the first power distribution terminal may be any one of the power distribution terminals.
Illustratively, the power distribution terminals in the same group are used as a virtual local area network for data exchange, and data exchange with the power distribution terminals or devices in other groups is avoided.
In step 102, the first 5G router receives GOOSE data and packages the GOOSE data into a first IP layer packet based on the fixed IP of the first power distribution terminal.
Illustratively, the first 5G router packages GOOSE data and fixed IP data of the first power distribution terminal into three-layer IP data packets via the built-in first device software.
In step 103, after the first 5G router establishes a TCP connection with the computer software, the first IP layer packet is sent to the computer software; wherein the computer software runs on virtual computer hardware within the mobile edge computing MEC arrangement of the core network.
Illustratively, the computer software built in the MEC device can simultaneously support simultaneous access of n sets of electrical terminals, where n is a positive integer, as shown in fig. 3. The first power distribution terminal may be any power distribution terminal within the same group. The device networks among different groups are independent, isolated and not influenced mutually.
Specifically, the establishing of the TCP connection between the first 5G router and the computer software includes: and embedding the first device software into a first 5G router corresponding to the power distribution terminal. The first device software is embedded into the GOOSE capture function module through the driving layer of the first 5G router. And the GOOSE capture function module performs data transmission with a TCP application module of the virtual computer hardware.
The GOOSE capture function module performs data transmission with a TCP application module of virtual computer hardware, including: the GOOSE capturing function module reads network data from a driving layer of the first 5G router, and judges whether the network data belongs to a GOOSE data type or not according to the network frame type; the network data includes a first IP layer packet. And if the network data belong to the GOOSE data type, capturing the GOOSE data in the network data, and sending the GOOSE data to the TCP application module.
Illustratively, GOOSE data captured by the GOOSE capture function module is not transmitted to the network protocol stack module of the router for processing.
Specifically, the first 5G router establishes a TCP connection with the computer software, and further includes: the first device software and the computer software perform identity authentication. After the first device software and the computer software are authenticated successfully, the first 5G router establishes TCP connection with the computer software.
Before the GOOSE capture function module sends the GOOSE data to the TCP application module, the first device software and the computer software perform identity authentication, which includes: the first device software generates a random number of a preset byte, symmetrically encrypts the random number by using a symmetric key K to form encrypted content, and sends the encrypted content to the computer software. And when the computer software receives the encrypted content, the computer software decrypts the encrypted content by using the same symmetric secret key K based on the data type of the encrypted content and sends the decrypted random number to the first device software. And the first device software judges that the content of the decrypted random number is consistent with the content of the random number of the preset byte, the identity authentication is successful, the GOOSE capturing function module sends the GOOSE data to the TCP application module, and otherwise, the authentication is carried out again.
For example, if the content of the preset byte random number is R, R may be a content in a preset format, and the first device software determines that the content of the decrypted random number is also R, the identity authentication is successful. Through the identity authentication process, the correctness of the data type and the safety of the data can be effectively ensured.
For example, the device software only needs to establish a TCP connection with the computer software, and can send out the status data of the power distribution terminal and receive the status data of other power distribution terminals forwarded by the computer software. The data transmission path is an SIM card-core network-SIM card, the processing speed of computer software can reach us level, the communication delay is basically equal to the card-card intercommunication mode, and the processing speed of the computer software is improved.
In step 104, the computer software parses the first status data from the first IP layer packet, and forwards the first status data to the second power distribution terminal based on the layer two network protocol; the second power distribution terminal is a power distribution terminal other than the first power distribution terminal.
Illustratively, the first power distribution terminal and the second power distribution terminal are power distribution terminals within the same group.
Specifically, the parsing, by the computer software, the first state data from the IP layer packet includes: the TCP application module extracts GOOSE data from the IP layer packet, as shown in fig. 4, encapsulates the GOOSE data as application data into a TCP data packet, and sends the TCP data packet to the computer software embedded in the MEC device, as shown in fig. 5. The computer software disassembles the TCP packet to obtain GOOSE data including the first status data, as shown in fig. 6.
The GOOSE data may be encapsulated as application data into IP layer data, where the IP layer data includes the TCP data, that is, the encapsulated IP layer data is disassembled by computer software, so as to obtain the GOOSE data including the first state data.
Illustratively, the computer software is only responsible for IP layer packet parsing, two-layer network data packaging and two-layer network data exchange, and application data in the two-layer network data is not parsed any more. The two-layer network data is data formed in a two-layer network protocol mode.
Specifically, the computer software forwards the first status data to the second power distribution terminal based on a two-layer network protocol, including: the computer software packages the GOOSE data comprising the state data into TCP data aiming at the second power distribution terminal based on a two-layer network protocol; the TCP data for the second power distribution terminal is used to establish a connection with the second power distribution terminal. And packaging the TCP data aiming at the second power distribution terminal into a second IP layer data packet, and sending the second IP layer data packet to the corresponding second power distribution terminal.
Illustratively, the computer software confirms that the GOOSE packet parsed from the TCP packet is a two-layer network protocol-based GOOSE packet, i.e., a multicast GOOSE packet. And then, the computer software performs TCP connection on other power distribution terminals according to the multicast requirements, packages three-layer IP of the GOOSE data including the state data, and respectively sends the three-layer IP to wireless channels of the 5G routers corresponding to the other power distribution terminals.
For example, taking a second 5G router of the 5G routers corresponding to the other power distribution terminals as an example, the second device software of the second 5G router receives an IP data packet sent by the computer software, where the IP data packet includes GOOSE data and IP data. After the multicast GOOSE message is disassembled and confirmed, the computer software forwards the GOOSE message to a network port channel of the second 5G router. At this time, the second power distribution terminal can receive the GOOSE complete message from the first power distribution terminal. Similarly, the transmission paths of the second power distribution terminal for sending the GOOSE data to the first power distribution terminal are the same.
It can be seen that the invention uses the 5G special network card with fixed IP through the power distribution terminal and virtualizes a computer hardware on the core network under the condition that the card-card intercommunication service can not be handled, so that the connection between the power distribution terminal with fixed IP and the core network can be established, and the data interaction between any devices is realized. The invention achieves the same excellent index with the card intercommunication mode in the aspect of communication delay, so that the communication delay between devices is less than 20ms. Through the port grouping mode, multiple irrelevant line data are isolated in the 5G network transmission in the same application area, and certain data security is guaranteed.
It should be understood that, the sequence numbers of the above steps do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 7 shows a block diagram of a communication system between power distribution terminals based on the 5G technology provided in the embodiment of the present application, which corresponds to the communication method between power distribution terminals based on the 5G technology in the foregoing embodiment, and only the relevant parts to the embodiment of the present application are shown for convenience of description.
Referring to fig. 7, the communication system between power distribution terminals based on the 5G technology in the embodiment of the present application may include a power distribution terminal 201, a 5G router 202, and a core network 203.
The power distribution terminal 201 is configured to package the acquired state data into GOOSE data, and send the GOOSE data to a corresponding 5G router in a two-layer network protocol manner; the power distribution terminal has a fixed IP;
the 5G router 202 is used for receiving the GOOSE data and packaging the GOOSE data into an IP layer data packet based on the fixed IP of the power distribution terminal; the IP layer data packet is also used for sending the IP layer data packet to the computer software after the TCP connection is established with the computer software; wherein the computer software runs on virtual computer hardware, the virtual computer hardware being within a mobile edge computing, MEC, device of the core network;
a core network 203 comprising computer software running on virtual computer hardware within a mobile edge computing MEC device of the core network and MEC devices; the computer software is used for analyzing the state data from the IP layer data packet and forwarding the state data to other power distribution terminals based on a two-layer network protocol; the other power distribution terminals are other power distribution terminals than the power distribution terminal.
Illustratively, the power distribution terminal 201 may be a power distribution terminal or a differential protection terminal for intelligent distributed feeder automation. The power distribution terminal and the differential protection terminal are universal terminals, special development work is not needed, and the method and the device are suitable for application occasions of interconnection and intercommunication of terminals of multiple manufacturers.
Illustratively, each power distribution terminal 201 has a 5G private network card with a fixed IP, so that each power distribution terminal 201 has a fixed IP.
For the same group, the computer software represents the group number by the port number, and the power distribution terminal 201 accessing the same server port number is a group, as shown in fig. 2. M distribution terminals 201 may be included within a group, each distribution terminal 201 having a corresponding 5G router.
Illustratively, the power distribution terminals in the same group are used as a virtual local area network for data exchange, and data exchange with the power distribution terminals or devices in other groups is avoided.
Illustratively, after the 5G router 202 establishes a TCP connection with the computer software, an IP layer packet is sent to the computer software; wherein the computer software runs on virtual computer hardware within the mobile edge computing MEC apparatus of the core network 203.
Illustratively, the embedded computer software of the MEC device can simultaneously support simultaneous access of n sets of electrical terminals 201, where n is a positive integer, as shown in fig. 3. The power distribution terminal 201 that initiates the data transmission request may be any power distribution terminal 201 within the same group. The device networks among different groups are independent, isolated and not influenced mutually.
Illustratively, the 5G router 202 is configured to establish a TCP connection with computer software, and specifically includes: the first device software is embedded in the 5G router 201 corresponding to the power distribution terminal 201. The device software is embedded into the GOOSE capture function module through the driver layer of the 5G router 202. And the GOOSE capture function module performs data transmission with a TCP application module of the virtual computer hardware.
The GOOSE capture function module performs data transmission with a TCP application module of virtual computer hardware, and includes: the GOOSE capturing function module reads network data from a driving layer of the 5G router, and judges whether the network data belongs to a GOOSE data type or not according to a network frame type; the network data includes IP layer packets. And if the network data belong to the GOOSE data type, capturing the GOOSE data in the network data, and sending the GOOSE data to the TCP application module.
The 5G router 202 is configured to establish a TCP connection with computer software, and specifically includes: the device software and the computer software perform identity authentication. After the device software and the computer software are authenticated successfully, the 5G router 202 establishes TCP connection with the computer software.
The computer software in the core network 203 is used to parse the state data from the IP layer packet, and specifically includes: the TCP application module extracts GOOSE data from the IP packet, as shown in fig. 4, and encapsulates the GOOSE data as application data into a TCP packet, and sends the TCP packet to the embedded computer software of the MEC device, as shown in fig. 5. The computer software disassembles the TCP packet to obtain GOOSE data including status data, as shown in fig. 6.
The core network 203 computer software is further configured to forward the state data to other power distribution terminals based on a two-layer network protocol, and specifically includes: the computer software packages the GOOSE data including the state data into TCP data aiming at other power distribution terminals based on a two-layer network protocol; TCP data for other power distribution terminals is used to establish connections with other power distribution terminals. And packaging the TCP data aiming at other power distribution terminals into an IP layer data packet, and sending the IP layer data packet to the corresponding power distribution terminal.
It should be noted that, for the information interaction, the execution process, and other contents between the above-mentioned apparatuses, the specific functions and the technical effects of the embodiments of the method of the present application are based on the same concept, and specific reference may be made to the section of the embodiments of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
An embodiment of the present application further provides a terminal device, and referring to fig. 8, the terminal device 300 may include: at least one processor 310 and a memory 320, wherein the memory 320 stores a computer program 321 that is executable on the at least one processor 310, and the processor 310 executes the computer program 321 to implement the steps in any of the method embodiments, such as the steps 101 to 104 in the embodiment shown in fig. 1. Alternatively, the processor 310, when executing the computer program 321, implements the functions of each module/unit in each device embodiment described above, for example, the functions of the modules 201 to 203 shown in fig. 7.
Illustratively, the computer program 321 may be divided into one or more modules/units, which are stored in the memory 320 and executed by the processor 310 to accomplish the present application. The one or more modules/units may be a series of computer program segments capable of performing certain functions, which are used to describe the execution of the computer program 321 in the terminal device 300.
Those skilled in the art will appreciate that fig. 8 is merely an example of a terminal device and is not limiting and may include more or fewer components than shown, or some components may be combined, or different components such as input output devices, network access devices, buses, etc.
The Processor 310 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 320 may be an internal storage unit of the terminal device, or may be an external storage device of the terminal device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. The memory 320 is used for storing the computer programs and other programs and data required by the terminal device. The memory 320 may also be used to temporarily store data that has been output or is to be output.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The communication method between the power distribution terminals based on the 5G technology provided by the embodiment of the application can be applied to terminal devices such as computers, tablet computers, notebook computers, netbooks and Personal Digital Assistants (PDAs), and the specific type of the terminal device is not limited by the embodiment of the application.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program 321 is stored, and when being executed by a processor, the computer program 321 implements the steps in each embodiment of the communication method between the power distribution terminals based on the 5G technology.
The embodiment of the application provides a computer program product, and when the computer program product runs on a mobile terminal, the steps in each embodiment of the communication method between the power distribution terminals based on the 5G technology can be realized when the mobile terminal is executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (8)

1. A communication method between power distribution terminals based on 5G technology is characterized by comprising the following steps:
the first power distribution terminal packs the acquired first state data into GOOSE data and sends the GOOSE data to a corresponding first 5G router in a mode of a two-layer network protocol; the first power distribution terminal is provided with a 5G special network card with a fixed IP; the first state data characterizes an operating state of the first power distribution terminal;
the first 5G router receives the GOOSE data and packs the GOOSE data into a first IP layer data packet based on the fixed IP of the first power distribution terminal;
after the first 5G router establishes TCP connection with computer software, the first IP layer data packet is sent to the computer software; wherein the computer software runs on virtual computer hardware within a mobile edge computing, MEC, device of a core network; the core network comprises the mobile edge computing MEC device;
the computer software parses the first state data from the first IP layer packet and forwards the first state data to a second power distribution terminal based on the two-layer network protocol; the second power distribution terminal is other power distribution terminals except the first power distribution terminal;
the computer software parses first status data from the first IP layer packet, including: the GOOSE data is extracted from the first IP layer data packet by the TCP application module, and the GOOSE data is packaged into a TCP data packet as application data and is sent to computer software embedded in the MEC device; the computer software disassembles the TCP data packet to obtain GOOSE data comprising the first state data; the virtual computer hardware includes the TCP application module;
forwarding the first status data to a second power distribution terminal based on the layer two network protocol, comprising: the computer software packages the GOOSE data comprising the first state data into TCP data aiming at the second power distribution terminal based on a two-layer network protocol; TCP data for the second power distribution terminal is used to establish a connection with the second power distribution terminal; packaging TCP data aiming at the second power distribution terminal into a second IP layer data packet, and sending the second IP layer data packet to a wireless channel of a second 5G router corresponding to the second power distribution terminal; and the second 5G router disassembles the second IP layer data packet, forwards the GOOSE message to a network port channel of the second 5G router after confirming the multicast GOOSE message, and the second power distribution terminal receives the GOOSE message.
2. The method of claim 1, wherein the first power distribution terminal and the second power distribution terminal are power distribution terminals in a same group; the first power distribution terminal is any one power distribution terminal in the same group;
and aiming at the same group, the computer software uses the port number to represent the group number, and the power distribution terminals accessing the same server port number are in one group.
3. The method for communication between distribution terminals based on 5G technology according to claim 1, wherein the first 5G router establishes a TCP connection with computer software, and comprises:
embedding first device software into a first 5G router corresponding to the power distribution terminal;
the first device software is embedded into a GOOSE capture function module through a driving layer of the first 5G router;
and the GOOSE capturing function module performs data transmission with a TCP application module of the virtual computer hardware.
4. The method of claim 3, wherein the first 5G router establishes a TCP connection with computer software, and further comprising:
the first device software and the computer software perform identity authentication;
and after the first device software and the computer software are successfully authenticated, the first 5G router establishes TCP connection with the computer software.
5. The method for communication between distribution terminals based on 5G technology according to claim 4, wherein the authentication between the first device software and the computer software comprises:
the first device software generates a random number with preset bytes, symmetrically encrypts the random number by using a symmetric key K to form encrypted content, and sends the encrypted content to the computer software;
when the computer software receives the encrypted content, based on the data type of the encrypted content, decrypting by using the same symmetric key K, and sending a decrypted random number to the first device software;
and the first device software judges that the content of the decrypted random number is consistent with that of the random number of the preset byte, the identity authentication is successful, and otherwise, the authentication is carried out again.
6. The method according to claim 3, wherein the GOOSE capture function module performs data transmission with the TCP application module of the virtual computer hardware, and comprises:
the GOOSE capturing function module reads network data from a driving layer of the first 5G router, and judges whether the network data belongs to a GOOSE data type or not according to a network frame type; the network data comprises the first IP layer packet;
and if the network data belong to the GOOSE data type, capturing the GOOSE data in the network data, and sending the GOOSE data to a TCP application module.
7. A communication system between distribution terminals based on 5G technology is characterized by comprising:
the power distribution terminal is used for packaging the acquired state data into GOOSE data and sending the GOOSE data to the corresponding 5G router in a two-layer network protocol mode; the power distribution terminal has a fixed IP; the state data represents the operating state of the power distribution terminal;
the 5G router is used for receiving the GOOSE data and packaging the GOOSE data into an IP layer data packet based on the fixed IP of the power distribution terminal; the IP layer data packet is also used for sending the IP layer data packet to the computer software after TCP connection is established with the computer software; wherein the computer software runs on virtual computer hardware within a mobile edge computing, MEC, device of a core network;
a core network comprising computer software and an MEC device, the computer software running on virtual computer hardware within a mobile edge computing MEC device of the core network; the computer software is used for analyzing the state data from the IP layer data packet and forwarding the state data to a second power distribution terminal based on the two-layer network protocol; the second power distribution terminal is other power distribution terminals except the power distribution terminal;
the computer software is used for analyzing state data from the IP layer data packet, and comprises the following steps: the TCP application module extracts the GOOSE data from the IP layer data packet, packages the GOOSE data as application data into a TCP data packet and sends the TCP data packet to computer software embedded in the MEC device; the computer software disassembles the TCP data packet to obtain GOOSE data comprising the state data; the virtual computer hardware includes the TCP application module;
the computer software is further configured to forward the status data to a second power distribution terminal based on the two-layer network protocol, including: the computer software packages the GOOSE data comprising the state data into TCP data aiming at the second power distribution terminal based on a two-layer network protocol; TCP data for the second power distribution terminal is used to establish a connection with the second power distribution terminal; packaging TCP data aiming at the second power distribution terminal into a second IP layer data packet, and sending the second IP layer data packet to a wireless channel of a second 5G router corresponding to the second power distribution terminal; and the 5G router disassembles the second IP layer data packet, forwards the GOOSE message to a gateway channel of a second 5G router after confirming the GOOSE message is a multicast GOOSE message, and the second power distribution terminal receives the GOOSE message.
8. A terminal device comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor executes the computer program to implement the method for communication between the power distribution terminals based on the 5G technology according to any one of claims 1 to 6.
CN202310009833.3A 2023-01-05 2023-01-05 Communication method and system between power distribution terminals based on 5G technology and terminal equipment Active CN115696497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310009833.3A CN115696497B (en) 2023-01-05 2023-01-05 Communication method and system between power distribution terminals based on 5G technology and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310009833.3A CN115696497B (en) 2023-01-05 2023-01-05 Communication method and system between power distribution terminals based on 5G technology and terminal equipment

Publications (2)

Publication Number Publication Date
CN115696497A CN115696497A (en) 2023-02-03
CN115696497B true CN115696497B (en) 2023-03-14

Family

ID=85057472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310009833.3A Active CN115696497B (en) 2023-01-05 2023-01-05 Communication method and system between power distribution terminals based on 5G technology and terminal equipment

Country Status (1)

Country Link
CN (1) CN115696497B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112290518A (en) * 2020-10-23 2021-01-29 珠海许继电气有限公司 Intelligent distributed feeder protection method and system based on 5G communication
CN113131448A (en) * 2021-03-19 2021-07-16 郑州电力高等专科学校 Intelligent distributed feeder line method and device based on 5G communication
CN113194432A (en) * 2021-04-29 2021-07-30 国网上海市电力公司 Network communication method between intelligent distributed feeder automation terminals
CN114302345B (en) * 2021-12-31 2023-03-14 上海电力设计院有限公司 Power distribution automation system communication method of 5G network slice in intelligent energy field
CN115134431B (en) * 2022-05-27 2023-10-20 江苏金智科技股份有限公司 UDP differential message extraction method and system for power distribution automation 5G differential protection

Also Published As

Publication number Publication date
CN115696497A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
CN112073375B (en) Isolation device and isolation method suitable for client side of electric power Internet of things
CN109842585B (en) Network information safety protection unit and protection method for industrial embedded system
CN111314274B (en) Vehicle-mounted terminal and center platform bidirectional authentication method and system
CN100594690C (en) Method and device for safety strategy uniformly treatment in safety gateway
CN100574237C (en) Act on behalf of cut-in method, control network devices and act on behalf of connecting system
CN103491648B (en) Communication means and system based on WIFI
CN113194097B (en) Data processing method and device for security gateway and security gateway
EP3820094A1 (en) Vxlan message encapsulation method, device and system, and strategy execution method, device and system
CN110336788A (en) A kind of data safety exchange method of internet of things equipment and mobile terminal
CN110971407A (en) Internet of things security gateway communication method based on quantum key
Urien Cloud of secure elements: An infrastructure for the trust of mobile NFC services
CN114143068A (en) Electric power internet of things gateway equipment container safety protection system and method thereof
CN115696497B (en) Communication method and system between power distribution terminals based on 5G technology and terminal equipment
CN117254976A (en) National standard IPsec VPN realization method, device and system based on VPP and electronic equipment
CN210745177U (en) VPN cipher machine based on multiple hardware encryption cards
CN109150925B (en) IPoE static authentication method and system
WO2014089968A1 (en) Virtual machine system data encryption method and device
CN108123865B (en) Message processing method and device
WO2022227484A1 (en) Data communication method and apparatus, computer device, and storage medium
CN113872826B (en) Network card port stability testing method, system, terminal and storage medium
CN112019418B (en) Method and device for establishing IPSec tunnel based on brutal mode
CN107592294A (en) Data reporting method and device
CN113037696A (en) Data transmission method, system server, storage medium and computer equipment
CN214205583U (en) End-to-end external secure communication device based on electric power trusted computing platform communication
CN114978591B (en) Domain network data interaction system and method based on safety protection

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant