CN116112580B - Hardware pipeline GTP data distribution method and device for power low-delay service - Google Patents

Hardware pipeline GTP data distribution method and device for power low-delay service Download PDF

Info

Publication number
CN116112580B
CN116112580B CN202211475153.2A CN202211475153A CN116112580B CN 116112580 B CN116112580 B CN 116112580B CN 202211475153 A CN202211475153 A CN 202211475153A CN 116112580 B CN116112580 B CN 116112580B
Authority
CN
China
Prior art keywords
power
data packet
service data
tunnel endpoint
target
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
CN202211475153.2A
Other languages
Chinese (zh)
Other versions
CN116112580A (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.)
State Grid Smart Grid Research Institute Co ltd
State Grid Corp of China SGCC
Information and Telecommunication Branch of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
State Grid Smart Grid Research Institute Co ltd
State Grid Corp of China SGCC
Information and Telecommunication Branch of State Grid Zhejiang Electric Power 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 State Grid Smart Grid Research Institute Co ltd, State Grid Corp of China SGCC, Information and Telecommunication Branch of State Grid Zhejiang Electric Power Co Ltd filed Critical State Grid Smart Grid Research Institute Co ltd
Priority to CN202211475153.2A priority Critical patent/CN116112580B/en
Publication of CN116112580A publication Critical patent/CN116112580A/en
Priority to PCT/CN2023/114263 priority patent/WO2024109208A1/en
Application granted granted Critical
Publication of CN116112580B publication Critical patent/CN116112580B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a hardware pipeline GTP data distribution method and device for power low-delay service. Comprising the following steps: receiving a first power service data packet from a base station; analyzing the first power service data packet to obtain a target tunnel endpoint identifier of the first power service data packet; inquiring whether the first power service data packet meets the processing conditions of the mobile edge computing equipment or not based on the target tunnel endpoint identification to obtain an inquiry result; and executing the shunting operation corresponding to the query result on the first power service data packet so as to send the first power service data packet to the target service terminal. According to the application, the FPGA module is utilized to analyze the power service data packet sent to the mobile edge computing platform by the base station, and the power service data packet which can be processed by the mobile edge computing device is screened out, so that the power service data packet is split, the transmission delay is reduced, the service requirement is met, meanwhile, the customization of the power service is realized, and the efficiency of the power grid service is improved.

Description

