CN109257202B - Method for network configuration by introducing action cycle and corresponding network element - Google Patents

Method for network configuration by introducing action cycle and corresponding network element Download PDF

Info

Publication number
CN109257202B
CN109257202B CN201710577324.5A CN201710577324A CN109257202B CN 109257202 B CN109257202 B CN 109257202B CN 201710577324 A CN201710577324 A CN 201710577324A CN 109257202 B CN109257202 B CN 109257202B
Authority
CN
China
Prior art keywords
configuration information
pcep
network
network element
action
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
CN201710577324.5A
Other languages
Chinese (zh)
Other versions
CN109257202A (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 CN201710577324.5A priority Critical patent/CN109257202B/en
Publication of CN109257202A publication Critical patent/CN109257202A/en
Application granted granted Critical
Publication of CN109257202B publication Critical patent/CN109257202B/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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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/0876Aspects of the degree of configuration automation

Abstract

The embodiment of the invention relates to the technical field of Internet, in particular to a method and equipment for network configuration, which are used for solving the problems that network actions needing to be periodically executed need to be manually configured in the prior art, the configuration efficiency is low, and errors are easy to occur. In the embodiment of the invention, a first network element sends PCEP configuration information to a corresponding second network element, wherein the PCEP configuration information comprises configuration information executed by a periodic network action; so that the second network element executes corresponding actions in corresponding periods according to the configuration information executed by the periodic network. As the PCEP is expanded and the configuration information of the periodic network action execution is added in the PCEP configuration information, the periodic network action execution does not need to be manually configured, thereby reducing the error rate and improving the efficiency.

Description

Method for network configuration by introducing action cycle and corresponding network element
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and an apparatus for introducing an action cycle in network configuration.
Background
The PCEP (Path computing Element Communication Protocol) is a southbound control Protocol that centrally optimizes and computes a network Path and a forwarding policy based on network topology and constraint conditions and advertises the network Path and the forwarding policy to a forwarding node for forwarding according to the optimized Path or policy. In the communication process of the PCEP protocol, a PCE (Path Computation Element) optimizes a Computation network Path and a forwarding policy according to a network topology and constraint conditions (such as bandwidth, LSP (Label switched Path) tunnel, etc.). The PCC (Path Computation Client) requests a Path and a policy from the PCE and forwards the Path and policy. The PCReq (Path Computation Request) in PCEP is a Request Path Computation, and the Pcrep (Path Computation Reply) in PCEP is a PCReq message sent in response to the PCC, and the Reply is a routing Path satisfying the Request or routing failure information.
At present, a plurality of network actions exist on the network, and some network actions are triggered in certain specific time and need to be executed; some network actions need to be executed periodically, for example, DSCP (Differentiated Services Code Point) of video traffic needs to be set to high priority every night at 7: 00-10: 00, so as to ensure the viewing experience of users; the number 15/month 2: 00-6: 00 needs to reserve extra bandwidth for backup traffic; important holidays every year require major safeguards for certain special websites or traffic, etc.
Currently, in the PCEP protocol, network actions that need to be periodically executed need to be manually configured, for example, once a day and once every 5 seconds, the network actions need to be manually configured once a day. This arrangement is relatively inefficient and prone to errors.
In summary, in the existing protocol of PCEP, the network actions that need to be periodically executed all need to be configured manually, so that the configuration efficiency is low and errors are easy to occur.
Disclosure of Invention
The invention provides a method and equipment for introducing an action cycle in network configuration, which are used for solving the problems that network actions needing to be executed periodically in the prior art need to be manually configured, so that the configuration efficiency is low and errors are easy to occur.
The method for network configuration provided by the embodiment of the invention comprises the following steps:
the method comprises the steps that a first network element determines PCEP configuration information, wherein the PCEP configuration information comprises configuration information of periodic network action execution;
and the first network element sends PCEP configuration information to a corresponding second network element so that the second network element executes corresponding actions in corresponding periods according to the configuration information executed by the periodic network.
Another method for network configuration provided in an embodiment of the present invention includes:
the second network element receives PCEP configuration information from the first network element, wherein the PCEP configuration information comprises configuration information of periodic network action execution;
and the second network element executes corresponding actions in corresponding periods according to the configuration information executed by the periodic network actions.
A first network element for performing network configuration according to an embodiment of the present invention includes: at least one processing unit, and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
determining PCEP configuration information, wherein the PCEP configuration information comprises configuration information of periodic network action execution; and sending the PCEP configuration information to a corresponding second network element so that the second network element executes corresponding actions in corresponding periods according to the configuration information executed by the periodic network actions.
A second network element for performing network configuration according to an embodiment of the present invention, where the second network element includes: at least one processing unit, and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
receiving PCEP configuration information from a first network element, wherein the PCEP configuration information comprises configuration information of periodic network action execution;
and executing corresponding action in a corresponding period according to the configuration information executed by the periodic network action.
A storage medium readable by a computing device according to an embodiment of the present invention includes a program code, when the program code runs on the computing device, the program code is configured to enable the computing device to execute the steps of the first method for network configuration according to an embodiment of the present invention.
A storage medium readable by a computing device according to an embodiment of the present invention includes a program code, and when the program code runs on the computing device, the program code is configured to enable the computing device to execute the steps of the second method for configuring a network according to an embodiment of the present invention.
A first network element for performing network configuration according to an embodiment of the present invention includes:
an information determining module, configured to determine PCEP configuration information, where the PCEP configuration information includes configuration information of periodic network action execution;
and the information configuration module is used for sending PCEP configuration information to the corresponding second network element so that the second network element executes corresponding actions in corresponding periods according to the configuration information executed by the periodic network.
A second network element for performing network configuration according to an embodiment of the present invention, where the second network element includes:
an information receiving module, configured to receive PCEP configuration information, where the PCEP configuration information includes configuration information of periodic network action execution;
and the information processing module is used for executing corresponding actions in corresponding periods according to the configuration information executed by the periodic network actions.
In the embodiment of the present invention, a first network element sends PCEP configuration information including configuration information of a periodic network action execution to a corresponding second network element, so that the second network element 20 executes a corresponding action in a corresponding period according to the configuration information of the periodic network action execution. As the PCEP is expanded, the configuration information of the periodic network action execution is added into the PCEP configuration information, and the manual configuration is not needed for the periodic network action execution, thereby reducing the error rate and improving the efficiency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1A is a schematic structural diagram of a first network element according to an embodiment of the present invention;
FIG. 1B is a diagram illustrating Common object header definitions according to an embodiment of the present invention;
FIG. 1C is a schematic diagram of Object body definition according to an embodiment of the present invention;
FIG. 1D is a diagram illustrating network cycle information definition according to an embodiment of the present invention;
FIG. 2 is a diagram of a network architecture according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a first network element according to a first embodiment of the present invention;
fig. 4 is a schematic structural diagram of a first network element according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for network configuration at a first network element side according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a method for network configuration at a second network element side according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a complete method for network configuration according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a second network element according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a second network element according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1A, the system for performing network configuration according to the embodiment of the present invention includes: a first network element 10 and a second network element 20.
A first network element 10, configured to determine PCEP configuration information, where the PCEP configuration information includes configuration information of periodic network action execution; and sending the PCEP configuration information to a corresponding second network element so that the second network element executes corresponding actions in corresponding periods according to the configuration information executed by the periodic network actions.
A second network element 20, configured to receive PCEP configuration information from the first network element, where the PCEP configuration information includes configuration information of periodic network action execution; and executing corresponding action in a corresponding period according to the configuration information executed by the periodic network action.
In the embodiment of the present invention, a first network element sends PCEP configuration information including configuration information of a periodic network action execution to a corresponding second network element, so that the second network element 20 executes a corresponding action in a corresponding period according to the configuration information of the periodic network action execution. As the PCEP is expanded, the configuration information of the periodic network action execution is added into the PCEP configuration information, and the manual configuration is not needed for the periodic network action execution, thereby reducing the error rate and improving the efficiency.
The embodiment of the invention expands the PCEP configuration information, and adds the configuration information of the periodic network action execution in the PCEP configuration information.
Optionally, the configuration information of the periodic network action execution includes, but is not limited to, at least one of the following:
a frequency at which the periodic network action is performed;
a start execution time of the network action within each period;
a duration of the network action within each period;
and the message type is used for representing the message type carrying the configuration information of the periodical network action execution.
The frequency of the periodic network action execution refers to the period of the action execution, and includes but is not limited to:
every minute, hour, day, week, month, year, etc.
The starting execution time of the network action in each cycle refers to at which time of each cycle the corresponding action is started to be executed.
The duration of the network action in each period refers to how long the corresponding action lasts in each period.
The message type used for representing the configuration information carrying the periodic network action execution is used for judging the type of the message.
In the implementation process, there are 15 message object type formats in the current PCEP, and the embodiment of the present invention may extend the message object type formats in the PCEP, and add a new type, for example, referred to as a periodic object, to carry configuration information indicating the execution of the periodic network action. The message type used for indicating the configuration information carrying the periodic network action execution is the type used for judging the message, namely the information indicating that the message format is a periodic object.
The following description will take the following example that the configuration information executed by the periodic network action includes the starting execution time of the network action in each period, the duration of the network action in each period, and the message type used for representing the configuration information carrying the periodic network action execution.
1. And the message type is used for representing the message type carrying the configuration information of the periodical network action execution.
Optionally, the message type for indicating to carry the configuration information of the periodic network action execution may occupy a bit of a Common object header in the periodic object, for example, an object-class in the Common object header may be used as the message type for indicating to carry the configuration information of the periodic network action execution.
The specific values may be specified in the protocol. Since 15 types of format in the current PCEP occupy 1-15, the value used for representing the type of the message carrying the configuration information of the periodic network action execution needs to be different from the existing one, and any value larger than 15 and smaller than 255, for example, 16, may be used.
In Common object header, there is also an OT bit as a reserved bit, whose value can be set arbitrarily. Optionally, since the default of the bit is 1 in the current protocol, the default may be set to 1 as well, as shown in fig. 1B.
Accordingly, for the second network element, after receiving the PCEP message, it can determine which format the PCEP message is in according to the specific value of object-class in the Common object header. For example, the specific value of object-class is 16, it can be known that the PCEP message carries configuration information for periodic network action execution.
2. For representing the starting execution time of the network action in each period.
Defining a first group a of object bodies1A bit (e.g. a)1Is 32), for example, starting from the lowest bit, 6 bits are defined Y, M, W, D, H, MI, and the high bits are reserved to indicate the motion cycle requirements of each year, each week, each day, each hour, each minute, etc., as shown in fig. 1C.
Optionally, the first group a of Optional TLVs (Type, Length, Value, Optional Type, Length, and Value) in the periodic object may be occupied for representing the starting execution time of the network action in each period2A bit (e.g. a)2Is 32) to represent the starting execution time of the network action in each period, for example, the frequency of the periodic network action execution is day; the starting execution time of the network action in each period is calculated from 0 o 'clock 0 min 0 s per day to 68400 s at 7 o' clock per day.
Accordingly, for the second network element, after receiving the PCEP message, according to the specific value of Reserved in the periodic object, the start execution time of the network action in each period may be determined, for example:
when the Y position of the periodic action list atom is set, the network action is executed after the time of a few seconds from zero-point zero-minute zero second of 1 month and 1 day of each year;
when the M position of the period action list atom is set, the network action is executed after a few seconds from zero-point, zero-minute and zero-second of 1 day of each month;
when the W position of the period action list atom is set, the network action is executed after a few seconds from zero-point zero-minute zero-second of every day;
when the D position of the period action list atom is set, the network action is executed after a few seconds from zero-point zero-minute zero second every day;
when the H position of the period action list atom is set, the network action is executed after a few seconds from zero minute and zero second every time;
when the MI position of the periodic action list atom is set, the network action is executed from how many seconds per minute after zero seconds.
3. For indicating the duration of the network action within each period.
Optionally, a for indicating that the duration of the network action in each period may occupy the second group of Optional TLVs in the periodic object3A bit (e.g. a)3Is 32).
Accordingly, for the second network element, after receiving the PCEP message, the duration of the network action in each period can be determined according to the specific value in the Optional TLVs in the periodic object, as shown in fig. 1C.
A detailed example is listed below. In this example, the unit is second, and in the implementation, other time units can be used according to specific needs.
If an action is required to be 7 to 10 pm every day, the frequency of the periodic network action is day; the starting execution time of the network action in each period is calculated from 0 o 'clock 0 min 0 s every day to 68400 s at 7 o' clock every night, and the behavior duration is 10800 s after 3 hours. The representation in the periodic object is shown in fig. 1D, in which the configuration of the start execution time and the execution duration of the periodic network action should be in a binary manner, but this example converts it into a decimal expression for understanding.
The period information of the network may also be flexibly defined as required, for example, the Reserved bits in Reserved in the periodic object may be used to perform corresponding definition. Position 20, position 1, and position 28, position 1 in fig. 1D, indicate that the network action is only performed on weekends.
In the implementation process, there are many types of PCEP configuration information, and there are also many ways to extend the type format in the PCEP, and when configuring the periodic network action, this example only extends the PCReq in the PCEP and the PCRep in the PCEP to carry the information of the network action.
When expanding the PCReq, a periodic object needs to be added to the original < Request > list, and the specific format is as follows:
<request>::=<RP>
<END-POINTS>
[<LSPA>]
[<BANDWIDTH>]
[<metric-list>]
[<RRO>[<BANDWIDTH>]]
[<IRO>]
[<LOAD-BALANCING>]
[<Periodical>]
when expanding the PCRep, a periodic object needs to be added to the original Attribute list, and the specific format is as follows:
<attribute-list>::=<LSPA>
[<BANDWIDTH>]
[<metric-list>]
[<IRO>]
[<Periodical>]
the scheme of the embodiment of the invention can be applied to any scene needing to periodically execute actions on the network, as shown in fig. 2, the first network element transmits the configuration information to the second network element through the PCEP, and the second network element performs corresponding analysis and execution after receiving the configuration information, wherein the number of the second network elements may be multiple, and the functions of each second network element are not necessarily the same.
Based on this, the first network element determines a second network element capable of executing an action corresponding to the PCEP configuration information; and sending the PCEP configuration information to the determined at least one second network element.
And the second network element executes corresponding actions in corresponding periods according to the configuration information executed by the periodic network actions.
Determining all time nodes meeting the conditions for the second network element according to the frequency of the periodic network action in the received configuration information and the time of starting execution of the network action in each period;
and when the determined time node in each period arrives, executing the periodic network action in the time length corresponding to each time node in each period.
Optionally, besides the configuration information of the periodic network action execution, the PCEP configuration information may include, but is not limited to, part or all of the following:
matching rules for a flow, actions that need to be taken on flows that match the rules.
Correspondingly, the second network element matches each received flow according to the flow matching rule, and for the matched flow, according to the action information which needs to be taken for the flow matched with the rule in the PCEP configuration information, it knows which action is taken for the matched flow, and finally, according to the configuration information executed by the periodic network action, it knows when to take the corresponding action.
As shown in fig. 3, a first network element according to a first embodiment of the present invention includes:
an information determining module 300, configured to determine PCEP configuration information, where the PCEP configuration information includes configuration information of periodic network action execution;
an information configuring module 301, configured to send the PCEP configuration information to a corresponding second network element, so that the second network element executes a corresponding action in a corresponding period according to the configuration information executed by the periodic network action.
Optionally, the configuration information executed by the periodic network action includes at least one of the following:
the frequency of the periodic execution;
a start execution time of the network action within each period;
a duration of the network action within each period;
and the type identifier is used for representing the message carrying the configuration information of the periodic network action execution.
Optionally, the information configuring module 301 is specifically configured to:
determining a second network element capable of executing an action corresponding to the PCEP configuration information;
and sending the PCEP configuration information to the determined at least one second network element.
As shown in fig. 4, a second network element according to the first embodiment of the present invention includes:
an information receiving module 400, configured to receive PCEP configuration information, where the PCEP configuration information includes configuration information of periodic network action execution;
the information processing module 401 is configured to execute a corresponding action in a corresponding period according to the configuration information executed by the periodic network action.
Optionally, the information processing module 401 is specifically configured to:
after determining that the received PCEP configuration information comprises a type identifier used for representing a message carrying the configuration information executed by the periodic network action, determining all time points meeting conditions according to the frequency of the periodic network action execution in the configuration information and the starting execution time of the network action in each period;
and when each determined time point arrives, executing the network action within the corresponding duration of each time point in each period.
Based on the same inventive concept, the embodiment of the present invention further provides a method for performing network configuration on the first network element side, and since the device corresponding to the method is the first network element in the system for performing network configuration in the embodiment of the present invention, and the principle of the method for solving the problem is similar to that of the device, the implementation of the method can refer to the implementation of the system, and repeated details are omitted.
As shown in fig. 5, a method for network configuration at a first network element side in the embodiment of the present invention includes:
step 500, a first network element determines PCEP configuration information, where the PCEP configuration information includes configuration information of periodic network action execution;
step 501, the first network element sends the PCEP configuration information to a corresponding second network element, so that the second network element executes a corresponding action in a corresponding period according to the configuration information executed by the periodic network action.
Optionally, the configuration information executed by the periodic network action includes at least one of the following:
the frequency of the periodic execution;
a start execution time of the network action within each period;
a duration of the network action within each period;
and the type identifier is used for representing the message carrying the configuration information of the periodic network action execution.
Optionally, the sending, by the first network element, the PCEP configuration information to the corresponding second network element includes:
the first network element determines a second network element capable of executing the action corresponding to the PCEP configuration information;
and the first network element sends the PCEP configuration information to the determined at least one second network element.
Based on the same inventive concept, the embodiment of the present invention further provides a method for performing network configuration on the second network element side, and since the device corresponding to the method is the second network element in the system for performing network configuration in the embodiment of the present invention, and the principle of the method for solving the problem is similar to that of the device, the implementation of the method can refer to the implementation of the system, and repeated details are omitted.
As shown in fig. 6, a method for performing network configuration at a second network element side in the embodiment of the present invention includes:
step 600, a second network element receives PCEP configuration information from a first network element, wherein the PCEP configuration information includes configuration information of periodic network action execution;
step 601, the second network element receives the configuration information executed by the periodic network action and executes the corresponding action in the corresponding period.
Optionally, the second network element receives the configuration information executed by the periodic network action and executes a corresponding action in a corresponding period, where the corresponding action includes:
after the second network element identifies the type of the message carrying the configuration information of the periodic network action execution according to the received PCEP configuration information, determining all time points meeting the conditions according to the frequency of the periodic network action execution in the configuration information and the starting execution time of the network action in each period;
and when each determined time point arrives, executing the network action within the corresponding duration of each time point in each period.
As shown in fig. 7, the complete method for network configuration according to the embodiment of the present invention includes:
step 700, a first network element determines PCEP configuration information, where the PCEP configuration information includes configuration information of periodic network action execution;
step 701, the first network element determines a second network element capable of executing an action corresponding to the PCEP configuration information;
step 702, the first network element sends the PCEP configuration information to the determined at least one second network element.
Step 703, the second network element receives PCEP configuration information from the first network element, where the PCEP configuration information includes configuration information executed by the periodic network action;
step 704, the second network element determines all time points meeting the conditions according to the frequency of the periodic network action execution in the configuration information and the starting execution time of the network action in each period;
step 705, when each determined time point arrives, the second network element executes the network action within the duration corresponding to each time point in each period.
In some possible embodiments, the aspects of the method for configuring a network provided by the embodiments of the present invention may also be implemented in the form of a program product, which includes program code for causing a computer device to execute the steps in the method for configuring a network according to the various exemplary embodiments of the present invention described in this specification, when the program code runs on the computer device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A program product for data forwarding control according to an embodiment of the present invention may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a server device. However, the program product of the present invention is not limited thereto, and in this document, the readable storage medium may be any tangible medium containing or storing a program for use by or in connection with a periodic network action system, apparatus or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the periodic network action system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In situations involving remote computing devices, the remote computing devices may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to external computing devices (e.g., by a computer or a network such as a wired or wireless LAN)
The embodiment of the invention also provides a storage medium readable by computing equipment aiming at the method for carrying out network configuration on the first network element side, namely, the content is not lost after power failure. The storage medium stores therein a software program comprising program code which, when executed on a computing device, when read and executed by one or more processors, implements any of the above aspects of the invention for network configuration on the first network element side.
The embodiment of the invention also provides a storage medium readable by computing equipment for the method for carrying out network configuration on the second network element side, namely, the content is not lost after power failure. The storage medium stores therein a software program, which includes program code, and when the program code runs on a computing device, the software program is read by one or more processors and executed, so as to implement any of the above schemes for network configuration on the second network element side according to the embodiments of the present invention.
The storage medium may be connected to the processor through an external interface or an internal interface. For example, the memory is a U disk, a mobile hard disk, etc., and can be connected through an external interface; for example, the memory is a memory module in the device in which the processor is located, and may be connected through an internal interface.
As shown in fig. 8, a second network element structure according to an embodiment of the present invention includes: at least one memory unit 800, and at least one processing unit 801, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
determining PCEP configuration information, wherein the PCEP configuration information comprises configuration information of periodic network action execution; and sending the PCEP configuration information to a corresponding second network element so that the second network element executes corresponding actions in corresponding periods according to the configuration information executed by the periodic network actions.
Optionally, the configuration information executed by the periodic network action includes at least one of the following:
the frequency of the periodic execution;
a start execution time of the network action within each period;
a duration of the network action within each period;
and the type identifier is used for representing the message carrying the configuration information of the periodic network action execution.
Optionally, the processing unit 801 is further specifically configured to:
and determining that the second network element capable of executing the action corresponding to the PCEP configuration information sends the PCEP configuration information to the determined at least one second network element.
As shown in fig. 9, a second network element structure according to the embodiment of the present invention includes: at least one memory unit 900, and at least one processing unit 901, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
receiving PCEP configuration information from a first network element, wherein the PCEP configuration information comprises configuration information of periodic network action execution;
and executing corresponding action in a corresponding period according to the configuration information executed by the periodic network action.
Optionally, the processing unit 901 is further specifically configured to:
after determining that the received PCEP configuration information comprises a type identifier used for representing a message carrying the configuration information executed by the periodic network action, determining all time points meeting conditions according to the frequency of the periodic network action execution in the configuration information and the starting execution time of the network action in each period;
and when each determined time point arrives, executing the network action within the corresponding duration of each time point in each period.
It should be noted that although in the above detailed description several elements or sub-elements of the first network element and the second network element are mentioned, this division is only not mandatory. Indeed, the features and functions of two or more of the devices described above may be embodied in one device, according to embodiments of the invention. Conversely, the features and functions of one apparatus described above may be further divided into embodiments by a plurality of apparatuses.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (12)

