CN117896309A - Service processing method, communication device, storage medium, and program product - Google Patents

Service processing method, communication device, storage medium, and program product Download PDF

Info

Publication number
CN117896309A
CN117896309A CN202211220479.0A CN202211220479A CN117896309A CN 117896309 A CN117896309 A CN 117896309A CN 202211220479 A CN202211220479 A CN 202211220479A CN 117896309 A CN117896309 A CN 117896309A
Authority
CN
China
Prior art keywords
sid
service
computing
force
processing method
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.)
Pending
Application number
CN202211220479.0A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202211220479.0A priority Critical patent/CN117896309A/en
Priority to PCT/CN2023/089870 priority patent/WO2024074031A1/en
Publication of CN117896309A publication Critical patent/CN117896309A/en
Pending legal-status Critical Current

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/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Landscapes

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

Abstract

The application discloses a service processing method, a communication device, a storage medium and a program product. The service processing method of one embodiment comprises the following steps: under the condition that the destination address of the received service message carries the target computing power SID is determined, computing power service addressing is carried out according to the preset forwarding rule of the target computing power SID, so that corresponding computing power network service can be processed at the network node in need based on the preset forwarding rule of the target computing power SID, the influence of packaging defects in the related art is overcome, the application scene of the computing power network service is favorably expanded, and the requirement of forwarding the computing power network service can be met.

Description