Hardware pipeline GTP data distribution method and device for power low-delay service
Technical Field
The application relates to the technical field of communication, in particular to a hardware pipeline GTP data distribution method and device for power low-delay service.
Background
When the power service is accessed to the 5G public network in a traditional mode, in terms of a data transmission path, data exchange between the power communication private network and the 5G operator public network is completed in a core network, data communication between power equipment in the same area is required to be transmitted through a path of 'power communication private network access-power communication private network convergence-power communication private network core-public network convergence-public network access', the data transmission path is long, transmission delay is relatively high, and a plurality of gateways, routes and firewall equipment of the path cause that the transmission delay cannot meet service requirements, and meanwhile, a plurality of links of exposing the service in the public network increase safety risks; in the aspect of network performance guarantee, operators consider the common requirements of all-industry applications, can not customize and optimize the power service, and are difficult to completely match with the power grid service requirements.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the application provides a hardware pipeline GTP data distribution method and device for power low-delay service.
According to an aspect of the embodiment of the present application, there is provided a hardware pipeline GTP data splitting method for a low-latency power service, applied to an FPGA module in a mobile edge computing device, the method including:
receiving a first power service data packet from a base station;
analyzing the first power service data packet to obtain a target tunnel endpoint identifier of the first power service data packet;
inquiring whether the first power service data packet meets the processing conditions of the mobile edge computing equipment or not by utilizing the target tunnel endpoint identification to obtain an inquiry result, wherein the processing conditions of the mobile edge computing equipment are used for indicating to process the power low-delay data packet;
And executing the splitting operation corresponding to the query result on the first power service data packet so as to send the first power service data packet to a target service terminal, wherein the target service terminal is used for deploying power service according to the first power service data packet.
Further, the querying whether the first power service data packet meets the processing condition of the mobile edge computing device based on the target tunnel endpoint identifier, to obtain a query result, includes:
Acquiring a preset transmission rule of the mobile edge computing device, wherein the preset transmission rule comprises a plurality of preset tunnel endpoint identifiers;
Inquiring whether tunnel endpoint identifiers matched with the target tunnel endpoint identifiers exist in a plurality of preset tunnel endpoint identifiers or not, and obtaining an inquiring result;
When tunnel endpoint identifiers matched with the target tunnel endpoint identifier exist in the preset tunnel endpoint identifiers, the query result is that the processing conditions of the mobile edge computing equipment are met; and when the tunnel endpoint identifiers matched with the target tunnel endpoint identifier do not exist in the plurality of preset tunnel endpoint identifiers, the query result is that the processing condition of the mobile edge computing device is not met.
Further, the executing the splitting operation corresponding to the query result on the first power service data packet to send the first power service data packet to the target service terminal includes:
when the query result is that the processing condition of the mobile edge computing equipment is met, performing GTP unpacking operation on the first power service data packet by utilizing a hardware pipeline to obtain first power delay data;
The first power delay data is sent to a target service platform, so that the target service platform processes the first power delay data, and after the processing is completed, second power delay data obtained after the processing is returned;
Receiving the second power delay data, and performing GTP (general packet transfer) packaging operation on the second power delay data by utilizing the hardware pipeline to obtain a second power service data packet;
Uploading the second power service data packet to a core network, so as to send the second power service data packet to the target service terminal through the core network.
Further, the unpacking operation is performed on the first power service data packet to obtain first power delay data, including:
Acquiring three layers of data messages in the first power service data packet, and acquiring first message attributes matched with the three layers of data messages;
analyzing the three-layer data message by utilizing an analysis strategy corresponding to the first message attribute to obtain a two-layer data message;
Acquiring an inner layer IP address and a protocol identifier based on a two-layer data message, and inquiring a first network port and next hop information by utilizing the inner layer IP address and the protocol identifier, wherein the first network port is a network port of the target service platform;
And editing the three-layer data message by using the next-hop information, and determining the edited three-layer data message as the first power delay data.
Further, the performing a packet operation on the second power delay data to obtain a second power service data packet includes:
Acquiring an original data message from the second power delay data, and acquiring a second message attribute of the original data message, wherein the original data message comprises: two-layer data messages and three-layer data messages;
Inquiring a second network port and next hop information corresponding to the target message attribute, wherein the second network port is a network port of the core network;
and encapsulating the original data message by using the next hop information to obtain an encapsulated original data message, and generating the second power service data packet based on the encapsulated original data message.
Further, the encapsulating the original data packet with the next hop information to obtain an encapsulated original data packet includes:
determining an initial message header and initial message content of the original data message;
Encapsulating the initial message header of the two-layer data message and the three-layer data message by using the next-hop information to obtain a target message header;
And assembling the target message header and the initial message content to obtain the packaged original data message.
Further, the executing the splitting operation corresponding to the query result on the first power service data packet to send the first power service data packet to the target service terminal includes:
And when the query result is that the processing condition of the mobile edge computing equipment is met, sending the first power service data packet to a service gateway, so that the service gateway uploads the first power service data packet to a core network, and sending the first power service data packet to the target service terminal through the core network.
According to another aspect of the embodiment of the present application, there is also provided a hardware pipeline GTP data splitting device for low-latency power service, including:
The receiving module is used for receiving a first power service data packet from the base station;
The analyzing module is used for analyzing the first power service data packet to obtain a tunnel endpoint identifier of the first power service data packet;
the processing module is used for inquiring whether the first power service data packet meets the processing conditions of the mobile edge computing equipment or not by utilizing the target tunnel endpoint identification to obtain an inquiring result, wherein the processing conditions of the mobile edge computing equipment are used for indicating to process the power low-delay data packet;
and the execution module is used for executing the shunting operation corresponding to the query result on the first power service data packet so as to send the first power service data packet to a target service terminal, wherein the target service terminal is used for deploying power service according to the first power service data packet.
Further, the processing module is configured to obtain a preset transmission rule of the mobile edge computing device, where the preset transmission rule includes a plurality of preset tunnel endpoint identifiers; inquiring whether tunnel endpoint identifiers matched with the target tunnel endpoint identifiers exist in a plurality of preset tunnel endpoint identifiers or not to obtain an inquiring result; when tunnel endpoint identifiers matched with the target tunnel endpoint identifiers exist in the plurality of preset tunnel endpoint identifiers, the query result is that the processing conditions of the mobile edge computing equipment are met; and when the tunnel endpoint identifiers matched with the target tunnel endpoint identifier do not exist in the plurality of preset tunnel endpoint identifiers, the query result is that the processing condition of the mobile edge computing equipment is not met.
Further, the execution module is configured to perform GTP unpacking operation on the first power service data packet by using a hardware pipeline to obtain first power delay data when the query result is that the processing condition of the mobile edge computing device is satisfied; the first power delay data is sent to a target service platform, so that the target service platform processes the first power delay data, and after the processing is completed, second power delay data obtained after the processing is returned; receiving the second power delay data, and performing GTP (general packet transfer) packaging operation on the second power delay data by utilizing the hardware pipeline to obtain a second power service data packet; uploading the second power service data packet to a core network, so as to send the second power service data packet to the target service terminal through the core network.
Further, the execution module is used for acquiring three layers of data messages in the first power service data packet and acquiring first message attributes matched with the three layers of data messages; analyzing the three-layer data message by utilizing an analysis strategy corresponding to the first message attribute to obtain a two-layer data message; acquiring an inner layer IP address and a protocol identifier based on the two-layer data message, and inquiring a first network port and next hop information by utilizing the inner layer IP address and the protocol identifier, wherein the first network port is a network port of a target service platform; and editing the three-layer data message by using the next-hop information, and determining the edited three-layer data message as first power delay data.
Further, the executing module is configured to obtain an original data packet from the second power delay data, and obtain a second packet attribute of the original data packet, where the original data packet includes: two-layer data messages and three-layer data messages; inquiring a second network port and next hop information corresponding to the target message attribute, wherein the second network port is a network port of a core network; and encapsulating the original data message by using the next-hop information to obtain an encapsulated original data message, and generating a second power service data packet based on the encapsulated original data message.
In the real-time example of the present application, the execution module 54 is configured to determine an initial header and an initial message content of the original data message; encapsulating the initial message header of the two-layer data message and the three-layer data message by using the next-hop information to obtain a target message header; and assembling the target message header and the initial message content to obtain the packaged original data message.
Further, the execution module is configured to send the first power service data packet to the service gateway when the query result is that the processing condition of the mobile edge computing device is satisfied, so that the service gateway uploads the first power service data packet to the core network, and sends the first power service data packet to the target service terminal through the core network.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that performs the above steps when running.
According to another aspect of the embodiment of the present application, there is also provided an electronic device including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: a memory for storing a computer program; and a processor for executing the steps of the method by running a program stored on the memory.
Embodiments of the present application also provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the above method.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, the FPGA module is utilized to analyze the power service data packets sent to the mobile edge computing platform by the base station, and the power service data packets which can be processed by the mobile edge computing device are screened out, so that the power service data packets are split, the transmission delay is reduced, the service requirements are met, meanwhile, the customization of power service is realized for the split of different power service data packets, and the efficiency of power grid service is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a flowchart of a hardware pipeline GTP data splitting method for a low-latency power service according to an embodiment of the present application;
Fig. 2 is a flowchart of a hardware pipeline GTP data splitting method for a low-latency power service according to another embodiment of the present application;
FIG. 3 is a flowchart of a hardware pipeline GTP data offloading method for power low-latency services according to another embodiment of the present application;
Fig. 4 is a flowchart of a hardware pipeline GTP data splitting method for a low-latency power service according to another embodiment of the present application;
fig. 5 is a block diagram of a hardware pipeline GTP data splitting device for low-latency power service according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments, illustrative embodiments of the present application and descriptions thereof are used to explain the present application and do not constitute undue limitations of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another similar entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiment of the application provides a hardware pipeline GTP data distribution method and device for power low-delay service, electronic equipment and a storage medium. The method provided by the embodiment of the application can be applied to any needed electronic equipment, for example, the electronic equipment can be a server, a terminal and the like, is not particularly limited, and is convenient to describe and is called as the electronic equipment for short hereinafter.
According to an aspect of the embodiment of the application, a method embodiment of a hardware pipeline GTP data splitting method for power low-delay service is provided. Fig. 1 is a flowchart of a hardware pipeline GTP data splitting method for a low-latency power service according to an embodiment of the present application, where, as shown in fig. 1, the method includes:
step S11, a first power service data packet from a base station is received.
The method provided by the embodiment of the application is applied to the FPGA module in the mobile edge computing equipment. The FPGA module is configured to receive a first power service data packet from the base station, and it is to be noted that, the base station first performs GTP (GPRS Tunneling Protocol ) encapsulation on the power delay data, and adds a specified TEID (Tunnel Endpoint Identification, tunnel endpoint identifier) to the power delay data in the GTP encapsulation process, so as to obtain the first power service data packet, where the TEID is a 32bit string, and the power service data includes power low-latency data and non-power low-latency data.
And step S12, analyzing the first power service data packet to obtain the target tunnel endpoint identification of the first power service data packet.
In the embodiment of the application, the FPGA module analyzes the first power service data packet and acquires the target tunnel endpoint identification from the first power service data packet. It should be noted that, the base station and the mobile edge computing device are established in a GTP tunnel, where the GTP tunnel may have TEID identifiers of multiple endpoints, and different tunnel endpoint identifiers are used to identify different power delay data, for example: for the power low-delay data, the corresponding tunnel endpoint identifier is a tunnel endpoint identifier P, and for the non-power low-delay data, the corresponding tunnel endpoint identifier is a tunnel endpoint identifier Q.
And step S13, inquiring whether the first power service data packet meets the processing conditions of the mobile edge computing equipment by utilizing the target tunnel endpoint identification to obtain an inquiry result, wherein the processing conditions of the mobile edge computing equipment are used for indicating to process the power low-delay data packet.
In the embodiment of the application, after the FPGA module analyzes the target tunnel endpoint identification, the stored multiple preset tunnel endpoint identifications and the target tunnel endpoint identification can be utilized to match, so that whether the target tunnel endpoint identification meets the processing conditions of the mobile edge computing equipment or not is determined, and the query result is obtained.
In the real-time example of the present application, step S13, based on the target tunnel endpoint identifier, queries whether the first power service data packet meets the processing condition of the mobile edge computing device, and obtains the query result, including the following steps A1-A2:
step A1, a preset transmission rule of the mobile edge computing device is obtained, wherein the preset transmission rule comprises a plurality of preset tunnel endpoint identifiers.
In the embodiment of the application, a developer can configure a preset transmission rule in the mobile edge computing device, and the preset transmission rule can include: tunnel endpoint identification for representing power low latency data, and network port and next hop information, etc.
And step A2, inquiring whether a tunnel endpoint identifier matched with the target tunnel endpoint identifier exists from a plurality of preset tunnel endpoint identifiers to obtain an inquiring result.
In the embodiment of the application, when tunnel endpoint identifiers matched with the target tunnel endpoint identifier exist in a plurality of preset tunnel endpoint identifiers, the first power service data packet is determined to be a power low-delay data packet, and the query result is that the processing condition of the mobile edge computing equipment is met; and if the tunnel endpoint identifiers matched with the target tunnel endpoint identifier do not exist in the plurality of preset tunnel endpoint identifiers, determining that the first power service data packet is not a power low-delay data packet, and querying the result to be that the processing condition of the mobile edge computing device is not met.
Step S14, a shunting operation corresponding to the query result is executed on the first power service data packet, so that the first power service data packet is sent to a target service terminal, wherein the target service terminal is used for deploying power service according to the first power service data packet.
In the real-time example of the present application, step S14 performs a splitting operation corresponding to a query result on a first power service data packet, so as to send the first power service data packet to a target service terminal, and includes the following steps B1-B4:
And B1, when the query result is that the processing condition of the mobile edge computing equipment is met, performing GTP unpacking operation on the first power service data packet by utilizing a hardware pipeline to obtain first power delay data.
In the embodiment of the application, when the tunnel endpoint identifier matched with the target tunnel endpoint identifier exists in a plurality of preset tunnel endpoint identifiers, the query result is determined to meet the processing condition of the mobile edge computing device.
In the real-time example of the present application, step B1, performing a unpacking operation on a first power service data packet to obtain first power delay data, includes the following steps B101-B104:
And step B101, acquiring three layers of data messages in the first power service data packet, and acquiring first message attributes matched with the three layers of data messages.
And step B102, analyzing the three-layer data message by utilizing an analysis strategy corresponding to the first message attribute to obtain a two-layer data message.
And step B103, acquiring an inner layer IP address and a protocol identifier based on the two-layer data message, and inquiring a first network port and next hop information by utilizing the inner layer IP address and the protocol identifier, wherein the first network port is a network port of a target service platform.
And step B104, editing the three-layer data message by using the next-hop information, and determining the edited three-layer data message as first power delay data.
In the embodiment of the application, the FPGA module performs preliminary analysis on the first power service data packet to obtain a three-layer data packet, then matches the three-layer data packet with a preset packet attribute to determine a target packet attribute corresponding to the three-layer data packet, obtains an analysis strategy corresponding to the target packet attribute at the moment, analyzes the three-layer data packet by using the analysis strategy to obtain a two-layer data packet, reads an inner layer IP address and a protocol identifier from the two-layer data packet, acquires a first network port and next hop information meeting the inner layer IP qualification and the protocol identifier from a preset transmission rule by using the inner layer IP address and the protocol identifier, and completes VLAN translation at the moment. Wherein the first network port is a network port of a service platform.
In the embodiment of the application, after the next-hop information is determined, the three-layer data message is edited by using the next-hop information, and the edited three-layer data message is determined as the first power delay data.
And step B2, the first power delay data is sent to the target service platform, so that the target service platform processes the first power delay data, and after the processing is completed, the second power delay data obtained after the processing is returned.
In the embodiment of the application, the first power delay data is sent to the target service platform through the first network port, and the target service platform processes the first power delay data after receiving the first power delay data and returns the second power delay data obtained after processing.
And B3, receiving the second power delay data, and performing GTP (packet transfer protocol) packaging operation on the second power delay data by utilizing a hardware pipeline to obtain a second power service data packet.
In the embodiment of the application, after receiving the second power delay data, the FPGA module performs a packaging operation on the second power delay data, so as to send the second power delay data to the target service terminal smoothly.
In the real-time example of the present application, step B3, performing a packet operation on the second power delay data to obtain a second power service data packet, includes the following steps B301-B303:
step B301, obtaining an original data packet from the second power delay data, and obtaining a second packet attribute of the original data packet, where the original data packet includes: two-layer data messages and three-layer data messages.
Step B302, inquiring a second network port and next hop information corresponding to the target message attribute, wherein the second network port is a network port of a core network.
And step B303, encapsulating the original data message by using the next hop information to obtain an encapsulated original data message, and generating a second power service data packet based on the encapsulated original data message.
In the embodiment of the application, the original data message is read from the second power delay data, and then the original data message is matched with the preset message attribute to obtain the second message attribute corresponding to the original data message. And then entering VLAN translation action, at the moment, acquiring a second network port and next-hop information by using the VLAN translation action and using a second message attribute, and packaging the original data message by using the next-hop information to obtain a second power service data packet.
In the real-time example of the present application, the next hop information is utilized to encapsulate the original data message, and the encapsulated original data message is obtained, which comprises: determining an initial message header and initial message content of an original data message; encapsulating the initial message header of the two-layer data message and the three-layer data message by using the next-hop information to obtain a target message header; and assembling the target message header and the initial message content to obtain the packaged original data message.
And step B4, uploading the second power service data packet to the core network so as to send the second power service data packet to the target service terminal through the core network.
In the embodiment of the application, after the FPGA module obtains the second power service data packet, the second power service data packet is sent to the core network through the second network port, the core network sends the second power service data packet to the base station, and then the base station sends the second power service data packet to the target service terminal.
In the real-time example of the present application, executing the splitting operation corresponding to the query result on the first power service data packet to send the first power service data packet to the target service terminal includes:
And when the query result is that the processing condition of the mobile edge computing equipment is met, sending a first power service data packet to the service gateway, so that the service gateway uploads the first power service data packet to the core network, and sending the first power service data packet to the target service terminal through the core network.
In the embodiment of the application, if the tunnel endpoint identification matched with the target tunnel endpoint identification does not exist in the plurality of preset tunnel endpoint identifications, the query result is determined to not meet the processing condition of the mobile edge computing device. At this time, the FPGA module directly uploads the first power service data packet to the core network, the core network sends the first power service data packet to the base station, and then the base station sends the first power service data packet to the target service terminal.
According to the method provided by the embodiment of the application, the FPGA module is utilized to analyze the power service data packets sent to the mobile edge computing platform by the base station, and the power service data packets which can be processed by the mobile edge computing device are screened out, so that the power service data packets are split, the transmission delay is reduced, the service requirements are met, meanwhile, the customization of power service is realized for the split of different power service data packets, and the efficiency of power grid service is improved.
Fig. 4 is a hardware pipeline GTP data splitting method for low-latency power service according to an embodiment of the present application, as shown in fig. 4, where the method includes:
Step S41, a first power service data packet from the base station is received, and the first power service data packet is analyzed to obtain a tunnel endpoint identifier of the first power service data packet.
In step S42, in the case that the destination tunnel endpoint identifier matches the tunnel endpoint identifier for representing the power low-latency data, it is determined that the first power service data packet is a power low-latency data packet.
And step S43, performing GTP unpacking operation on the power low-delay data packet by utilizing a hardware pipeline to obtain power delay data.
And step S44, the power delay data is sent to the target service platform, so that the target service platform processes the power delay data, and after the processing is completed, the processed power delay data is returned.
And step S45, receiving the power delay data processed by the target service platform, and performing GTP (general packet transfer) packaging operation on the processed power delay data by utilizing a hardware pipeline to obtain a final power service data packet.
Step S46, uploading the final power service data packet to the core network, so as to send the final power service data packet to the target service terminal through the core network.
The method provided by the embodiment of the application utilizes the FPGA module to judge whether the power service data packet from the base station is the power low-delay data packet, and if the power service data packet is not the power low-delay data packet, conventional processing is carried out. If the power low-delay data packet is the power low-delay data packet, the hardware pipeline is adopted to process the power low-delay data packet, so that the processing speed of the power low-delay data packet is improved, the customization optimization of power service is realized, and the problem that the power service requirement is difficult to be completely matched with the power grid service requirement is solved.
Fig. 5 is a block diagram of a hardware pipeline GTP data splitting device for low-latency power service according to an embodiment of the present application, where the device may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 5, the apparatus includes:
the receiving module 51 is configured to receive a first power service data packet from a base station.
And the parsing module 52 is configured to parse the first power service data packet to obtain a tunnel endpoint identifier of the first power service data packet.
And the processing module 53 is configured to query whether the first power service data packet meets a processing condition of the mobile edge computing device by using the target tunnel endpoint identifier, so as to obtain a query result, where the processing condition of the mobile edge computing device is used to instruct to process the power low-latency data packet.
The execution module 54 is configured to execute a splitting operation corresponding to the query result on the first power service data packet, so as to send the first power service data packet to a target service terminal, where the target service terminal is configured to deploy a power service according to the first power service data packet.
In the real-time example of the present application, the processing module 53 is configured to obtain a preset transmission rule of the mobile edge computing device, where the preset transmission rule includes a plurality of preset tunnel endpoint identifiers; inquiring whether tunnel endpoint identifiers matched with the target tunnel endpoint identifiers exist in a plurality of preset tunnel endpoint identifiers or not to obtain an inquiring result; when tunnel endpoint identifiers matched with the target tunnel endpoint identifiers exist in the plurality of preset tunnel endpoint identifiers, the query result is that the processing conditions of the mobile edge computing equipment are met; and when the tunnel endpoint identifiers matched with the target tunnel endpoint identifier do not exist in the plurality of preset tunnel endpoint identifiers, the query result is that the processing condition of the mobile edge computing equipment is not met.
In the real-time example of the present application, the execution module 54 is configured to unpack the first power service data packet to obtain first power delay data when the query result is that the processing condition of the mobile edge computing device is satisfied; the first power delay data is sent to the target service platform, so that the target service platform processes the first power delay data, and after the processing is completed, the second power delay data obtained after the processing is returned; receiving second power delay data, and performing a packaging operation on the second power delay data to obtain a second power service data packet; uploading the second power service data packet to the core network so as to send the second power service data packet to the target service terminal through the core network.
In the real-time example of the present application, the execution module 54 is configured to obtain three layers of data packets in the first power service data packet, and obtain a first packet attribute matched with the three layers of data packets; analyzing the three-layer data message by utilizing an analysis strategy corresponding to the first message attribute to obtain a two-layer data message; acquiring an inner layer IP address and a protocol identifier based on the two-layer data message, and inquiring a first network port and next hop information by utilizing the inner layer IP address and the protocol identifier, wherein the first network port is a network port of a target service platform; and editing the three-layer data message by using the next-hop information, and determining the edited three-layer data message as first power delay data.
In the real-time example of the present application, the execution module 54 is configured to obtain an original data packet from the second power delay data, and obtain a second packet attribute of the original data packet, where the original data packet includes: two-layer data messages and three-layer data messages; inquiring a second network port and next hop information corresponding to the target message attribute, wherein the second network port is a network port of a core network; and encapsulating the original data message by using the next-hop information to obtain an encapsulated original data message, and generating a second power service data packet based on the encapsulated original data message.
In the real-time example of the present application, the execution module 54 is configured to determine an initial header and an initial message content of the original data message; encapsulating the initial message header of the two-layer data message and the three-layer data message by using the next-hop information to obtain a target message header; and assembling the target message header and the initial message content to obtain the packaged original data message.
In the real-time example of the present application, the execution module 54 is configured to send the first power service data packet to the service gateway when the query result is that the processing condition of the mobile edge computing device is satisfied, so that the service gateway uploads the first power service data packet to the core network, and sends the first power service data packet to the target service terminal through the core network.
The processor 1501, when executing the computer program stored in the memory 1503, implements the steps of the above embodiments.
The communication bus mentioned by the above terminal may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, abbreviated as PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated as EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the terminal and other devices.
The memory may include random access memory (Random Access Memory, RAM) or may include non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, abbreviated as CPU), a network processor (Network Processor, abbreviated as NP), etc.; but may also be a digital signal processor (DIGITAL SIGNAL Processing, DSP), application Specific Integrated Circuit (ASIC), field-Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components.
In yet another embodiment of the present application, a computer readable storage medium is provided, where instructions are stored, when the computer readable storage medium runs on a computer, to cause the computer to execute the hardware pipeline GTP data splitting method for the low-latency power service according to any one of the foregoing embodiments.
In yet another embodiment of the present application, a computer program product comprising instructions that, when executed on a computer, cause the computer to perform the hardware pipelined GTP data offloading method of a power low-latency service of any of the above embodiments is also provided.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk Solid STATE DISK), etc.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
The foregoing is only a specific embodiment of the application to enable those skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. The hardware pipeline GTP data distribution method of the power low-delay service is applied to an FPGA module in mobile edge computing equipment and is characterized by comprising the following steps of:
receiving a first power service data packet from a base station;
analyzing the first power service data packet to obtain a target tunnel endpoint identifier of the first power service data packet;
inquiring whether the first power service data packet meets the processing conditions of the mobile edge computing equipment or not by utilizing the target tunnel endpoint identification to obtain an inquiry result, wherein the processing conditions of the mobile edge computing equipment are used for indicating to process the power low-delay data packet;
Executing a shunting operation corresponding to the query result on the first power service data packet so as to send the first power service data packet to a target service terminal, wherein the target service terminal is used for deploying power service according to the first power service data packet;
the querying whether the first power service data packet meets the processing condition of the mobile edge computing device by using the target tunnel endpoint identifier, to obtain a query result, includes:
acquiring a preset transmission rule of the mobile edge computing device, wherein the preset transmission rule comprises a plurality of preset tunnel endpoint identifiers used for representing low-delay data of electric power;
Inquiring whether tunnel endpoint identifiers matched with the target tunnel endpoint identifiers exist in a plurality of preset tunnel endpoint identifiers or not, and obtaining an inquiring result;
When tunnel endpoint identifiers matched with the target tunnel endpoint identifier exist in the preset tunnel endpoint identifiers, the query result is that the processing conditions of the mobile edge computing equipment are met; when tunnel endpoint identifiers matched with the target tunnel endpoint identifier do not exist in the plurality of preset tunnel endpoint identifiers, the query result is that the processing condition of the mobile edge computing device is not met;
The step of executing the splitting operation corresponding to the query result on the first power service data packet to send the first power service data packet to a target service terminal includes:
when the query result is that the processing condition of the mobile edge computing equipment is met, performing GTP unpacking operation on the first power service data packet by utilizing a hardware pipeline to obtain first power delay data;
The first power delay data is sent to a target service platform, so that the target service platform processes the first power delay data, and after the processing is completed, second power delay data obtained after the processing is returned;
Receiving the second power delay data, and performing GTP (general packet transfer) packaging operation on the second power delay data by utilizing the hardware pipeline to obtain a second power service data packet;
Uploading the second power service data packet to a core network, so as to send the second power service data packet to the target service terminal through the core network.
2. The method of claim 1, wherein performing GTP unpacking operation on the first power service data packet by using a hardware pipeline to obtain first power delay data comprises:
Acquiring three layers of data messages in the first power service data packet, and acquiring first message attributes matched with the three layers of data messages;
analyzing the three-layer data message by utilizing an analysis strategy corresponding to the first message attribute to obtain a two-layer data message;
Acquiring an inner layer IP address and a protocol identifier based on a two-layer data message, and inquiring a first network port and next hop information by utilizing the inner layer IP address and the protocol identifier, wherein the first network port is a network port of the target service platform;
And editing the three-layer data message by using the next-hop information, and determining the edited three-layer data message as the first power delay data.
3. The method of claim 1, wherein performing GTP packetization on the second power delay data using the hardware pipeline to obtain a second power service data packet comprises:
Acquiring an original data message from the second power delay data, and acquiring a second message attribute of the original data message, wherein the original data message comprises: two-layer data messages and three-layer data messages;
Inquiring a second network port and next hop information corresponding to the target message attribute, wherein the second network port is a network port of the core network;
and encapsulating the original data message by using the next hop information to obtain an encapsulated original data message, and generating the second power service data packet based on the encapsulated original data message.
4. The method of claim 3, wherein encapsulating the original data message with the next-hop information to obtain an encapsulated original data message comprises:
determining an initial message header and initial message content of the original data message;
Encapsulating the initial message header of the two-layer data message and the three-layer data message by using the next-hop information to obtain a target message header;
And assembling the target message header and the initial message content to obtain the packaged original data message.
5. The method according to claim 1, wherein the performing the splitting operation corresponding to the query result on the first power service data packet to send the first power service data packet to the target service terminal includes:
And when the query result is that the processing condition of the mobile edge computing equipment is not met, sending the first power service data packet to a service gateway, so that the service gateway uploads the first power service data packet to a core network, and sending the first power service data packet to the target service terminal through the core network.
6. A hardware pipeline GTP data splitting device for low-latency power services, comprising:
The receiving module is used for receiving a first power service data packet from the base station;
The analyzing module is used for analyzing the first power service data packet to obtain a target tunnel endpoint identifier of the first power service data packet;
The processing module is used for inquiring whether the first power service data packet meets the processing conditions of the mobile edge computing equipment or not by utilizing the target tunnel endpoint identification to obtain an inquiring result, wherein the processing conditions of the mobile edge computing equipment are used for indicating to process the power low-delay data packet;
The execution module is used for executing the shunting operation corresponding to the query result on the first power service data packet so as to send the first power service data packet to a target service terminal, wherein the target service terminal is used for deploying power service according to the first power service data packet;
The processing module is used for acquiring preset transmission rules of the mobile edge computing equipment, wherein the preset transmission rules comprise a plurality of preset tunnel endpoint identifiers; inquiring whether tunnel endpoint identifiers matched with the target tunnel endpoint identifiers exist in a plurality of preset tunnel endpoint identifiers or not to obtain an inquiring result; when tunnel endpoint identifiers matched with the target tunnel endpoint identifiers exist in the plurality of preset tunnel endpoint identifiers, the query result is that the processing conditions of the mobile edge computing equipment are met; when the tunnel endpoint identifiers matched with the target tunnel endpoint identifier do not exist in the plurality of preset tunnel endpoint identifiers, the query result is that the processing condition of the mobile edge computing device is not met;
The execution module is used for unpacking the first power service data packet to obtain first power delay data when the query result is that the processing condition of the mobile edge computing equipment is met; the first power delay data is sent to the target service platform, so that the target service platform processes the first power delay data, and after the processing is completed, the second power delay data obtained after the processing is returned; receiving second power delay data, and performing a packaging operation on the second power delay data to obtain a second power service data packet; uploading the second power service data packet to the core network so as to send the second power service data packet to the target service terminal through the core network.
7. A storage medium comprising a stored program, wherein the program when run performs the method of any one of the preceding claims 1 to 5.
8. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; wherein:
A memory for storing a computer program;
A processor for performing the method of any one of claims 1 to 5 by running a program stored on a memory.
CN202211475153.2A 2022-11-23 2022-11-23 Hardware pipeline GTP data distribution method and device for power low-delay service Active CN116112580B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211475153.2A CN116112580B (en) 2022-11-23 2022-11-23 Hardware pipeline GTP data distribution method and device for power low-delay service
PCT/CN2023/114263 WO2024109208A1 (en) 2022-11-23 2023-08-22 Hardware pipeline gtp data shunting method and apparatus for low-delay power service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211475153.2A CN116112580B (en) 2022-11-23 2022-11-23 Hardware pipeline GTP data distribution method and device for power low-delay service

