CN112104553B - Method, device, routing equipment and storage medium for selecting path - Google Patents

Method, device, routing equipment and storage medium for selecting path Download PDF

Info

Publication number
CN112104553B
CN112104553B CN202010874676.9A CN202010874676A CN112104553B CN 112104553 B CN112104553 B CN 112104553B CN 202010874676 A CN202010874676 A CN 202010874676A CN 112104553 B CN112104553 B CN 112104553B
Authority
CN
China
Prior art keywords
forwarded
traffic
attribute
determining
attribute information
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
CN202010874676.9A
Other languages
Chinese (zh)
Other versions
CN112104553A (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN202010874676.9A priority Critical patent/CN112104553B/en
Publication of CN112104553A publication Critical patent/CN112104553A/en
Application granted granted Critical
Publication of CN112104553B publication Critical patent/CN112104553B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects

Landscapes

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

Abstract

The present specification provides a method, an apparatus, a routing device and a storage medium for selecting a path, the method comprising: obtaining flow to be forwarded, determining a first credible routing level corresponding to the flow to be forwarded according to first attribute information carried in the flow to be forwarded, determining a first service level agreement SLA met by the flow to be forwarded according to second attribute information carried in the flow to be forwarded, determining a target Color corresponding to the flow to be forwarded according to the first credible routing level and the first SLA, and determining a forwarding path according to the target Color.

Description

Method, device, routing equipment and storage medium for selecting path
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for selecting a path, a routing device, and a storage medium.
Background
SR, Segment Routing;
TRL: the Trusted routing level may trust the routing level.
SR-TE Policy (Segment Routing Policy) provides a flexible forwarding path selection method, and different forwarding requirements of users are met. When a plurality of paths exist between a source node and a destination node of a Segment Routing network, SR-TE Policy is reasonably utilized to select a forwarding path, which not only facilitates the management and planning of the network by an administrator, but also can effectively reduce the forwarding pressure of network equipment.
SR Policy is identified by the following triplets:
head end (Headend): where SR Policy is generated/implemented;
color (Color): is an arbitrary 32-bit value, generally representing intent, that represents a particular manner of reaching an endpoint (e.g., low latency, high bandwidth, etc.);
endpoint (Endpoint): the end point of SR Policy is an IPv4/IPv6 address;
candidate path: SR Policy can generate paths in various ways, static configuration, dynamic routing of equipment, and centralized routing of controllers.
Currently, in SR-Policy, different forwarding paths (implemented by a Candidate path) can be selected for different services, and path selection is mainly performed according to an SLA (Service Level agent), for example: and selecting a proper path according to the satisfaction degree of bandwidth, time delay, jitter and packet loss rate.
Disclosure of Invention
The present specification provides a method, an apparatus, a routing device, and a storage medium for selecting a path, by which, when a Candidate path is selected, a Candidate path of a corresponding trusted routing level can be selected according to a requirement of a client to forward a traffic.
The embodiment of the specification provides a method for selecting a path, which is applied to an SR-Policy network and comprises the following steps:
acquiring traffic to be forwarded;
determining a first trusted routing level corresponding to the traffic to be forwarded according to first attribute information carried in the traffic to be forwarded;
determining a first service level agreement SLA met by the traffic to be forwarded according to second attribute information carried in the traffic to be forwarded;
and determining a target Color corresponding to the flow to be forwarded according to the first trusted routing level and the first SLA, and determining a forwarding path according to the target Color.
Optionally, the first attribute information includes: a traffic forwarding attribute;
the determining, according to the first attribute information carried in the traffic to be forwarded, a first trusted routing level corresponding to the traffic to be forwarded specifically includes:
acquiring the first attribute information, and determining a first service attribute of the traffic to be forwarded according to the first attribute information;
and acquiring a first trusted routing level corresponding to the first service attribute according to the corresponding relation between the preset service attribute and the trusted routing level.
Optionally, the first attribute information includes: the preset trust level carried in the traffic to be forwarded;
the determining, according to the first attribute information carried in the traffic to be forwarded, a first trusted routing level corresponding to the traffic to be forwarded specifically includes:
acquiring a preset trust level carried in the traffic to be forwarded;
and taking the preset trust level as a first trusted routing level.
Optionally, the second attribute information includes: a traffic forwarding quality attribute;
the determining, according to the second attribute information carried in the traffic to be forwarded, the first SLA that the traffic to be forwarded satisfies includes:
and calculating the flow forwarding quality attribute carried in the flow to be forwarded, determining whether an SLA meeting the calculation result exists, if so, acquiring the SLA, and taking the acquired SLA as a first SLA.
Optionally, this embodiment may further include: setting a Color of the SR-Policy network, wherein the Color comprises: trusted routing levels and SLAs;
determining a target color corresponding to the traffic to be forwarded according to the first trusted routing level and the first SLA, and determining a forwarding path according to the target color, specifically comprising:
determining a preselected Color of which the Color is not less than the first trusted routing level according to the first trusted routing level;
determining a target Color from the pre-selected Color that satisfies the first SLA according to the first SLA.
The embodiment of the present specification further provides a method for generating a path, where the method is applied to a head node of an SR-Policy network, and the method includes:
acquiring first attribute information and second attribute information of traffic to be forwarded;
setting a Color attribute according to the first attribute information and the second attribute information, wherein the Color attribute comprises: trusted routing level, service level agreement SLA;
setting an Endpoint attribute according to the destination address of the flow to be forwarded;
calculating a forwarding path according to the Color attribute and the Endpoint attribute;
the first attribute information is used for determining a trusted routing level, and the second attribute is used for determining a service level agreement SLA.
Optionally, the first attribute includes: and the traffic forwarding attribute or a preset trust level carried in the traffic to be forwarded.
Optionally, the second attribute includes: traffic forwarding quality attributes.
An embodiment of the present specification further provides an apparatus for selecting a path, where the apparatus includes:
the acquisition module is used for acquiring traffic to be forwarded;
the calculation module is used for determining a first trustable routing level corresponding to the traffic to be forwarded according to first attribute information carried in the traffic to be forwarded;
the calculation module is used for determining a first service level agreement SLA met by the traffic to be forwarded according to second attribute information carried in the traffic to be forwarded;
and the processing module is used for determining a target Color corresponding to the flow to be forwarded according to the first trustable routing level and the first SLA, and determining a forwarding path according to the target Color.
Optionally, the first attribute information includes: a traffic forwarding attribute;
the calculation module is further configured to obtain the first attribute information, and determine a first service attribute of the traffic to be forwarded according to the first attribute information;
and acquiring a first trusted routing level corresponding to the first service attribute according to the corresponding relation between the preset service attribute and the trusted routing level.
Optionally, the first attribute information includes: the preset trust level carried in the traffic to be forwarded;
the computing module is further configured to obtain a preset trust level carried in the traffic to be forwarded;
and taking the preset trust level as a first trusted routing level.
Optionally, the second attribute information includes: a traffic forwarding quality attribute;
the calculation module is further configured to calculate a traffic forwarding quality attribute carried in the traffic to be forwarded, determine whether an SLA meeting the calculation result exists, acquire the SLA if the SLA exists, and use the acquired SLA as a first SLA.
Optionally, the apparatus further comprises: the setting module is used for setting the Color of the SR-Policy network, and the Color comprises the following components: trusted routing levels and SLAs;
the processing module is further used for determining a preselected Color of which the Color is not less than the first trusted routing level according to the first trusted routing level;
determining a target Color from the pre-selected Color that satisfies the first SLA according to the first SLA.
The embodiment of the present specification further provides an apparatus for generating a path, where the apparatus is applied to a head node, and the apparatus includes:
an acquisition module: acquiring first attribute information and second attribute information of traffic to be forwarded;
a processing module: setting a Color attribute according to the first attribute information and the second attribute information, wherein the Color attribute comprises: trusted routing level, service level agreement SLA;
the processing module is used for: the method is also used for setting an Endpoint attribute according to the destination address of the flow to be forwarded;
the processing module is used for: the forwarding path is also calculated according to the Color attribute and the Endpoint attribute;
the first attribute information is used for determining a trusted routing level, and the second attribute is used for determining a service level agreement SLA.
An embodiment of the present specification further provides a routing device, where the routing device includes: a processor and a machine-readable storage medium;
the machine-readable storage medium stores machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: the steps of any of the embodiments described above are implemented.
Embodiments of the present specification also provide a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to: the steps of any of the embodiments described above are implemented.
Through the embodiments, when the flow forwarding path is selected in the SR-Policy network (Candidate path selection), the corresponding first trusted routing level may be obtained according to the first attribute information, and the matching forwarding path is selected according to the first trusted routing level and the SLA, so that the security requirement of the user on the forwarding path is satisfied.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present specification and together with the description, serve to explain the principles of the specification.
Fig. 1 is a schematic flowchart of a method for selecting a path according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a network architecture according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the specification, as detailed in the appended claims.
The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present specification. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
At present, the industry is more and more paying attention to the safety of the routing, and the technology industry based on the credible routing level is in the middle of research. The trusted routing nodes refer to routing nodes in the forwarding domain which are respectively set with trusted levels. The routing node obtains an initial credibility level after registering with the credible management server, and the credibility level of the routing node can be dynamically adjusted through abnormal detection. When the service is forwarded, the service can be transmitted through the routing node above a certain security level according to the requirement of the service on security.
However, at present, when a forwarding path is selected in an SR Policy network, an appropriate path is selected mainly according to SLA satisfaction, and SR Policy does not support selection calculation of a trusted routing level path.
The embodiment of the present specification provides a method for selecting a path, where the method is applied to a routing device supporting an SR-Policy network, where the routing device includes a router, a switch, or a server with a virtual routing function, and as shown in fig. 1: the method comprises the following steps:
s101, acquiring traffic to be forwarded;
s102, determining a first trustable routing level corresponding to the traffic to be forwarded according to first attribute information carried in the traffic to be forwarded;
s103, determining a first service level agreement SLA met by the traffic to be forwarded according to second attribute information carried in the traffic to be forwarded;
s104, determining a target Color corresponding to the flow to be forwarded according to the first trustable routing level and the first SLA, and determining a forwarding path according to the target Color.
In step S102, the first attribute information may include a traffic forwarding attribute, for example, information used to guide forwarding, such as a five-tuple (a source address, a destination address, a protocol number, a source port, a destination port) and/or a VPN, carried in a traffic message, determine a service attribute (e.g., email, video, voice, etc.) of the traffic to be forwarded, and determine a first trusted routing level corresponding to the first attribute information according to a correspondence between the service attribute preset in the routing device and the trusted routing level.
In a specific implementation, an administrator may preset, by a controller in a network, for example, a controller in an SDN network, a correspondence between a service attribute and a trusted routing level for the routing device, for example: setting a trusted routing level corresponding to email to be 5, setting a trusted routing level corresponding to video to be 4, and setting a trusted routing level corresponding to voice to be 3, where in this embodiment, the higher the trusted routing level value is, the higher the degree of requiring trusted routing is represented. In another implementation, the administrator may also perform field setup directly in the routing device, which is not limited in this specification.
In another embodiment, when the traffic source sends the traffic to be forwarded, a preset trust level may be directly carried in the traffic to be forwarded, where the preset trust level may be a level value, and the level value may be loaded into a field identifier in the IP address. It should be noted that the method for loading the rank value in this embodiment is only an exemplary illustration, and is not used to limit the technical solutions in this specification.
When the routing equipment acquires the traffic to be forwarded carrying the preset trust level, the routing equipment acquires the preset trust level value and takes the acquired preset trust level value as a first trusted routing level.
In step S103, the second attribute information may be an attribute used to characterize the traffic forwarding quality, such as an attribute index of bandwidth, delay, jitter, packet loss, reliability, and security.
After acquiring the traffic to be forwarded, the routing device may acquire corresponding second attribute information according to a preset setting, for example, the acquired second attribute information is delay <100, and acquire a corresponding SLA according to the second attribute information.
Before step S104 is executed, this specification further provides an embodiment of setting a Color extended community attribute, where an administrator may set the Color extended community attribute of the SR-Policy network through a controller (e.g., an SDN controller) or directly in a routing device, where the configuration content includes a corresponding relationship between a trusted routing level and an SLA, for example, as shown in table 1:
Color trusted Routing Level (TRL) SLA
Color1
3 Delay 50
Color2 5 Delay120
Color3
5 Delay 80
TABLE 1
In table 1, Color1, Color2, and Color3 are listed, different colors correspond to different trusted routing levels and SLAs, and when an administrator sets the trusted routing levels and SLAs, the administrator can set the corresponding relationship between the trusted routing levels and the SLAs in the manner of table 1.
The routing device may determine a corresponding Color according to a first trusted routing level obtained from the traffic to be forwarded and the satisfied first service level agreement SLA.
Specifically, a preselected Color not less than a first trusted routing level may be obtained from a corresponding relationship between the set trusted routing level and the SLA according to the first trusted routing level, and a target Color satisfying the first SLA is determined from the preselected Color according to the first SLA.
An embodiment of the present specification provides a method for selecting a path, where as shown in fig. 2, a routing device RrouterA obtains traffic to be forwarded, where second attribute information of the traffic to be forwarded includes: delay <100, and a first trusted routing level of 5 as determined from the tape forwarding traffic.
It may be determined that the routing device needs to select a path transmission with a trusted route level greater than or equal to 5 and Delay <100 when selecting Color.
Through the information and table 1, it can be determined that Color3 meets the forwarding requirement, and then it can be determined that Path3 corresponding to Color3 can be used for forwarding the traffic to be forwarded.
It can be seen from the foregoing embodiments that, in an SR-Policy network, when a corresponding transmission path is selected for a traffic to be forwarded, a corresponding Color may be determined through a trusted routing level, and then a path for forwarding the traffic to be forwarded is determined, thereby meeting a security requirement of a user on a forwarding path.
An embodiment of the present specification further provides a method for generating a path, where the method is applied to a head node of an SR-Policy network, and the method includes:
a. and acquiring first attribute information and second attribute information of the traffic to be forwarded.
Wherein the first attribute comprises: the traffic forwarding attribute may be information used for guiding forwarding, such as a five-tuple (source address, destination address, protocol number, original port, destination port) and/or VPN, of the traffic, different service attributes may be distinguished by the five-tuple, an administrator may set different trusted routing levels for different five-tuple information, and after receiving the traffic to be forwarded, may find a corresponding trusted routing level according to the five-tuple information of the traffic to be forwarded.
In another case, the head node may obtain a preset trust level carried in the traffic to be forwarded, and directly use the preset trust level as a trusted routing level.
The second attribute information may include a traffic forwarding quality attribute, such as an attribute index of bandwidth, delay, jitter, packet loss, reliability, security, and the like. The administrator can set different service level agreements SLA according to different flow forwarding quality attributes when generating the route according to the service requirement.
b. Setting a Color attribute according to the first attribute information and the second attribute information, wherein the Color attribute comprises: trusted routing level, service level agreement SLA.
According to the trusted routing level and the service level agreement SLA acquired in the step a, a plurality of trusted routing levels and service level agreement SLAs can be included, and different trusted routing levels correspond to different service level agreement SLAs.
c. And setting an Endpoint attribute according to the destination address of the flow to be forwarded.
The Endpoint attribute may be obtained from the destination address of the service.
d. And calculating a forwarding path according to the Color attribute and the Endpoint attribute.
It can be seen from the foregoing embodiments that, when generating an SR Policy forwarding path, different forwarding paths are generated according to the trusted routing levels of different routing nodes, and as in the embodiments listed in this specification, the trusted routing levels of different routing nodes are added to the Color attribute, so that different forwarding paths are generated according to the trusted routing levels of different routing nodes.
Based on the foregoing method embodiments, an embodiment of this specification further provides a device for selecting a path, where the device includes:
the acquisition module is used for acquiring traffic to be forwarded;
the calculation module is used for determining a first trusted routing level corresponding to the traffic to be forwarded according to first attribute information carried in the traffic to be forwarded;
the calculation module is used for determining a first service level agreement SLA met by the traffic to be forwarded according to second attribute information carried in the traffic to be forwarded;
and the processing module is used for determining a target Color corresponding to the flow to be forwarded according to the first trustable routing level and the first SLA, and determining a forwarding path according to the target Color.
Optionally, the first attribute information includes: a traffic forwarding attribute;
the calculation module is further configured to obtain the first attribute information, and determine a first service attribute of the traffic to be forwarded according to the first attribute information;
and acquiring a first trusted routing level corresponding to the first service attribute according to the corresponding relation between the preset service attribute and the trusted routing level.
Optionally, the first attribute information includes: the preset trust level carried in the traffic to be forwarded;
the computing module is further configured to obtain a preset trust level carried in the traffic to be forwarded;
and taking the preset trust level as a first trusted routing level.
Optionally, the second attribute information includes: a traffic forwarding quality attribute;
the calculation module is further configured to calculate a traffic forwarding quality attribute carried in the traffic to be forwarded, determine whether an SLA meeting the calculation result exists, acquire the SLA if the SLA exists, and use the acquired SLA as a first SLA.
Based on the foregoing method embodiments, an embodiment of this specification further provides an apparatus for generating a path, where the apparatus is applied to a head node, and the apparatus includes:
an acquisition module: acquiring first attribute information and second attribute information of traffic to be forwarded;
a processing module: setting a Color attribute according to the first attribute information and the second attribute information, wherein the Color attribute comprises: trusted routing level, service level agreement SLA;
the processing module is used for: the method is also used for setting an Endpoint attribute according to the destination address of the flow to be forwarded;
the processing module is used for: the forwarding path is also calculated according to the Color attribute and the Endpoint attribute;
wherein the first attribute information is used for determining a trusted routing level, and the second attribute is used for determining a service level agreement SLA
An embodiment of the present specification further provides a routing device, where the routing device includes: a processor and a machine-readable storage medium;
the machine-readable storage medium stores machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: the steps of any of the embodiments described above are implemented.
Embodiments of the present specification also provide a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to: the steps of any of the embodiments described above are implemented.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Other embodiments of the present description will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This specification is intended to cover any variations, uses, or adaptations of the specification following, in general, the principles of the specification and including such departures from the present disclosure as come within known or customary practice within the art to which the specification pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the specification being indicated by the following claims.
It will be understood that the present description is not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (12)

1. A method for selecting a path, the method being applied to an SR-Policy network, the method comprising:
acquiring traffic to be forwarded;
determining a first trusted routing level corresponding to the traffic to be forwarded according to first attribute information carried in the traffic to be forwarded;
determining a first service level agreement SLA met by the traffic to be forwarded according to second attribute information carried in the traffic to be forwarded;
and determining a target Color corresponding to the flow to be forwarded according to the first trusted routing level and the first SLA, and determining a forwarding path according to the target Color.
2. The method according to claim 1, wherein the first attribute information includes: a traffic forwarding attribute;
the determining, according to the first attribute information carried in the traffic to be forwarded, a first trusted routing level corresponding to the traffic to be forwarded specifically includes:
acquiring the first attribute information, and determining a first service attribute of the traffic to be forwarded according to the first attribute information;
and acquiring a first trusted routing level corresponding to the first service attribute according to the corresponding relation between the preset service attribute and the trusted routing level.
3. The method according to claim 1, wherein the first attribute information includes: the preset trust level carried in the traffic to be forwarded;
the determining, according to the first attribute information carried in the traffic to be forwarded, a first trusted routing level corresponding to the traffic to be forwarded specifically includes:
acquiring a preset trust level carried in the traffic to be forwarded;
and taking the preset trust level as a first trusted routing level.
4. The method according to claim 1, wherein the second attribute information includes: a traffic forwarding quality attribute;
the determining, according to the second attribute information carried in the traffic to be forwarded, the first SLA that the traffic to be forwarded satisfies includes:
and calculating the flow forwarding quality attribute carried in the flow to be forwarded, determining whether an SLA meeting the calculation result exists, if so, acquiring the SLA, and taking the acquired SLA as a first SLA.
5. The method of claim 1, further comprising:
setting a Color of the SR-Policy network, wherein the Color comprises the following steps: trusted routing levels and SLAs;
determining a target color corresponding to the traffic to be forwarded according to the first trusted routing level and the first SLA, and determining a forwarding path according to the target color, specifically comprising:
determining a preselected Color with the Color not smaller than the first credible routing level according to the first credible routing level;
determining a target Color from the pre-selected Color that satisfies the first SLA according to the first SLA.
6. A method for generating a path, the method being applied to a head node of an SR-Policy network, the method comprising:
acquiring first attribute information and second attribute information of traffic to be forwarded;
setting a Color attribute according to the first attribute information and the second attribute information, wherein the Color attribute comprises: trusted routing level, service level agreement SLA;
setting an Endpoint attribute according to the destination address of the flow to be forwarded;
calculating a forwarding path according to the Color attribute and the endPoint attribute;
the first attribute information is used for determining a trusted routing level, and the second attribute is used for determining a service level agreement SLA.
7. The method of claim 6, wherein the first attribute comprises: and the traffic forwarding attribute or a preset trust level carried in the traffic to be forwarded.
8. The method of claim 6, wherein the second attribute comprises: traffic forwarding quality attributes.
9. An apparatus for selecting a path, the apparatus comprising:
the acquisition module is used for acquiring traffic to be forwarded;
the calculation module is used for determining a first trustable routing level corresponding to the traffic to be forwarded according to first attribute information carried in the traffic to be forwarded;
the calculation module is used for determining a first service level agreement SLA met by the traffic to be forwarded according to second attribute information carried in the traffic to be forwarded;
and the processing module is used for determining a target Color corresponding to the flow to be forwarded according to the first trustable routing level and the first SLA, and determining a forwarding path according to the target Color.
10. An apparatus for generating a path, the apparatus being applied to a head node, the apparatus comprising:
an acquisition module: acquiring first attribute information and second attribute information of traffic to be forwarded;
a processing module: setting a Color attribute according to the first attribute information and the second attribute information, wherein the Color attribute comprises: trusted routing level, service level agreement SLA;
the processing module is used for: the method is also used for setting an Endpoint attribute according to the destination address of the flow to be forwarded;
the processing module is used for: the forwarding path is also calculated according to the Color attribute and the Endpoint attribute;
the first attribute information is used for determining a trusted routing level, and the second attribute is used for determining a service level agreement SLA.
11. A routing device, characterized in that the routing device comprises: a processor and a machine-readable storage medium;
the machine-readable storage medium stores machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: carrying out the method steps of any one of claims 1 to 8.
12. A machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to: carrying out the method steps of any one of claims 1 to 8.
CN202010874676.9A 2020-08-27 2020-08-27 Method, device, routing equipment and storage medium for selecting path Active CN112104553B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010874676.9A CN112104553B (en) 2020-08-27 2020-08-27 Method, device, routing equipment and storage medium for selecting path

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010874676.9A CN112104553B (en) 2020-08-27 2020-08-27 Method, device, routing equipment and storage medium for selecting path

Publications (2)

Publication Number Publication Date
CN112104553A CN112104553A (en) 2020-12-18
CN112104553B true CN112104553B (en) 2022-07-12

Family

ID=73757904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010874676.9A Active CN112104553B (en) 2020-08-27 2020-08-27 Method, device, routing equipment and storage medium for selecting path

Country Status (1)

Country Link
CN (1) CN112104553B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112737950B (en) * 2020-12-24 2022-05-27 新华三大数据技术有限公司 Service flow forwarding method and device
CN112910777B (en) * 2021-01-28 2022-09-02 北京华三通信技术有限公司 Message processing method and device
CN112688882A (en) * 2021-03-11 2021-04-20 广东省新一代通信与网络创新研究院 Network flow control method and system based on equipment trust
CN115134358B (en) * 2021-03-19 2024-04-12 顺丰科技有限公司 Cross-cluster traffic forwarding method and device, computer equipment and storage medium
CN113542123B (en) * 2021-05-31 2022-11-29 网络通信与安全紫金山实验室 Method and device for determining forwarding path
CN115632980A (en) * 2022-10-24 2023-01-20 平安银行股份有限公司 Method and device for realizing routing configuration, storage medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2302125A1 (en) * 1999-04-01 2000-10-01 At&T Corp. Method of providing quality of service agreement across network boundaries
CN107454065A (en) * 2017-07-12 2017-12-08 北京神州绿盟信息安全科技股份有限公司 A kind of means of defence and device of UDP Flood attacks
CN108933737A (en) * 2017-05-26 2018-12-04 中兴通讯股份有限公司 Load-balancing method and device
CN109309618A (en) * 2017-07-28 2019-02-05 丛林网络公司 Next-hop selection based on service-level agreement
CN109495385A (en) * 2018-12-04 2019-03-19 安徽皖兴通信息技术有限公司 A kind of network flow dispatching method for realizing discontinuous Segment routing domain
CN110535782A (en) * 2019-06-15 2019-12-03 华为技术有限公司 A kind of message processing method, equipment and system realizing QoS and ensureing
CN110677337A (en) * 2019-09-27 2020-01-10 新华三信息安全技术有限公司 Data forwarding method and device, network equipment and computer readable storage medium
CN111049752A (en) * 2019-12-17 2020-04-21 锐捷网络股份有限公司 Load balancing method and device for multiple transmission lines
CN111431800A (en) * 2020-03-20 2020-07-17 新华三技术有限公司合肥分公司 Method, device and equipment for establishing path and machine-readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10992729B2 (en) * 2017-04-18 2021-04-27 Microsoft Technology Licensing, Llc Endpoint configuration for a communication session
US10469367B2 (en) * 2017-10-04 2019-11-05 Cisco Technology, Inc. Segment routing network processing of packets including operations signaling and processing of packets in manners providing processing and/or memory efficiencies

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2302125A1 (en) * 1999-04-01 2000-10-01 At&T Corp. Method of providing quality of service agreement across network boundaries
CN108933737A (en) * 2017-05-26 2018-12-04 中兴通讯股份有限公司 Load-balancing method and device
CN107454065A (en) * 2017-07-12 2017-12-08 北京神州绿盟信息安全科技股份有限公司 A kind of means of defence and device of UDP Flood attacks
CN109309618A (en) * 2017-07-28 2019-02-05 丛林网络公司 Next-hop selection based on service-level agreement
CN109495385A (en) * 2018-12-04 2019-03-19 安徽皖兴通信息技术有限公司 A kind of network flow dispatching method for realizing discontinuous Segment routing domain
CN110535782A (en) * 2019-06-15 2019-12-03 华为技术有限公司 A kind of message processing method, equipment and system realizing QoS and ensureing
CN110677337A (en) * 2019-09-27 2020-01-10 新华三信息安全技术有限公司 Data forwarding method and device, network equipment and computer readable storage medium
CN111049752A (en) * 2019-12-17 2020-04-21 锐捷网络股份有限公司 Load balancing method and device for multiple transmission lines
CN111431800A (en) * 2020-03-20 2020-07-17 新华三技术有限公司合肥分公司 Method, device and equipment for establishing path and machine-readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于虚拟拓扑的多级可信传输体系及路由计算;陈文龙等;《计算机研究与发展》;20180415(第04期);全文 *

Also Published As

Publication number Publication date
CN112104553A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN112104553B (en) Method, device, routing equipment and storage medium for selecting path
US20230283568A1 (en) Scalable network slice based queuing using segment routing flexible algorithm
US20210314819A1 (en) Forwarding Entry Generation Method, Controller, and Network Device
US9838333B2 (en) Software-defined information centric network (ICN)
CN116325702A (en) Method, system and computer readable medium for prioritized Network Function (NF) discovery and routing specific to service communication agents (SCPs)
US11057298B2 (en) Providing differentiated service to traffic flows obscured by content distribution systems
US9325609B2 (en) Segmented source routing in a network
US9215164B2 (en) Multi-source correlation of network topology metrics
US20110258257A1 (en) Proximity aggregated network topology algorithm (panta)
KR20120098655A (en) Quality of service (qos) based systems, networks, and advisors
CN107317879A (en) The distribution method and system of a kind of user&#39;s request
JP2001218186A (en) Video distributing system
US8457004B2 (en) System and method for analyzing and testing packet flows to localize problems
CN111803925B (en) Scheduling method and device of forwarding server of cloud game and readable storage medium
US10798609B2 (en) Methods, systems, and computer readable media for lock-free communications processing at a network node
KR101541531B1 (en) Routing method based on available bandwidth pattern in software defined network
WO2016119422A1 (en) Network management method, device and system
CN109067657B (en) Message processing method and device
WO2017162193A1 (en) Dynamic switching control over multiple internet services provided for home networks
Rezende et al. Analysis of monitoring and multipath support on top of OpenFlow specification
US7965713B2 (en) Inter-domain router comprising a module for determining route aggregation
US20070133546A1 (en) Method for providing QoS using address system and system resolution protocol
US20220400401A1 (en) Methods, systems, and computer readable media for establishing message priority in network slices based on quality of service parameters
Kondo et al. Resource discovery for edge computing over named data networking
CN116418891A (en) Data transmission method, device, medium and computer equipment

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