[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114172842A - Data transmission processing method, device, equipment and readable storage medium - Google Patents

Data transmission processing method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN114172842A
CN114172842A CN202010946429.5A CN202010946429A CN114172842A CN 114172842 A CN114172842 A CN 114172842A CN 202010946429 A CN202010946429 A CN 202010946429A CN 114172842 A CN114172842 A CN 114172842A
Authority
CN
China
Prior art keywords
service
information
message table
routing message
destination
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.)
Granted
Application number
CN202010946429.5A
Other languages
Chinese (zh)
Other versions
CN114172842B (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.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010946429.5A priority Critical patent/CN114172842B/en
Publication of CN114172842A publication Critical patent/CN114172842A/en
Application granted granted Critical
Publication of CN114172842B publication Critical patent/CN114172842B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/30Routing of multiclass traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a data transmission processing method, a data transmission processing device, data transmission processing equipment and a readable storage medium, and relates to the technical field of data communication networks, so that an end-to-end optimal network and a computing power service are provided through optimal network path transmission. The method comprises the following steps: obtaining a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information; receiving a service request of a user; and generating a forwarding table facing the service Flow based on the service Flow identification Flow ID according to the service request and the routing message table. The embodiment of the invention can provide the end-to-end optimal network and the computing service through the optimal target service node and the optimal network path transmission.

Description

Data transmission processing method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of data communication network technologies, and in particular, to a data transmission processing method, apparatus, device, and readable storage medium.
Background
The prior art proposes a novel network architecture, Computing-aware network (CAN), which interconnects dynamically distributed Computing resources based on ubiquitous network connectivity; through unified collaborative scheduling of multidimensional resources such as network, storage and computing power, massive applications can call computing resources in different places in real time as required, global optimization of connection and computing power in the network is achieved, and consistent user experience is provided.
A Computation First Networking (CFN) is a key technology of a CAN computational routing layer. Currently, CFN is used as an Overlay scheme, and only gives an overall workflow of a data plane, but a forwarding protocol and a specific flow of the data plane are not defined yet.
Disclosure of Invention
The embodiment of the invention provides a data transmission processing method, a data transmission processing device, data transmission processing equipment and a readable storage medium, which are used for transmitting through an optimal network path and providing an end-to-end optimal network and a computing power service.
In a first aspect, an embodiment of the present invention provides a data transmission processing method, which is applied to a network device, and includes:
obtaining a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information;
receiving a service request of a user;
and generating a forwarding table facing the service Flow based on the service Flow identification Flow ID according to the service request and the routing message table.
Wherein the information of the service comprises at least one of the following information: service ID (service ID), Function ID (Function ID), number of service connections;
the routing information includes at least one of the following information: information of destination node, information of destination path.
Wherein the routing message table further comprises: resource information, the resource information including at least one of: available computing resource information and available network resource information.
Wherein the obtaining of the service-oriented routing message table includes:
generating the routing message table according to one or more of service distribution, network resources and computing resources;
wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following:
the user prefers to rank the strength and network information from superior to inferior.
The service request comprises a service requirement and a service ID; generating a service Flow-oriented forwarding table based on a service Flow identifier (Flow ID) according to the service request and the routing message table, including:
determining a target service node according to the service requirement, the service ID and the routing message table;
and generating a forwarding table facing the service Flow based on the Flow ID according to the destination service node.
Wherein, the service request comprises a service requirement and a service ID; generating a service Flow-oriented forwarding table based on a service Flow identifier (Flow ID) according to the service request and the routing message table, including:
determining a target service node according to the service requirement, the service ID and the routing message table;
and selecting a transmission path according to the destination service node and a preset strategy, and generating a forwarding table facing the service Flow based on the Flow ID.
Wherein the method further comprises:
and generating a sending data packet.
If the sending data packet is generated based on an IPV6 protocol, the sending data packet carries a source IP, an IP of a destination service node and load information; or
If the data packet is generated based on the SRV6 protocol, the sending data packet carries the source IP, the IP of the destination service node, the SRH (Segment Routing Header), and the load information.
In a second aspect, an embodiment of the present invention provides a data transmission processing method, which is applied to a network device, and includes:
obtaining a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information;
and updating the routing message table according to the path updating reference information.
Wherein the obtaining of the service-oriented routing message table includes:
generating the routing message table according to one or more of service distribution, network resources and computing resources;
wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following:
the user prefers to rank the strength and network information from superior to inferior.
Wherein updating the routing message table according to the path update reference information includes:
and acquiring at least one path reaching a destination service node according to the network resource state, and updating the routing message table by utilizing the at least one path.
Wherein updating the routing message table according to the path update reference information includes:
re-determining a destination service node and determining a transmission path to the re-determined destination service node;
and updating the routing message table according to the redetermined destination service node and the transmission path reaching the redetermined destination service node.
In a third aspect, an embodiment of the present invention provides a data transmission processing apparatus, which is applied to a network device, and includes:
a first obtaining module, configured to obtain a service-oriented routing message table, where the routing message table at least includes service information and routing information;
the first receiving module is used for receiving a service request of a user;
and the first generation module is used for generating a service Flow-oriented forwarding table based on the service Flow identification Flow ID according to the service request and the routing message table.
Wherein the information of the service comprises at least one of the following information: service ID, Function ID, service connection number;
the routing information includes at least one of the following information: information of destination node, information of destination path.
Wherein the routing message table further comprises: resource information, the resource information including at least one of: available computing resource information and available network resource information.
The first obtaining module is configured to generate the routing message table according to one or more of service distribution, network resources, and computing resources;
wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following:
the user prefers to rank the strength and network information from superior to inferior.
The service request comprises a service requirement and a service ID; the first generation module comprises:
the first determining submodule is used for determining a target service node according to the service requirement, the service ID and the routing message table; and the first generation submodule is used for generating a forwarding table facing the service Flow based on the Flow ID according to the destination service node.
Wherein, the service request comprises a service requirement and a service ID; the first generation module comprises: the first determining submodule is used for determining a target service node according to the service requirement, the service ID and the routing message table; and the first generation submodule is used for selecting a transmission path according to the destination service node and a preset strategy and generating a forwarding table facing to the service Flow based on the Flow ID.
Wherein the apparatus further comprises: and the generating module is used for generating the sending data packet.
If the sending data packet is generated based on an IPV6 protocol, the sending data packet carries a source IP, an IP of a destination service node and load information; or, if the data packet is generated based on the SRV6 protocol, the sending data packet carries the source IP, the IP of the destination service node, the SRH, and the load information.
In a fourth aspect, an embodiment of the present invention provides a data transmission processing apparatus, which is applied to a network device, and includes:
a first obtaining module, configured to obtain a service-oriented routing message table, where the routing message table at least includes service information and routing information;
and the first updating module is used for updating the routing message table according to the path updating reference information.
The first obtaining module is configured to generate the routing message table according to one or more of service distribution, network resources, and computing resources;
wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following:
the user prefers to rank the strength and network information from superior to inferior.
The first updating module is configured to obtain at least one path to a destination service node according to a network resource state, and update the routing message table using the at least one path.
Wherein the first update module comprises: the first determining submodule is used for re-determining the destination service node and determining a transmission path reaching the re-determined destination service node; and the first updating submodule is used for updating the routing message table according to the redetermined destination service node and the transmission path reaching the redetermined destination service node.
In a fifth aspect, an embodiment of the present invention provides a data transmission processing apparatus, which is applied to a network device, and includes: a processor and a transceiver;
the processor is configured to acquire a service-oriented routing message table, where the routing message table at least includes service information and routing information;
the transceiver is used for receiving a service request of a user;
and the processor is used for generating a forwarding table facing the service Flow based on the service Flow identification Flow ID according to the service request and the routing message table.
Wherein the information of the service comprises at least one of the following information: service ID, Function ID, service connection number;
the routing information includes at least one of the following information: information of destination node, information of destination path.
Wherein the routing message table further comprises: resource information, the resource information including at least one of: available computing resource information and available network resource information.
Wherein the processor is configured to generate the routing message table according to one or more of service distribution, network resources, and computing resources;
wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following:
the user prefers to rank the strength and network information from superior to inferior.
The service request comprises a service requirement and a service ID; the processor is configured to determine a destination service node according to the service requirement, the service ID, and the routing message table; and generating a forwarding table facing the service Flow based on the Flow ID according to the destination service node.
Wherein, the service request comprises a service requirement and a service ID; the processor is used for determining a target service node according to the service requirement, the service ID and the routing message table; and selecting a transmission path according to the destination service node and a preset strategy, and generating a forwarding table facing the service Flow based on the Flow ID.
Wherein the processor is configured to generate a transmission data packet.
The processor is configured to, if the sending data packet is generated based on an IPV6 protocol, carry a source IP, an IP of a destination service node, and load information; or if the data packet is generated based on the SRV6 protocol, the sending data packet carries the source IP, the IP of the destination service node, the SRH, and the load information.
In a sixth aspect, an embodiment of the present invention provides a data transmission processing apparatus, which is applied to a network device, and includes: a processor and a transceiver;
the processor is configured to acquire a service-oriented routing message table, where the routing message table at least includes service information and routing information; and updating the routing message table according to the path updating reference information.
Wherein the processor is configured to generate the routing message table according to one or more of service distribution, network resources, and computing resources;
wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following:
the user prefers to rank the strength and network information from superior to inferior.
The processor is configured to obtain at least one path to a destination service node according to a network resource state, and update the routing message table using the at least one path.
The processor is configured to re-determine a destination service node, and determine a transmission path to the re-determined destination service node; and updating the routing message table according to the redetermined destination service node and the transmission path reaching the redetermined destination service node.
In a seventh aspect, an embodiment of the present invention further provides a communication device, including: a transceiver, a memory, a processor and a program stored on the memory and executable on the processor, the processor implementing the steps in the data transmission processing method as described above when executing the program.
In an eighth aspect, the embodiment of the present invention further provides a readable storage medium, where the readable storage medium stores a program, and the program, when executed by a processor, implements the steps in the data transmission processing method described above.
In the embodiment of the invention, a service Flow-oriented forwarding table based on the service Flow identification Flow ID is generated according to the routing message table and the service request of the user so as to forward data, thereby transmitting through an optimal network path and providing an end-to-end optimal network and computational power service.
Drawings
Fig. 1 is a flowchart of a data transmission processing method according to an embodiment of the present invention;
fig. 2 is a second flowchart of a data transmission processing method according to an embodiment of the present invention;
fig. 3 is one of a flow chart of a computing power aware path establishment method and data transmission provided by an embodiment of the present invention;
fig. 4 is a second flowchart of the computing power sensing path establishment method and data transmission provided in the embodiment of the present invention;
fig. 5 is a block diagram of a data transmission processing apparatus according to an embodiment of the present invention;
fig. 6 is a second structural diagram of a data transmission processing apparatus according to an embodiment of the present invention;
fig. 7 is a third structural diagram of a data transmission processing apparatus according to an embodiment of the present invention;
fig. 8 is a fourth structural diagram of a data transmission processing device according to an embodiment of the present invention;
fig. 9 is a block diagram of a communication device according to an embodiment of the present invention.
Detailed Description
The term "and/or" in the embodiments of the present invention describes an association relationship of associated objects, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In the embodiments of the present application, the term "plurality" means two or more, and other terms are similar thereto.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
Referring to fig. 1, fig. 1 is a flowchart of a data transmission processing method provided in an embodiment of the present invention, and is applied to a network device. The network device may refer to a first-hop network device in a transmission path, such as a gateway, a router, or the like. As shown in fig. 1, the method comprises the following steps:
step 101, obtaining a service-oriented routing message table, where the routing message table at least includes service information and routing information.
Wherein the information of the service comprises at least one of the following information: service id (service id), function id (function id), number of service connections, and the like. The routing information includes at least one of the following information: information of the destination node (e.g., IP), information of the destination path (e.g., specified or set path information, such as IP including only the destination node, IP of the intermediate node being a path of the virtual information).
Optionally, the routing message table may further include: resource information, the resource information including at least one of: available computing resource information and available network resource information.
In this step, the network device may generate the routing message table based on one or more of service distribution, network resources, and computing resources. Wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following: the user prefers to rank the power or network information from superior to inferior. By the method, the established transmission path can better meet the requirements of users, and the service is dispatched to the optimal target service node through the optimal path.
Step 102, receiving a service request of a user.
The service request of the user (or called as the client) includes a service requirement, a service ID, and the like. The service requirements comprise computing power requirements, time delay, bandwidth and the like.
Step 103, generating a forwarding table facing to the service Flow based on Flow ID (service Flow identifier) according to the service request and the routing message table.
When the service request arrives at the network device, the network device addresses based on the serviced service ID. And the network equipment establishes and maintains a forwarding routing table based on the service ID according to the real-time resource condition. Meanwhile, the network device may optionally maintain the path message according to a network policy. The network device may then select IP, SRV6, or GRE (Generic Routing Encapsulation) for data transmission.
Specifically, in this step, a destination service node may be determined according to the service requirement and the routing message table, and then a forwarding table facing to a service Flow based on a Flow ID may be generated according to the destination service node. Then, the network device may further generate a sending packet, where the sending packet carries the source IP, the IP of the destination service node, and load information (payload).
Specifically, in this step, a destination service node may be determined according to the service requirement and the routing message table, and a transmission path may be selected according to the destination service node and a preset policy, so as to generate a forwarding table for a service Flow based on a Flow ID. Then, the network device may also generate a sending packet, where the sending packet carries the source IP, the IP of the destination service node, the SRH (Segment Routing Header), and the load information (payload).
In the embodiment of the invention, a service Flow-oriented forwarding table based on the service Flow identification Flow ID is generated according to the routing message table and the service request of the user so as to forward data, thereby transmitting through an optimal network path and providing an end-to-end optimal network and computational power service.
Referring to fig. 2, fig. 2 is a flowchart of a data transmission processing method applied to a network device according to an embodiment of the present invention. The network device may refer to a first-hop network device in a transmission path, such as a gateway, a router, or the like. As shown in fig. 2, the method comprises the following steps:
step 201, a service-oriented routing message table is obtained, where the routing message table at least includes service information and routing information.
In this step, the network device may generate the routing message table based on one or more of service distribution, network resources, and computing resources. Wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following: the user prefers to rank the strength and network information from superior to inferior. By the method, the established transmission path can better meet the requirements of users, and the service is dispatched to the optimal target service node through the optimal path.
Step 202, updating the routing message table according to the path updating reference information.
In this step, the network device may dynamically update the routing message table according to the path update reference information, such as the resource state measured by the control plane or the in-band OAM (Operation Administration and Maintenance) carried along the path.
Specifically, the update may be performed in the following manner:
in the first mode, the destination IP is not changed for network route update. In this manner, at least one path to the destination service node is obtained according to the network resource status, and the routing message table is updated using the at least one path. In a specific application, the network device may select different network paths to reach the optimal destination IP service node in real time according to the network resource state, for example, perform multi-path sharing by using SR-policy (Segment Routing policy).
The second way, network route update of destination IP update. In this manner, the network device re-determines the destination service node and determines the transmission path to the re-determined destination service node, and then updates the routing message table according to the re-determined destination service node and the transmission path to the re-determined destination service node. In a specific application, when the best service IP fails or is difficult to support the current computing service, the network device reselects the best service node according to the latest resource information, and updates the destination service node and the network path, thereby implementing the update of the end-to-end path.
Referring to fig. 3, fig. 3 is a flowchart of a computing power aware path establishment method and data transmission according to an embodiment of the present invention. In the embodiment of the invention, network equipment (such as computational network equipment or nodes) generates a routing message table based on service ID according to information announcements such as service distribution, network resources, computational resources and the like, wherein the routing message table comprises the service ID and a destination IP. The order of the destination IP can be arranged according to the order of the power and the network information from superior to inferior or according to the rules of the user preference service IP and the like. The route may then be established based on IPv6 or SRV6 routing protocols.
In the embodiment shown in fig. 3, a force-aware path establishment method and a data transmission method based on the IPv6 protocol are shown. The sending node maintains a traffic flow, which may be represented by a flow ID (destination IP, destination port, source IP, source port, protocol type). As shown in fig. 3, the method comprises the following steps:
step 301, the user sends a service request carrying the source IP, flow ID, service requirement, and destination address IP as service ID to the first hop network device R1.
Step 302, the first hop network device R1 determines a destination service node according to the generated service ID-based routing message table and service requirement, and generates a Flow ID-based forwarding table facing to the service Flow.
Step 303, the first hop network device R1 generates a sending data packet, which carries the source IP, the destination IP (the destination service node IP of the destination service ID with the optimal resource selected by the network device), and the load information payload.
Referring to fig. 4, fig. 4 is a flowchart of a computing power aware path establishment method and data transmission provided in an embodiment of the present invention. In the embodiment of the invention, network equipment (such as computational network equipment or nodes) generates a routing message table based on service ID according to information announcements such as service distribution, network resources, computational resources and the like, wherein the routing message table comprises the service ID and a destination IP. The order of the destination IP can be arranged according to the order of the power and the network information from superior to inferior or according to the rules of the user preference service IP and the like. The route may then be established based on IPv6 or SRV6 routing protocols.
In this embodiment, a service ID-based routing message table and a Flow ID-based forwarding table for traffic flows are generated and maintained at the network device ingress R1, where the routing information may be path information with low latency or high bandwidth generated according to user requirements and by using SR-policy.
In the embodiment of fig. 4, a force-aware path establishment method and a data transmission method based on the SRv6 protocol are described. The sending node maintains a traffic flow, which may be represented by a flow ID (destination IP, destination port, source IP, source port, protocol type). As shown in fig. 4, the method comprises the following steps:
step 401, the user sends a service request carrying the source IP, flow ID, service requirement, and destination address IP as service ID to the first hop network device R1.
Step 402, the first hop network device R1 determines a destination service node according to the generated service ID-based routing message table and service requirements, and at the same time, selects a transmission path according to a policy, and generates a Flow-oriented forwarding table based on the Flow ID.
Step 403, the first hop network device R1 generates a sending data packet, which carries the source IP, the destination IP (the destination service node IP of the destination service ID with the optimal resource selected by the network device), the SRH (the path information is written into the SRH and carried), and the load information payload.
In a specific application, for a long link service, the network device may update the path information in the routing message table in real time according to the network load condition of the control plane. In the updating process, the updating can be performed according to the calculation power of BGP (Border Gateway Protocol)/IGP (Interior Gateway Protocol) and the network topology information, and also according to the resource information of OAM carried along with the path.
The destination IP is unchanged, and the network route is updated: the entrance gateway (R1) can select different network paths to reach the best destination IP service node according to the network resource state in real time. Such as multipath sharing using SR-policy. For example, when R1 receives service data carrying a service ID, it may select a more optimized network path12 according to the latest service ID routing message table under the condition that the destination IP1 is not changed, and schedule the service to the optimal path for network transmission.
Updating a destination IP and network routing: if the best service IP fails or the current computing service is difficult to support, the entrance gateway can reselect the best service node according to the latest resource information, update the destination service node and the network path, and update the end-to-end path. For example, when R1 receives service data carrying a service ID, it may update the destination IP1 to IP2 according to the latest service ID routing information table, select a destination service node IP2 and an updated network Path21 that meet the requirements, and schedule the service to the latest Path for network transmission.
As can be seen from the above description, the embodiments of the present invention can achieve the following effects:
1. the client addresses through the service ID, the network side adjusts the network transmission path and the target service node in real time according to the network computing state, and generates and maintains a routing forwarding table based on the service ID, so that the transmission through the optimal network path is realized, and the end-to-end optimal network and the computing power service are provided.
2. On the basis of determining the target service node, the network side can dynamically adjust the network path according to the network computing resource condition, and really realize that the optimal target service node is addressed through the optimal path, thereby improving the network efficiency of an operator while ensuring the service quality.
3. Once a target service node fails or cannot meet service requirements during a session, the target service node can actively notify an application layer to switch to other service nodes through network layer sensing without waiting for timeout of a Transmission Control Protocol (TCP), so that service switching can be realized quickly, and optimal user experience is ensured.
It should be noted that the solution of the embodiment of the present invention can be applied to a new type of network with converged computing networks (also referred to as a computational network or a computational sensing network).
The embodiment of the invention also provides a data transmission processing device which is applied to network equipment. Referring to fig. 5, fig. 5 is a structural diagram of a data transmission processing apparatus according to an embodiment of the present invention. Because the principle of the data transmission processing device for solving the problem is similar to the data transmission processing method in the embodiment of the invention, the implementation of the data transmission processing device can refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 5, the data transmission processing apparatus 500 includes: a first obtaining module 501, configured to obtain a service-oriented routing message table, where the routing message table at least includes service information and routing information; a first receiving module 502, configured to receive a service request of a user; a first generating module 503, configured to generate a forwarding table facing to the service Flow based on the Flow ID according to the service request and the routing message table.
Wherein the information of the service comprises at least one of the following information: service ID, Function ID, service connection number;
the routing information includes at least one of the following information: information of destination node, information of destination path.
Wherein the routing message table further comprises: resource information, the resource information including at least one of: available computing resource information and available network resource information.
The first obtaining module is configured to generate the routing message table according to one or more of service distribution, network resources, and computing resources;
wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following:
the user prefers to rank the strength and network information from superior to inferior.
The service request comprises a service requirement and a service ID; the first generation module comprises:
the first determining submodule is used for determining a target service node according to the service requirement, the service ID and the routing message table; and the first generation submodule is used for generating a forwarding table facing the service Flow based on the Flow ID according to the destination service node.
Wherein, the service request comprises a service requirement and a service ID; the first generation module comprises: the first determining submodule is used for determining a target service node according to the service requirement, the service ID and the routing message table; and the first generation submodule is used for selecting a transmission path according to the destination service node and a preset strategy and generating a forwarding table facing to the service Flow based on the Flow ID.
Wherein the apparatus further comprises: and the generating module is used for generating the sending data packet.
The generation module is configured to, if the sending data packet is generated based on an IPV6 protocol, carry a source IP, an IP of a destination service node, and load information; or, if the data packet is generated based on the SRV6 protocol, the sending data packet carries the source IP, the IP of the destination service node, the SRH, and the load information.
The apparatus provided in the embodiment of the present invention may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the invention also provides a data transmission processing device which is applied to network equipment. Referring to fig. 6, fig. 6 is a structural diagram of a data transmission processing apparatus according to an embodiment of the present invention. Because the principle of the data transmission processing device for solving the problem is similar to the data transmission processing method in the embodiment of the invention, the implementation of the data transmission processing device can refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 6, the data transmission processing apparatus 600 includes: a first obtaining module 601, configured to obtain a service-oriented routing message table, where the routing message table at least includes service information and routing information; a first updating module 602, configured to update the routing message table according to the path update reference information.
The first obtaining module 601 is configured to generate the routing message table according to one or more of service distribution, network resources, and computing resources;
wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following:
the user prefers to rank the strength and network information from superior to inferior.
The first updating module 602 is configured to, according to a network resource state, obtain at least one path to a destination service node, and update the routing message table by using the at least one path.
Wherein the first update module comprises: the first determining submodule is used for re-determining the destination service node and determining a transmission path reaching the re-determined destination service node; and the first updating submodule is used for updating the routing message table according to the redetermined destination service node and the transmission path reaching the redetermined destination service node.
The apparatus provided in the embodiment of the present invention may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the invention also provides a data transmission processing device which is applied to network equipment. Referring to fig. 7, fig. 7 is a structural diagram of a data transmission processing apparatus according to an embodiment of the present invention. Because the principle of the data transmission processing device for solving the problem is similar to the data transmission processing method in the embodiment of the invention, the implementation of the data transmission processing device can refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 7, the data transmission processing apparatus 700 includes: a processor 701 and a transceiver 702.
The processor 701 is configured to obtain a service-oriented routing message table, where the routing message table at least includes service information and routing information;
the transceiver 702 is configured to receive a service request of a user;
the processor 701 is configured to generate a service Flow-oriented forwarding table based on a service Flow identifier Flow ID according to the service request and the routing message table.
Wherein the information of the service comprises at least one of the following information: service ID, Function ID, service connection number;
the routing information includes at least one of the following information: information of destination node, information of destination path.
Wherein the routing message table further comprises: resource information, the resource information including at least one of: available computing resource information and available network resource information.
Wherein, the processor 701 is configured to generate the routing message table according to one or more of service distribution, network resources, and computing resources;
wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following:
the user prefers to rank the strength and network information from superior to inferior.
The service request comprises a service requirement and a service ID; the processor is configured to determine a destination service node according to the service requirement, the service ID, and the routing message table; and generating a forwarding table facing the service Flow based on the Flow ID according to the destination service node.
Wherein, the service request comprises a service requirement and a service ID; the processor is used for determining a target service node according to the service requirement, the service ID and the routing message table; and selecting a transmission path according to the destination service node and a preset strategy, and generating a forwarding table facing the service Flow based on the Flow ID.
The processor 701 is configured to generate a transmission data packet.
The processor 701 is configured to, if the sending data packet is generated based on an IPV6 protocol, carry a source IP, an IP of a destination service node, and load information; or if the data packet is generated based on the SRV6 protocol, the sending data packet carries the source IP, the IP of the destination service node, the SRH, and the load information.
The apparatus provided in the embodiment of the present invention may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the invention also provides a data transmission processing device which is applied to network equipment. Referring to fig. 8, fig. 8 is a structural diagram of a data transmission processing apparatus according to an embodiment of the present invention. Because the principle of the data transmission processing device for solving the problem is similar to the data transmission processing method in the embodiment of the invention, the implementation of the data transmission processing device can refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 8, the data transmission processing apparatus 800 includes: a processor 801 and a transceiver 802.
The processor 801 is configured to obtain a service-oriented routing message table, where the routing message table at least includes service information and routing information; and updating the routing message table according to the path updating reference information.
Wherein, the processor 801 is configured to generate the routing message table according to one or more of service distribution, network resources, and computing resources;
wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following:
the user prefers to rank the strength and network information from superior to inferior.
The processor 801 is configured to obtain at least one path to a destination service node according to a network resource state, and update the routing message table by using the at least one path.
The processor 801 is configured to re-determine a destination service node, and determine a transmission path to the re-determined destination service node; and updating the routing message table according to the redetermined destination service node and the transmission path reaching the redetermined destination service node.
The apparatus provided in the embodiment of the present invention may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the invention also provides communication equipment. As shown in fig. 9, the communication device according to the embodiment of the present invention includes: a processor 900 for reading the program in the memory 920, executing the following processes:
obtaining a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information;
receiving a service request of a user;
and generating a forwarding table facing the service Flow based on the service Flow identification Flow ID according to the service request and the routing message table.
A transceiver 910 for receiving and transmitting data under the control of the processor 900.
In fig. 9, among other things, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 900, and various circuits, represented by memory 920, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 910 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. The processor 900 is responsible for managing the bus architecture and general processing, and the memory 920 may store data used by the processor 900 in performing operations.
The processor 910 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or a Complex Programmable Logic Device (CPLD), and may also have a multi-core architecture.
The processor 900 is responsible for managing the bus architecture and general processing, and the memory 920 may store data used by the processor 900 in performing operations.
Wherein the information of the service comprises at least one of the following information: service ID, Function ID, service connection number;
the routing information includes at least one of the following information: information of destination node, information of destination path.
Wherein the routing message table further comprises: resource information, the resource information including at least one of: available computing resource information and available network resource information.
The processor 900 is further configured to read the program and execute the following steps:
generating the routing message table according to one or more of service distribution, network resources and computing resources;
wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following:
the user prefers to rank the strength and network information from superior to inferior.
The service request comprises a service requirement and a service ID; the processor 900 is further configured to read the program and execute the following steps:
determining a target service node according to the service requirement, the service ID and the routing message table;
and generating a forwarding table facing the service Flow based on the Flow ID according to the destination service node.
Wherein, the service request comprises a service requirement and a service ID;
the processor 900 is further configured to read the program and execute the following steps:
determining a target service node according to the service requirement, the service ID and the routing message table;
and selecting a transmission path according to the destination service node and a preset strategy, and generating a forwarding table facing the service Flow based on the Flow ID.
The processor 900 is further configured to read the program and execute the following steps:
and generating a sending data packet.
The processor 900 is further configured to read the program and execute the following steps:
if the sending data packet is generated based on an IPV6 protocol, the sending data packet carries a source IP, an IP of a destination service node and load information; or
And if the data packet is generated based on the SRV6 protocol, the sending data packet carries the source IP, the IP of the destination service node, the SRH and the load information.
Referring again to fig. 9, in another embodiment of the present invention, the processor 900, which is configured to read the program in the memory 920, performs the following processes:
obtaining a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information;
and updating the routing message table according to the path updating reference information.
The processor 900 is further configured to read the program and execute the following steps:
generating the routing message table according to one or more of service distribution, network resources and computing resources;
wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following:
the user prefers to rank the strength and network information from superior to inferior.
The processor 900 is further configured to read the program and execute the following steps:
and acquiring at least one path reaching a destination service node according to the network resource state, and updating the routing message table by utilizing the at least one path.
The processor 900 is further configured to read the program and execute the following steps:
re-determining a destination service node and determining a transmission path to the re-determined destination service node;
and updating the routing message table according to the redetermined destination service node and the transmission path reaching the redetermined destination service node.
The device provided by the embodiment of the present invention may implement the above method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
The embodiment of the present invention further provides a readable storage medium, where a program is stored on the readable storage medium, and when the program is executed by a processor, the program implements each process of the data transmission processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The readable storage medium may be any available medium or data storage device that can be accessed by a processor, including but not limited to magnetic memory (e.g., floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical memory (e.g., CD, DVD, BD, HVD, etc.), and semiconductor memory (e.g., ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), Solid State Disk (SSD)), etc.
It should be noted that, in this document, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. With such an understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (18)

1. A data transmission processing method is applied to network equipment and is characterized by comprising the following steps:
obtaining a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information;
receiving a service request of a user;
and generating a forwarding table facing the service Flow based on the service Flow identification Flow ID according to the service request and the routing message table.
2. The method of claim 1,
the information of the service includes at least one of the following information: service ID, Function ID, and service connection number;
the routing information includes at least one of the following information: information of destination node, information of destination path.
3. The method according to claim 1 or 2, wherein the routing message table further comprises: resource information, the resource information including at least one of: available computing resource information and available network resource information.
4. The method of claim 1, wherein obtaining the service-oriented routing message table comprises:
generating the routing message table according to one or more of service distribution, network resources and computing resources;
wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following:
the user prefers to rank the strength and network information from superior to inferior.
5. The method of claim 1, wherein the service request comprises a service requirement and a service ID;
generating a service Flow-oriented forwarding table based on a service Flow identifier (Flow ID) according to the service request and the routing message table, including:
determining a target service node according to the service requirement, the service ID and the routing message table;
and generating a forwarding table facing the service flow based on the FlowID according to the destination service node.
6. The method of claim 1, wherein the service request comprises a service requirement and a service ID;
generating a service Flow-oriented forwarding table based on a service Flow identifier (Flow ID) according to the service request and the routing message table, including:
determining a target service node according to the service requirement, the service ID and the routing message table;
and selecting a transmission path according to the destination service node and a preset strategy, and generating a forwarding table facing the service Flow based on the Flow ID.
7. The method of claim 1, further comprising:
and generating a sending data packet.
8. The method of claim 7,
if the sending data packet is generated based on an IPV6 protocol, the sending data packet carries a source IP, an IP of a destination service node and load information; or
And if the data packet is generated based on the SRV6 protocol, the sending data packet carries a source IP, an IP of a destination service node, a Segmented Routing Header (SRH) and load information.
9. A data transmission processing method is applied to network equipment and is characterized by comprising the following steps:
obtaining a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information;
and updating the routing message table according to the path updating reference information.
10. The method of claim 9, wherein obtaining the service oriented routing message table comprises:
generating the routing message table according to one or more of service distribution, network resources and computing resources;
wherein, the destination IPs in the routing message table are ordered according to preset rules, and the preset rules include any one of the following:
the user prefers to rank the strength and network information from superior to inferior.
11. The method of claim 9, wherein updating the routing message table according to the path update reference information comprises:
and acquiring at least one path reaching a destination service node according to the network resource state, and updating the routing message table by utilizing the at least one path.
12. The method of claim 9, wherein updating the routing message table according to the path update reference information comprises:
re-determining a destination service node and determining a transmission path to the re-determined destination service node;
and updating the routing message table according to the redetermined destination service node and the transmission path reaching the redetermined destination service node.
13. A data transmission processing apparatus applied to a network device, comprising:
a first obtaining module, configured to obtain a service-oriented routing message table, where the routing message table at least includes service information and routing information;
the first receiving module is used for receiving a service request of a user;
and the first generation module is used for generating a service Flow-oriented forwarding table based on the service Flow identification Flow ID according to the service request and the routing message table.
14. A data transmission processing apparatus applied to a network device, comprising:
a first obtaining module, configured to obtain a service-oriented routing message table, where the routing message table at least includes service information and routing information;
and the first updating module is used for updating the routing message table according to the path updating reference information.
15. A data transmission processing apparatus applied to a network device, comprising: a processor and a transceiver;
the processor is configured to acquire a service-oriented routing message table, where the routing message table at least includes service information and routing information;
the transceiver is used for receiving a service request of a user;
and the processor is used for generating a forwarding table facing the service Flow based on the service Flow identification Flow ID according to the service request and the routing message table.
16. A data transmission processing apparatus applied to a network device, comprising: a processor and a transceiver;
the processor is configured to acquire a service-oriented routing message table, where the routing message table at least includes service information and routing information; and updating the routing message table according to the path updating reference information.
17. A communication device, comprising: a transceiver, a memory, a processor, and a program stored on the memory and executable on the processor; it is characterized in that the preparation method is characterized in that,
the processor, configured to read a program in a memory to implement the steps in the data transmission processing method according to any one of claims 1 to 12.
18. A readable storage medium storing a program, wherein the program, when executed by a processor, implements the steps in the data transmission processing method according to any one of claims 1 to 12.
CN202010946429.5A 2020-09-10 2020-09-10 Data transmission processing method, device, equipment and readable storage medium Active CN114172842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010946429.5A CN114172842B (en) 2020-09-10 2020-09-10 Data transmission processing method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010946429.5A CN114172842B (en) 2020-09-10 2020-09-10 Data transmission processing method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN114172842A true CN114172842A (en) 2022-03-11
CN114172842B CN114172842B (en) 2023-09-19

Family

ID=80475698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010946429.5A Active CN114172842B (en) 2020-09-10 2020-09-10 Data transmission processing method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114172842B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695523A (en) * 2022-10-25 2023-02-03 北京星网锐捷网络技术有限公司 Data transmission control method and device, electronic equipment and storage medium
CN116112572A (en) * 2023-01-29 2023-05-12 中国联合网络通信集团有限公司 Service processing method, device, network equipment and storage medium
WO2024113935A1 (en) * 2022-12-02 2024-06-06 中兴通讯股份有限公司 Data transmission method and apparatus, and communication device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179038A (en) * 2013-04-19 2013-06-26 清华大学 Internetwork routing method and network forwarding equipment
CN106576074A (en) * 2015-07-31 2017-04-19 华为技术有限公司 Routing rule acquisition method, device and system
CN107005909A (en) * 2014-12-31 2017-08-01 华为技术有限公司 Business Stream shunt method and device
CN109617807A (en) * 2018-12-28 2019-04-12 深圳云天励飞技术有限公司 Route information update method, device, gateway and storage medium
CN110809054A (en) * 2019-11-11 2020-02-18 腾讯科技(深圳)有限公司 Data transmission method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179038A (en) * 2013-04-19 2013-06-26 清华大学 Internetwork routing method and network forwarding equipment
CN107005909A (en) * 2014-12-31 2017-08-01 华为技术有限公司 Business Stream shunt method and device
CN106576074A (en) * 2015-07-31 2017-04-19 华为技术有限公司 Routing rule acquisition method, device and system
CN109617807A (en) * 2018-12-28 2019-04-12 深圳云天励飞技术有限公司 Route information update method, device, gateway and storage medium
CN110809054A (en) * 2019-11-11 2020-02-18 腾讯科技(深圳)有限公司 Data transmission method, device, equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695523A (en) * 2022-10-25 2023-02-03 北京星网锐捷网络技术有限公司 Data transmission control method and device, electronic equipment and storage medium
WO2024113935A1 (en) * 2022-12-02 2024-06-06 中兴通讯股份有限公司 Data transmission method and apparatus, and communication device
CN116112572A (en) * 2023-01-29 2023-05-12 中国联合网络通信集团有限公司 Service processing method, device, network equipment and storage medium

Also Published As

Publication number Publication date
CN114172842B (en) 2023-09-19

Similar Documents

Publication Publication Date Title
EP3824602B1 (en) Multi-cloud connectivity using srv6 and bgp
US20240022650A1 (en) Computing power application traffic forwarding method and apparatus
CN109565472B (en) Slice/service-based routing method and device in virtual network
US10659344B2 (en) Information transmission method, apparatus and system
US10432427B2 (en) Border gateway protocol for communication among software defined network controllers
JP2023540938A (en) Methods, systems, and computer-readable media for prioritized network function (NF) discovery and routing specific to service communication proxies (SCPs)
US10218600B2 (en) Path computation element hierarchical software defined network control
EP2920932B1 (en) Apparatus for a high performance and highly available multi-controllers in a single sdn/openflow network
CN110730478B (en) Slice association method, device, end-to-end slice organizer and storage medium
US7590074B1 (en) Method and apparatus for obtaining routing information on demand in a virtual private network
US20230275834A1 (en) Service Traffic Processing Method and Apparatus
CN105340244A (en) Dynamic content distribution network selection based on context from transient criteria
CN109644383A (en) Communication system, communication device and program
CN114172842B (en) Data transmission processing method, device, equipment and readable storage medium
US10862800B2 (en) Method and system for managing network communications
WO2022166465A1 (en) Message processing method and related apparatus
CN116232982A (en) Route calculation method and related equipment
US20230269164A1 (en) Method and apparatus for sending route calculation information, device, and storage medium
CN112751766A (en) Message forwarding method and device and computer storage medium
CN113039752B (en) Network node and method for supporting a service-based architecture
US12010012B2 (en) Application-aware BGP path selection and forwarding
CN116112419B (en) Network node, communication method and system
WO2024222006A1 (en) Service request response method, service data acquisition method and electronic device
US12143927B2 (en) Network slice sharing of resource objects
EP4329374A1 (en) Communication processing 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