Publications (2)

Publication Number Publication Date
CN116112580A CN116112580A (en) 2023-05-12
CN116112580B true CN116112580B (en) 2024-04-26

Family

ID=86253475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211475153.2A Active CN116112580B (en) 2022-11-23 2022-11-23 Hardware pipeline GTP data distribution method and device for power low-delay service

Country Status (2)

Country Link
CN (1) CN116112580B (en)
WO (1) WO2024109208A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349160A (en) * 2001-11-28 2002-05-15 中国人民解放军国防科学技术大学 Correlation delay eliminating method for streamline control
JP2006157243A (en) * 2004-11-26 2006-06-15 Nippon Telegr & Teleph Corp <Ntt> Packet processor
WO2006116195A1 (en) * 2005-04-21 2006-11-02 Sinett Corporation Methods and systems for fragmentation and reassembly for ip tunnels
WO2013097150A1 (en) * 2011-12-29 2013-07-04 Intel Corporation Apparatuses and methods for policy awareness in hardware accelerated video systems
CN103618673A (en) * 2013-11-15 2014-03-05 中国航空无线电电子研究所 NoC routing method guaranteeing service quality
CN109831366A (en) * 2017-11-23 2019-05-31 中国电信股份有限公司 Mobile edge calculations local gateway and downlink tunnel Endpoint ID acquisition methods
CN111783984A (en) * 2020-06-30 2020-10-16 Oppo广东移动通信有限公司 Neural network operation method, device, equipment and storage medium
CN115079996A (en) * 2022-06-16 2022-09-20 杭州电子科技大学 Ultra-high-speed pipeline type five-point median filtering method based on full-parallel hardware logic

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11683714B2 (en) * 2019-01-29 2023-06-20 Cisco Technology, Inc. Mobile edge computing with low latency traffic segregation within a PDN using dedicated bearers
US11418852B2 (en) * 2020-05-28 2022-08-16 Nvidia Corporation Detecting latency anomalies from pipeline components in cloud-based systems

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349160A (en) * 2001-11-28 2002-05-15 中国人民解放军国防科学技术大学 Correlation delay eliminating method for streamline control
JP2006157243A (en) * 2004-11-26 2006-06-15 Nippon Telegr & Teleph Corp <Ntt> Packet processor
WO2006116195A1 (en) * 2005-04-21 2006-11-02 Sinett Corporation Methods and systems for fragmentation and reassembly for ip tunnels
WO2013097150A1 (en) * 2011-12-29 2013-07-04 Intel Corporation Apparatuses and methods for policy awareness in hardware accelerated video systems
CN103618673A (en) * 2013-11-15 2014-03-05 中国航空无线电电子研究所 NoC routing method guaranteeing service quality
CN109831366A (en) * 2017-11-23 2019-05-31 中国电信股份有限公司 Mobile edge calculations local gateway and downlink tunnel Endpoint ID acquisition methods
CN111783984A (en) * 2020-06-30 2020-10-16 Oppo广东移动通信有限公司 Neural network operation method, device, equipment and storage medium
CN115079996A (en) * 2022-06-16 2022-09-20 杭州电子科技大学 Ultra-high-speed pipeline type five-point median filtering method based on full-parallel hardware logic

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
《计算机工程》2009年(第35卷)总目次;计算机工程;20091220(第24期);全文 *
G.A. Ruiz ; J.A. Michell ; A. Buron.Parallel-Pipeline 2-D DCT/IDCT Processor Chip.万方外文会议文献数据库.2005,全文. *
Hardware Implementation of an Efficient Internet Protocol Routing Filter Design;A.A. Raj;M. Suganthi;International Journal of Computers and Applications;20081231;第30卷(第2期);全文 *
PaSeM:并行无冲突的网络流量会话管理;张建宇;周渊;邹维;;计算机学报;20100715(第07期);全文 *
东北大学学报(自然科学版)第29卷(2008年)总目次;东北大学学报(自然科学版);20081215(第12期);全文 *
分数延迟FIR滤波器设计及FPGA实现;陈光辉;曾以成;;微计算机信息;20100715(第20期);全文 *
计算机科学2012年第39卷总目次;计算机科学;20121215(第12期);全文 *

