CN111565148B - Segment routing control method, segment routing node and controller - Google Patents

Segment routing control method, segment routing node and controller Download PDF

Info

Publication number
CN111565148B
CN111565148B CN201910114108.6A CN201910114108A CN111565148B CN 111565148 B CN111565148 B CN 111565148B CN 201910114108 A CN201910114108 A CN 201910114108A CN 111565148 B CN111565148 B CN 111565148B
Authority
CN
China
Prior art keywords
time parameter
segment routing
indicating
information
indication
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
CN201910114108.6A
Other languages
Chinese (zh)
Other versions
CN111565148A (en
Inventor
熊学涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910114108.6A priority Critical patent/CN111565148B/en
Publication of CN111565148A publication Critical patent/CN111565148A/en
Application granted granted Critical
Publication of CN111565148B publication Critical patent/CN111565148B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/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

Abstract

The invention provides a segment routing control method, a segment routing node and a controller, wherein the method comprises the following steps: receiving a transfer time parameter from the controller side; the transmission time parameter is used for indicating the time for adjusting the forwarding path; and adjusting the forwarding path according to the transmission time parameter. In the embodiment of the invention, the segment routing node receives the transmission time parameter from the controller side and adjusts the forwarding path according to the transmission time parameter, and the controller does not need to issue a control instruction every time when the segment routing node is required to adjust the forwarding path, so that the signaling interaction of the controller in the control process of the segment routing node is reduced, and the resource consumption of the controller and the segment routing node can be reduced.

Description

Segment routing control method, segment routing node and controller
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a segment routing control method, a segment routing node, and a controller.
Background
Segment Routing (SR) is a forwarding mechanism based on source Routing, and SR divides a network path into segments, and assigns Segment IDs (SID) to the segments and network nodes, and obtains a specified forwarding path by ordering (Segment List) the SIDs. The SID is divided into two classes, one class is an Adjacent Segment (AS) suitable for a detailed path, and the other class is a Prefix Segment (PS) suitable for load balancing and best effort.
In some Network architectures, the SR provides a Network with a capability of fast interaction with an upper-layer application, as shown in fig. 1, a Network carries SR Policy (Policy) information based on a Border Gateway Protocol (BGP) extension to implement transfer of an SR Policy between a controller and a device, and in a Software Defined Network (SDN), a southbound interface of the controller may adopt a BGPSR Policy. Under the scene that the SR path adjustment needs to be executed according to the accurate time trigger or according to the period, the controller needs to issue the instruction frequently, for example, when the SR path adjustment action starts, the controller issues an instruction to the SR to enable the SR path adjustment action to take effect; when the SR path adjusting action is finished, the controller issues an instruction to the SR to cancel the SR path adjusting action. When the execution period is short and the frequency is high, the controller needs to issue the instruction frequently, which results in large resource consumption for the controller and the SR.
Disclosure of Invention
The invention provides a segment routing control method, a segment routing node and a controller, and solves the problem of high resource consumption in the process of controlling the path adjustment of the segment routing node by the controller.
The embodiment of the invention provides a segment routing control method, which is applied to a segment routing node and comprises the following steps:
receiving a transfer time parameter from a controller side; the transmission time parameter is used for indicating the time for adjusting the forwarding path;
and adjusting the forwarding path according to the transmission time parameter.
An embodiment of the present invention further provides a segment routing node, including: a processor; a memory coupled to the processor, and a transceiver coupled to the processor; wherein the processor is configured to call and execute programs and data stored in the memory, wherein,
the transceiver is configured to: receiving a transfer time parameter from a controller side; the transmission time parameter is used for indicating the time for adjusting the forwarding path;
the processor is configured to: and adjusting the forwarding path according to the transmission time parameter.
An embodiment of the present invention further provides a segment routing node, including:
the first receiving module is used for receiving the transmission time parameter from the controller side; the transmission time parameter is used for indicating the time for adjusting the forwarding path;
and the adjusting module is used for adjusting the forwarding path according to the transmission time parameter.
The embodiment of the invention also provides a segment routing control method, which is applied to a controller and comprises the following steps:
transmitting a transfer time parameter to the segment routing node; the delivery time parameter is used to instruct the segment routing node to adjust the time of the forwarding path.
An embodiment of the present invention further provides a controller, including: a processor; a memory coupled to the processor, and a transceiver coupled to the processor; wherein the processor is used for calling and executing the programs and data stored in the memory,
the transceiver is configured to: transmitting a transfer time parameter to the segment routing node; the delivery time parameter is used to instruct the segment routing node when to adjust the forwarding path.
An embodiment of the present invention further provides a controller, including:
a first sending module, configured to send a transfer time parameter to the segment routing node; the delivery time parameter is used to instruct the segment routing node when to adjust the forwarding path.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the segment routing control method on the segment routing node or the controller side.
The technical scheme of the invention has the beneficial effects that: the segment routing node receives the transmission time parameter from the controller side, and adjusts the forwarding path according to the transmission time parameter, and the controller does not need to issue a control instruction every time when the segment routing node is needed to adjust the forwarding path, so that the signaling interaction of the controller in the control process of the segment routing node is reduced, and the resource consumption of the controller and the segment routing node can be reduced.
Drawings
Fig. 1 is a schematic flowchart illustrating a segment routing control method on a segment routing node side according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a message format of a delivery time parameter according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a message format of a delivery time parameter according to an exemplary first embodiment of the present invention;
fig. 4 is a schematic diagram of a message format of a delivery time parameter in an example two according to the embodiment of the present invention;
FIG. 5 is a block diagram of a segment routing node according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a segment routing control method of a controller according to an embodiment of the present invention;
FIG. 7 is a block diagram of a controller according to an embodiment of the present invention;
fig. 8 is a block diagram showing a structure of a segment routing node or controller according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help the full understanding of the embodiments of the present invention. Thus, it will be apparent to those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the invention. In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Additionally, the terms "system" and "network" are often used interchangeably herein.
In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may be determined from a and/or other information.
As shown in fig. 1, an embodiment of the present invention provides a segment routing control method, which is applied to a segment routing node, and specifically includes the following steps:
step 11: a transfer time parameter is received from the controller side.
The delivery time parameter in the embodiment of the present invention is used to indicate the time for adjusting the forwarding path. Optionally, the delivery time parameter comprises: at least one of the validation time information, the duration information, the end time information, the period information, and the repetition number information. The effective time information is used for indicating the effective time of a certain forwarding path. The duration information is used to indicate the duration of a certain forwarding path. The end time information is used to indicate the end time of a certain forwarding path. The period information is used to indicate a repetition period of a certain forwarding path. In order to indicate that the repetition of some cycles is limited, a repetition time (repeat times) is introduced to indicate a specific repetition time, if the repetition time is set to be all zero, the repetition is indicated to be infinite, and the cycle is repeatedly executed until a cancel instruction is received. The repetition number information is used to indicate the total number of repetitions of a certain forwarding path. Further, the forwarding path may be triggered periodically or aperiodically, and the delivery time parameter may further include: indication information for indicating whether to periodically adjust the forwarding path.
Step 12: and adjusting the forwarding path according to the transmission time parameter.
And after receiving the transmission time parameter, the segment routing node adjusts the forwarding path according to the time for adjusting the forwarding path indicated by the transmission time parameter, and after adjusting the forwarding path, the segment routing node can complete the actual forwarding of the corresponding service flow.
For example, some traffic path adjustments (e.g., setting a traffic optimization path) are issued after a certain period of time, such as the 0 point preset as the number 1 of the next month takes effect. In some operation and maintenance or flow optimization scenarios, after a flow optimization strategy needs to be executed for a certain time, the flow path before adjustment is automatically rolled back, for example, experimental adjustment of flow path optimization only takes effect for a period of time, and the flow path fails for a period of time. Some traffic path adjustment activities need to be performed periodically, such as 21:00-24:00 per day, requiring some low priority traffic to be diverted away from some paths to guarantee high priority traffic. In the lower segment of the scenes, the routing node adjusts the forwarding path to a certain forwarding path needing to take effect when the effective time indicated by the effective time information arrives according to the effective time information in the transmission time parameter; according to the duration information in the transmission time parameter, after a certain forwarding path takes effect, continuing the forwarding path until the duration indicated by the duration information is reached; according to the end time information in the transmission time parameter, when the end time indicated by the end time information is reached, the effective forwarding path is adjusted to be invalid; taking effect and ending a certain forwarding path according to the repetition period indicated by the period information; when a certain forwarding path is repeated, the segment routing node periodically takes effect and ends the forwarding path until the repetition number indicated by the repetition number information is reached. Therefore, the controller does not need to issue a control instruction every time when the forwarding path needs to be adjusted, the sending times of the control instruction are reduced, and the resource consumption of the controller and the segment routing node is reduced.
In one embodiment of the present invention, step 11 comprises: receiving Segment Routing (SR) strategy information from a slave controller side; the SR policy information carries a transfer time parameter, that is, the controller simultaneously carries the transfer time parameter when sending the SR policy information to the segment routing node. The delivery time parameter is an optional parameter, and if the delivery time parameter is not carried in the SR policy information, it indicates that the SR policy indicated by the SR policy is executed immediately, and the execution time is always continuous.
Wherein, the controller sends the SR policy information to the segment routing node under certain circumstances, and optionally, the step of receiving the segment routing SR policy information from the controller side includes: SR policy information is received from a controller side in case of Software Defined Network (SDN) initialization or in case of updating a forwarding policy. That is, in the case of SDN initialization, the controller issues SR policy information to the segment routing node. Or, under the condition that the controller updates the forwarding strategy, the updated SR strategy information is issued to the segment routing node. On the other hand, the controller can support the periodic issuing of the SR policy information to the segment routing node, in addition to the support of sending the SR policy information under certain conditions.
Optionally, in the embodiment of the present invention, a type-Length-Value (TLV) field may be newly defined to carry the delivery time parameter. Specifically, the SR policy information includes a type length value TLV field, or referred to as a New sub-TLV (New sub-TLVs) field and a Time sub-TVL (Time sub-TLVs) field, where the TLV field carries a delivery Time parameter.
Further, the TLV field includes: an indication field for indicating a delivery time parameter. Different information in the transfer time parameter can be indicated by different indication fields, and the arrangement sequence of the indication fields corresponding to the different information is not limited in the embodiment of the invention. For example, TLV fields may include: at least one of a first indication field for indicating the validity time information, a second indication field for indicating the duration information, a third indication field for indicating the end time information, a fourth indication field for indicating the period information, and a fifth indication field for indicating the repetition number information. The arrangement order of at least one of the first indication domain, the second indication domain, the third indication domain, the fourth indication domain and the fifth indication domain is not limited.
Alternatively, the representation of time is expressed in a format of year, month, day, hour, minute and second, and the flexible setting according to different positions can represent parameters for immediate execution or periodic execution. The indication field in the TLV field for indicating time includes at least one of the following indication bits:
a first indication bit for indicating a year;
a second indication bit for indicating a month;
a third indication bit for indicating a week;
a fourth indication bit for indicating a day;
a fifth indication bit for indicating an hour;
a sixth indication bit for indicating a minute; and (c) a second step of,
a seventh indication bit for indicating seconds.
It is to be noted that, the number of bits occupied by at least one of the first indicator bit, the second indicator bit, the third indicator bit, the fourth indicator bit, the fifth indicator bit, the sixth indicator bit, and the seventh indicator bit in the indicator field may be the same or different, and the specific number of bits occupied by the indicator field is not limited in the embodiment of the present invention.
Fig. 2 illustrates an embodiment of the present invention, where fig. 2 shows a format of a message, where in the message,
type represents the Type of the message;
length represents the Length of TLV message;
flags represents an identification bit, is undefined and is set to be all zero in transmission;
reserved represents a Reserved bit;
p represents a period parameter, that is, indication information for indicating whether to periodically adjust the forwarding path, where the indication information may include a length of 2 bits, where 11 is a period, 00 is an aperiodic, and other values are not defined.
The Repeat times indicates the information of the number of repetitions, and the field is a fifth indication field, which includes a length of 10 bits.
| Y | M | D | H | M | S | represents period information for indicating a repetitive cycle period parameter, which is a fourth indication field, and a value of which is meaningful only when P is 11. Wherein the fourth indication field further comprises bits, wherein,
y occupies 1bit, when the setting is 1, the annual cycle is represented, namely the execution is performed once every year,
m occupies 1bit, and when the setting is 1, the cycle is performed monthly, namely once monthly,
d occupies 1bit, when the setting is 1, the circulation is performed according to the day, namely once every day,
h occupies 1bit, setting to 1 indicates a time loop, i.e. executed once every time,
m occupies 1bit, setting to 1 indicates a cycle per minute, i.e. once per minute,
s occupies 1bit, and when the setting is 1, the circulation is performed according to seconds, namely, the execution is performed once per second;
the following indication fields in fig. 2 further include: a first indication field for indicating validity time information, the first indication field comprising sub-fields, wherein,
year occupies 16 bits, annual parameters, such as 0000011111100010 in 2018,
month occupies 4bit, Month parameter, such as 12 months is 1100,
day takes 5 bits, Day parameters, such as 11110 for 30 days,
hour occupies 5 bits, the time parameter, e.g. 11 points is 01011,
minute occupies 6 bits, is divided into parameters such as 110010 if 50,
second occupies 6 bits, Second parameter, e.g. 011110 for 30 seconds;
a second indication field indicating Duration information may be further included after the first indication field, as shown in fig. 2, the Duration occupies 32 bits, represents a Duration parameter, and is used to indicate the execution Duration of the SR policy, which is in units of seconds, for example, 30 × 24 × 60 — 2592000 seconds for 30 days of execution, and is binary 00000000001001111000110100000000;
a third indication field for indicating end time information may be further included after the second indication field, wherein when any two of the first indication field, the second indication field, and the third indication field exist, in order to save the indication bit, the remaining one indication field may not exist.
Assuming that the SR policy of a certain forwarding path is executed aperiodically, the forwarding path is executed from 11 o 'clock of 12/30/2018 and 11 o' clock of 50 min/30 s, and the execution time is 30 days, then the corresponding message of the delivery time parameter may be as shown in fig. 3.
Assuming that the SR policy of a certain forwarding path is periodically executed and the number of repetitions is 365, 21 o' clock of the day of delivery starts to execute, and the duration of each execution is 4 hours, then the message of the corresponding transfer time parameter may be as shown in fig. 4.
In the segment routing control method of the embodiment of the invention, the segment routing node receives the transmission time parameter from the controller side and adjusts the forwarding path according to the transmission time parameter, and the controller does not need to issue a control instruction every time when the segment routing node is required to adjust the forwarding path, thereby reducing the signaling interaction of the controller in the segment routing node control process and reducing the resource consumption of the controller and the segment routing node.
The above embodiments are respectively described with respect to the segment routing control method of the present invention, and the following embodiments will further describe the segment routing node corresponding thereto with reference to the accompanying drawings.
Specifically, as shown in fig. 5, the segment routing node 500 of the embodiment of the present invention includes the following functional modules:
a first receiving module 510, configured to receive a transfer time parameter from a controller side; the transmission time parameter is used for indicating the time for adjusting the forwarding path;
and an adjusting module 520, configured to adjust the forwarding path according to the transfer time parameter.
Wherein the delivery time parameter comprises: at least one of the validation time information, the duration information, the end time information, the period information, and the repetition number information.
Wherein the transfer time parameter further comprises: indication information for indicating whether to periodically adjust the forwarding path.
Wherein, the first receiving module 510 includes:
the first receiving submodule is used for receiving the segment routing SR strategy information from the controller side; wherein, the SR policy information carries a transfer time parameter.
Wherein, the first receiving module 510 further includes:
and the second receiving submodule is used for receiving the SR strategy information from the controller side under the condition that the software defined network SDN is initialized or the forwarding strategy is updated.
The SR strategy information comprises a type length value TLV field, and the TLV field carries a transmission time parameter.
Wherein the TLV field includes: an indication field for indicating a delivery time parameter.
Wherein the indication field comprises at least one of the following indication bits:
a first indication bit for indicating a year;
a second indication bit for indicating a month;
a third indication bit for indicating a week;
a fourth indication bit for indicating a day;
a fifth indication bit for indicating an hour;
a sixth indicator bit for indicating minutes; and the number of the first and second groups,
a seventh indication bit for indicating seconds.
The segment routing node embodiment of the present invention is corresponding to the embodiment of the method, and all the implementation means in the method embodiment are applicable to the embodiment of the segment routing node, and the same technical effect can be achieved. The segment routing node receives the transmission time parameter from the controller side, and adjusts the forwarding path according to the transmission time parameter, and the controller does not need to issue a control instruction every time when the segment routing node is needed to adjust the forwarding path, so that the signaling interaction of the controller in the control process of the segment routing node is reduced, and the resource consumption of the controller and the segment routing node can be reduced.
The segment routing control method according to the embodiment of the present invention is introduced from the segment routing node side, and the segment routing control method at the controller side will be further described with reference to the drawings.
As shown in fig. 6, an embodiment of the present invention provides a segment routing control method, which is applied to a controller side, and the method includes the following steps:
step 61: transmitting a transfer time parameter to the segment routing node; the delivery time parameter is used to instruct the segment routing node to adjust the time of the forwarding path.
The delivery time parameter in the embodiment of the present invention is used to indicate the time for adjusting the forwarding path. Optionally, the delivery time parameter comprises: at least one of the validation time information, the duration information, the end time information, the period information, and the repetition number information. The effective time information is used for indicating the effective time of a certain forwarding path. The duration information is used to indicate the duration of a certain forwarding path. The end time information is used to indicate the end time of a certain forwarding path. The period information is used to indicate a repetition period of a certain forwarding path. The repetition number information is used to indicate the total number of times a certain forwarding path is repeated. Further, the forwarding path may be triggered periodically or aperiodically, and the delivery time parameter may further include: indication information for indicating whether to periodically adjust the forwarding path.
Optionally, step 61 comprises: SR strategy information is sent to the segment routing node; wherein, the SR policy information carries a transmission time parameter. That is, the controller simultaneously carries the delivery time parameter when transmitting the SR policy information to the segment routing node. The transmission time parameter is an optional parameter, and if the transmission time parameter is not carried in the SR policy information, it indicates that the SR policy indicated by the SR policy is executed immediately, and the execution time is always continuous.
Wherein, the controller sends the SR policy information to the segment routing node in some cases, optionally, step 61 includes: in case of software defined network SDN initialization or in case of updating a forwarding policy, SR policy information is sent to the segment routing node.
Optionally, the embodiment of the present invention may carry the delivery time parameter by newly defining a type length value field. Specifically, the SR policy information includes a type length value, TLV, field, which carries a delivery time parameter.
Further, the TLV field includes: an indication field for indicating a delivery time parameter. Different information in the transfer time parameter can be indicated by different indication fields, and the arrangement sequence of the indication fields corresponding to the different information is not limited in the embodiment of the invention. For example, TLV fields may include: at least one of a first indication field for indicating validity time information, a second indication field for indicating duration information, a third indication field for indicating end time information, a fourth indication field for indicating period information, and a fifth indication field for indicating repetition number information. The arrangement order of at least one of the first indication domain, the second indication domain, the third indication domain, the fourth indication domain and the fifth indication domain is not limited.
Alternatively, the representation of time is represented in a format of year, month, day, hour, minute and second, and the flexible setting according to different positions can represent parameters for immediate execution or periodic execution. The indication field for indicating time in the TLV field comprises at least one of the following indication bits:
a first indication bit for indicating a year;
a second indication bit for indicating a month;
a third indication bit for indicating a week;
a fourth indication bit for indicating a day;
a fifth indicator bit for indicating an hour;
a sixth indicator bit for indicating minutes; and the number of the first and second groups,
a seventh indication bit for indicating seconds.
In the segment routing control method of the embodiment of the invention, the controller sends and receives the transmission time parameter to the segment routing node, so that the segment routing node can adjust the forwarding path according to the transmission time parameter, and the controller does not need to issue a control instruction every time when the segment routing node is required to adjust the forwarding path, thereby reducing the signaling interaction of the controller in the segment routing node control process and reducing the resource consumption of the controller and the segment routing node.
The above embodiments are respectively described with respect to the segment routing control method of the present invention, and the following embodiments will further describe the corresponding controllers thereof with reference to the accompanying drawings.
An embodiment of the present invention provides a controller, as shown in fig. 7, where the controller 700 includes the following functional modules:
a first sending module 710, configured to send a transfer time parameter to a segment routing node; the delivery time parameter is used to instruct the segment routing node to adjust the time of the forwarding path.
Wherein the delivery time parameter comprises: at least one of the validation time information, the duration information, the end time information, the period information, and the repetition number information.
Wherein the delivery time parameter further comprises: indication information for indicating whether to periodically adjust the forwarding path.
The first sending module 710 includes:
the first sending submodule is used for sending the SR strategy information to the segment routing node; wherein, the SR policy information carries a transmission time parameter.
The first sending module 710 further includes:
and the second sending submodule is used for sending the SR policy information to the segment routing node under the condition that the software defined network SDN is initialized or the forwarding policy is updated.
The SR policy information includes a Type Length Value (TLV) field, and the TLV field carries a delivery time parameter.
Wherein the TLV field includes: an indication field for indicating a delivery time parameter.
Wherein the indication field comprises at least one of the following indication bits:
a first indication bit for indicating a year;
a second indication bit for indicating a month;
a third indication bit for indicating a week;
a fourth indication bit for indicating a day;
a fifth indication bit for indicating an hour;
a sixth indication bit for indicating a minute; and the number of the first and second groups,
a seventh indication bit for indicating seconds.
The embodiment of the controller of the invention is corresponding to the embodiment of the method, all the implementation means in the embodiment of the method are applicable to the embodiment of the controller, and the same technical effect can be achieved. The controller sends and receives the transmission time parameter to the segment routing node, so that the segment routing node can adjust the forwarding path according to the transmission time parameter, and the controller does not need to issue a control instruction every time when the segment routing node is required to adjust the forwarding path, thereby reducing the signaling interaction of the controller in the control process of the segment routing node and reducing the resource consumption of the controller and the segment routing node.
To better achieve the above object, as shown in fig. 8, an embodiment of the present invention further provides a network device, including: a processor 800; a memory 820 connected to the processor 800 through a bus interface, and a transceiver 810 connected to the processor 800 through a bus interface; the memory 820 is used for storing programs and data used by the processor in performing operations; transmitting data information or pilot frequency through the transceiver 810, and receiving an uplink control channel through the transceiver 810; when the processor 800 calls and executes the programs and data stored in the memory 820, the following functions are implemented:
when the network device is a segment routing node, the transceiver 810 is configured to receive and send data under the control of the processor 800, and specifically, is configured to receive a transfer time parameter from a controller side; the delivery time parameter is used to indicate the time to adjust the forwarding path.
The processor 800 is used for reading the program in the memory 820 and executing the following processes: and adjusting the forwarding path according to the transmission time parameter.
Wherein the delivery time parameter comprises: at least one of the validation time information, the duration information, the end time information, the period information, and the repetition number information.
Wherein the delivery time parameter further comprises: indication information for indicating whether to periodically adjust the forwarding path.
Wherein the transceiver 810 is configured to:
receiving Segment Routing (SR) strategy information from a slave controller side; wherein, the SR policy information carries a transfer time parameter.
Wherein the transceiver 810 is configured to:
SR policy information is received from the controller side in case of software defined network SDN initialization or in case of updating a forwarding policy.
The SR strategy information comprises a type length value TLV field, and the TLV field carries a transmission time parameter.
Wherein the TLV field includes: an indication field for indicating a delivery time parameter.
Wherein the indication field comprises at least one of the following indication bits:
a first indication bit for indicating a year;
a second indication bit for indicating a month;
a third indication bit for indicating a week;
a fourth indication bit for indicating a day;
a fifth indication bit for indicating an hour;
a sixth indicator bit for indicating minutes; and (c) a second step of,
a seventh indication bit for indicating seconds.
Wherein, when the network device is a controller, the transceiver 810 is configured to receive and send data under the control of the processor 800, and specifically, is configured to send a transfer time parameter to the segment routing node; the delivery time parameter is used to instruct the segment routing node to adjust the time of the forwarding path.
Wherein the delivery time parameter comprises: at least one of the validation time information, the duration information, the end time information, the period information, and the repetition number information.
Wherein the transfer time parameter further comprises: indication information for indicating whether to periodically adjust the forwarding path.
The transceiver 810 is specifically configured to:
sending SR strategy information to the segment routing node; wherein, the SR policy information carries a transfer time parameter.
Wherein the transceiver 810 is specifically configured to:
SR policy information is sent to segment routing nodes in case of software defined network SDN initialization or in case of updating forwarding policies.
The SR strategy information comprises a type length value TLV field, and the TLV field carries a transmission time parameter.
Wherein the TLV field includes: an indication field for indicating a delivery time parameter.
Wherein the indication field comprises at least one of the following indication bits:
a first indication bit for indicating a year;
a second indication bit for indicating a month;
a third indication bit for indicating a week;
a fourth indication bit for indicating a day;
a fifth indication bit for indicating an hour;
a sixth indicator bit for indicating minutes; and (c) a second step of,
a seventh indication bit for indicating seconds.
Wherein in fig. 8 the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 800 and various circuits of memory represented by memory 820 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 810 may be a number of elements, including a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 800 is responsible for managing the bus architecture and general processing, and the memory 820 may store data used by the processor 800 in performing operations.
Those skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be performed by hardware, or may be instructed to be performed by associated hardware by a computer program that includes instructions for performing some or all of the steps of the above methods; and the computer program may be stored in a readable storage medium, which may be any form of storage medium.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing segment routing control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Furthermore, it should be noted that in the apparatus and method of the present invention, it is obvious that each component or each step may be decomposed and/or recombined. These decompositions and/or recombinations are to be considered as equivalents of the present invention. Also, the steps of performing the series of processes described above may naturally be performed chronologically in the order described, but need not necessarily be performed chronologically, and some steps may be performed in parallel or independently of each other. It will be understood by those skilled in the art that all or any of the steps or elements of the method and apparatus of the present invention may be implemented in any computing device (including processor, storage medium, etc.) or network of computing devices, in hardware, firmware, software, or any combination thereof, which can be implemented by those skilled in the art using their basic programming skills after reading the description of the present invention.
Thus, the objects of the invention may also be achieved by running a program or a set of programs on any computing device. The computing device may be a general purpose device as is well known. The object of the invention is thus also achieved solely by providing a program product comprising program code for implementing the method or the apparatus. That is, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. It is to be understood that the storage medium may be any known storage medium or any storage medium developed in the future. It is further noted that in the apparatus and method of the present invention, it is apparent that each component or step can be decomposed and/or recombined. These decompositions and/or recombinations are to be regarded as equivalents of the present invention. Also, the steps of executing the series of processes described above may naturally be executed chronologically in the order described, but need not necessarily be executed chronologically. Some steps may be performed in parallel or independently of each other.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (31)

1. A segment routing control method is applied to a segment routing node, and is characterized by comprising the following steps:
receiving a transfer time parameter from a controller side; the transmission time parameter is used for indicating the time for adjusting the forwarding path;
the step of receiving the transfer time parameter from the controller side includes: receiving Segment Routing (SR) policy information from the controller side; the SR strategy information carries the transmission time parameter, the transmission time parameter is an optional parameter, if the SR strategy information does not carry the transmission time parameter, the SR strategy indicated by the SR strategy is immediately executed, and the execution time is always continuous;
and adjusting a forwarding path according to the transmission time parameter.
2. The segment routing control method according to claim 1, wherein the delivery time parameter comprises: at least one of the validation time information, the duration information, the end time information, the period information, and the repetition number information.
3. The segment routing control method according to claim 1 or 2, wherein the transfer time parameter further comprises: indication information for indicating whether to periodically adjust the forwarding path.
4. The segment routing control method according to claim 1, wherein the step of receiving segment routing SR policy information from the controller side includes:
the SR policy information is received from the controller side in case of software defined network, SDN, initialization or in case of updating a forwarding policy.
5. The segment routing control method according to claim 1, wherein the SR policy information includes a type length value, TLV, field, which carries the delivery time parameter.
6. The segment routing control method according to claim 5, wherein the TLV field comprises: an indication field for indicating the delivery time parameter.
7. The segment routing control method according to claim 6, wherein the indication field comprises at least one of the following indication bits:
a first indication bit for indicating a year;
a second indication bit for indicating a month;
a third indication bit for indicating a week;
a fourth indication bit for indicating a day;
a fifth indicator bit for indicating an hour;
a sixth indicator bit for indicating minutes; and the number of the first and second groups,
a seventh indication bit for indicating seconds.
8. A segment routing node, comprising: a processor; a memory coupled to the processor, and a transceiver coupled to the processor; wherein the processor is used for calling and executing the programs and data stored in the memory;
the transceiver is configured to: receiving a transfer time parameter from a controller side; the transmission time parameter is used for indicating the time for adjusting the forwarding path; receiving Segment Routing (SR) policy information from the controller side; the SR strategy information carries the transmission time parameter, the transmission time parameter is an optional parameter, if the SR strategy information does not carry the transmission time parameter, the SR strategy indicated by the SR strategy is immediately executed, and the execution time is always continuous;
the processor is configured to: and adjusting a forwarding path according to the transmission time parameter.
9. The segment routing node of claim 8, wherein the delivery time parameter comprises: at least one of the validation time information, the duration information, the end time information, the period information, and the repetition number information.
10. The segment routing node according to claim 8 or 9, wherein the delivery time parameter further comprises: indication information for indicating whether to periodically adjust the forwarding path.
11. The segment routing node of claim 8, wherein the transceiver is configured to:
the SR policy information is received from the controller side in case of software defined network, SDN, initialization or in case of updating a forwarding policy.
12. The segment routing node of claim 8, wherein the SR policy information comprises a type-length-value, TLV, field, the TLV field carrying the delivery time parameter.
13. The segment routing node of claim 12, wherein the TLV field comprises: an indication field for indicating the delivery time parameter.
14. The segment routing node of claim 13, wherein the indication field comprises at least one of the following indication bits:
a first indication bit for indicating a year;
a second indication bit for indicating a month;
a third indication bit for indicating a week;
a fourth indication bit for indicating a day;
a fifth indication bit for indicating an hour;
a sixth indicator bit for indicating minutes; and the number of the first and second groups,
a seventh indication bit for indicating seconds.
15. A segment routing node, comprising:
the first receiving module is used for receiving the transmission time parameter from the controller side; the transmission time parameter is used for indicating the time for adjusting the forwarding path; receiving Segment Routing (SR) policy information from the controller side; the SR strategy information carries the transmission time parameter, the transmission time parameter is an optional parameter, if the SR strategy information does not carry the transmission time parameter, the SR strategy indicated by the SR strategy is immediately executed, and the execution time is always continuous;
and the adjusting module is used for adjusting the forwarding path according to the transmission time parameter.
16. A segment routing control method is applied to a controller and is characterized by comprising the following steps:
transmitting a transfer time parameter to the segment routing node; the transfer time parameter is used for indicating the time for adjusting the forwarding path of the segment routing node;
the step of sending the delivery time parameter to the segment routing node comprises: sending SR strategy information to the segment routing node; and if the SR policy information does not carry the transfer time parameter, the SR policy indicated by the SR policy is immediately executed, and the execution time is always continuous.
17. The segment routing control method according to claim 16, wherein the delivery time parameter comprises: at least one of the validation time information, the duration information, the end time information, the period information, and the repetition number information.
18. The segment routing control method according to claim 16 or 17, wherein the transfer time parameter further comprises: indication information for indicating whether to periodically adjust the forwarding path.
19. The segment routing control method according to claim 16, wherein the step of sending SR policy information to the segment routing node comprises:
in case of software defined network SDN initialization or in case of updating a forwarding policy, SR policy information is sent to the segment routing node.
20. The segment routing control method according to claim 19, wherein the SR policy information includes a type length value, TLV, field, which carries the delivery time parameter.
21. The segment routing control method according to claim 20, wherein the TLV field comprises: an indication field for indicating the delivery time parameter.
22. The segment routing control method according to claim 21, wherein the indication field comprises at least one of the following indication bits:
a first indication bit for indicating a year;
a second indication bit for indicating a month;
a third indication bit for indicating a week;
a fourth indication bit for indicating a day;
a fifth indication bit for indicating an hour;
a sixth indicator bit for indicating minutes; and the number of the first and second groups,
a seventh indication bit for indicating seconds.
23. A controller, comprising: a processor; a memory coupled to the processor, and a transceiver coupled to the processor; wherein the processor is used for calling and executing the programs and data stored in the memory,
the transceiver is configured to: transmitting a transfer time parameter to the segment routing node; the transfer time parameter is used for indicating the time for adjusting the forwarding path of the segment routing node; receiving Segment Routing (SR) policy information from the controller side; the SR policy information carries the transmission time parameter, where the transmission time parameter is an optional parameter, and if the SR policy information does not carry the transmission time parameter, it indicates that the SR policy indicated by the SR policy is executed immediately, and the execution time is always continuous.
24. The controller of claim 23, wherein the delivery time parameter comprises: at least one of the validation time information, the duration information, the end time information, the period information, and the repetition number information.
25. The controller according to claim 23 or 24, wherein the delivery time parameter further comprises: indication information for indicating whether to periodically adjust the forwarding path.
26. The controller according to claim 23, wherein the transceiver is specifically configured to:
in case of software defined network SDN initialization or in case of updating a forwarding policy, SR policy information is sent to the segment routing node.
27. The controller according to claim 26, wherein the SR policy information comprises a type-length-value, TLV, field, which carries the delivery-time parameter.
28. The controller according to claim 27, wherein the TLV field comprises: an indication field for indicating the delivery time parameter.
29. The controller according to claim 28, wherein the indication field comprises at least one of the following indication bits:
a first indication bit for indicating a year;
a second indication bit for indicating a month;
a third indication bit for indicating a week;
a fourth indication bit for indicating a day;
a fifth indication bit for indicating an hour;
a sixth indication bit for indicating a minute; and the number of the first and second groups,
a seventh indication bit for indicating seconds.
30. A controller, comprising:
a first sending module, configured to send a transfer time parameter to a segment routing node; the transfer time parameter is used for indicating the time for adjusting the forwarding path of the segment routing node; receiving Segment Routing (SR) policy information from the controller side; the SR policy information carries the transmission time parameter, where the transmission time parameter is an optional parameter, and if the SR policy information does not carry the transmission time parameter, it indicates that the SR policy indicated by the SR policy is executed immediately, and the execution time is always continuous.
31. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the segment routing control method according to any one of claims 1 to 7, 16 to 22.
CN201910114108.6A 2019-02-14 2019-02-14 Segment routing control method, segment routing node and controller Active CN111565148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910114108.6A CN111565148B (en) 2019-02-14 2019-02-14 Segment routing control method, segment routing node and controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910114108.6A CN111565148B (en) 2019-02-14 2019-02-14 Segment routing control method, segment routing node and controller

Publications (2)

Publication Number Publication Date
CN111565148A CN111565148A (en) 2020-08-21
CN111565148B true CN111565148B (en) 2022-07-19

Family

ID=72074055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910114108.6A Active CN111565148B (en) 2019-02-14 2019-02-14 Segment routing control method, segment routing node and controller

Country Status (1)

Country Link
CN (1) CN111565148B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871721A (en) * 2015-01-19 2016-08-17 中兴通讯股份有限公司 Segment routing processing method, processing device and sending device
CN106603417A (en) * 2015-10-16 2017-04-26 华为技术有限公司 Route processing method, equipments and system
CN108702328A (en) * 2016-02-15 2018-10-23 瑞典爱立信有限公司 The IS-IS extensions of the splicing of flexible path and the selection of business for passing through Segment routing and MPLS network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3891145B2 (en) * 2003-05-16 2007-03-14 ソニー株式会社 Wireless communication apparatus, wireless communication method and program
US9838311B2 (en) * 2015-01-30 2017-12-05 Huawei Technologies Co., Ltd. Node, network controller, and associated methods for routing data packets in a network
CN105391633B (en) * 2015-12-11 2018-11-16 北京华为数字技术有限公司 The route issuing method of transponder, controller and controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871721A (en) * 2015-01-19 2016-08-17 中兴通讯股份有限公司 Segment routing processing method, processing device and sending device
CN106603417A (en) * 2015-10-16 2017-04-26 华为技术有限公司 Route processing method, equipments and system
CN108702328A (en) * 2016-02-15 2018-10-23 瑞典爱立信有限公司 The IS-IS extensions of the splicing of flexible path and the selection of business for passing through Segment routing and MPLS network

Also Published As

Publication number Publication date
CN111565148A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN107615709B (en) Forwarding unit and controller unit of SDN
CN103281373B (en) Home gateway intelligent update device and upgrade method
WO2017017879A1 (en) Service capability exposure function entity, home subscriber server, message transmission method, and non-temporary computer readable medium
CN102932920B (en) Radio resource scheduling request (SR) configuration method and device
CN109656725B (en) Message consumer switching method and device, storage medium and electronic equipment
CN111654399B (en) Networking method, device, equipment and storage medium based on SD-WAN
US7310803B2 (en) Method and system for executing multiple tasks in a task set
CN113364638B (en) Method, electronic device and storage medium for EPA networking
CN106453127A (en) Token processing method and device
US8930965B1 (en) Event-driven state-machine sequencer
CN105656800A (en) Method and device for transmitting message
CN103139080A (en) Network topology computing method and network topology computing device
CN111565148B (en) Segment routing control method, segment routing node and controller
US9185514B1 (en) Orchestration of application updates over a wireless communication network
US10250477B2 (en) Method and controller for announcing bandwidth of cluster system
EP3440541A1 (en) A method for distributing software upgrade in a communication network
US20230089407A1 (en) Systems and methods for maintaining and updating an event logging database
US20220166676A1 (en) Apparatus, Program, and Method, for Resource Control
CN107113229B (en) A kind of notice message treating method and apparatus
WO2016160007A1 (en) Method and apparatus for flow control
CN105681187A (en) VRRP (Virtual Router Redundancy Protocol) backup set management method and related device
CN105827543B (en) A kind of flow control methods and electronic equipment
WO2021087811A1 (en) Auxiliary information transmission method, apparatus, terminal, access network device and storage medium
US11368406B2 (en) Methods and apparatus for path computation in a telecommunications network
CN109067829A (en) A kind of Internet of Things network control method and system

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