A parameter configuration method, apparatus, device, and storage medium
By extending the PCEP and BGP protocols to include BFD or SBFD parameters in path or policy configuration, the problem of independent BFD/SBFD configuration for tunnels or policies is solved, simplifying the configuration process.
Patent Information
- Application Number
- CN202110554138.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-20
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2041-05-20
AI Technical Summary
In existing technologies, the deployment of tunnels or policies is independent of the deployment of BFD or SBFD, resulting in a complex configuration process that requires further configuration by manual means or netconf, and the protocols are inconsistent.
By extending protocols such as the Path Computing Unit Communication Protocol (PCEP) and Border Gateway Protocol (BGP), BFD or SBFD parameters can be directly carried during path or policy configuration, simplifying the configuration process.
It enables the simultaneous configuration of BFD or SBFD during path or policy configuration, simplifying the process and reducing configuration steps.
Smart Images

Figure CN115373755B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless technology, and in particular to a parameter configuration method, apparatus, device, and storage medium. Background Technology
[0002] Currently, after deploying Traffic Engineering (TE) or policies in a network, Bidirectional Forwarding Detection (BFD) or Seamless Bidirectional Forwarding Detection (SBFD) is deployed to quickly detect the status of TE tunnels or policy paths. However, currently, the deployment of tunnels or policies is independent of the deployment of BFD or SBFD. That is, after configuring tunnels or policies through protocols such as Path Computation Element Communication Protocol (PCEP) or Border Gateway Protocol (BGP), BFD or SBFD still needs to be configured manually or through methods such as netconf, making the process quite complex. Summary of the Invention
[0003] In view of this, embodiments of this application aim to provide a parameter configuration method, apparatus, device, and storage medium.
[0004] The technical solution of this application embodiment is implemented as follows:
[0005] At least one embodiment of this application provides a parameter configuration method applied to a first communication device, the parameter configuration method comprising:
[0006] Receive a second message sent by a second communication device; the second message is used to request the configuration of a path or policy, and to configure parameters for path connectivity detection;
[0007] Send a first message to the second communication device; the first message carries first information and a first configuration parameter or a second configuration parameter;
[0008] Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection.
[0009] Furthermore, according to at least one embodiment of this application, sending the first message to the second communication device includes:
[0010] Define new content in the first message; carry the first configuration parameter or the second configuration parameter in the newly defined content; send the first message to the second communication device.
[0011] Furthermore, according to at least one embodiment of this application, the step of defining new content in the first message and carrying the first configuration parameter or the second configuration parameter in the newly defined content includes:
[0012] Define a new first field in a specific attribute of the first message; carry the first configuration parameter in the newly defined first field;
[0013] or,
[0014] Define a second field in a specific attribute of the first message; carry the second configuration parameter in the newly defined second field;
[0015] or,
[0016] Define a new first attribute in the first message; carry the first configuration parameter in the newly defined first attribute;
[0017] or,
[0018] Define a new second attribute in the first message; carry the second configuration parameter in the newly defined second attribute.
[0019] Furthermore, according to at least one embodiment of this application, the step of defining new content in the first message and carrying the first configuration parameter or the second configuration parameter in the newly defined content includes:
[0020] Define a new first field in a specific object of the first message; carry the first configuration parameter in the newly defined first field;
[0021] or,
[0022] Define a second field in a specific object of the first message; carry the second configuration parameter in the newly defined second field;
[0023] or,
[0024] Define a new first object in the first message; carry the first configuration parameters in the newly defined first object;
[0025] or,
[0026] A second object is defined in the first message; the second configuration parameter is carried in the newly defined second object.
[0027] Furthermore, according to at least one embodiment of this application, before receiving the second message sent by the second communication device, the method further includes:
[0028] The first communication device sends a third message to the second communication device; the third message is used to indicate that the first communication device supports the configuration of the first parameter and the second parameter.
[0029] Furthermore, according to at least one embodiment of this application, the method further includes:
[0030] A new field is defined in a specific object of the third message; the newly defined field carries two flag bits; the two flag bits are used to indicate that the first communication device supports the configuration of the first parameter and the second parameter.
[0031] At least one embodiment of this application provides a parameter configuration method applied to a second communication device, the method comprising:
[0032] Send a second message to the first communication device; the second message is used to request the configuration of a path or policy, and the parameters for configuring path connectivity detection.
[0033] Receive a first message sent by the first communication device; the first message carries first information and a first configuration parameter or a second configuration parameter;
[0034] Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection.
[0035] Furthermore, according to at least one embodiment of this application, sending the second message to the first communication device includes:
[0036] Two new flag bits are defined in a specific object of the second message; the two flag bits are used to request the configuration of the first parameter and the second parameter, respectively.
[0037] Furthermore, according to at least one embodiment of this application, before sending the second message to the first communication device, the method further includes:
[0038] The second communication device sends a third message to the first communication device; the third message is used to instruct the second communication device to support the configuration of the first parameter and the second parameter.
[0039] Furthermore, according to at least one embodiment of this application, the method further includes:
[0040] A new field is defined in a specific object of the third message; the newly defined field carries two flag bits; the two flag bits are used to indicate that the second communication device supports the configuration of the first parameter and the second parameter.
[0041] At least one embodiment of this application provides a parameter configuration method applied to a first communication device, the method comprising:
[0042] Send a fourth message to the second communication device; the fourth message carries first information and a first configuration parameter or a second configuration parameter;
[0043] Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection.
[0044] Furthermore, according to at least one embodiment of this application, sending the fourth message to the second communication device includes:
[0045] The fourth message defines new content; the newly defined content carries the first configuration parameter or the second configuration parameter; the fourth message is sent to the second communication device.
[0046] Furthermore, according to at least one embodiment of this application, the newly defined content in the fourth message; carrying the first configuration parameter or the second configuration parameter in the newly defined content, includes:
[0047] Define a new third field in a specific object of the fourth message; carry the first configuration parameter in the newly defined third field;
[0048] or,
[0049] A third object is defined in the fourth message; the first configuration parameter is carried in the newly defined third object;
[0050] or,
[0051] Define a new fourth field in a specific object of the fourth message; carry the second configuration parameter in the newly defined fourth field;
[0052] or,
[0053] A new fourth object is defined in the fourth message; the second configuration parameter is carried in the newly defined fourth object.
[0054] Furthermore, according to at least one embodiment of this application, after sending the fourth message to the second communication device, the method further includes:
[0055] A fifth message is sent to the second communication device; the fifth message instructs the second communication device to perform path or policy configuration updates, as well as configuration updates for the first parameter and the second parameter.
[0056] Furthermore, according to at least one embodiment of this application, the newly defined content in the fifth message; carrying the updated first configuration parameter or second configuration parameter in the newly defined content, includes:
[0057] A new fifth field is defined in a specific object of the fifth message; the updated first configuration parameter is carried in the newly defined fifth field.
[0058] or,
[0059] A new fifth object is defined in the fifth message; the updated first configuration parameters are carried in the newly defined fifth object.
[0060] or,
[0061] A new sixth field is defined in a specific object of the fifth message; the updated second configuration parameter is carried in the newly defined sixth field.
[0062] or,
[0063] In the fifth message, a new sixth object is defined; the newly defined sixth object carries the updated second configuration parameters.
[0064] Furthermore, according to at least one embodiment of this application, after sending a fourth message to the second communication device, the method includes:
[0065] The first communication device receives a sixth message sent by the second communication device. The sixth message is used to notify the first communication device of the current path or policy configuration, its status, the current first configuration parameter and second configuration parameter, and the path connectivity status.
[0066] At least one embodiment of this application provides a parameter configuration method applied to a second communication device, the method comprising:
[0067] A sixth message is sent to the first communication device; the sixth message is used to notify the first communication device of the current path or policy, its status, the current first configuration parameters and second configuration parameters, and the path connectivity status.
[0068] Furthermore, according to at least one embodiment of this application, sending the sixth message to the first communication device includes:
[0069] The sixth message defines new content; the newly defined content carries the current first configuration parameters and path connectivity status, or the second configuration parameters and path connectivity status; the sixth message is sent to the first communication device.
[0070] Furthermore, according to at least one embodiment of this application, the newly defined content in the sixth message; carrying the current first configuration parameter and path connectivity status, or the second configuration parameter and path connectivity status in the newly defined content, includes:
[0071] A new seventh field is defined in the specific object of the sixth message; the newly defined seventh field carries the current first configuration parameter and the path connectivity status.
[0072] or,
[0073] In the sixth message, a new seventh object is defined; the newly defined seventh object carries the current first configuration parameters and the path connectivity status.
[0074] or,
[0075] A new eighth field is defined in a specific object of the sixth message; the newly defined eighth field carries the current second configuration parameter and the path connectivity status.
[0076] or,
[0077] In the sixth message, a new eighth object is defined; the newly defined eighth object carries the current second configuration parameters and the path connectivity status.
[0078] At least one embodiment of this application provides a parameter configuration apparatus, applied to a first communication device, comprising:
[0079] The first receiving unit is used to receive a second message sent by the second communication device; the second message is used to request the configuration of a path or policy, and to configure parameters for path connectivity detection.
[0080] The first sending unit is configured to send a first message to the second communication device; the first message carries first information and a first configuration parameter or a second configuration parameter.
[0081] Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection.
[0082] At least one embodiment of this application provides a parameter configuration apparatus applied to a second communication device, comprising:
[0083] The second sending unit is used to send a second message to the first communication device; the second message is used to request the configuration of a path or policy, and to configure parameters for path connectivity detection.
[0084] The second receiving unit is configured to receive a first message sent by the first communication device; the first message carries first information and a first configuration parameter or a second configuration parameter.
[0085] Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection.
[0086] At least one embodiment of this application provides a parameter configuration apparatus, applied to a first communication device, comprising:
[0087] The third sending unit is used to send a fourth message to the second communication device; the fourth message carries first information and a first configuration parameter or a second configuration parameter.
[0088] Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection.
[0089] Furthermore, according to at least one embodiment of this application, the third sending unit is further configured to send a fifth message to the second communication device after sending a fourth message; the fifth message instructs the second communication device to perform path or policy configuration updates, as well as configuration updates of the first parameter and the second parameter.
[0090] Furthermore, according to at least one embodiment of this application, the apparatus further includes:
[0091] The third receiving unit is configured to receive a sixth message sent by the second communication device after sending a fourth message to the second communication device through the third sending unit; the sixth message is configured to notify the first communication device of the current path or policy, its status, the current first configuration parameters and second configuration parameters, and the path connectivity status.
[0092] At least one embodiment of this application provides a parameter configuration apparatus, applied to a second communication device, comprising:
[0093] The fourth sending unit is used to send the sixth message to the first communication device;
[0094] The sixth message is used to notify the first communication device of the current path or strategy, its status, the current first configuration parameters and second configuration parameters, and the path connectivity status.
[0095] At least one embodiment of this application provides a first communication device, characterized in that it includes a processor and a memory for storing a computer program capable of running on the processor.
[0096] When the processor runs the computer program, it executes the steps of any one of the methods described in the first communication device described above.
[0097] At least one embodiment of this application provides a second communication device, characterized in that it includes a processor and a memory for storing a computer program capable of running on the processor.
[0098] When the processor runs the computer program, it executes the steps of any one of the methods described in the second communication device described above.
[0099] At least one embodiment of this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above methods.
[0100] The parameter configuration method, apparatus, device, and storage medium provided in this application embodiment receive a second message sent by a second communication device; the second message is used to request the configuration of a path or policy, and to configure parameters for path connectivity detection; a first message is sent to the second communication device; the first message carries first information, and a first configuration parameter or a second configuration parameter; wherein, the first information is used for the second communication device to perform path or policy configuration; the first configuration parameter is used for the second communication device to configure the first parameter while performing path or policy configuration; the second configuration parameter is used for the second communication device to configure the second parameter while performing path or policy configuration; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection. By extending the first message, the first configuration parameter (such as BFD) or the second configuration parameter (such as SBFD) can be directly configured when configuring a path or policy, simplifying the process and reducing configuration steps. Attached Figure Description
[0101] Figure 1 This is a schematic diagram of the implementation flow of the parameter configuration method in the embodiments of this application. Figure 1 ;
[0102] Figure 2 This is a schematic diagram of the implementation flow of the parameter configuration method in the embodiments of this application. Figure 2 ;
[0103] Figure 3 This is a schematic diagram of the extension of the third message in the embodiments of this application. Figure 1 ;
[0104] Figure 4 This is a schematic diagram of the extension of the third message in the embodiments of this application. Figure 2 ;
[0105] Figure 5 This is a schematic diagram of the implementation flow of the parameter configuration method in the embodiments of this application. Figure 3 ;
[0106] Figure 6 This is a schematic diagram illustrating a first message carrying BFD configuration parameters according to an embodiment of this application;
[0107] Figure 7 This is a schematic diagram of the implementation flow of the parameter configuration method in the embodiments of this application. Figure 4 ;
[0108] Figure 8 This is a schematic diagram illustrating another embodiment of the present application that carries BFD configuration parameters in the first message;
[0109] Figure 9 This is a schematic diagram of the implementation flow of the parameter configuration method in the embodiments of this application. Figure 5 ;
[0110] Figure 10 This is a schematic diagram illustrating an embodiment of this application in which SBFD configuration parameters are carried in the first message;
[0111] Figure 11 This is a schematic diagram of the implementation flow of the parameter configuration method in the embodiments of this application. Figure 6 ;
[0112] Figure 12 This is a schematic diagram illustrating another embodiment of this application that carries SBFD configuration parameters in the first message;
[0113] Figure 13 This is a schematic diagram of the implementation flow of the parameter configuration method in the embodiments of this application. Figure 7 ;
[0114] Figure 14 This is a schematic diagram of the implementation flow of the parameter configuration method in the embodiments of this application. Figure 8 ;
[0115] Figure 15 This is a schematic diagram illustrating the extension of the second message in an embodiment of this application;
[0116] Figure 16 This is a schematic diagram of the implementation flow of the parameter configuration method in the embodiments of this application. Figure 9 ;
[0117] Figure 17 This is a schematic diagram illustrating the extension of the fourth message in an embodiment of this application;
[0118] Figure 18 This is a schematic diagram of the implementation flow of the parameter configuration method in the embodiments of this application. Figure 10 ;
[0119] Figure 19 This is a schematic diagram of the implementation flow of the parameter configuration method in the embodiments of this application. Figure 10 one;
[0120] Figure 20 This is a schematic diagram of the composition structure of the parameter configuration device in the embodiments of this application. Figure 1 ;
[0121] Figure 21 This is a schematic diagram of the composition structure of the parameter configuration device in the embodiments of this application. Figure 2 ;
[0122] Figure 22 This is a schematic diagram of the composition structure of the parameter configuration device in the embodiments of this application. Figure 3 ;
[0123] Figure 23 This is a schematic diagram of the composition structure of the parameter configuration device in the embodiments of this application. Figure 4;
[0124] Figure 24 This is a schematic diagram of the composition structure of the first communication device in the embodiments of this application. Figure 1 ;
[0125] Figure 25 This is a schematic diagram of the composition structure of the second communication device according to an embodiment of this application. Figure 2 . Detailed Implementation
[0126] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the specific technical solutions of this application will be further described in detail below with reference to the accompanying drawings of the embodiments of this application. The following embodiments are used to illustrate this application, but are not intended to limit the scope of this application.
[0127] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0128] It should be noted that the terms "first, second, third" used in the embodiments of this application are used to distinguish similar or different objects and do not represent a specific order of objects. It is understood that "first, second, third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0129] In related technologies, after deploying TE (Tunneling Path) or policies in a network, BFD (Block Path Deployment) or SBFD (Simplified Path Deployment) is deployed to quickly detect the status of the TE tunnel or policy path. However, currently, the deployment of tunnels or policies is independent of the deployment of BFD or SBFD. That is, after configuring tunnels or policies via protocols such as PCEP or BGP, BFD or SBFD still needs to be configured manually or through methods such as netconf, and the BFD or SBFD needs to be associated with the tunnel or policy. Policies include, but are not limited to, segment routing (SR) policies and SRv6 policies.
[0130] In summary, in the relevant technologies, the configuration of tunnels or policies is independent of the configuration of BFD or SBFD, and the configuration methods and protocols used are also different. After configuring tunnels or policies, it is necessary to further configure BFD or SBFD and associate BFD / SBFD with tunnels or policies, which is a long process with many steps.
[0131] In view of this, embodiments of this application provide a parameter configuration method, which can be applied to a first communication device or a second communication device. The function implemented by the parameter configuration method can be achieved by a processor in the communication device calling program code, which can be stored in a computer storage medium. Therefore, the communication device includes at least a processor and a storage medium.
[0132] Figure 1 This is a schematic diagram illustrating the implementation flow of the parameter configuration method in an embodiment of this application, applied to a first communication device, such as... Figure 1 As shown, the method includes the following steps 101 to 102:
[0133] Step 101: Receive a second message sent by the second communication device; the second message is used to request the configuration of a path or policy, and to configure parameters for path connectivity detection.
[0134] In some embodiments, the second communication device may request the first communication device to configure a primary path and a backup path, and request the first communication device to configure parameters for detecting the status of the primary path and the backup path, such as BFD parameters or SBFD parameters.
[0135] Step 102: Send a first message to the second communication device; the first message carries first information and a first configuration parameter or a second configuration parameter.
[0136] The first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection.
[0137] It is understood that new content can be defined in the first message; the newly defined content can carry the first configuration parameter or the second configuration parameter.
[0138] It is understandable that when configuring paths using the PCEP protocol, the PCEP protocol is extended so that the first communication device configures path connectivity detection parameters simultaneously when issuing paths to the second communication device. Similarly, when configuring policies such as segment routing policies (SRPs) using the BGP protocol, the BGP protocol is extended so that the first communication device configures path connectivity detection parameters simultaneously when issuing policies to the second communication device.
[0139] It is understandable that the PCEP protocol can consist of request messages, response messages, initialization messages (PCInit), update messages (PCUpd), and report messages (PCRpt). Each message consists of an object, and each object consists of a TLV. Thus, for stateless PCEP, when the first message is a PCEP response message and the second message is a PCEP request message, the response message in PCEP is extended by adding objects or adding TLVs to existing objects to complete the distribution of path connectivity detection parameters.
[0140] It is understandable that the BGP protocol can be composed of messages, messages can be composed of attributes, attributes can be composed of TLVs, and TLVs can be composed of sub-TLVs. Thus, by extending the messages in BGP, the path connectivity detection parameters can be sent by adding attributes or adding TLVs or sub-TLVs to existing attributes.
[0141] The following embodiments use the extension of the PCEP protocol as an example for detailed explanation. The provided technical solutions are only one feasible way to extend PCEP, and other extension methods are also within the scope of protection of this application. It is understood that the technical solutions provided in the embodiments of this application are also applicable to other protocols. Other tunnel and policy configuration protocols, such as the BGP protocol, can also adopt similar methods. By extending the protocol, the configuration of tunnels / policies and the configuration of BFD / SBFD can be completed simultaneously, thereby simplifying the entire process.
[0142] It should be noted that, in this embodiment of the application, by extending the tunnel or policy configuration protocol, BFD / SBFD can be directly configured when configuring tunnels or policies, which simplifies the process and reduces the number of configuration steps.
[0143] This application also provides a parameter configuration method. Figure 2 This is a schematic diagram illustrating the implementation flow of the parameter configuration method in an embodiment of this application, as shown below. Figure 2 As shown, the method includes the following steps 201 to 204:
[0144] Step 201: The first communication device sends a third message to the second communication device; the third message is used to indicate that the first communication device supports configuring the first parameter and the second parameter.
[0145] Understandably, by extending the third message to declare capabilities, the first communication device (such as a Path Computation Element (PCE), which in actual networking could be a router, SDN controller, or other network element or network management system) and the second communication device (such as a Path Computation Client (PCC), which in actual networking could be a router or other network element)) can inform each other whether they support configuring the first parameter (such as the BFD parameter) and the second parameter (such as the SBFD parameter) when establishing a session.
[0146] Understandably, the way to expand the third message could be:
[0147] A new field is defined in a specific part of the third message; the newly defined field carries two flag bits; the two flag bits are used to indicate that the first communication device supports the configuration of the first parameter and the second parameter.
[0148] It is understandable that when extending the PCEP protocol, new fields can be defined in specific objects of a third message; these newly defined fields will carry two flag bits. Similarly, when extending the BGP protocol, new fields can be defined in specific attributes of a third message; these newly defined fields will carry two flag bits.
[0149] As a possible extension, the third message is a PCEP open message, in which two new flag bits are defined in the STATEFUL-PCE-CAPABILITY TLV field of the open object of the PCEP open message; the two flag bits are respectively used to indicate that the first communication device supports the configuration of the first parameter and the second parameter.
[0150] like Figure 3 As shown, two new flag bits are defined in the STATEFUL-PCE-CAPABILITY TLV field of the open object in the open message, namely the B flag bit and the S flag bit. The B flag bit being set indicates that the first communication device supports the configuration of BFD parameters, and the S flag bit being set indicates that the first communication device supports the configuration of SBFD parameters.
[0151] As another feasible extension method, the third message is an open message, in which a new TLV field is defined in the open object of the open message; two new flag bits are defined in the newly defined TLV field; the two flag bits are respectively used to indicate that the first communication device supports the configuration of the first parameter and the second parameter.
[0152] like Figure 4As shown, a new TLV field is defined in the open object of the open message. The specific value of Type in the TLV field is assigned by the international standards organization, and the length is 4. Flags defines B flag bits and S flag bits, and other bits are reserved. Setting the B flag bit indicates that the first communication device supports the configuration of BFD parameters, and setting the S flag bit indicates that the first communication device supports the configuration of SBFD parameters.
[0153] Step 202: The first communication device receives a second message sent by the second communication device; the second message is used to request the configuration of a path or policy, and to configure parameters for path connectivity detection.
[0154] Understandably, by extending the third message, the second communication device and the first communication device can inform each other whether they support configuring the first and second parameters when establishing a session. If both parties support configuring the first and second parameters, a session is established between the second communication device and the first communication device, and the first communication device receives the second message sent by the second communication device.
[0155] Step 203: The first communication device sends a first message to the second communication device; the first message carries first information and a first configuration parameter or a second configuration parameter.
[0156] This application also provides a parameter configuration method. Figure 5 This is a schematic diagram illustrating the implementation flow of the parameter configuration method in an embodiment of this application. Taking the first configuration parameter as the BFD configuration parameter as an example, as follows... Figure 5 As shown, the method includes the following steps 501 to 502:
[0157] Step 501: Define a new first field in the specific object of the first message; carry the first configuration parameter in the newly defined first field.
[0158] One feasible way to carry BFD configuration parameters is as follows: the first message is a PCEP response message (PCRep, PathComputation Reply); a new BFD TLV field is defined in the RP object of the PCEP response message; the BFD configuration parameters are carried in the newly defined BFD TLV field. For example... Figure 6 As shown, type indicates that the newly defined TLV field is a BFD TLV, and the specific value is assigned by the international standards organization; Length indicates that the length of the newly defined TLV field is 24 bytes, excluding the length of the type and length fields; the definitions and meanings of other fields are the same as in RFC5880.
[0159] It is understandable that the RP object in the PCEP response message can carry not only the newly defined BFD TLV field, but also the newly defined B flag. When the B flag is set, it indicates that the configuration of BFD parameters is supported.
[0160] Step 502: Send the first message to the second communication device.
[0161] Understandably, by defining a new TLV field for the RP object of the PCEP response message, the PCEP response message can be extended, thereby enabling the configuration of BFD parameters for path connectivity detection while configuring the path or policy.
[0162] It should be noted that, in this embodiment of the application, the PCEP response message is extended by carrying the defined BFDTLV into the PCEP response message, so as to instruct the second communication device (such as PCC) to configure BFD at the same time when configuring the path.
[0163] Understandably, taking a PCEP request message as the second message and a PCEP response message as the first message, when the first communication device (e.g., PCE) receives a PCEP request message from a second communication device (e.g., PCC) containing an RP object with S and / or B bits, the PCEP response message must contain BFD / SBFD configuration parameters, regardless of whether the PCEP request message contains BFD / SBFD configuration parameters. The BFD / SBFD configuration parameters in the PCEP response message can be the same as those in the PCEP request message, or they can be set by the first communication device (e.g., PCE) according to a configuration strategy and thus differ from those in the PCEP request message. After receiving the PCEP response message containing BFD / SBFD configuration parameters, the second communication device (e.g., PCC) configures a BFD / SBFD session for the corresponding path in the PCEP response message according to the BFD / SBFD configuration parameters to detect the connectivity of the path.
[0164] Understandably, the first message can also be a message in the BGP protocol, by defining a new first field in a specific attribute of the BGP message; the newly defined first field carries BFD configuration parameters.
[0165] This application also provides a parameter configuration method. Figure 7 This is a schematic diagram illustrating the implementation flow of the parameter configuration method in an embodiment of this application. Taking the first configuration parameter as the BFD configuration parameter as an example, as follows... Figure 7 As shown, the method includes the following steps 701 to 702:
[0166] Step 701: Define a new first object in the first message; carry the first configuration parameter in the newly defined first object.
[0167] Another feasible way to carry BFD configuration parameters is as follows: the first message is a PCEP response message; a new BFD object is defined in the PCEP response message; and the BFD configuration parameters are carried in the newly defined BFD object. For example... Figure 8 As shown, the BFD object header (header, Figure 8 The definition of the first 4 bytes (of the object) follows the specifications and format of RFC5440; the specific values of object-class and OT are assigned by international standards organizations, indicating that this is a BFD object; the BFD object body (body, Figure 8 The definition of the last 24 bytes in the middle is as follows: Figure 8 The definition and meaning of its fields are the same as those in RFC5880.
[0168] Understandably, in addition to carrying the newly defined BFD object, the PCEP response message can also carry an RP object containing the newly defined B flag, which is set to indicate that configuration of BFD parameters is supported.
[0169] Step 702: Send the first message to the second communication device.
[0170] Understandably, by defining a new BFD object for the PCEP response message, the PCEP response message can be extended, thereby enabling the configuration of BFD parameters for path connectivity detection while configuring the path or policy.
[0171] It should be noted that, in this embodiment of the application, the PCEP response message is extended by carrying the defined BFD object into the PCEP response message, so as to instruct the second communication device (such as PCC) to configure BFD at the same time when configuring the path.
[0172] Understandably, the first message can also be a message in the BGP protocol, by defining a new first attribute in the BGP message; and carrying BFD configuration parameters in the newly defined first attribute.
[0173] This application also provides a parameter configuration method. Figure 9 This is a schematic diagram illustrating the implementation flow of the parameter configuration method in an embodiment of this application. Taking the second configuration parameter as the SBFD configuration parameter as an example, as follows... Figure 9 As shown, the method includes the following steps 901 to 902:
[0174] Step 901: Define a new second field in the specific object of the first message; carry the second configuration parameter in the newly defined second field.
[0175] One feasible way to carry SBFD configuration parameters is as follows: the first message is a PCEP response message; a new SBFD TLV field is defined in the RP object of the PCEP response message; the SBFD configuration parameters are carried in the newly defined SBFD TLV field. For example... Figure 10 As shown, type indicates that the newly defined TLV field is an SBFD TLV, and the specific value is assigned by the international standards organization; Length indicates that the length of the newly defined TLV field is 24 bytes, excluding the length of the type and length fields; the definitions and meanings of other fields are the same as in RFC5880.
[0176] Understandably, in addition to carrying the newly defined SBFD TLV field, the RP object in the PCEP response message can also carry the newly defined B flag. When the B flag is set, it indicates that the SBFD parameters can be configured.
[0177] Step 902: Send the first message to the second communication device.
[0178] Understandably, by defining a new TLV field in the RP object of the PCEP response message, the PCEP response message can be extended, thereby enabling the configuration of SBFD parameters for path connectivity detection while configuring the path or policy.
[0179] It should be noted that, in this embodiment of the application, the PCEP response message is extended by carrying the defined SBFD TLV into the PCEP response message, so as to instruct the second communication device (such as PCC) to configure SBFD at the same time when configuring the path.
[0180] Understandably, the first message can also be a message in the BGP protocol, by defining a new second field in a specific attribute of the BGP message; the newly defined second field carries SBFD configuration parameters.
[0181] This application also provides a parameter configuration method. Figure 11 This is a schematic diagram illustrating the implementation flow of the parameter configuration method in an embodiment of this application. Taking the second configuration parameter as the SBFD configuration parameter as an example, as follows... Figure 11 As shown, the method includes the following steps 1101 to 1102:
[0182] Step 1101: Define a new second object in the first message; carry the second configuration parameter in the newly defined second object.
[0183] Another feasible way to carry SBFD configuration parameters is as follows: the first message is a PCEP response message; a new SBFD object is defined in the PCEP response message; the SBFD configuration parameters are carried in the newly defined SBFD object. For example... Figure 12 As shown, the SBFD object header (header, Figure 12 The definition of the first 4 bytes (in the code) follows the specifications and format of RFC5440; the specific values of object-class and OT are assigned by international standards organizations, indicating that this is an SBFD object; the SBFD object body (body, Figure 12 The definition of the last 24 bytes in the middle is as follows: Figure 12 The definition and meaning of its fields are the same as those in RFC5880.
[0184] Understandably, in addition to carrying the newly defined SBFD object, the PCEP response message can also carry the newly defined B flag, which is set to indicate that SBFD parameters can be configured.
[0185] Step 1102: Send the first message to the second communication device.
[0186] Understandably, by defining a new SBFD object for the PCEP response message, the PCEP response message can be extended, thereby enabling the configuration of SBFD parameters for path connectivity detection while configuring the path or policy.
[0187] It should be noted that, in this embodiment of the application, the PCEP response message is extended by carrying the defined SBFD object into the PCEP response message, so as to instruct the second communication device (such as PCC) to configure SBFD at the same time when configuring the path.
[0188] Understandably, the first message can also be a message in the BGP protocol, by defining a new second attribute in the BGP message; the newly defined second attribute carries SBFD configuration parameters.
[0189] Figure 13 This is a schematic diagram illustrating the implementation flow of the parameter configuration method in an embodiment of this application, applied to a second communication device, such as... Figure 13 As shown, the method includes the following steps 1301 to 1302:
[0190] Step 1301: Send a second message to the first communication device; the second message is used to request the configuration of a path or policy, and the parameters for configuring path connectivity detection.
[0191] In some embodiments, the second communication device may request the first communication device to configure a primary path and a backup path, and request the first communication device to configure parameters for detecting the status of the primary path and the backup path, such as BFD parameters or SBFD parameters.
[0192] Step 1302: Receive a first message sent by the first communication device; the first message carries first information and a first configuration parameter or a second configuration parameter.
[0193] The first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection.
[0194] It is understandable that new content can be defined in the second message; the newly defined content can be used to request the configuration path or strategy, as well as the parameters for configuring path connectivity detection.
[0195] It is understandable that when using the PCEP protocol, the second message in PCEP is extended by adding new flags to existing objects to request the configuration of paths or policies, as well as the parameters for configuring path connectivity detection.
[0196] Understandably, when using the BGP protocol, the second message in BGP is extended by adding new flags to existing attributes to request the configuration of paths or policies, as well as parameters for configuring path connectivity detection.
[0197] As described above, by extending the third message, the first communication device and the second communication device can inform each other whether they support configuring the first parameter and the second parameter when establishing a session. If both parties support configuring the first parameter and the second parameter, a session is established between the second communication device and the first communication device, and the second communication device then sends a second message to the first communication device.
[0198] This application also provides a parameter configuration method. Figure 14 This is a schematic diagram illustrating the implementation flow of the parameter configuration method in an embodiment of this application, as shown below. Figure 14 As shown, the method includes the following steps 1401 to 1402:
[0199] Step 1401: Define two new flag bits in the specific object of the second message; the two flag bits are used to request the configuration of the first parameter and the second parameter, respectively.
[0200] One feasible way to extend the PECP request message is as follows: the second message is a PCEP request message; a first flag and a second flag are newly defined in the RP object of the PCEP request message; the first flag is used to request the configuration of the first parameter; the second flag is used to request the configuration of the second parameter. For example... Figure 15 As shown, two new flags are defined to represent requests for configuring BFD and SBFD, respectively. The B flag indicates a request to configure BFD parameters, and the S flag indicates a request to configure SBFD parameters.
[0201] Optionally, when requesting BFD / SBFD configuration, relevant parameters can also be carried. The methods for carrying BFD or SBFD parameters have been described above and will not be repeated here.
[0202] Step 1402: Send the second message to the first communication device; the second message is used to request the configuration of a path or policy, and to configure the parameters for path connectivity detection.
[0203] Figure 16 This is a schematic diagram illustrating the implementation flow of the parameter configuration method in an embodiment of this application, applied to a first communication device, such as... Figure 16 As shown, the method includes the following steps 1601 to 1602:
[0204] Step 1601: Send a fourth message to the second communication device; the fourth message carries first information and first configuration parameters or second configuration parameters.
[0205] The first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection.
[0206] It is understood that new content can be defined in the fourth message; the newly defined content carries the first configuration parameter or the second configuration parameter.
[0207] It is understandable that, for stateful PCE, when the fourth message is a PCEP initialization message, the initialization message in the PCEP is extended, and the path connectivity detection parameters are sent by adding objects or adding TLVs to existing objects.
[0208] It is understandable that, for the BGP protocol, when the fourth message is a message in BGP, the message in BGP is extended by adding attributes or adding TLVs or sub-TLVs to existing attributes to complete the distribution of path connectivity detection parameters.
[0209] As described above, by extending the third message, the first communication device and the second communication device can inform each other whether they support configuring the first and second parameters when establishing a session. If both parties support configuring the first and second parameters, a session is established between the second communication device and the first communication device, and then the first communication device sends a fourth message to the second communication device.
[0210] The following section explains how to expand the fourth message in different cases.
[0211] In the first scenario, a third field is defined in a specific object of the fourth message; the first configuration parameter is carried in the newly defined third field.
[0212] The fourth message is the PCEP initialization message; a new BFD TLV field is defined in the SRP object of the PCEP initialization message; the newly defined BFD TLV field carries BFD configuration parameters. The definition of BFD TLV in the SRP object is the same as the definition of BFD TLV in the RP object described above. The value of type can be the same as the BFD TLV in the RP, or a new type value can be assigned to the BFD TLV in the SRP by the international standards organization.
[0213] In the second scenario, a third object is defined in the fourth message; the first configuration parameters are carried in the newly defined third object.
[0214] The fourth message is the PCEP initialization message; a new BFD object is defined in the PCEP initialization message; the newly defined BFD object carries BFD configuration parameters. The BFD object has been described above. Optionally, the international standards organization can assign a new type value (determined by the object-class and OT fields) to the BFD object in the PCEP initialization message, or the type value of the BFD object in the PCEP request message can be used.
[0215] In the third scenario, a new fourth field is defined in a specific object of the fourth message; the second configuration parameter is carried in the newly defined fourth field.
[0216] The fourth message is the PCEP initialization message; a new SBFDTLV field is defined in the SRP object of the PCEP initialization message; the newly defined SBFD TLV field carries SBFD configuration parameters. The definition of SBFD TLV in SRP is the same as that in RP. The value of type can be the same as that of SBFD TLV in RP, or a new type value can be assigned to the SBFD TLV in SRP by the international standards organization.
[0217] In the fourth scenario, a new fourth object is defined in the fourth message; the second configuration parameter is carried in the newly defined fourth object.
[0218] The fourth message is a PCEP initialization message; a new SBFD object is defined in the PCEP initialization message; the newly defined SBFD object carries SBFD configuration parameters. The SBFD object has been described above. Optionally, the international standards organization can assign a new type value (determined by the object-class and OT fields) to the SBFD object in the PCEP initialization message, or the type value of the SBFD object in the PCEP request message can be used.
[0219] It is understandable that, in addition to carrying the newly defined BFD TLV, BFD object, SBFDTLV, and SBFD object, the PCEP initialization message can also carry a B flag requesting BFD configuration, indicating a request to configure BFD parameters; or, it can also carry an S flag requesting SBFD configuration, indicating a request to configure SBFD parameters, such as... Figure 17 As shown.
[0220] It is understood that the fourth message can also be a message in the BGP protocol, by defining a new third field in a specific attribute of the BGP message and carrying BFD configuration parameters in the newly defined third field; or by defining a new third attribute in the BGP message and carrying BFD configuration parameters in the newly defined third attribute; or by defining a new fourth field in a specific attribute of the BGP message and carrying SBFD configuration parameters in the newly defined fourth field; or by defining a new fourth attribute in the BGP message and carrying SBFD configuration parameters in the newly defined fourth attribute.
[0221] Figure 18 This is a schematic diagram illustrating the implementation flow of the parameter configuration method in an embodiment of this application, applied to a first communication device, such as... Figure 18 As shown, the method includes the following steps 1801:
[0222] Step 1801: Send a fifth message to the second communication device; the fifth message instructs the second communication device to perform path or policy configuration updates, as well as configuration updates of the first parameter and the second parameter.
[0223] Understandably, after the first communication device (e.g., PCE) sends a fourth message (e.g., a PCEP initialization message) to the second communication device (e.g., PCC), the PCC, upon receiving the PCEP initialization message carrying BFD / SBFD configuration parameters, configures a BFD / SBFD session for the corresponding path in the PCEP initialization message according to the BFD / SBFD configuration parameters, for detecting the connectivity of the path. Then, if the PCC detects a path failure, the PCC can request the PCE to update the path or policy configuration, as well as the configuration of the path connectivity detection parameters.
[0224] It is understood that new content can be defined in the fifth message; the newly defined content carries the updated first configuration parameter or second configuration parameter.
[0225] It is understandable that, for stateful PCE, when the fifth message is a PCEP update message, the update message in PCEP is extended, and the updated path connectivity detection parameters are sent out by adding objects or adding TLVs to existing objects.
[0226] It is understandable that, for the BGP protocol, when the fifth message is a message in BGP, the message in BGP is extended by adding attributes or adding TLVs or sub-TLVs to existing attributes to complete the distribution of updated path connectivity detection parameters.
[0227] The following section explains how to expand the fifth message in different cases.
[0228] In the first scenario, a new fifth field is defined in a specific object of the fifth message; the updated first configuration parameter is carried in the newly defined fifth field.
[0229] The fifth message is a PCEP update message (PCUpd, Path Computation LSP Update Request message); a new BFD TLV field is defined in the SRP object of the PCEP update message; the updated BFD configuration parameters are carried in the newly defined BFD TLV field.
[0230] It is understandable that the SRP object in the PCEP update message can carry not only the newly defined BFD TLV field, but also the newly defined B flag. When the B flag is set, it indicates that the configuration of BFD parameters is supported.
[0231] In the second scenario, a new fifth object is defined in the fifth message; the newly defined fifth object carries the updated first configuration parameters.
[0232] The fifth message is a PCEP update message; a new BFD object is defined in the PCEP update message; the updated BFD configuration parameters are carried in the newly defined BFD object.
[0233] Understandably, in addition to carrying the newly defined BFD object, the PCEP update message can also carry the newly defined B flag, which is set to indicate that the BFD parameters can be configured.
[0234] In the third scenario, a sixth field is defined in a specific object of the fifth message; the second configuration parameter is carried in the newly defined sixth field.
[0235] The fifth message is a PCEP update message; a new SBFD TLV field is defined in the SRP object of the PCEP update message; the updated SBFD configuration parameters are carried in the newly defined SBFD TLV field.
[0236] Understandably, in addition to carrying the newly defined SBFD TLV field, the SRP object in the PCEP update message can also carry the newly defined S flag bit. When the S flag bit is set, it indicates that the SBFD parameters can be configured.
[0237] In the fourth scenario, a new sixth object is defined in the fifth message; the newly defined sixth object carries the updated second configuration parameters.
[0238] The fifth message is a PCEP update message; a new SBFD object is defined in the PCEP update message; the updated SBFD configuration parameters are carried in the newly defined SBFD object.
[0239] Understandably, in addition to carrying the newly defined SBFD object, the PCEP update message can also carry the newly defined S flag, which is set to indicate that the SBFD parameters can be configured.
[0240] Understandably, the way to extend the PCEP update message is to include the aforementioned extended SRP object, BFDTLV, SBFD TLV, BFD object, and SBFD object into the PCEP update message, so as to instruct the second communication device (such as PCC) to perform BFD / SBFD update configuration at the same time when performing path update configuration.
[0241] It is understood that the fifth message can also be a message in the BGP protocol, by defining a new fifth field in a specific attribute of the BGP message and carrying the updated BFD configuration parameters in the newly defined fifth field; or by defining a new fifth attribute in the BGP message and carrying the updated BFD configuration parameters in the newly defined fifth attribute; or by defining a new sixth field in a specific attribute of the BGP message and carrying the updated SBFD configuration parameters in the newly defined sixth field; or by defining a new sixth attribute in the BGP message and carrying the updated SBFD configuration parameters in the newly defined sixth attribute.
[0242] Figure 19 This is a schematic diagram illustrating the implementation flow of the parameter configuration method in an embodiment of this application, applied to a second communication device, such as... Figure 19 As shown, the method includes the following steps 1901:
[0243] Step 1901: Send a sixth message to the first communication device; the sixth message is used to notify the first communication device of the current path or policy configuration, its status, the current first configuration parameters and second configuration parameters, and the path connectivity status.
[0244] Understandably, if the second communication device detects a path failure, it can send a sixth message to the first communication device; after receiving the sixth message, the first communication device can send a fifth message to the second communication device to instruct the second communication device to update the path or policy configuration and the configuration of the path connectivity detection parameters.
[0245] It is understandable that new content is defined in the sixth message; the newly defined content carries the current first configuration parameter and path connectivity status, or the second configuration parameter and path connectivity status.
[0246] It is understandable that, for stateful PCE, when the sixth message is a PCEP report message, the report message in PCEP is extended by adding objects or adding TLVs to existing objects to notify the first communication device of the current path or policy configuration, its status, the current first configuration parameters and second configuration parameters, and the path connectivity status.
[0247] It is understandable that, for the BGP protocol, when the sixth message is a message in BGP, the message in BGP is extended by adding attributes or adding TLVs or sub-TLVs to existing attributes to notify the first communication device of the current path or policy configuration, its status, the current first configuration parameters and second configuration parameters, and the path connectivity status.
[0248] The following section explains how to expand the sixth message in different cases.
[0249] In the first case, a new seventh field is defined in a specific object of the sixth message; the newly defined seventh field carries the current first configuration parameter and the path connectivity status.
[0250] The sixth message is the PCEP report message (PCRpt, Path Computation LSP State Report message); a new BFD TLV field is defined in the SRP object of the PCEP report message; the newly defined BFD TLV field carries the current BFD configuration parameters and path connectivity status.
[0251] It is understandable that the SRP object in the PCEP report message can carry not only the newly defined BFD TLV field, but also the newly defined B flag. When the B flag is set, it indicates that the configuration of BFD parameters is supported.
[0252] In the second scenario, a new seventh object is defined in the sixth message; the newly defined seventh object carries the current first configuration parameters and the path connectivity status.
[0253] The sixth message is a PCEP report message; a new BFD object is defined in the PCEP report message; the newly defined BFD object carries the current BFD configuration parameters and path connectivity status.
[0254] Understandably, in addition to carrying the newly defined BFD object, the PCEP report message can also carry the newly defined B flag, which is set to indicate that the BFD parameters can be configured.
[0255] In the third scenario, a new eighth field is defined in a specific object of the sixth message; the newly defined eighth field carries the current second configuration parameter and the path connectivity status.
[0256] In some embodiments, the sixth message is a PCEP report message; a new SBFD TLV field is defined in the SRP object of the PCEP report message; the newly defined SBFD TLV field carries the current SBFD configuration parameters and path connectivity status.
[0257] It is understandable that the SRP object in the PCEP report message can carry not only the newly defined SBFD TLV field, but also the newly defined S flag. When the S flag is set, it indicates that the SBFD parameters can be configured.
[0258] In the fourth scenario, a new eighth object is defined in the sixth message; the newly defined eighth object carries the current second configuration parameters and the path connectivity status.
[0259] The sixth message is a PCEP report message; a new SBFD object is defined in the PCEP report message; the newly defined SBFD object carries the current SBFD configuration parameters and path connectivity status.
[0260] Understandably, in addition to carrying the newly defined SBFD object, the PCEP report message can also carry the newly defined S flag, which is set to indicate that SBFD parameters can be configured.
[0261] Understandably, the way to extend the PCEP report message is to include the aforementioned extended SRP object, BFDTLV, SBFD TLV, BFD object, and SBFD object into the PCEP report message to inform the first communication device (such as the PCE) of the BFD / SBFD parameters and status configured for the corresponding path. After receiving the PCEP report message carrying the BFD / SBFD configuration parameters and status, the PCE can modify the BFD / SBFD configuration parameters, or adjust or optimize the corresponding path, and then send the updated path and BFD / SBFD configuration information to the PCC through the aforementioned PCEP update message.
[0262] It should be noted that, in the various embodiments of this application, firstly, BFD / SBFD can be configured simultaneously for path connectivity detection when configuring TE or SR policy paths. Secondly, detailed extensions to the PCEP path configuration protocol are provided, including extensions to capability declarations, methods for carrying BFD parameters, and methods for carrying SBFD parameters. Other protocols such as BGP can also be extended using the same methods. Thirdly, for bidirectional tunnels and policies, by using the parameter configuration method proposed in this application to configure the path and BFD / SBFD parameters in one direction at the head and tail nodes of the tunnel and policy paths respectively, automatic configuration of BFD / SBFD for bidirectional tunnels and policy paths can be achieved, and the incoming and outgoing paths of BFD / SBFD can be made consistent with the incoming and outgoing paths of bidirectional tunnels / policies.
[0263] To implement the parameter configuration method of this application embodiment, this application embodiment also provides a parameter configuration device, which is disposed on a first communication device. Figure 20 This is a schematic diagram of the composition structure of the parameter configuration device in an embodiment of this application; as shown Figure 20 As shown, the device includes:
[0264] The first receiving unit 201 is used to receive a second message sent by the second communication device; the second message is used to request the configuration of a path or policy, and to configure parameters for path connectivity detection.
[0265] The first sending unit 202 is used to send a first message to the second communication device; the first message carries first information and a first configuration parameter or a second configuration parameter;
[0266] Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection.
[0267] In one embodiment, the first transmitting unit 202 is specifically used for:
[0268] Define new content in the first message; carry the first configuration parameter or the second configuration parameter in the newly defined content; send the first message to the second communication device.
[0269] The step of defining new content in the first message, and carrying the first configuration parameter or the second configuration parameter in the newly defined content, includes:
[0270] Define a new first field in a specific attribute of the first message; carry the first configuration parameter in the newly defined first field;
[0271] or,
[0272] Define a second field in a specific attribute of the first message; carry the second configuration parameter in the newly defined second field;
[0273] or,
[0274] Define a new first attribute in the first message; carry the first configuration parameter in the newly defined first attribute;
[0275] or,
[0276] Define a new second attribute in the first message; carry the second configuration parameter in the newly defined second attribute.
[0277] The step of defining new content in the first message, and carrying the first configuration parameter or the second configuration parameter in the newly defined content, includes:
[0278] Define a new first field in a specific object of the first message; carry the first configuration parameter in the newly defined first field; send the first message to the second communication device;
[0279] or,
[0280] Define a new first object in the first message; carry the first configuration parameters in the newly defined first object; send the first message to the second communication device;
[0281] or,
[0282] Define a second field in a specific object of the first message; carry the second configuration parameter in the newly defined second field; send the first message to the second communication device;
[0283] or,
[0284] In the first message, a second object is defined; the second configuration parameter is carried in the newly defined second object; and the first message is sent to the second communication device.
[0285] In one embodiment, the first sending unit 202 is further configured to: send a third message to the second communication device before receiving the second message sent by the second communication device through the first receiving unit 201; the third message is used to indicate that the first communication device supports configuring the first parameter and the second parameter.
[0286] Specifically, a new field is defined in a specific object of the third message; the newly defined field carries two flag bits; the two flag bits are used to indicate that the first communication device supports the configuration of the first parameter and the second parameter.
[0287] In practical applications, the first receiving unit 201 and the first sending unit 202 can be implemented by the communication interface in the parameter configuration device.
[0288] It should be noted that the parameter configuration device provided in the above embodiments is only illustrated by the division of the above program modules. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the parameter configuration device and parameter configuration method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0289] To implement the parameter configuration method of this application embodiment, this application embodiment also provides a parameter configuration device, which is disposed on a second communication device. Figure 21This is a schematic diagram of the composition structure of the parameter configuration device in an embodiment of this application; as shown Figure 21 As shown, the device includes:
[0290] The second sending unit 211 is used to send a second message to the first communication device; the second message is used to request the configuration of a path or policy, and to configure parameters for path connectivity detection.
[0291] The second receiving unit 212 is used to receive a first message sent by the first communication device; the first message carries first information and a first configuration parameter or a second configuration parameter.
[0292] Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection.
[0293] In one embodiment, the second transmitting unit 211 is specifically used for:
[0294] Two new flag bits are defined in a specific object of the second message; the two flag bits are used to request the configuration of the first parameter and the second parameter, respectively.
[0295] In one embodiment, the second sending unit 211 is further configured to: send a third message to the first communication device before sending the second message to the first communication device; the third message is used to instruct the second communication device to support the configuration of the first parameter and the second parameter.
[0296] Specifically, a new field is defined in a specific object of the third message; the newly defined field carries two flag bits; the two flag bits are used to indicate that the second communication device supports the configuration of the first parameter and the second parameter.
[0297] In practical applications, the second sending unit 211 and the second receiving unit 212 can be implemented by the communication interface in the parameter configuration device.
[0298] It should be noted that the parameter configuration device provided in the above embodiments is only illustrated by the division of the above program modules. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the parameter configuration device and parameter configuration method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0299] To implement the parameter configuration method of this application embodiment, this application embodiment also provides a parameter configuration device, which is disposed on a first communication device. Figure 22 This is a schematic diagram of the composition structure of the parameter configuration device in an embodiment of this application; as shown Figure 22 As shown, the device includes:
[0300] The third sending unit 221 is used to send a fourth message to the second communication device; the fourth message carries first information and a first configuration parameter or a second configuration parameter.
[0301] Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection.
[0302] In one embodiment, the third transmitting unit 221 is specifically used for:
[0303] The fourth message defines new content; the newly defined content carries the first configuration parameter or the second configuration parameter; the fourth message is sent to the second communication device.
[0304] The fourth message includes newly defined content; the newly defined content carries either the first configuration parameter or the second configuration parameter, including:
[0305] Define a new third field in a specific object of the fourth message; carry the first configuration parameter in the newly defined third field;
[0306] or,
[0307] A third object is defined in the fourth message; the first configuration parameter is carried in the newly defined third object;
[0308] or,
[0309] Define a new fourth field in a specific object of the fourth message; carry the second configuration parameter in the newly defined fourth field;
[0310] or,
[0311] A new fourth object is defined in the fourth message; the second configuration parameter is carried in the newly defined fourth object.
[0312] In one embodiment, the third sending unit 221 is further configured to: send a fourth message to the second communication device, and then send a fifth message to the second communication device; the fifth message instructs the second communication device to perform path or policy configuration updates, as well as configuration updates of the first parameter and the second parameter.
[0313] In one embodiment, the third transmitting unit 221 is specifically used for:
[0314] The fifth message defines new content; the newly defined content carries the updated first configuration parameter or second configuration parameter; and the fifth message is sent to the second communication device.
[0315] The newly defined content in the fifth message includes updated first or second configuration parameters, including:
[0316] A new fifth field is defined in a specific object of the fifth message; the updated first configuration parameter is carried in the newly defined fifth field.
[0317] or,
[0318] A new fifth object is defined in the fifth message; the updated first configuration parameters are carried in the newly defined fifth object.
[0319] or,
[0320] A new sixth field is defined in a specific object of the fifth message; the updated second configuration parameter is carried in the newly defined sixth field.
[0321] or,
[0322] In the fifth message, a new sixth object is defined; the newly defined sixth object carries the updated second configuration parameters.
[0323] In one embodiment, the apparatus further includes a third receiving unit, configured to: receive a sixth message sent by the second communication device after sending a fourth message to the second communication device via the third sending unit 221; the sixth message is configured to notify the first communication device of the current path or policy configuration, its status, the current first configuration parameters and second configuration parameters, and the path connectivity status.
[0324] In practical applications, the third sending unit 221 and the third receiving unit can be implemented by the communication interface in the parameter configuration device.
[0325] It should be noted that the parameter configuration device provided in the above embodiments is only illustrated by the division of the above program modules. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the parameter configuration device and parameter configuration method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0326] To implement the parameter configuration method of this application embodiment, this application embodiment also provides a parameter configuration device, which is disposed on a second communication device. Figure 23 This is a schematic diagram of the composition structure of the parameter configuration device in an embodiment of this application; as shown Figure 23 As shown, the device includes:
[0327] The fourth transmitting unit 231 is used for:
[0328] A sixth message is sent to the first communication device; the sixth message is used to notify the first communication device of the current path or policy, its status, the current first configuration parameters and second configuration parameters, and the path connectivity status.
[0329] In one embodiment, the fourth transmitting unit 231 is specifically used for:
[0330] The sixth message defines new content; the newly defined content carries the current first configuration parameters and path connectivity status, or the second configuration parameters and path connectivity status; the sixth message is sent to the first communication device.
[0331] The newly defined content in the sixth message carries the current first configuration parameter and path connectivity status, or the second configuration parameter and path connectivity status, including:
[0332] A new seventh field is defined in the specific object of the sixth message; the newly defined seventh field carries the current first configuration parameter and the path connectivity status.
[0333] or,
[0334] In the sixth message, a new seventh object is defined; the newly defined seventh object carries the current first configuration parameters and the path connectivity status.
[0335] or,
[0336] A new eighth field is defined in a specific object of the sixth message; the newly defined eighth field carries the current second configuration parameter and the path connectivity status.
[0337] or,
[0338] In the sixth message, a new eighth object is defined; the newly defined eighth object carries the current second configuration parameters and the path connectivity status.
[0339] In practical applications, the fourth sending unit 231 can be implemented by the communication interface in the parameter configuration device.
[0340] It should be noted that the parameter configuration device provided in the above embodiments is only illustrated by the division of the above program modules. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the parameter configuration device and parameter configuration method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0341] This application also provides a first communication device, such as... Figure 24 As shown, it includes:
[0342] The first communication interface 241 is capable of exchanging information with other devices;
[0343] The first processor 242, connected to the first communication interface 241, is used to execute the methods provided by one or more technical solutions on the intelligent device side when running a computer program. The computer program is stored in the first memory 243.
[0344] It should be noted that the specific processing procedures of the first processor 242 and the first communication interface 241 are detailed in the method embodiment and will not be repeated here.
[0345] Of course, in practical applications, the various components in the first communication device 240 are coupled together via a bus system 244. It can be understood that the bus system 244 is used to implement communication between these components. In addition to a data bus, the bus system 244 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 24 The general labeled all buses as Bus System 244.
[0346] The first memory 243 in this embodiment is used to store various types of data to support the operation of the first communication device 240. Examples of such data include any computer program used to operate on the first communication device 240.
[0347] The methods disclosed in the embodiments of this application can be applied to the first processor 242, or implemented by the first processor 242. The first processor 242 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware or by instructions in the form of software in the first processor 242. The first processor 242 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 242 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly reflected as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in the first memory 243. The first processor 242 reads the information in the first memory 243 and completes the steps of the aforementioned method in combination with its hardware.
[0348] This application also provides a second communication device, such as... Figure 25 As shown, it includes:
[0349] The second communication interface 251 is capable of exchanging information with other devices;
[0350] The second processor 252, connected to the second communication interface 251, is used to execute the methods provided by one or more technical solutions on the intelligent device side when running a computer program. The computer program is stored in the second memory 253.
[0351] It should be noted that the specific processing procedures of the second processor 252 and the second communication interface 251 are detailed in the method embodiment and will not be repeated here.
[0352] Of course, in practical applications, the various components in the second communication device 250 are coupled together via the bus system 254. It can be understood that the bus system 254 is used to implement communication between these components. In addition to the data bus, the bus system 125 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 25 The general labeled all buses as Bus System 254.
[0353] The second memory 253 in this embodiment is used to store various types of data to support the operation of the second communication device 250. Examples of such data include any computer program used to operate on the second communication device 250.
[0354] The methods disclosed in the embodiments of this application can be applied to the second processor 252, or implemented by the second processor 252. The second processor 252 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware or by instructions in the form of software in the second processor 252. The second processor 252 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The second processor 252 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in the second memory 253. The second processor 252 reads the information in the second memory 253 and completes the steps of the aforementioned method in conjunction with its hardware.
[0355] In an exemplary embodiment, the first communication device 240 and the second communication device 250 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.
[0356] It is understood that the memories (first memory 243, second memory 253) in the embodiments of this application can be volatile memories or non-volatile memories, or both. Non-volatile memories can be read-only memories (ROM), programmable read-only memories (PROM), erasable programmable read-only memories (EPROM), electrically erasable programmable read-only memories (EEPROM), magnetic random access memories (FRAM), flash memories, magnetic surface memories, optical discs, or compact disc read-only memories (CD-ROM); magnetic surface memories can be disk storage or magnetic tape storage. Volatile memories can be random access memories (RAM), which are used as external caches. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memories.
[0357] In an exemplary embodiment, this application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, such as a first memory 243 storing a computer program. This computer program can be executed by the first processor 242 of the first communication device 240 to complete the steps described in the aforementioned control server-side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.
[0358] It should be noted that terms such as "first" and "second" are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0359] Furthermore, the technical solutions described in the embodiments of this application can be combined arbitrarily without conflict.
[0360] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application.
Claims
1. A parameter configuration method, characterized in that, Applied to a first communication device, the method includes: Receive a second message sent by a second communication device; the second message is used to request the configuration of a path or policy, and to configure parameters for path connectivity detection; Send a first message to the second communication device; the first message carries first information and a first configuration parameter or a second configuration parameter; Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection; Sending the first message to the second communication device includes: Define new content in the first message; carry the first configuration parameter or the second configuration parameter in the newly defined content; send the first message to the second communication device.
2. The method according to claim 1, characterized in that, The newly defined content in the first message; The newly defined content carries either the first configuration parameter or the second configuration parameter, including: Define a new first field in a specific attribute of the first message; carry the first configuration parameter in the newly defined first field; or, Define a second field in a specific attribute of the first message; carry the second configuration parameter in the newly defined second field; or, Define a new first attribute in the first message; carry the first configuration parameter in the newly defined first attribute; or, Define a new second attribute in the first message; carry the second configuration parameter in the newly defined second attribute.
3. The method according to claim 1, characterized in that, The newly defined content in the first message; The newly defined content carries either the first configuration parameter or the second configuration parameter, including: Define a new first field in a specific object of the first message; carry the first configuration parameter in the newly defined first field; or, Define a second field in a specific object of the first message; carry the second configuration parameter in the newly defined second field; or, Define a new first object in the first message; carry the first configuration parameters in the newly defined first object; or, A second object is defined in the first message; the second configuration parameter is carried in the newly defined second object.
4. The method according to claim 1, characterized in that, Before receiving the second message sent by the second communication device, the method further includes: The first communication device sends a third message to the second communication device; the third message is used to indicate that the first communication device supports the configuration of the first parameter and the second parameter.
5. The method according to claim 4, characterized in that, The method further includes: A new field is defined in a specific object of the third message; the newly defined field carries two flag bits; the two flag bits are used to indicate that the first communication device supports the configuration of the first parameter and the second parameter.
6. A parameter configuration method, characterized in that, Applied to a second communication device, the method includes: Send a second message to the first communication device; the second message is used to request the configuration of a path or policy, and the parameters for configuring path connectivity detection. Receive a first message sent by the first communication device; the first message carries first information and a first configuration parameter or a second configuration parameter; Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection; The receiving of the first message sent by the first communication device includes: The first communication device defines new content in the first message; carries the first configuration parameter or the second configuration parameter in the newly defined content; and receives the first message sent by the first communication device.
7. The method according to claim 6, characterized in that, Sending the second message to the first communication device includes: Two new flag bits are defined in a specific object of the second message; the two flag bits are used to request the configuration of the first parameter and the second parameter, respectively.
8. The method according to claim 6, characterized in that, Before sending the second message to the first communication device, the method further includes: The second communication device sends a third message to the first communication device; the third message is used to instruct the second communication device to support the configuration of the first parameter and the second parameter.
9. The method according to claim 8, characterized in that, The method further includes: A new field is defined in a specific object of the third message; the newly defined field carries two flag bits; the two flag bits are used to indicate that the second communication device supports the configuration of the first parameter and the second parameter.
10. A parameter configuration method, characterized in that, Applied to a first communication device, the method includes: Send a fourth message to the second communication device; the fourth message carries first information and a first configuration parameter or a second configuration parameter; Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection; Sending the fourth message to the second communication device includes: The fourth message defines new content; the newly defined content carries the first configuration parameter or the second configuration parameter; the fourth message is sent to the second communication device.
11. The method according to claim 10, characterized in that, The newly defined content in the fourth message; the newly defined content carries the first configuration parameter or the second configuration parameter, including: Define a new third field in a specific object of the fourth message; carry the first configuration parameter in the newly defined third field; or, A third object is defined in the fourth message; the first configuration parameters are carried in the newly defined third object; or, Define a new fourth field in a specific object of the fourth message; carry the second configuration parameter in the newly defined fourth field; or, A fourth object is defined in the fourth message; the second configuration parameter is carried in the newly defined fourth object.
12. The method according to claim 10, characterized in that, After sending the fourth message to the second communication device, the method further includes: A fifth message is sent to the second communication device; the fifth message instructs the second communication device to perform path or policy configuration updates, as well as configuration updates for the first parameter and the second parameter.
13. The method according to claim 12, characterized in that, Sending the fifth message to the second communication device includes: The fifth message defines new content; the newly defined content carries the updated first configuration parameter or second configuration parameter; and the fifth message is sent to the second communication device.
14. The method according to claim 13, characterized in that, The newly defined content in the fifth message; The newly defined content carries the updated first or second configuration parameter, including: A new fifth field is defined in a specific object of the fifth message; the updated first configuration parameter is carried in the newly defined fifth field. or, A new fifth object is defined in the fifth message; the updated first configuration parameters are carried in the newly defined fifth object. or, A new sixth field is defined in a specific object of the fifth message; the updated second configuration parameter is carried in the newly defined sixth field. or, In the fifth message, a new sixth object is defined; the newly defined sixth object carries the updated second configuration parameters.
15. The method according to claim 10, characterized in that, After sending the fourth message to the second communication device, the method includes: The first communication device receives a sixth message sent by the second communication device. The sixth message is used to notify the first communication device of the current path or policy, its status, the current first configuration parameters and second configuration parameters, and the path connectivity status.
16. A parameter configuration method, characterized in that, Applied to a second communication device, the method includes: A sixth message is sent to the first communication device; the sixth message is used to notify the first communication device of the current path or policy, its status, the current first configuration parameters and second configuration parameters, and the path connectivity status. Before sending the sixth message to the first communication device, the method further includes: The second communication device receives a fourth message sent by the first communication device. The fourth message carries first information and a first configuration parameter or a second configuration parameter. The first information is used for the second communication device to configure a path or policy. The first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy. The second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy. The first parameter or the second parameter is used for the second communication device to perform path connectivity detection. The receiving of the fourth message sent by the first communication device includes: The first communication device defines new content in the fourth message; carries the first configuration parameter or the second configuration parameter in the newly defined content; and receives the fourth message sent by the first communication device.
17. The method according to claim 16, characterized in that, Sending the sixth message to the first communication device includes: The sixth message defines new content; the newly defined content carries the current first configuration parameters and path connectivity status, or the second configuration parameters and path connectivity status; the sixth message is sent to the first communication device.
18. The method according to claim 17, characterized in that, The newly defined content in the sixth message; The newly defined content carries the current first configuration parameter and path connectivity status, or the second configuration parameter and path connectivity status, including: A new seventh field is defined in a specific object of the sixth message; the newly defined seventh field carries the current first configuration parameter and the path connectivity status. or, In the sixth message, a new seventh object is defined; the newly defined seventh object carries the current first configuration parameters and the path connectivity status. or, A new eighth field is defined in a specific object of the sixth message; the newly defined eighth field carries the current second configuration parameter and the path connectivity status. or, In the sixth message, a new eighth object is defined; the newly defined eighth object carries the current second configuration parameters and the path connectivity status.
19. A parameter configuration device, characterized in that, Applied to a first communication device, including: The first receiving unit is used to receive a second message sent by the second communication device; the second message is used to request the configuration of a path or policy, and to configure parameters for path connectivity detection. The first sending unit is configured to send a first message to the second communication device; the first message carries first information and a first configuration parameter or a second configuration parameter. Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection; The first sending unit is specifically used for: defining new content in the first message; carrying the first configuration parameter or the second configuration parameter in the newly defined content; and sending the first message to the second communication device.
20. A parameter configuration device, characterized in that, Applied to a second communication device, including: The second sending unit is used to send a second message to the first communication device; the second message is used to request the configuration of a path or policy, and to configure parameters for path connectivity detection. The second receiving unit is configured to receive a first message sent by the first communication device; the first message carries first information and a first configuration parameter or a second configuration parameter. Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection; The second receiving unit is specifically used for: the first sending unit defining new content in the first message; carrying the first configuration parameter or the second configuration parameter in the newly defined content; and receiving the first message sent by the first sending unit.
21. A parameter configuration device, characterized in that, Applied to a first communication device, including: The third sending unit is used to send a fourth message to the second communication device; the fourth message carries first information and a first configuration parameter or a second configuration parameter. Wherein, the first information is used for the second communication device to configure a path or policy; the first configuration parameter is used for the second communication device to configure a first parameter while configuring a path or policy; the second configuration parameter is used for the second communication device to configure a second parameter while configuring a path or policy; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection; The third sending unit is specifically used for: defining new content in the fourth message; carrying the first configuration parameter or the second configuration parameter in the newly defined content; and sending the fourth message to the second communication device.
22. The apparatus according to claim 21, characterized in that, The third sending unit is further configured to send a fourth message to the second communication device, and then send a fifth message to the second communication device; the fifth message instructs the second communication device to perform path or policy configuration updates, as well as configuration updates of the first parameter and the second parameter.
23. The apparatus according to claim 21, characterized in that, The device further includes: The third receiving unit is configured to receive a sixth message sent by the second communication device after sending a fourth message to the second communication device through the third sending unit; the sixth message is configured to notify the first communication device of the current path or policy, its status, the current first configuration parameters and second configuration parameters, and the path connectivity status.
24. A parameter configuration device, characterized in that, Applied to a second communication device, including: The fourth sending unit is used to send the sixth message to the first communication device; The sixth message is used to notify the first communication device of the current path or strategy, its status, the current first configuration parameters and second configuration parameters, and the path connectivity status. The second communication device is configured to receive a fourth message sent by the first communication device before the fourth sending unit sends a sixth message to the first communication device; the fourth message carries first information and a first configuration parameter or a second configuration parameter; wherein, the first information is used for the second communication device to perform path or policy configuration; the first configuration parameter is used for the second communication device to configure a first parameter while performing path or policy configuration; the second configuration parameter is used for the second communication device to configure a second parameter while performing path or policy configuration; the first parameter or the second parameter is used for the second communication device to perform path connectivity detection; The fourth receiving unit is specifically used for: the first communication device defining new content in the fourth message; carrying the first configuration parameter or the second configuration parameter in the newly defined content; and receiving the fourth message sent by the first communication device.
25. A first communication device, characterized in that, This includes a processor and memory for storing computer programs that can run on the processor. When the processor is used to run the computer program, it performs the steps of the method according to any one of claims 1 to 5, or performs the steps of the method according to any one of claims 10 to 15.
26. A second communication device, characterized in that, This includes a processor and memory for storing computer programs that can run on the processor. When the processor is used to run the computer program, it performs the steps of the method according to any one of claims 6 to 9, or performs the steps of the method according to any one of claims 16 to 18.
27. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 18.
Citation Information
Patent Citations
Method and device for creating bidirectional segment routing tunnel and storage medium
CN110061920A
Opaque profile identifiers for path computation element protocol
US20150249593A1