1. A method for introducing action periods in a network configuration, the method comprising:
the method comprises the steps that a first network element determines path computation element communication protocol (PCEP) configuration information, wherein the PCEP configuration information comprises configuration information of periodic network action execution; the PCEP configuration information further includes at least one of: matching rules of the flows, and actions to be taken on the flows matching the rules;
the first network element determines a second network element capable of executing the action corresponding to the PCEP configuration information; the first network element sends the PCEP configuration information to at least one determined second network element so that the second network element executes corresponding actions in corresponding periods according to the configuration information executed by the periodic network;
wherein, the sending, by the first network element, PCEP configuration information to the corresponding second network element includes:
and the first network element places the PCEP configuration information in a PCEP message and sends the PCEP configuration information to the corresponding second network element.
2. The method of claim 1, wherein the configuration information for the periodic network action execution comprises at least one of:
the frequency of the periodic execution;
a start execution time of the network action within each period;
a duration of the network action within each period;
and the type identifier is used for representing the message carrying the configuration information of the periodic network action execution.
3. A method for network configuration, the method comprising:
the second network element receives PCEP configuration information from the first network element, wherein the PCEP configuration information comprises configuration information of periodic network action execution; the PCEP configuration information further includes at least one of: matching rules of the flows, and actions to be taken on the flows matching the rules; the second network element determines, for the first network element, a second network element capable of executing an action corresponding to the PCEP configuration information;
the second network element executes corresponding actions in corresponding periods according to the configuration information executed by the periodic network actions; the second network element matches each received flow according to the flow matching rule; for the matched flows, determining action information of the executed corresponding action according to the matched regular flows;
wherein the second network element receives PCEP configuration information from the first network element, including:
the second network element receives PCEP configuration information from the first network element via a PCEP message.
4. The method of claim 3, wherein the second network element performs the corresponding action at the corresponding period according to the configuration information performed by the periodic network action, comprising:
after determining that the received PCEP configuration information includes a type identifier for indicating a message carrying configuration information executed by the periodic network action, the second network element determines all time points meeting conditions according to a frequency of the periodic network action execution in the configuration information and a start execution time of the network action in each period;
and when each determined time point arrives, executing the network action within the corresponding duration of each time point in each period.
5. A first network element for network configuration, the first network element comprising:
an information determining module, configured to determine PCEP configuration information, where the PCEP configuration information includes configuration information of periodic network action execution; the PCEP configuration information further includes at least one of: matching rules of the flows, and actions to be taken on the flows matching the rules;
an information configuration module, configured to determine a second network element capable of performing an action corresponding to the PCEP configuration information, and send the PCEP configuration information to the determined at least one second network element, so that the second network element performs a corresponding action in a corresponding period according to the configuration information performed by the periodic network;
the information configuration module is specifically configured to place the PCEP configuration information in a PCEP message and send the PCEP configuration information to the corresponding second network element.
6. A second network element for network configuration, the second network element comprising:
an information receiving module, configured to receive PCEP configuration information, where the PCEP configuration information includes configuration information of periodic network action execution; the PCEP configuration information further includes at least one of: matching rules of the flows, and actions to be taken on the flows matching the rules; the second network element determines, for the first network element, a second network element capable of executing an action corresponding to the PCEP configuration information;
the information processing module is used for executing corresponding actions in corresponding periods according to the configuration information executed by the periodic network actions; and is used for matching each received flow according to the matching rule of the flow; for the matched flows, determining action information of the executed corresponding action according to the matched regular flows;
the information receiving module is specifically configured to receive PCEP configuration information from the first network element through a PCEP message.
7. A first network element for performing network configuration, the first network element comprising: at least one processing unit, and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
determining PCEP configuration information, wherein the PCEP configuration information comprises configuration information of periodic network action execution; the PCEP configuration information further includes at least one of: matching rules of the flows, and actions to be taken on the flows matching the rules; determining a second network element capable of executing an action corresponding to the PCEP configuration information; sending the PCEP configuration information to at least one determined second network element so that the second network element executes corresponding actions in corresponding periods according to the configuration information executed by the periodic network actions; the processing unit is specifically configured to place the PCEP configuration information in a PCEP message and send the PCEP configuration information to the corresponding second network element.
8. The first network element of claim 7, wherein the configuration information for the periodic network action execution includes at least one of:
the frequency of the periodic execution;
a start execution time of the network action within each period;
a duration of the network action within each period;
and the type identifier is used for representing the message carrying the configuration information of the periodic network action execution.
9. A second network element for performing network configuration, the second network element comprising: at least one processing unit, and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
receiving PCEP configuration information from a first network element, wherein the PCEP configuration information comprises configuration information of periodic network action execution; the PCEP configuration information further includes at least one of: matching rules of the flows, and actions to be taken on the flows matching the rules; the second network element determines, for the first network element, a second network element capable of executing an action corresponding to the PCEP configuration information;
executing corresponding actions in corresponding periods according to the configuration information executed by the periodic network actions; matching each received flow according to the matching rule of the flow; for the matched flows, determining action information of the executed corresponding action according to the matched regular flows;
wherein the processing unit is specifically configured to receive PCEP configuration information from the first network element through a PCEP message.
10. The second network element of claim 9, wherein the processing unit is specifically configured to:
after determining that the received PCEP configuration information comprises a type identifier used for representing a message carrying the configuration information executed by the periodic network action, determining all time points meeting conditions according to the frequency of the periodic network action execution in the configuration information and the starting execution time of the network action in each period;
and when each determined time point arrives, executing the network action within the corresponding duration of each time point in each period.
11. A computing device-readable storage medium comprising program code for causing a computing device to perform the steps of the method of claim 1 or 2 when the program code is run on the computing device.
12. A storage medium readable by a computing device, comprising program code for causing a computing device to perform the steps of the method of claim 3 or 4 when the program code is run on the computing device.
CN201710577324.5A 2017-07-14 2017-07-14 Method for network configuration by introducing action cycle and corresponding network element Active CN109257202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710577324.5A CN109257202B (en) 2017-07-14 2017-07-14 Method for network configuration by introducing action cycle and corresponding network element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710577324.5A CN109257202B (en) 2017-07-14 2017-07-14 Method for network configuration by introducing action cycle and corresponding network element

