CN114172842B - 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
CN114172842B
CN114172842B CN202010946429.5A CN202010946429A CN114172842B CN 114172842 B CN114172842 B CN 114172842B CN 202010946429 A CN202010946429 A CN 202010946429A CN 114172842 B CN114172842 B CN 114172842B
Authority
CN
China
Prior art keywords
service
message table
routing message
information
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.)
Active
Application number
CN202010946429.5A
Other languages
Chinese (zh)
Other versions
CN114172842A (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

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 device, equipment and a readable storage medium, which relate to the technical field of data communication networks and are used for transmitting through an optimal network path to provide an end-to-end optimal network and a computing power service. The method comprises the following steps: acquiring 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 end-to-end optimal network and computing power service through the optimal destination 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 networks, and in particular, to a data transmission processing method, apparatus, device, and readable storage medium.
Background
The prior art proposes a new network architecture, a Computing-aware network (CAN), which interconnects dynamically distributed Computing resources based on ubiquitous network connections; through unified collaborative scheduling of multidimensional resources such as network, storage, computing power and the like, massive applications can call computing resources in different places as required in real time, global optimization of connection and computing power in the network is realized, and consistent user experience is provided.
Computing the priority network (Computing First Networking, CFN) is a key technology of the CAN power routing layer. At present, the CFN is used as an Overlay scheme, only the whole workflow of the data plane is given, but the forwarding protocol and the specific flow are not defined at the data plane.
Disclosure of Invention
The embodiment of the invention provides a data transmission processing method, a device, 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, including:
acquiring 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 includes at least one of the following information: service ID (service ID), function ID, number of service connections;
the routing information includes at least one of the following: information of the destination node and information of the target path.
Wherein the routing message table further comprises: resource information, the resource information comprising at least one of: available computing power resource information, available network resource information.
Wherein the obtaining 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;
the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following:
the order of computing power and network information from good to bad, and the order of user preference from high to low.
Wherein the service request comprises a service requirement and a service ID; the generating a forwarding table for the service Flow based on the service Flow identification Flow ID according to the service request and the routing message table includes:
determining a destination service node according to the service demand, the service ID and the routing message table;
and generating a forwarding table for 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 generating a forwarding table for the service Flow based on the service Flow identification Flow ID according to the service request and the routing message table includes:
determining a destination service node according to the service demand, 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:
a transmission data packet is generated.
If the sending data packet is generated based on the IPV6 protocol, the sending data packet carries a source IP, an IP of a destination service node and load information; or alternatively
If the packet is generated based on the SRV6 protocol, the transmission packet carries the source IP, the IP of the destination service node, the SRH (Segment Routing Header, the 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:
acquiring 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 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;
the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following:
The order of computing power and network information from good to bad, and the order of user preference from high to low.
Wherein updating the routing message table according to the path update reference information comprises:
and acquiring at least one path reaching the destination service node according to the network resource state, and updating the routing message table by using the at least one path.
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.
In a third aspect, an embodiment of the present invention provides a data transmission processing apparatus, which is applied to a network device, including:
the first acquisition module is used for acquiring a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information;
the first receiving module is used for receiving the service request of the user;
and the first generation module 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 includes at least one of the following information: service ID, function ID, number of service connections;
the routing information includes at least one of the following: information of the destination node and information of the target path.
Wherein the routing message table further comprises: resource information, the resource information comprising at least one of: available computing power resource information, available network resource information.
The first acquisition module is used for generating the routing message table according to one or more of service distribution, network resources and computing resources;
the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following:
the order of computing power and network information from good to bad, and the order of user preference from high to low.
Wherein the service request comprises a service requirement and a service ID; the first generation module includes:
a first determining submodule, configured to determine a destination service node according to the service requirement, the service ID, and the routing message table; and the first generation sub-module 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 includes: a first determining submodule, configured to determine a destination service node according to the service requirement, the service ID, and the routing message table; and the first generation sub-module is used for 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 apparatus further comprises: and the generation module is used for generating a sending data packet.
If the sending data packet is generated based on the 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 source IP, IP of the destination service node, SRH and 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, including:
the first acquisition module is used for acquiring a service-oriented routing message table, wherein the routing message table at least comprises 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 acquisition module is used for generating the routing message table according to one or more of service distribution, network resources and computing resources;
the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following:
the order of computing power and network information from good to bad, and the order of user preference from high to low.
The first updating module is configured to obtain at least one path reaching a destination service node according to a network resource state, and update the routing message table by using the at least one path.
Wherein the first update module comprises: a first determining sub-module for re-determining the destination service node and determining a transmission path to the re-determined destination service node; and the first updating sub-module 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, including: a processor and a transceiver;
the processor is used for acquiring a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information;
The transceiver is used for receiving the service request of the 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 includes at least one of the following information: service ID, function ID, number of service connections;
the routing information includes at least one of the following: information of the destination node and information of the target path.
Wherein the routing message table further comprises: resource information, the resource information comprising at least one of: available computing power resource information, available network resource information.
The processor is configured to generate the routing message table according to one or more of service distribution, network resources, and computing resources;
the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following:
the order of computing power and network information from good to bad, and the order of user preference from high to low.
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 for 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 destination 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 is used for generating a sending data packet.
The processor is configured to, if the transmission 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 source IP, IP of the destination service node, SRH and 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, including: a processor and a transceiver;
the processor is used for acquiring 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 is configured to generate the routing message table according to one or more of service distribution, network resources, and computing resources;
The destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following:
the order of computing power and network information from good to bad, and the order of user preference from high to low.
The processor is configured to obtain at least one path reaching 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 is used for redefining the destination service node and determining a transmission path reaching the redetermined 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, which processor implements the steps of the data transmission processing method as described above when executing the program.
In an eighth aspect, an embodiment of the present invention further provides a readable storage medium having stored thereon a program which, when executed by a processor, implements the steps in the data transmission processing method as described above.
In the embodiment of the invention, a service Flow-oriented forwarding table based on a 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 being capable of transmitting through an optimal network path and providing an end-to-end optimal network and a computing 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 the flow charts of the method for establishing a computational power aware path and data transmission provided by an embodiment of the present invention;
FIG. 4 is a second flowchart of a method for establishing a computing power aware path and data transmission according to an 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 block diagram of a data transmission processing apparatus according to an embodiment of the present invention;
FIG. 7 is a third block diagram of a data transmission processing apparatus according to an embodiment of the present invention;
FIG. 8 is a diagram showing a structure of a data transmission processing apparatus 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
In the embodiment of the application, the term "and/or" describes the association relation of the association objects, which means that three relations can exist, for example, a and/or B can be expressed as follows: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The term "plurality" in embodiments of the present application means two or more, and other adjectives are similar.
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments, but not all embodiments 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.
Referring to fig. 1, fig. 1 is a flowchart of a data transmission processing method provided in an embodiment of the present application, which 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, and the like. As shown in fig. 1, the method comprises the following steps:
Step 101, obtaining a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information.
Wherein the information of the service includes at least one of the following information: service ID (service ID), function ID (Function ID), number of service connections, etc. The routing information includes at least one of the following: information of the destination node (e.g., IP), information of the destination path (e.g., designated or set path information, e.g., a path including only the IP of the destination node, and the IP of the intermediate node being virtual information).
Optionally, the routing message table may further include: resource information, the resource information comprising at least one of: available computing power resource information, 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. The destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following: the order of computing power or network information from good to bad, and the order of user preference from high to low. In this way, the established transmission path can be made to more meet the needs of the user, so that the service can be scheduled to the optimal destination service node through the optimal path.
Step 102, receiving a service request of a user.
Wherein, the service request of the user (or called client) comprises the service requirement, the service ID and the like. Wherein the business requirements include computing power requirements, time delay, bandwidth and the like.
And 103, generating a forwarding table for the service Flow based on the Flow ID (service Flow identification) according to the service request and the routing message table.
When a service request arrives at the network device, the network device addresses based on the 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 path messages according to network policies. The network device may then select IP, SRV6, GRE (Generic Routing Encapsulation ), etc. 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 for the service Flow based on the Flow ID may be generated according to the destination service node. The network device may then also generate a send packet carrying the source IP, the IP of the destination service node, and the payload 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 the service Flow based on the Flow ID. The network device may then also generate a send packet carrying the source IP, the IP of the destination service node, the SRH (Segment Routing Header ), and the payload information (payload).
In the embodiment of the invention, a service Flow-oriented forwarding table based on a 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 being capable of transmitting through an optimal network path and providing an end-to-end optimal network and a computing 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, and the like. As shown in fig. 2, the method comprises the following steps:
step 201, obtaining a service-oriented routing message table, 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. The destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following: the order of computing power and network information from good to bad, and the order of user preference from high to low. In this way, the established transmission path can be made to more meet the needs of the user, so that the service can be scheduled to the optimal destination 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 path update reference information, such as a control plane or a resource status measured by an in-band OAM (Operation Administration and Maintenance ) carried by the path.
Specifically, the update may be performed by:
in the first way, the destination IP is updated with unchanged network routes. In this manner, at least one path to a destination service node is acquired based on the network resource status and the routing message table is updated with the at least one path. In a specific application, the network device can select different network paths to reach the best destination IP service node according to the network resource status in real time, for example, using SR-policy (Segment Routing policy ) to perform multipath sharing.
In the second way, the network route of the destination IP update is updated. 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 thereafter updates the routing message table based on 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 the current power service is difficult to support, the network equipment reselects the best service node according to the latest resource information, and updates the destination service node and the network path, thereby realizing the update of the end-to-end path.
Referring to fig. 3, fig. 3 is a flowchart of a method for establishing a computing power aware path and data transmission according to an embodiment of the present invention. In the embodiment of the invention, the network equipment (such as the computing network equipment or the node) generates a routing message table based on the service ID according to the service distribution, the network resource, the computing resource and other information advertisements, wherein the routing message table comprises the service ID and the destination IP. The order of the destination IP can be arranged according to the order of computing power and network information from good to bad or according to rules such as user preference service IP. Thereafter, a route may be established based on either the IPv6 or SRV6 routing protocols.
In the embodiment shown in fig. 3, a method for establishing a power-aware path based on the IPv6 protocol and a data transmission method 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 a source IP, a flow ID, a service requirement, and a destination address IP as a 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 the service requirement, and generates a Flow ID-based forwarding table for the service Flow.
In step 303, the first hop network device R1 generates a transmission packet, which carries a source IP, a destination IP (destination service node IP of a destination service ID with optimal resource selected by the network device), and a payload information payload.
Referring to fig. 4, fig. 4 is a flowchart of a method for establishing a computing power aware path and data transmission according to an embodiment of the present invention. In the embodiment of the invention, the network equipment (such as the computing network equipment or the node) generates a routing message table based on the service ID according to the service distribution, the network resource, the computing resource and other information advertisements, wherein the routing message table comprises the service ID and the destination IP. The order of the destination IP can be arranged according to the order of computing power and network information from good to bad or according to rules such as user preference service IP. Thereafter, a route may be established based on either the IPv6 or SRV6 routing protocols.
In this embodiment, a service ID-based routing message table and a Flow ID-based traffic-oriented forwarding table are generated and maintained at the network device ingress R1, where the routing information may be path information of low latency or high bandwidth generated according to user requirements and using SR-policy, etc.
In the embodiment of fig. 4, a method of establishing a power-aware path and a manner of data transmission based on the SRv 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:
in step 401, the user sends a service request carrying a source IP, a flow ID, a service requirement, and a destination address IP as a 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 the service requirement, and at the same time, selects a transmission path according to a policy, and generates a Flow ID-based forwarding table for the service Flow.
In step 403, the first hop network device R1 generates a transmission packet, which carries a source IP, a destination IP (destination service node IP of a destination service ID with optimal network device selection resources), an SRH (path information is written into the SRH to carry), and a payload.
In a specific application, for a long link service, the network device can 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 update can be performed according to BGP (Border Gateway Protocol )/IGP (Interior Gateway Protocol, interior gateway protocol) computing power and network topology information, or according to resource information of OAM carrying in-band with the path.
Destination IP is unchanged, network route update: the ingress gateway (R1) may select different network paths to reach the best destination IP service node in real time according to the network resource status. Such as multipath sharing using SR-poll. For example, when R1 receives service data carrying a service ID, it may select a more optimal network path12 according to the latest service ID routing message table, and schedule the service to an optimal path for network transmission under the condition that the destination IP1 is unchanged.
Destination IP update, network route update: if the best service IP fails or the current computing power service is difficult to support, the ingress gateway also reselects the best service node according to the latest resource information, and updates the destination service node and the network path, thereby realizing the updating of 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 the destination service node IP2 and the updated network Path21 according to the requirements, and schedule the service to the latest Path for network transmission.
As can be seen from the above description, the following effects can be achieved by the embodiments of the present invention:
1. the client side adjusts the network transmission path and the destination service node in real time according to the network computing state through service ID addressing, and generates and maintains a routing forwarding table based on the service ID, so that transmission through the optimal network path is realized, and the end-to-end optimal network and computing power service are provided.
2. On the basis of determining the destination service node, the network side can dynamically adjust the network path according to the network computing resource condition, and the best destination service node can be addressed through the optimal path, so that the service quality is ensured, and the network efficiency of an operator is improved.
3. In case of failure or incapacity of meeting service requirements during a session, a destination service node can actively sense through a network layer to inform an application layer to switch to other service nodes without waiting for TCP (Transmission Control Protocol ) to timeout, so that service switching can be realized rapidly, and optimal user experience is ensured.
It should be noted that, the solution of the embodiment of the present invention may be applied to a novel network (also referred to as a computing network or a computing sensing network) of computing network convergence.
The embodiment of the invention also provides a data transmission processing device which is applied to the network equipment. Referring to fig. 5, fig. 5 is a block diagram of a data transmission processing apparatus according to an embodiment of the present invention. Since the principle of the data transmission processing device for solving the problem is similar to that of the data transmission processing method in the embodiment of the present invention, the implementation of the data transmission processing device can refer to the implementation of the method, and the repetition is omitted.
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 includes at least 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 for a service Flow based on a Flow ID according to the service request and the routing message table.
Wherein the information of the service includes at least one of the following information: service ID, function ID, number of service connections;
the routing information includes at least one of the following: information of the destination node and information of the target path.
Wherein the routing message table further comprises: resource information, the resource information comprising at least one of: available computing power resource information, available network resource information.
The first acquisition module is used for generating the routing message table according to one or more of service distribution, network resources and computing resources;
the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following:
the order of computing power and network information from good to bad, and the order of user preference from high to low.
Wherein the service request comprises a service requirement and a service ID; the first generation module includes:
a first determining submodule, configured to determine a destination service node according to the service requirement, the service ID, and the routing message table; and the first generation sub-module 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 includes: a first determining submodule, configured to determine a destination service node according to the service requirement, the service ID, and the routing message table; and the first generation sub-module is used for 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 apparatus further comprises: and the generation module is used for generating a sending data packet.
The generation module is used for generating the sending data packet based on an IPV6 protocol, wherein the sending data packet carries source IP, 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 source IP, IP of the destination service node, SRH and load information.
The device provided by the embodiment of the present invention may execute the above method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein.
The embodiment of the invention also provides a data transmission processing device which is applied to the network equipment. Referring to fig. 6, fig. 6 is a block diagram of a data transmission processing apparatus according to an embodiment of the present invention. Since the principle of the data transmission processing device for solving the problem is similar to that of the data transmission processing method in the embodiment of the present invention, the implementation of the data transmission processing device can refer to the implementation of the method, and the repetition is omitted.
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;
the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following:
the order of computing power and network information from good to bad, and the order of user preference from high to low.
The first update module 602 is configured to obtain at least one path to the destination service node according to the network resource status, and update the routing message table using the at least one path.
Wherein the first update module comprises: a first determining sub-module for re-determining the destination service node and determining a transmission path to the re-determined destination service node; and the first updating sub-module 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 device provided by the embodiment of the present invention may execute the above method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein.
The embodiment of the invention also provides a data transmission processing device which is applied to the network equipment. Referring to fig. 7, fig. 7 is a block diagram of a data transmission processing apparatus according to an embodiment of the present invention. Since the principle of the data transmission processing device for solving the problem is similar to that of the data transmission processing method in the embodiment of the present invention, the implementation of the data transmission processing device can refer to the implementation of the method, and the repetition is omitted.
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 includes at least 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 forwarding table for a service Flow based on a service Flow identifier Flow ID according to the service request and the routing message table.
Wherein the information of the service includes at least one of the following information: service ID, function ID, number of service connections;
the routing information includes at least one of the following: information of the destination node and information of the target path.
Wherein the routing message table further comprises: resource information, the resource information comprising at least one of: available computing power resource information, 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;
the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following:
the order of computing power and network information from good to bad, and the order of user preference from high to low.
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 for 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 destination 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 701 is configured to generate a transmission data packet.
The processor 701 is configured to, if the transmission 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 source IP, IP of the destination service node, SRH and load information.
The device provided by the embodiment of the present invention may execute the above method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein.
The embodiment of the invention also provides a data transmission processing device which is applied to the network equipment. Referring to fig. 8, fig. 8 is a block diagram of a data transmission processing apparatus according to an embodiment of the present invention. Since the principle of the data transmission processing device for solving the problem is similar to that of the data transmission processing method in the embodiment of the present invention, the implementation of the data transmission processing device can refer to the implementation of the method, and the repetition is omitted.
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 includes at least 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;
the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following:
The order of computing power and network information from good to bad, and the order of user preference from high to low.
The processor 801 is configured to obtain at least one path reaching a destination service node according to a network resource status, and update the routing message table by using the at least one path.
Wherein the processor 801 is configured to redefine a destination service node and determine a transmission path reaching the redetermined 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 execute the above method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein.
The embodiment of the invention also provides communication equipment. As shown in fig. 9, a communication device according to an embodiment of the present invention includes: processor 900, for reading the program in memory 920, performs the following procedures:
acquiring 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.
Wherein in fig. 9, a bus architecture may comprise any number of interconnected buses and bridges, and in particular one or more processors represented by processor 900 and various circuits of memory represented by memory 920, linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. The transceiver 910 may be a number of elements, i.e., include a transmitter and a receiver, providing 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 (Application Specific Integrated Circuit, ASIC), a Field programmable gate array (Field-Programmable Gate Array, FPGA) or a complex programmable logic device (Complex Programmable Logic Device, CPLD), or the processor may employ 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 includes at least one of the following information: service ID, function ID, number of service connections;
the routing information includes at least one of the following: information of the destination node and information of the target path.
Wherein the routing message table further comprises: resource information, the resource information comprising at least one of: available computing power resource information, available network resource information.
The processor 900 is further configured to read the program, and perform the following steps:
generating the routing message table according to one or more of service distribution, network resources and computing resources;
the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following:
the order of computing power and network information from good to bad, and the order of user preference from high to low.
Wherein the service request comprises a service requirement and a service ID; the processor 900 is further configured to read the program, and perform the following steps:
determining a destination service node according to the service demand, the service ID and the routing message table;
And generating a forwarding table for 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 perform the following steps:
determining a destination service node according to the service demand, 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 perform the following steps:
a transmission data packet is generated.
The processor 900 is further configured to read the program, and perform the following steps:
if the sending data packet is generated based on the IPV6 protocol, the sending data packet carries a source IP, an IP of a destination service node and load information; or alternatively
If the data packet is generated based on the SRV6 protocol, the sending data packet carries source IP, IP of the destination service node, SRH and load information.
Referring again to FIG. 9, in another embodiment of the invention, a processor 900, for reading a program in a memory 920, performs the following process:
acquiring 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 perform the following steps:
generating the routing message table according to one or more of service distribution, network resources and computing resources;
the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following:
the order of computing power and network information from good to bad, and the order of user preference from high to low.
The processor 900 is further configured to read the program, and perform the following steps:
and acquiring at least one path reaching the destination service node according to the network resource state, and updating the routing message table by using the at least one path.
The processor 900 is further configured to read the program, and perform 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 execute the above method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein.
The embodiment of the invention also provides a readable storage medium, and the readable storage medium stores a program, which when executed by a processor, implements each process of the above embodiment of the data transmission processing method, and can achieve the same technical effects, so that repetition is avoided, and no further description is provided 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 memories (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical memories (e.g., CD, DVD, BD, HVD, etc.), semiconductor memories (e.g., ROM, EPROM, EEPROM, nonvolatile memories (NAND FLASH), solid State Disks (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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. In light of such understanding, the technical solutions of the present invention may be embodied essentially or in part in the form of a software product stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a cell phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in the various embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (16)

1. A data transmission processing method applied to a network device, comprising:
acquiring 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;
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 obtaining 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;
the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following:
the order of computing power and network information from good to bad, and the order of user preference from high to low.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the information of the service includes at least one of the following information: service ID, function ID, number of service connections;
the routing information includes at least one of the following: information of the destination node and information of the target path.
3. The method according to claim 1 or 2, wherein the routing message table further comprises: resource information, the resource information comprising at least one of: available computing power resource information, available network resource information.
4. The method of claim 1, wherein the service request includes a service requirement and a service ID;
the generating a forwarding table for the service Flow based on the service Flow identification Flow ID according to the service request and the routing message table includes:
determining a destination service node according to the service demand, the service ID and the routing message table;
and generating a forwarding table for the service Flow based on the Flow ID according to the destination service node.
5. The method of claim 1, wherein the service request includes a service requirement and a service ID;
the generating a forwarding table for the service Flow based on the service Flow identification Flow ID according to the service request and the routing message table includes:
determining a destination service node according to the service demand, 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.
6. The method according to claim 1, wherein the method further comprises:
a transmission data packet is generated.
7. The method of claim 6, wherein the step of providing the first layer comprises,
If the sending data packet is generated based on the IPV6 protocol, the sending data packet carries source IP, IP of a target service node and load information; or alternatively
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 segment routing header SRH, and the load information.
8. A data transmission processing method applied to a network device, comprising:
acquiring a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information;
updating the routing message table according to the path updating reference information;
wherein the obtaining 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;
the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following:
the order of computing power and network information from good to bad, and the order of user preference from high to low.
9. The method of claim 8, wherein updating the routing message table based on path update reference information comprises:
And acquiring at least one path reaching the destination service node according to the network resource state, and updating the routing message table by using the at least one path.
10. The method of claim 8, wherein updating the routing message table based on 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.
11. A data transmission processing apparatus applied to a network device, comprising:
the first acquisition module is used for acquiring a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information;
the first receiving module is used for receiving the service request of the user;
the first generation module 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;
the first obtaining module is further configured to generate the routing message table according to one or more of service distribution, network resources and computing resources; the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following: the order of computing power and network information from good to bad, and the order of user preference from high to low.
12. A data transmission processing apparatus applied to a network device, comprising:
the first acquisition module is used for acquiring a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information;
the first updating module is used for updating the routing message table according to the path updating reference information;
the first obtaining module is further configured to generate the routing message table according to one or more of service distribution, network resources and computing resources; the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following: the order of computing power and network information from good to bad, and the order of user preference from high to low.
13. A data transmission processing apparatus applied to a network device, comprising: a processor and a transceiver;
the processor is used for acquiring a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information;
the transceiver is used for receiving the service request of the user;
the processor is configured to generate a forwarding table for the service Flow based on a service Flow identifier Flow ID according to the service request and the routing message table;
The processor is further configured to generate the routing message table according to one or more of service distribution, network resources, and computing resources; the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following: the order of computing power and network information from good to bad, and the order of user preference from high to low.
14. A data transmission processing apparatus applied to a network device, comprising: a processor and a transceiver;
the processor is used for acquiring a service-oriented routing message table, wherein the routing message table at least comprises service information and routing information; updating the routing message table according to the path updating reference information;
the processor is further configured to generate the routing message table according to one or more of service distribution, network resources, and computing resources; the destination IPs in the routing message table are ordered according to a preset rule, wherein the preset rule includes any one of the following: the order of computing power and network information from good to bad, and the order of user preference from high to low.
15. 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 method comprises the steps of,
The processor is 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 10.
16. 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 10.
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 CN114172842A (en) 2022-03-11
CN114172842B true 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)

Families Citing this family (3)

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

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

Also Published As

Publication number Publication date
CN114172842A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
CN114172842B (en) Data transmission processing method, device, equipment and readable storage medium
US10432427B2 (en) Border gateway protocol for communication among software defined network controllers
US10218600B2 (en) Path computation element hierarchical software defined network control
US10193801B2 (en) Automatic traffic mapping for multi-protocol label switching networks
US8817798B2 (en) Constraining topology size and recursively calculating routes in large networks
US9992105B2 (en) Label switched path reporting
US7590074B1 (en) Method and apparatus for obtaining routing information on demand in a virtual private network
CN110730478B (en) Slice association method, device, end-to-end slice organizer and storage medium
CN112491707B (en) Method and device for determining forwarding path
CN112242949A (en) Route distribution method and controller, information routing method and network node equipment
CN104106242A (en) Delegate Forwarding and Address Resolution in Fragmented Network
CN103477612A (en) Cloud service control and management architecture expanded to interface the network stratum
CN110611616A (en) Traffic scheduling method, system, device and medium based on Radius server
US20230412508A1 (en) Packet processing method and related apparatus
WO2021143279A1 (en) Method and device for segment routing service processing, routing equipment, and storage medium
US20210377158A1 (en) Best Path Computation Offload In A Network Computing Environment
CN115914078A (en) Message forwarding method and device and dragonfly network
WO2022089169A1 (en) Method and apparatus for sending computing routing information, device, and storage medium
CN114125983A (en) Routing method, session management entity, system and medium for mobile network user plane
US12010012B2 (en) Application-aware BGP path selection and forwarding
WO2024082617A1 (en) Method for notifying forwarding table index, node, and storage medium
CN116746117A (en) Best path computation offload in a network computing environment
CN117938748A (en) Method, device and related equipment for notifying information of computing force node
CN117978854A (en) Routing method and device and electronic equipment
CN118612215A (en) Information transmission method, device, related equipment and storage medium

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