Also Published As

Publication number Publication date
WO2024109208A1 (en) 2024-05-30
CN116112580A (en) 2023-05-12

Similar Documents

Publication Publication Date Title
CN113765857B (en) Message forwarding method, device, equipment and storage medium
CN109088820B (en) Cross-device link aggregation method and device, computing device and storage medium
CN108353022B (en) Data message processing method, device and system
CN107948077B (en) Method and device for forwarding data message
CN114244906B (en) Data traffic distribution method, device, equipment and medium
WO2024021405A1 (en) Data transmission system and method
WO2024012001A1 (en) Method and system for implementing access to open source community in multi-modal network
CN114679350B (en) SD-WAN-based link selection method, device and storage medium
US20090041013A1 (en) Dynamically Assigning A Policy For A Communication Session
WO2021238741A1 (en) Message forwarding method, system, device, node device, and storage medium
CN116112580B (en) Hardware pipeline GTP data distribution method and device for power low-delay service
CN114553706A (en) Network topology discovery method and device and electronic equipment
JP4429173B2 (en) Method and computer system for triggering action based on digital communication data
CN111262762A (en) vCPE tenant-based SFC service chain multi-WAN service realization method and system
CN115834472A (en) Message processing method, forwarding strategy obtaining method and device
CN115733894A (en) Multi-protocol data access management method, device and equipment for power system
CN110971472B (en) AWS style API secondary route forwarding method based on Kong
KR102261758B1 (en) High-speed processing method and apparatus for GTP-U packet in mobile network
CN109257372B (en) Message forwarding method, device, storage medium and apparatus based on network convergence
CN110650222B (en) Network access method and device
WO2022218370A1 (en) Message processing method and related apparatus
CN113132142A (en) Method and device for acquiring network slice identifier
CN112383619B (en) Data transmission method, system and electronic equipment
CN113890789B (en) UDP tunnel traffic shunting method and traffic forwarding method suitable for data center
CN116095769B (en) Roaming switching control method and related device

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