Service processing method, communication device, storage medium, and program product
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a service processing method, a communications device, a computer storage medium, and a computer program product.
Background
In the related art, a service ID is an abstract expression of a service in a cloud pool, represents the capability and the requirement of the service, and is a key technology for realizing the selection of a service resource pool by network equipment. For the encapsulation of the calculation power identifier in the sixth generation internet protocol (Internet Protocol Version, IPV 6) message, various extension heads exist in the existing IPV6 system to carry out IPV6 extension, but the extension heads have certain encapsulation defects, so that the application scene is fixed and limited, and the requirement of calculation power network service forwarding cannot be met.
Disclosure of Invention
The embodiment of the application provides a service processing method, communication equipment, a computer storage medium and a computer program product, which aim to meet the requirement of service forwarding of a computing power network.
In a first aspect, an embodiment of the present application provides a service processing method, including:
and under the condition that the destination address of the received service message carries the target computing power SID, addressing the computing power service according to the preset forwarding rule of the target computing power SID.
In a second aspect, an embodiment of the present application further provides a service processing method, including:
and sending a service message to a first gateway node, so that the first gateway node performs service addressing according to a preset forwarding rule of a target service computing SID under the condition that the target address of the service message carries the target service computing SID.
In a third aspect, an embodiment of the present application further provides a service processing method, including:
and under the condition that the destination address of the received service message carries the first SID, carrying out the power calculation service addressing according to the preset forwarding rule of the first SID.
In a fourth aspect, embodiments of the present application further provide a communication device, including: at least one processor; at least one memory for storing at least one program; the business processing method as described above is implemented when at least one of the programs is executed by at least one of the processors.
In a fifth aspect, embodiments of the present application further provide a computer readable storage medium, in which a processor executable program is stored, where the processor executable program is used to implement a service processing method as described above when executed by a processor.
In a sixth aspect, embodiments of the present application further provide a computer program product, a computer program or the computer instructions being stored in a computer readable storage medium, from which the computer program or the computer instructions are read by a processor of a computer device, the processor executing the computer program or the computer instructions, causing the computer device to perform a business processing method as described above.
According to the service processing method, the communication device, the storage medium and the program product provided by the embodiment of the application, under the condition that the destination address of the received service message is determined to carry the target computing power SID, the computing power service addressing is performed according to the preset forwarding rule of the target computing power SID, so that the corresponding computing power network service can be processed at the network node in need based on the preset forwarding rule of the target computing power SID, the influence of packaging defects in the related technology is overcome, the application scene of the computing power network service is favorably expanded, and the requirement of forwarding the computing power network service can be met.
Drawings
FIG. 1 is a schematic diagram of a power network for performing a business processing method provided in one embodiment of the present application;
FIG. 2 is a flow chart of a business processing method provided in one embodiment of the present application;
fig. 3 is a schematic diagram of a package structure of a service packet according to an embodiment of the present application;
FIG. 4 is a flowchart of addressing a computing service according to a preset forwarding rule of a target computing SID in a business processing method according to an embodiment of the present application;
FIG. 5 is a flow chart of a business processing method provided in another embodiment of the present application;
fig. 6 is a flowchart before sending a service packet to a first gateway node in a service processing method according to an embodiment of the present application;
FIG. 7 is a flow chart of a method of service processing provided in another embodiment of the present application;
fig. 8 is a flowchart of performing power service addressing according to a preset forwarding rule of a first SID in the service processing method according to an embodiment of the present application;
fig. 9 is an application scenario schematic diagram of a service processing method according to an embodiment of the present application;
fig. 10 is an application scenario schematic diagram of a service processing method according to another embodiment of the present application;
fig. 11 is a schematic diagram of a communication device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It should be noted that although functional block division is performed in a device diagram and a logic sequence is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the block division in the device, or in the flowchart. The terms first, second and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The words "further," "exemplary," or "optionally" in the embodiments herein are used to indicate by way of example, illustration, or description that the embodiment is not to be interpreted as preferred or advantageous over other embodiments or designs. The use of the words "further," "exemplary," or "optionally" and the like is intended to present the relevant concepts in a concrete fashion.
At present, an information network is converting from a network infrastructure taking information transmission as a core to an intelligent cloud network infrastructure integrating calculation, storage and transmission resources, and an algorithm power network is a good practice and application of cloud network integration, and in the cloud entering process of business, an algorithm power resource pool meeting requirements needs to be comprehensively selected according to network factors (such as time delay, bandwidth, packet loss rate and the like) and algorithm power factors (such as cost and the like) so as to meet the requirements of various novel applications and vertical industries.
The computing power network provides a computing power service point, which may have multiple instances, may be located in different cloud resource pools, including one or more network nodes of an end domain, one or more network nodes of a network domain, and one or more network nodes of a cloud domain, among others. For example, to access a service, an end user needs to integrate a network factor and an algorithm factor to allocate and select an algorithm resource pool, where the selection of service instances in the algorithm resource pool is not already completed through a single IP route, and the addressing and selection of service instances need to be performed based on service+route coordination.
The computing power identifier is an abstract expression of the service in the cloud pool, represents the capability and the requirement of the computing power service, and is required to select the computing power resource pool according to the computing power identifier in the network domain, so that the message encapsulation and the forwarding of the computing power identifier are key technologies for realizing the computing power resource pool selection of the network equipment.
In the related technology, the computing power identifier is an abstract expression of the service in the cloud pool, represents the capability and the requirement of the computing power service, and is a key technology for the network equipment to realize the selection of the computing power resource pool. For the encapsulation of the computing power identifier in the sixth generation internet protocol IPV6 message, various extension heads exist in the existing IPV6 system to carry out IPV6 extension, but certain encapsulation defects exist in the extension heads, so that the application scene is fixed and limited, and the requirement of forwarding the computing power network service cannot be met, and specifically:
for destination option header (Destination Option Head, DOH), the DOH encapsulation needs to parse and encapsulate TLV when the message arrives at the destination address, but there may be multiple nodes in the computing gateway that need to be processed, for example, there may be two-level gateway processing nodes in the network domain, and the computing identifier may also need to be extracted in the cloud domain to be processed, so that a single destination node processes TLV, i.e., type-Length-Value, which belongs to an optional encoding format in the data communication protocol, where Type represents the Type of the whole data block, and may be represented by a digital code, length is a fixed Length, typically 1-4 bytes, and Value represents a byte set with variable Length.
For Hop-By-Hop (HBH) headers, each Hop node is required to be processed, and an intermediate node of the gateway may not need to be processed, so that a device that does not support such HBH may discard the message, and the service forwarding requirement of the power network cannot be well met.
For segment routing heads (Segment Routing Head, SRH), a routing table needs to be arranged in advance, which nodes need to process the calculation force identification is determined, and the nodes are arranged in advance, so that the application scene is limited.
Based on this, the present application provides a service processing method, a communication device, a storage medium, and a program product. The service processing method of one embodiment comprises the following steps: and under the condition that the destination address of the received service message carries the target computing power SID (Segment ID), addressing the computing power service according to the preset forwarding rule of the target computing power SID. In this embodiment, in the case that it is determined that the destination address of the received service packet carries the target power SID, the power service addressing is performed according to the preset forwarding rule of the target power SID, so that the network node based on the preset forwarding rule of the target power SID can process the corresponding power network service on demand, which overcomes the influence of the packaging defect in the related art, is beneficial to expanding the application scenario of the power network service, and can meet the requirement of forwarding the power network service.
Embodiments of the present application are further described below with reference to the accompanying drawings.
As shown in fig. 1, fig. 1 is a schematic diagram of a computing network for performing a service processing method according to an embodiment of the present application.
In the example of fig. 1, the computing power network provides a computing power service point, where multiple instances exist, and may be located in different cloud resource pools, for example, the computing power network shown in fig. 1 includes one network node of an end domain (i.e., a terminal node), two network nodes of the network domain (i.e., a first gateway node and a second gateway node), and multiple cloud nodes of the cloud domain, where the network domain includes at least two network nodes, a first gateway node is in communication with the end domain as an ingress gateway node, another second gateway node is in communication with the cloud domain as an egress gateway node, and the cloud nodes may include, but are not limited to, a load balancing Layer (LB) and a server connected to the LB, where the LB is configured to connect the second gateway node to receive the forwarded service message. It should be noted that the number of network nodes in the network domain may also be, but not limited to, more than two, that is, the network domain may provide routing services for more network nodes while ensuring that population gateway nodes and egress gateway nodes exist, which is not limited herein.
The technical solution of the embodiment of the application can be applied to various communication systems, for example: a wideband code division multiple access mobile communication system (wideband code division multiple access, WCDMA), an evolved universal terrestrial radio access network (evolved universal terrestrial radio access network, eutran) system, a next generation radio access network (next generation radio access network, NG RAN) system, a long term evolution (long term evolution, LTE) system, a worldwide interoperability for microwave access (worldwide interoperability for microwave access, wiMAX) communication system, a fifth generation (5th Generation,5G) system such as a new generation radio access technology (new radio access technology, NR), and future communication systems such as a 6G system, etc.
The network nodes of the embodiments of the present application may be an entity or terminal device, such as a mobile phone, for receiving or transmitting signals. The terminal device may also be referred to as a terminal device (terminal), a User Equipment (UE), a Mobile Station (MS), a mobile terminal device (MT), etc. The terminal device may be an automobile with a communication function, a smart car, a mobile phone (mobile phone), a wearable device, a tablet computer (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal device in industrial control (industrial control), a wireless terminal device in unmanned-driving (self-driving), a wireless terminal device in teleoperation (remote medical surgery), a wireless terminal device in smart grid (smart grid), a wireless terminal device in transportation safety (transportation safety), a wireless terminal device in smart city (smart city), a wireless terminal device in smart home (smart home), or the like. The embodiment of the application does not limit the specific technology and the specific equipment form adopted by the terminal.
It will be appreciated by those skilled in the art that the implementation environment shown in fig. 1 is not limiting of the embodiments of the present application and may include more or fewer components than shown, or certain components may be combined, or a different arrangement of components.
Based on the aforementioned computational power network shown in fig. 1, various embodiments of the business processing method of the present application are presented below.
As shown in fig. 2, fig. 2 is a flowchart of a service processing method according to an embodiment of the present application, where the service processing method may be applied, but is not limited to, to the first gateway node in the computing network shown in fig. 1. The service processing method may include, but is not limited to, step S1000.
Step S1000: and under the condition that the destination address of the received service message carries the target computing power SID, addressing the computing power service according to the preset forwarding rule of the target computing power SID.
In the step, under the condition that the destination address of the received service message carries the target computing power SID, the computing power service addressing is carried out according to the preset forwarding rule of the target computing power SID, so that the network node based on the preset forwarding rule of the target computing power SID can process the corresponding computing power network service on demand, the influence of the packaging defect in the related technology is overcome, the application scene of the computing power network service is favorably expanded, and the requirement of forwarding the computing power network service can be met.
In an embodiment, the preset forwarding rule of the target computing force SID may be various, which is not limited herein. For example, the preset forwarding rules of the target computing force SID may be predefined and have a one-to-one correspondence, that is, each computing force SID may set a corresponding preset forwarding rule for the target computing force SID, and when the computing force service addressing needs to be performed through the target computing force SID, the corresponding preset forwarding rule may be invoked to perform the computing force service addressing.
In an embodiment, when the preset extension header of the service packet carries the calculation power identifier, the calculation power service addressing is performed according to the preset forwarding rule of the target calculation power SID, so as to extract the calculation power identifier from the preset extension header of the service packet in the subsequent step, and on the basis of the preset forwarding rule of the target calculation power SID, the calculation power routing addressing is performed based on the calculation power identifier, that is, the calculation power identifier is used as an expression form of the calculation power service in the calculation power network, and when the preset extension header of the service packet is confirmed to carry the calculation power identifier, the calculation power network service forwarding can be specifically performed according to the calculation power identifier, so as to meet the requirement of the calculation power network service forwarding.
In an embodiment, determining whether the destination address of the received service packet carries the target computing force SID may be implemented according to determining whether the computing force type of one computing force SID is a preset computing force type, for example, when a service packet carrying the computing force SID is received, determining the computing force SID, if it is determined that the computing force type of the computing force SID is the preset computing force type, determining that the computing force SID is the target computing force SID, and performing computing force service addressing according to a preset forwarding rule, otherwise, determining that the computing force SID is not the target computing force SID.
In an embodiment, the computing force type of the target computing force SID may be, but is not limited to, configured as an end point computing (end.c) type, where the end.c type is a predefined computing force type in IPV6, and is bound to a preset forwarding rule, that is, it is only necessary to determine whether one computing force SID is the end.c type, so as to determine whether one computing force SID is the target computing force SID.
It should be noted that, the calculation force type of the target calculation force SID may be selected and set according to a specific application scenario, for example, may be set to be more than one, so long as the calculation force type of one calculation force SID at least meets one of the preset calculation force types, the calculation force SID may be determined to be the target calculation force SID, which is not limited herein.
In one embodiment, the preset extension header includes: DOH or HBH. Alternatively, those skilled in the art may select a corresponding preset extension header to set according to a specific application scenario, which is not limited herein.
Specific examples are given below to illustrate the working principles of the above-described related embodiments, and are not intended to be a further limitation on the embodiments of the present application.
Example one:
as shown in fig. 3, fig. 3 is a schematic diagram of a package structure of a service packet according to an embodiment of the present application.
Referring to fig. 3, the encapsulation part of the service packet includes an IPV6 Header part and a DOH/HBH part, where Destnation Address (i.e., destination address) is encapsulated in the IPV6 Header, and the DOH/HBH part indicates that the DOH or HBH can be used; when the Service ID (i.e., the algorithm force identifier) is detected to be encapsulated in the DOH/HBH, and the judgment Destnation Address is a preset end.c type, the algorithm force Service addressing is performed according to a preset forwarding rule.
In one embodiment, the preset forwarding rules for the target computing force SID include, but are not limited to:
analyzing a preset extension header from the service message to obtain a calculation power identifier;
inquiring the computing force route according to the computing force identifier, and determining a second gateway node of the computing force route;
determining a next hop address of the calculated force route according to the calculated force route;
the target computing force SID is replaced with the first SID of the second gateway node.
Analyzing a preset extension header from the service message to obtain a calculation force identifier so as to further query a calculation force route based on the calculation force identifier; inquiring the computing force route according to the computing force identifier, and determining a second gateway node of the computing force route, namely determining an exit gateway corresponding to the computing force route, so as to forward the service to the exit gateway; determining a next-hop address of the power calculation route according to the power calculation route so as to facilitate forwarding of the service message based on the next-hop address; and replacing the target computing power SID with the first SID of the second gateway node so as to meet the requirement of forwarding the computing power network service.
It should be noted that, the preset forwarding rule of the target computing force SID in the above embodiment is not limited to this, and the preset forwarding rule of the changed target computing force SID can be obtained through combining, splitting, etc., which is also within the protection scope of the embodiment of the present application, and is not limited herein; based on
As shown in fig. 4, in one embodiment of the present application, step S1000 is further described, and step S1000 includes, but is not limited to, step S1100.
Step S1100: and sending a service message to the second gateway node according to the next hop address of the computing power route, so that the second gateway node performs computing power service addressing according to a preset forwarding rule of a target computing power SID under the condition that the second gateway node determines that the destination address of the service message carries the first SID, wherein the computing power types of the first SID and the target computing power SID are the same.
In this step, in the case that the next hop address is determined based on the preset forwarding rule, a service packet is sent to the second gateway node according to the next hop address of the computing power route, so as to implement computing power service addressing, and by sending the service packet to the second gateway node, the second gateway node is enabled to perform computing power service addressing according to the preset forwarding rule of the target computing power SID when determining that the destination address of the service packet carries the first SID, because the computing power types of the first SID and the target computing power SID are the same, that is, the first SID can be forwarded by using the preset forwarding rule of the target computing power SID.
In an embodiment, the computing power type of the first SID may also be, but is not limited to being, configured as an end.c type.
As shown in fig. 5, fig. 5 is a flowchart of a service processing method according to another embodiment of the present application, which may be applied, but not limited to, to an end node in the computing network shown in fig. 1. The service processing method may include, but is not limited to, step S2000.
Step S2000: and sending the service message to the first gateway node, so that the first gateway node performs the addressing of the computing power service according to the preset forwarding rule of the target computing power SID under the condition that the destination address of the service message carries the target computing power SID.
In this step, the terminal node sends the service message to the first gateway node, so that the first gateway node performs the service addressing according to the preset forwarding rule of the target service SID when determining that the destination address of the service message carries the target service SID, so that the first gateway node can process the corresponding service on the network node on demand based on the preset forwarding rule of the target service SID, which overcomes the influence of the encapsulation defect in the related art, is beneficial to expanding the application scenario of the service, and can meet the requirement of service forwarding of the service network.
In an embodiment, the first gateway node determines whether the destination address of the received service packet carries the target computing force SID, which may be implemented according to determining whether the computing force type of one computing force SID is a preset computing force type, for example, when receiving a service packet carrying the computing force SID, determining the computing force SID, if determining that the computing force type of the computing force SID is the preset computing force type, determining that the computing force SID is the target computing force SID, and performing computing force service addressing according to a preset forwarding rule, otherwise determining that the computing force SID is not the target computing force SID.
As shown in fig. 6, in an embodiment of the present application, step S2000 is preceded by a step S3000.
Step S3000: and encapsulating the target calculation force SID in a destination address of the service message, and encapsulating the calculation force identification in a preset extension header of the service message.
In this step, the terminal node encapsulates the target computing force SID in the destination address of the service message in advance, and encapsulates the computing force identifier in the preset extension header of the service message, so as to implement encapsulation of the destination address of the service message and the preset extension header, so that the first gateway node can further confirm the encapsulation condition of the destination address of the service message and the preset extension header in a subsequent step.
In one embodiment, the preset forwarding rules for the target computing force SID include, but are not limited to:
analyzing a preset extension header from the service message to obtain a calculation power identifier;
inquiring the computing force route according to the computing force identifier, and determining a second gateway node of the computing force route;
determining a next hop address of the calculated force route according to the calculated force route;
the target computing force SID is replaced with the first SID of the second gateway node.
In one embodiment, the preset extension header includes: DOH or HBH. Alternatively, those skilled in the art may select a corresponding preset extension header to set according to a specific application scenario, which is not limited herein.
In an embodiment, the calculation type of the target calculation force SID is configured as an end.c type.
It should be noted that, since the step S2000 and the step S3000 in the foregoing embodiments belong to the same inventive concept as the related embodiments of the service processing method, the difference is only that the execution main body of the service processing method in each embodiment is different, and therefore, other specific implementations of the step S2000 and the step S3000 in the foregoing embodiments, and specific implementations of the related implementations, such as a preset forwarding rule of the target calculation force SID and a preset type of the extension header, may refer to specific embodiments of the service processing method in the foregoing embodiments, and in order to avoid redundancy, this part of implementation will not be repeated here.
As shown in fig. 7, fig. 7 is a flowchart of a service processing method according to another embodiment of the present application, which may be applied, but not limited to, to the second gateway node in the computing network shown in fig. 1. The service processing method may include, but is not limited to, step S4000.
Step S4000: and under the condition that the destination address of the received service message carries the first SID, carrying out the power calculation service addressing according to the preset forwarding rule of the first SID.
In the step, under the condition that the destination address of the received service message carries the first SID, the power calculation service addressing is carried out according to the preset forwarding rule of the first SID, so that the corresponding power calculation network service can be processed at the network node which is required based on the preset forwarding rule of the first SID, the influence of the packaging defect in the related technology is overcome, the application scene of the power calculation network service is favorably expanded, and the requirement of forwarding the power calculation network service can be met.
In an embodiment, the first gateway node determines whether the destination address of the received service packet carries the target computing force SID, which may be implemented according to determining whether the computing force type of one computing force SID is a preset computing force type, for example, when receiving a service packet carrying the computing force SID, determining the computing force SID, if determining that the computing force type of the computing force SID is the preset computing force type, determining that the computing force SID is the target computing force SID, and performing computing force service addressing according to a preset forwarding rule, otherwise determining that the computing force SID is not the target computing force SID.
In an embodiment, the preset extension header of the service packet carries a calculation power identifier, and the calculation power service addressing is performed according to the preset forwarding rule of the first SID, so that the calculation power identifier is conveniently extracted from the preset extension header of the service packet in a subsequent step, and the calculation power routing addressing is performed based on the calculation power identifier on the basis of the preset forwarding rule of the first SID, that is, the calculation power identifier is used as an expression form of the calculation power service in the calculation power network, and when the preset extension header of the service packet is confirmed to carry the calculation power identifier, it is indicated that the calculation power network service forwarding can be performed specifically according to the calculation power identifier, so as to meet the requirement of the calculation power network service forwarding.
In one embodiment, the preset forwarding rules for the first SID include, but are not limited to:
analyzing a preset extension header from the service message to obtain a calculation power identifier;
inquiring the computing force route according to the computing force identifier, and determining cloud nodes of the computing force route;
determining a next hop address of the calculated force route according to the calculated force route;
the first SID is replaced with a second SID of the cloud node.
Analyzing a preset extension header from the service message to obtain a calculation force identifier so as to further query a calculation force route based on the calculation force identifier; inquiring the computing force route according to the computing force identifier, and determining cloud nodes of the computing force route, namely determining cloud nodes corresponding to the computing force route, so as to facilitate forwarding of the service to the cloud nodes; determining a next-hop address of the power calculation route according to the power calculation route so as to facilitate forwarding of the service message based on the next-hop address; and replacing the first SID with the second SID of the cloud node so as to meet the requirement of forwarding the computing power network service.
In one embodiment, the preset extension header includes: DOH or HBH. Alternatively, those skilled in the art may select a corresponding preset extension header to set according to a specific application scenario, which is not limited herein.
In an embodiment, the computing power type of the first SID is configured as an end.c type.
As shown in fig. 8, in one embodiment of the present application, step S4000 is further described, and step S4000 includes, but is not limited to, step S4100.
Step S4100: and sending the service message to the cloud node according to the next hop address of the computing power route, so that the cloud node performs computing power service addressing according to a preset forwarding rule of the first SID under the condition that the destination address of the service message is confirmed to carry the second SID, wherein the computing power type of the second SID is the same as that of the first SID.
In this step, in the case that the next hop address is determined based on the preset forwarding rule, a service packet is sent to the cloud node according to the next hop address of the computing power route, so as to implement computing power service addressing, and by sending the service packet to the cloud node, the cloud node is enabled to perform computing power service addressing according to the preset forwarding rule of the first SID, because the computing power type of the second SID is the same as that of the first SID when it is determined that the destination address of the service packet carries the second SID, that is, the second SID can be forwarded by using the preset forwarding rule of the first SID.
It should be noted that, since the step S4000 and the step S4100 in the foregoing embodiments belong to the same inventive concept as the related embodiments of the service processing method, the difference is only that the execution main body of the service processing method in each embodiment is different, and therefore, other specific implementations of the step S4000 and the step S4100 in the foregoing embodiments, and specific implementations of the related implementations, such as a preset forwarding rule of the first SID and a preset type of the extension header, may refer to specific embodiments of the service processing method in the foregoing embodiments, and in order to avoid redundancy, this part of implementation will not be repeated here.
Specific examples are given below to more clearly illustrate the working principles of the above-described related embodiments.
Example one:
as shown in fig. 9, fig. 9 is an application scenario schematic diagram of a service processing method according to an embodiment of the present application.
Referring to fig. 9, there are 2 gateway nodes (i.e. Ingress PE and Egress PE) in the network domain, where an end.c type is defined between Ingress PE and Egress PE according to the Ingress route addressing according to the Ingress identifier, where end.c1 is the gateway SID of Ingress PE, end.c2 is the gateway SID of Egress PE, and end.c1 and end.c2 perform route flooding by using IGP routing protocol to form a routable SID, and the end network cloud processing flow according to the embodiment of the present application is as follows:
firstly, the calculated SID of the end side encapsulation Ingress PE is end.c1, and is encapsulated in the destination address of the user message, and the calculated SID is used for encapsulating the DOH of the user message.
And then, after receiving the user message, the Ingress PE node takes out end.c1 in the destination address to perform route searching, finds that the destination address is the destination power SID, performs power-calculating route addressing according to the preset forwarding rule shown in the previous embodiment, and can perform addressing by querying a corresponding power-calculating route table and an IP route table, and continuously carries DOH for forwarding.
Note that, if the Ingress PE node and the Ingress PE node manage traffic in the SRV6 POLICY manner, SRH may BE encapsulated, the target computing SID may not BE perceived, and if traffic management is performed in the Best-Effort (BE) manner, another layer of IP header may BE encapsulated, and the target computing SID may not BE perceived.
And then, after receiving the user message, the Egress PE node takes out end.c2 in the destination address to perform route searching, finds that the destination address is the destination power SID, performs power-calculating route addressing according to the preset forwarding rule shown in the previous embodiment, and can perform addressing by querying a corresponding power-calculating route table and an IP route table and continue to carry DOH for forwarding.
Then, after receiving the user message, if the intra-cloud network supports SRV6, the intra-cloud LB may follow the preset forwarding rule of the target computing power SID to continue forwarding, or may forward according to the common IPV6 message, which may be determined according to the intra-cloud requirement, which is not limited herein.
Example two:
as shown in fig. 10, fig. 10 is an application scenario schematic diagram of a service processing method according to another embodiment of the present application.
Referring to fig. 10, there are 2 gateway nodes (i.e. Ingress PE and Egress PE) in the network domain, where an end.c type is defined between Ingress PE and Egress PE according to the Ingress route addressing according to the Ingress identifier, where end.c1 is the gateway SID of Ingress PE, end.c2 is the gateway SID of Egress PE, and end.c1 and end.c2 perform route flooding by using IGP routing protocol to form a routable SID, and the end network cloud processing flow according to the embodiment of the present application is as follows:
firstly, the calculated force SID of the end side encapsulation Ingress PE is end.c1, and is encapsulated in the destination address of the user message, and the calculated force identification encapsulates the HBH of the user message.
And then, after receiving the user message, the Ingress PE node takes out end.c1 in the destination address to perform route searching, finds that the destination address is the destination power SID, performs power-calculating route addressing according to the preset forwarding rule shown in the previous embodiment, and can perform addressing by querying a corresponding power-calculating route table and an IP route table, and continuously carries HBH for forwarding.
Note that, if the Ingress PE node and the Ingress PE node manage traffic in the SRV6 POLICY manner, SRH may BE encapsulated, the target computing SID may not BE perceived, and if traffic management is performed in the Best-Effort (BE) manner, another layer of IP header may BE encapsulated, and the target computing SID may not BE perceived.
And then, after receiving the user message, the Egress PE node takes out end.c2 in the destination address to perform route searching, finds that the destination address is the destination power SID, performs power-calculating route addressing according to the preset forwarding rule shown in the previous embodiment, and can perform addressing by querying a corresponding power-calculating route table and an IP route table and continue to carry HBH for forwarding.
Then, after receiving the user message, if the intra-cloud network supports SRV6, the intra-cloud LB may follow the preset forwarding rule of the target computing power SID to continue forwarding, or may forward according to the common IPV6 message, which may be determined according to the intra-cloud requirement, which is not limited herein.
In addition, as shown in fig. 11, an embodiment of the present application further discloses a communication device, including: at least one processor 110; at least one memory 120 for storing at least one program; the business processing method as in any of the previous embodiments is implemented when at least one program is executed by at least one processor 110.
In addition, an embodiment of the present application also discloses a computer-readable storage medium having stored therein computer-executable instructions for performing the business processing method of any of the previous embodiments.
Furthermore, an embodiment of the present application also discloses a computer program product comprising a computer program or computer instructions stored in a computer readable storage medium, the computer program or computer instructions being read from the computer readable storage medium by a processor of a computer device, the processor executing the computer program or computer instructions to cause the computer device to perform the business processing method as in any of the previous embodiments.
The system architecture and the application scenario described in the embodiments of the present application are for more clearly describing the technical solution of the embodiments of the present application, and do not constitute a limitation on the technical solution provided by the embodiments of the present application, and those skilled in the art can know that, with the evolution of the system architecture and the appearance of a new application scenario, the technical solution provided by the embodiments of the present application is equally applicable to similar technical problems.
Those of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
As used in this specification, the terms "component," "module," "system," and the like are intended to refer to a computer-related entity, either hardware, firmware, a combination of hardware and software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, or a computer. By way of illustration, both an application running on a computing device and the computing device can be a component. One or more components may reside within a process or thread of execution and a component may be localized on one computer or distributed between two or more computers. Furthermore, these components can execute from various computer readable media having various data structures stored thereon. The components may communicate by way of local or remote processes such as in accordance with a signal having one or more data packets (e.g., data from two components interacting with one another in a local system, distributed system, or across a network such as the internet with other systems by way of the signal).

Claims (20)

1. A business processing method, comprising:
and under the condition that the destination address of the received service message carries the target computing power SID, addressing the computing power service according to the preset forwarding rule of the target computing power SID.
2. The service processing method according to claim 1, wherein when a preset extension header of the service packet carries a calculation power identifier, the calculation power service addressing is performed according to a preset forwarding rule of the target calculation power SID.
3. The service processing method according to claim 2, wherein the preset forwarding rule of the target computing force SID includes:
analyzing the preset extension header from the service message to obtain the calculation force identifier;
inquiring a computing force route according to the computing force identifier, and determining a second gateway node of the computing force route;
determining a next hop address of the calculated force route according to the calculated force route;
and replacing the target computing force SID with the first SID of the second gateway node.
4. A service processing method according to claim 3, wherein said addressing of the computing service according to the preset forwarding rule of the target computing SID comprises:
and sending the service message to the second gateway node according to the next hop address of the computing power route, so that the second gateway node performs computing power service addressing according to a preset forwarding rule of the target computing power SID under the condition that the destination address of the service message is determined to carry the first SID, wherein the computing power types of the first SID and the target computing power SID are the same.
5. The service processing method according to claim 2, wherein the preset extension header includes:
destination option header DOH;
or,
hop-by-hop option header HBH.
6. The traffic processing method according to claim 1 or 4, characterized in that the calculation force type of the target calculation force SID is configured as an end point calculation end.c type.
7. A business processing method, comprising:
and sending a service message to a first gateway node, so that the first gateway node performs service addressing according to a preset forwarding rule of a target service computing SID under the condition that the target address of the service message carries the target service computing SID.
8. The method for processing services according to claim 7, wherein before said sending the service packet to the first gateway node, further comprising:
and encapsulating the target calculation force SID in a destination address of the service message, and encapsulating a calculation force identifier in a preset extension header of the service message.
9. The traffic processing method according to claim 8, wherein the preset forwarding rule of the target computing force SID comprises:
analyzing the preset extension header from the service message to obtain the calculation force identifier;
inquiring a computing force route according to the computing force identifier, and determining a second gateway node of the computing force route;
determining a next hop address of the calculated force route according to the calculated force route;
and replacing the target computing force SID with the first SID of the second gateway node.
10. The service processing method according to claim 8, wherein the preset extension header includes:
DOH;
or,
HBH。
11. the traffic processing method according to claim 7, wherein the calculation type of the target calculation SID is configured as an end.c type.
12. A business processing method, comprising:
and under the condition that the destination address of the received service message carries the first SID, carrying out the power calculation service addressing according to the preset forwarding rule of the first SID.
13. The traffic processing method according to claim 12, wherein said performing a power service addressing according to a preset forwarding rule of said first SID comprises:
and when the preset extension header of the service message carries a calculation power identifier, carrying out calculation power service addressing according to the preset forwarding rule of the first SID.
14. The traffic processing method according to claim 13, wherein the preset forwarding rule of the first SID comprises:
analyzing the preset extension header from the service message to obtain the calculation force identifier;
inquiring a computing force route according to the computing force identifier, and determining cloud nodes of the computing force route;
determining a next hop address of the calculated force route according to the calculated force route;
and replacing the first SID with a second SID of the cloud node.
15. The traffic processing method according to claim 14, wherein said performing a power service addressing according to a preset forwarding rule of said first SID comprises:
and sending the service message to the cloud node according to the next hop address of the power calculation route, so that the cloud node performs power calculation service addressing according to a preset forwarding rule of the first SID under the condition that the destination address of the service message is determined to carry the second SID, wherein the power calculation type of the second SID is the same as that of the first SID.
16. The service processing method according to claim 13, wherein the preset extension header includes:
DOH;
or,
HBH。
17. the traffic processing method according to claim 12 or 15, characterized in that the calculation force type of the first SID is configured as end.c type.
18. A communication device, comprising:
at least one processor;
at least one memory for storing at least one program;
a service processing method according to any one of claims 1 to 17 when at least one of said programs is executed by at least one of said processors.
19. A computer-readable storage medium, in which a processor-executable program is stored, which when executed by a processor is adapted to carry out the service processing method according to any one of claims 1 to 17.
20. A computer program product comprising a computer program or computer instructions, characterized in that the computer program or the computer instructions are stored in a computer readable storage medium, from which the computer program or the computer instructions are read by a processor of a computer device, the processor executing the computer program or the computer instructions, causing the computer device to perform the service processing method according to any one of claims 1 to 17.
CN202211220479.0A 2022-10-08 2022-10-08 Service processing method, communication device, storage medium, and program product Pending CN117896309A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211220479.0A CN117896309A (en) 2022-10-08 2022-10-08 Service processing method, communication device, storage medium, and program product
PCT/CN2023/089870 WO2024074031A1 (en) 2022-10-08 2023-04-21 Service processing method, communication device, storage medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211220479.0A CN117896309A (en) 2022-10-08 2022-10-08 Service processing method, communication device, storage medium, and program product

Publications (1)

Publication Number Publication Date
CN117896309A true CN117896309A (en) 2024-04-16

Family

ID=90607412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211220479.0A Pending CN117896309A (en) 2022-10-08 2022-10-08 Service processing method, communication device, storage medium, and program product

Country Status (2)

Country Link
CN (1) CN117896309A (en)
WO (1) WO2024074031A1 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112953831A (en) * 2021-01-22 2021-06-11 新华三大数据技术有限公司 Message forwarding method and device
CN114844865A (en) * 2021-01-30 2022-08-02 华为技术有限公司 Service identifier distribution method and communication device in computational power awareness network

Also Published As

Publication number Publication date
WO2024074031A1 (en) 2024-04-11

Similar Documents

Publication Publication Date Title
US11824771B2 (en) Packet processing method, related device, and computer storage medium
CN109391560B (en) Network congestion notification method, proxy node and computer equipment
CN113259238B (en) Method and device for processing segment identifiers
US20180198643A1 (en) Packet transmission method and apparatus
US11102133B2 (en) Service packet processing method, apparatus, and system
CN113206787B (en) Method and device for processing segment identifiers
CN112511988B (en) Message forwarding method, device, system, network device and storage medium
EP4207685A1 (en) Message header processing method and apparatus, storage medium and electronic device
CN106559302A (en) Single tunnel method for building up, device and system
US11343173B2 (en) Systems and methods to implement path aware networking
CN109936492A (en) A kind of methods, devices and systems by tunnel transmission message
CN114342332A (en) Communication method, device and system
CN108432212B (en) Communication method, device and system based on Stream Control Transmission Protocol (SCTP)
EP3893435B1 (en) Method and apparatus for processing ioam information
CN114980359B (en) Data forwarding method, device, equipment, system and storage medium
KR101929804B1 (en) Method and Apparatus for Managing Session Resource
CN116232990A (en) Transmitting MTNC-ID on data plane supporting SRv to enable 5G transmission
CN117896309A (en) Service processing method, communication device, storage medium, and program product
CN115733898A (en) Data transmission method and related equipment
CN112565086A (en) Distributed network system, message forwarding method, device and storage medium
CN111698165B (en) Message transmission method, device, equipment and machine-readable storage medium
WO2024027271A1 (en) Application traffic sensing method and system
CN114785756B (en) Information sending method, device and equipment
WO2023125807A1 (en) Identifier allocation method and apparatus, and communication device and readable storage medium
CN117811988A (en) Method, device, system, gateway unit and computer equipment for transmitting data packet

Legal Events

Date Code Title Description
PB01 Publication