Publications (2)

Publication Number Publication Date
CN109257202A CN109257202A (en) 2019-01-22
CN109257202B true CN109257202B (en) 2022-03-29

Family

ID=65051298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710577324.5A Active CN109257202B (en) 2017-07-14 2017-07-14 Method for network configuration by introducing action cycle and corresponding network element

Country Status (1)

Country Link
CN (1) CN109257202B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101822003A (en) * 2007-08-22 2010-09-01 日本电信电话株式会社 Path management control method, path management control program, path management control device and path management control system
CN101945336A (en) * 2009-07-06 2011-01-12 中兴通讯股份有限公司 Dispatching processing method of multimedia broadcast multicast service and lower network elements
CN105792358A (en) * 2014-12-25 2016-07-20 中兴通讯股份有限公司 Channel obtaining signal configuring and generating method and device
WO2016124228A1 (en) * 2015-02-03 2016-08-11 Telefonaktiebolaget Lm Ericsson (Publ) Time aware path computation
CN106603417A (en) * 2015-10-16 2017-04-26 华为技术有限公司 Route processing method, equipments and system
CN106899499A (en) * 2017-02-10 2017-06-27 新华三技术有限公司 A kind of open flows OpenFlow message loops perform method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2640003B1 (en) * 2012-03-15 2014-05-14 ADVA Optical Networking SE Network with a network wide extended policy framework
US9577925B1 (en) * 2013-07-11 2017-02-21 Juniper Networks, Inc. Automated path re-optimization
CN104734949B (en) * 2013-12-24 2019-09-13 南京中兴新软件有限责任公司 A kind of method and device for realizing flow table configuration
US10412012B2 (en) * 2015-09-22 2019-09-10 Arris Enterprises Llc Intelligent, load adaptive, and self optimizing master node selection in an extended bridge

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101822003A (en) * 2007-08-22 2010-09-01 日本电信电话株式会社 Path management control method, path management control program, path management control device and path management control system
CN101945336A (en) * 2009-07-06 2011-01-12 中兴通讯股份有限公司 Dispatching processing method of multimedia broadcast multicast service and lower network elements
CN105792358A (en) * 2014-12-25 2016-07-20 中兴通讯股份有限公司 Channel obtaining signal configuring and generating method and device
WO2016124228A1 (en) * 2015-02-03 2016-08-11 Telefonaktiebolaget Lm Ericsson (Publ) Time aware path computation
CN106603417A (en) * 2015-10-16 2017-04-26 华为技术有限公司 Route processing method, equipments and system
CN106899499A (en) * 2017-02-10 2017-06-27 新华三技术有限公司 A kind of open flows OpenFlow message loops perform method and device

Also Published As

Publication number Publication date
CN109257202A (en) 2019-01-22

Similar Documents

Publication Publication Date Title
US11188380B2 (en) Method and apparatus for processing task in smart device
EP2995042B1 (en) Data plane learning of bi-directional service chains
CN105407128B (en) Interest keeping method and system on intermediate router in CCN
US9853906B2 (en) Network prioritization based on node-level attributes
CN107979409B (en) Inter-orbit satellite communication routing method and device
WO2017172206A1 (en) Structured machine learning framework
CN112954045B (en) Data transmission method, device, medium and electronic equipment in node
US11095717B2 (en) Minimizing data loss in a computer storage environment with non-guaranteed continuous network connectivity
US11102320B2 (en) Post-delivery dynamic control of notifications in a push notification life-cycle
CN115514696B (en) Method, device and equipment for transmitting computing power resource information
US20150263949A1 (en) Compressed source routing encoding
US11172018B2 (en) Method and apparatus for controlling traffic
CN110601978A (en) Flow distribution control method and device
CN112486915A (en) Data storage method and device
EP3139552B1 (en) Virtual shortest path tree establishment and processing method, and path computation element
CN109257202B (en) Method for network configuration by introducing action cycle and corresponding network element
US10250477B2 (en) Method and controller for announcing bandwidth of cluster system
CN111161072A (en) Block chain-based random number generation method, equipment and storage medium
CN112887353B (en) Information processing method, device, terminal and storage medium
US20210117287A1 (en) Method, device, and computer program product for backing up data
US11368406B2 (en) Methods and apparatus for path computation in a telecommunications network
CN112507676A (en) Energy report generation method and device, electronic equipment and computer readable medium
CN115051944B (en) End-to-end slice creation method, device, equipment and storage medium
CN109150729B (en) Data forwarding control method, device, system, medium and computing equipment
CN117896439A (en) Method, device and related equipment for transmitting computing power resource information

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