WO2022206391A1 - 订阅路径的方法、装置、系统及存储介质 - Google Patents

订阅路径的方法、装置、系统及存储介质 Download PDF

Info

Publication number
WO2022206391A1
WO2022206391A1 PCT/CN2022/081235 CN2022081235W WO2022206391A1 WO 2022206391 A1 WO2022206391 A1 WO 2022206391A1 CN 2022081235 W CN2022081235 W CN 2022081235W WO 2022206391 A1 WO2022206391 A1 WO 2022206391A1
Authority
WO
WIPO (PCT)
Prior art keywords
subscription
path
paths
network device
identifier
Prior art date
Application number
PCT/CN2022/081235
Other languages
English (en)
French (fr)
Inventor
刘冰
毛健炜
陈霞
徐玲
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP22778574.8A priority Critical patent/EP4319090A4/en
Publication of WO2022206391A1 publication Critical patent/WO2022206391A1/zh
Priority to US18/475,459 priority patent/US20240022505A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/302Route determination based on requested QoS
    • H04L45/308Route determination based on user's profile, e.g. premium users
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0882Utilisation of link capacity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/247Multipath using M:N active or standby paths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/742Route cache; Operation thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • the present application relates to the field of communications, and in particular, to a method, apparatus, system and storage medium for subscribing to a path.
  • the terminal can send a request to the control device of the bearer network, where the request includes the device identification and service requirements of the destination device.
  • the control device determines a path between the terminal and the destination device based on the request, and the path meets the service requirements of the terminal.
  • the control device sends a response to the terminal, the response including the identification of the path satisfying the service requirement of the terminal.
  • the terminal transmits service data between the terminal and the destination device based on the path determined by the control device.
  • the terminal needs to re-request the network management device to re-determine a path that meets the service requirements, which makes path planning less flexible and increases the burden on the control device.
  • the present application provides a method, apparatus, system and storage medium for subscribing to a path, so as to increase the flexibility of path planning and reduce the burden of control equipment.
  • the present application provides a method for subscribing to a path.
  • a first network device receives a first subscription request sent by a first subscribing device, and the first subscription request includes an identifier and a purpose of the first subscribing device. The identification of the device.
  • the first network device obtains the first subscription data based on the identification of the first subscription device and the identification of the destination device.
  • the first subscription data includes the identification of each of the N paths, where N is greater than 1, and any one of the N paths is used. It is used to realize the communication between the first subscription device and the destination device.
  • the first network device sends a first subscription response to the first subscription device, where the first subscription response includes first subscription data.
  • the first network device is a device in the network that communicates with the first subscription device. After receiving the first subscription request, the first network device obtains the identifiers of the N paths that enable the communication between the first subscription device and the destination device, and sends the first network device to the first subscription device.
  • the subscribing device sends first subscription data, where the first subscription data includes identifiers of the N paths, and the first subscribing device may select a path based on the first subscription data.
  • the first network device is responsible for acquiring the identifiers of multiple paths for these subscribing devices, and then each subscribing device selects a path for communicating with the destination device from the multiple paths, Compared with the current centralized determination of paths for all subscription devices in the network by the control device, the flexibility of path planning is increased and the burden of the control device is reduced.
  • the first network device receives a second subscription request sent by the first subscription device, where the second subscription request includes an identifier of each of the M paths, where M is greater than or equal to 1, and the M paths include on N paths.
  • the first network device acquires performance parameters of each of the M paths.
  • the first network device sends a second subscription response to the first subscription device, where the second subscription response includes performance parameters of each of the M paths. Since the second subscription response includes performance parameters of each of the M paths, the first subscribing device can select a path for communicating with the destination device from the M paths based on the performance parameters of each path, so that a path for communicating with the destination device can be selected. A path to meet business needs.
  • the first subscription data further includes performance parameters of each of the N paths.
  • the first subscribing device selects the M paths that meet the service requirements from the N paths based on the performance parameters of each path, and requests the first network device to subscribe to the paths that meet the service requirements.
  • the first network device receives a second subscription request sent by the first subscription device, where the second subscription request includes an identifier of each of the M paths, where M is greater than or equal to 1, and the M paths It is a path whose performance parameters meet business requirements among the N paths. Since the M paths are paths among the N paths whose performance parameters meet the service requirements, the M paths subscribed by the first network device for the first subscription device are all paths that meet the service requirements, and the first network device is subscribed to the first subscription device.
  • the device pushes the performance parameters of the M paths, and tries to ensure that the performance parameters of the M paths meet the service requirements, so that the first subscribing device can select the path that currently meets the service requirements based on the performance parameters of the M paths, so as to ensure that the first subscription device
  • the demand for service transmission between the subscribing device and the destination device is satisfied.
  • the first network device periodically acquires the performance parameter of each path in the M paths.
  • the first network device periodically sends second subscription data to the first subscription device, where the second subscription data includes an identifier of each of the M paths and a performance parameter of each path.
  • the first subscribing device can select a path that currently meets the service requirements among the M paths based on the performance parameters of each path, so as to ensure that the service transmission requirements between the first subscribing device and the destination device are satisfied.
  • the first network device acquires the performance parameter of each path in the M paths. After the performance parameter of the ith path in the M paths exceeds the threshold, the first network device sends third subscription data to the first subscription device, where the third subscription data includes the performance parameter of the ith path. Since the performance parameter of the ith path exceeds the threshold, the quality of the ith path is high and meets the service requirements of the first subscribing device, so as to ensure that the first subscribing device can select a path that meets the service requirements. Since the third subscription data includes the performance parameters of the i-th path, compared with the subscription data including the performance parameters of the M paths, the data volume of the third subscription data can be reduced, thereby reducing the occupation of network resources.
  • the first network device periodically acquires the performance parameter of each of the N paths.
  • the first network device periodically sends fourth subscription data to the first subscription device, where the fourth subscription data includes an identifier of each of the N paths and a performance parameter of each path.
  • the first subscribing device can select a path that currently meets the service requirements among the N paths based on the performance parameters of each path, so as to ensure that the service transmission requirements between the first subscribing device and the destination device are satisfied.
  • the first network device acquires performance parameters of each of the N paths. After the performance parameter of the jth path in the N paths exceeds the threshold, the first network device sends fifth subscription data to the first subscription device, where the fifth subscription data includes the performance parameter of the jth path. Since the performance parameter of the jth path exceeds the threshold, the quality of the jth path is high and meets the service requirements of the first subscribing device, so as to ensure that the first subscribing device can select a path that meets the service requirements. Since the fifth subscription data includes the performance parameters of the jth path, compared with the subscription data including the performance parameters of the N paths, the data volume of the fifth subscription data can be reduced, thereby reducing the occupation of network resources.
  • the first network device sends a third subscription request to the control device, where the third subscription request includes an identifier of the first subscription device and an identifier of the destination device.
  • the first network device receives a third subscription response sent by the control device, where the third subscription response includes the first subscription data.
  • the first network device acquires the first subscription data based on the cached identifier of each of the N paths. In this way, there is no need to request the control device to calculate N paths, thereby reducing the burden on the control device.
  • the present application provides a method for subscribing to a path.
  • a first subscribing device sends a first subscription request to a first network device, where the first subscription request includes an identifier of the first subscribing device and a destination device 's identification.
  • the first subscription device receives a first subscription response sent by the first network device, the first subscription response includes first subscription data, and the first subscription data includes an identifier of each of the N paths, where N is greater than 1, and among the N paths Any one of the paths is used to implement the communication between the first subscribing device and the destination device.
  • the first network device is a device in the network that communicates with the first subscription device, and the first subscription device sends a first subscription request to the first network device, requesting the first network device to obtain an N device that implements communication between the first subscription device and the destination device. an identifier of a path, and the first subscription device selects a path based on the first subscription data.
  • the first network device is responsible for acquiring the identifiers of multiple paths for these subscribing devices, and then each subscribing device selects a path for communicating with the destination device from the multiple paths.
  • the flexibility of path planning is increased and the burden of the control device is reduced.
  • the first subscription device selects M paths from the N paths, where M is greater than or equal to 1.
  • the first subscription device sends a second subscription request to the first network device, where the second subscription request includes an identifier of each of the M paths.
  • the first subscription device receives a second subscription response sent by the first network device, where the second subscription response includes performance parameters of each of the M paths. Since the second subscription response includes the performance parameters of each of the M paths, the first subscribing device selects a path for communicating with the destination device from the M paths based on the performance parameters of each path, so that it can select a path that satisfies the service requirements. path of demand.
  • the first subscription data further includes performance parameters of each of the N paths.
  • the first subscribing device selects M paths whose performance parameters meet the service requirements from the N paths, where M is greater than or equal to 1.
  • the first subscription device sends a second subscription request to the first network device, where the second subscription request includes an identifier of each of the M paths.
  • the first subscribing device selects M paths whose performance parameters meet the service requirements from the N paths
  • the M paths subscribed by the first network device for the first subscribing device are all paths that meet the service requirements, and the first network device is in the Push the performance parameters of the M paths to the first subscribing device, and try to ensure that the performance parameters of the M paths meet the service requirements, so that the first subscribing device can select the path that currently meets the service requirements based on the performance parameters of the M paths, In order to ensure that the service transmission requirements between the first subscription device and the destination device are satisfied.
  • the first subscription device receives second subscription data periodically sent by the first network device, where the second subscription data includes an identifier of each path in the M paths and performance parameters of each path.
  • the first subscribing device selects a path that currently meets the service requirements among the M paths, so as to ensure that the service transmission requirements between the first subscribing device and the destination device are satisfied.
  • the first subscription device receives third subscription data sent by the first network device, where the third subscription data includes performance parameters of the i-th path among the M paths, and performance parameters of the i-th path.
  • the parameter exceeds the threshold. Since the performance parameter of the ith path exceeds the threshold, the quality of the ith path is high and meets the service requirements of the first subscribing device, so as to ensure that the first subscribing device can select a path that meets the service requirements.
  • the third subscription data includes the performance parameters of the i-th path, compared with the subscription data including the performance parameters of the M paths, the data volume of the third subscription data can be reduced, thereby reducing the occupation of network resources.
  • the i-th path is any one of the M paths.
  • the first subscription device receives fourth subscription data periodically sent by the first network device, where the fourth subscription data includes an identifier of each of the N paths and performance parameters of each path.
  • the first subscribing device selects a path that currently meets the service requirements among the N paths, so as to ensure that the service transmission requirements between the first subscribing device and the destination device are satisfied.
  • the first subscription device receives fifth subscription data sent by the first network device, where the fifth subscription data includes performance parameters of the jth path among the N paths, and performance parameters of the jth path.
  • the parameter exceeds the threshold. Since the performance parameter of the jth path exceeds the threshold, the quality of the jth path is high and meets the service requirements of the first subscribing device, so as to ensure that the first subscribing device can select a path that meets the service requirements.
  • the fifth subscription data includes the performance parameters of the jth path, compared with the subscription data including the performance parameters of the N paths, the data volume of the fifth subscription data can be reduced, thereby reducing the occupation of network resources.
  • the jth path is any one of the N paths.
  • the present application provides an apparatus for subscribing to a path, which is used to execute the method in the first aspect or any possible implementation manner of the first aspect.
  • the apparatus includes a unit for performing the method in the first aspect or any possible implementation manner of the first aspect.
  • the present application provides an apparatus for subscribing to a path, for executing the method in the second aspect or any possible implementation manner of the second aspect.
  • the apparatus includes a unit for performing the method in the second aspect or any one possible implementation manner of the second aspect.
  • the present application provides an apparatus for subscribing to a path, the apparatus including a processor and a memory.
  • the processor and the memory may be connected through an internal connection.
  • the memory is used for storing a program
  • the processor is used for executing the program in the memory, so that the apparatus performs the method in the first aspect or any possible implementation manner of the first aspect.
  • the present application provides an apparatus for subscribing to a path, the apparatus including a processor and a memory.
  • the processor and the memory may be connected through an internal connection.
  • the memory is used for storing a program
  • the processor is used for executing the program in the memory, so that the apparatus performs the method of the second aspect or any possible implementation manner of the second aspect.
  • the present application provides a computer program product, the computer program product includes a computer program stored in a computer-readable storage medium, and the computer program is loaded by a processor to implement the first aspect, the first aspect, and the third aspect.
  • the second aspect any possible implementation manner of the first aspect, or any possible implementation manner of the second aspect.
  • the present application provides a computer-readable storage medium for storing a computer program, and the computer program is loaded by a processor to execute the first aspect, the second aspect, and any possible implementation manner of the first aspect. or any possible implementation of the second aspect.
  • the present application provides a chip, including a memory and a processor, the memory is used to store computer instructions, and the processor is used to call and run the computer instructions from the memory to execute the above-mentioned first aspect, second aspect, and the first aspect.
  • the present application provides a system for subscribing to a path, the system includes the device of the third aspect and the device of the fourth aspect, or the system includes the device of the fifth aspect and the fourth aspect.
  • Six aspect devices are provided.
  • FIG. 1 is a schematic diagram of a network architecture provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of another network architecture provided by an embodiment of the present application.
  • FIG. 3 is a flowchart of a method for subscribing to a path provided by an embodiment of the present application
  • FIG. 5 is a schematic structural diagram of an apparatus for a subscription path provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an apparatus for another subscription path provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an apparatus for another subscription path provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an apparatus for another subscription path provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a system structure of a subscription path provided by an embodiment of the present application.
  • an embodiment of the present application provides a network architecture 100 , including: a bearer network 1 and multiple devices 2 accessing the bearer network 1 .
  • the bearer network 1 includes a control device 11 and at least one network device 12 .
  • the control device 11 communicates with the at least one network device 12 .
  • a network connection is established between each of the at least one network device 12 and the control device 11 , so as to realize the communication between the network device and the control device 11 .
  • the multiple devices 2 accessing the bearer network 1 include a subscription device 21 , a data center 22 and/or a server 23 and other devices.
  • the device 2 communicates with the border device of the bearer network 1 .
  • the device 2 can reach the border device in one hop.
  • the bearer network 1 includes network devices 121 , 122 and 123 .
  • the network devices 121 and 123 are boundary devices of the bearer network 1 .
  • the subscription device 21 communicates with the network device 121 .
  • Data center 22 communicates with network device 123 .
  • the subscribing device 21 can go directly to the network device 121 in one hop.
  • the data center 22 can reach the network equipment 123 in one hop.
  • the at least one network device 12 includes provider edge (PE), router, switch, gateway, base station, user plane function (UPF), broadband network gateway (BNG), optical network unit One or more of (optical network unit, ONU) and optical line terminal (optical line terminal, OLT), etc.
  • the border devices of the bearer network 1 may include devices such as PEs. Wherein, when the network architecture 100 is applied to a wireless access scenario, the PE may be a UPF; when the network architecture 100 is applied to a broadband access scenario, the PE may be a BNG.
  • the subscription device 21 includes a terminal such as a customer terminal equipment (customer premises equipment, CPE), a mobile phone or a computer.
  • each path includes a bearer network path, and each path includes different bearer network paths.
  • the bearer network path in each path is the path between the first network device and the second network device, the first network device is the border device in the bearer network 1 that communicates with the subscription device 21, and the second network device is the bearer network 1
  • each path further includes a first path and a second path, the first path is a path between the subscribing device and the first network device, and the second path is a path between the second network device and the destination device .
  • the bearer network path in the path includes at least one sub-path, and the at least one sub-path is connected in series to form a bearer network path.
  • Each sub-path is a path between two network devices in the bearer network 1 .
  • the two network devices may be connected through at least one sub-path, and the two network devices are end-point devices of each sub-path in the at least one sub-path.
  • the subpath may pass through one or more other network devices, but these other network devices may transparently transmit the packets between the two network devices, or the subpath may pass through one or more other network devices. May not pass through other network devices.
  • a collection module may be deployed on the endpoint device of the sub-path, and the collection module is used to collect the performance parameters of the sub-path.
  • the collection module can be used to collect the sub-path. performance parameters such as delay and/or packet loss rate.
  • the sub-path includes two end-point devices, and the two end-point devices may both be deployed with a collection module, or one end-point device of the two end-point devices may be deployed with a collection module.
  • the acquisition module may be a probe or the like. For example, referring to Fig. 1, for the network devices 121, 122 and 123 included in the bearer network 1.
  • the network device 121 and the network device 122 are connected through the sub-path 31 and the sub-path 32.
  • the sub-path 31 also passes through a network device 124.
  • the network device 124 that the sub-path 31 passes through transparently transmits the packets between the network device 121 and the network device 122.
  • the sub-path 32 also passes through a network device 125 , and the network device 125 that the sub-path 32 passes through transparently transmits the packets between the network device 121 and the network device 122 .
  • Network device 121 and network device 122 are endpoint devices of sub-path 31 and sub-path 32 , and network device 121 and/or network device 122 are used to collect performance parameters of sub-path 31 and/or performance parameters of sub-path 32 .
  • the network device 121 and the network device 123 are connected through a sub-path 33, and the sub-path 33 also passes through a network device 126.
  • the network device 126 passed by the sub-path 33 transparently transmits the packets between the network device 121 and the network device 123.
  • the network device 121 and the network device 123 are end-point devices of the sub-path 33 , and the network device 121 and/or the network device 123 are used to collect performance parameters of the sub-path 33 .
  • the network device 122 and the network device 123 are connected through the sub-path 34 and the sub-path 35 .
  • the sub-path 34 does not pass through other network devices, while the sub-path 35 also passes through a network device 127 , and the network device 127 passed by the sub-path 35 transparently transmits the packets between the network device 122 and the network device 123 .
  • Network device 122 and network device 123 are endpoint devices of sub-path 34 and sub-path 35 , and network device 122 and/or network device 123 are used to collect performance parameters of sub-path 34 and/or performance parameters of sub-path 35 .
  • each path in the multiple paths includes a bearer network path between the network device 121 and the network device 123 .
  • the bearer network path in path A includes two sub-paths, and the two sub-paths are sub-path 31 and sub-path 34 respectively.
  • the bearer network path in path B includes two sub-paths, and the two sub-paths are sub-path 32 and sub-path 34 respectively.
  • the bearer network path in path C includes a sub-path, and the sub-path is sub-path 33 .
  • Subscribing device 21 communicates with data center 4 via path A, path B, and/or path C.
  • the bearer network 1 may also include other devices.
  • the bearer network 1 may also include at least one storage device and one or more of an authentication server (not shown in the figure), etc.
  • Each storage device uses It is used to provide storage services for the control device 11 and/or the network device 12 .
  • the authentication server is used to authenticate the subscription device 21 .
  • the bearer network accessed by the subscribing device 21 and the bearer network accessed by the destination device are two different bearer networks, so that the path for realizing the communication between the subscription device 21 and the destination device passes through multiple bearer networks.
  • the first bearer network 1A and the second bearer network 1B need to pass between the subscription device 21 and the data center 22 .
  • the first network device that communicates with the subscription device 21 is the network device 121
  • the second network device that communicates with the data center 22 is the network device 128 .
  • each path in the multiple paths includes a bearer network path between the network device 121 and the network device 128 .
  • the multiple paths include path D, path E and path F.
  • the bearer network path in path D includes a sub-path 31 , a sub-path 34 , a third path and a sub-path 37
  • the third path is a path between the network device 123 and the network device 129 .
  • the bearer network path in path E includes a sub-path 32 , a sub-path 34 , a third path and a sub-path 36 .
  • the bearer network path in path F includes a sub-path 33 , a third path and a sub-path 36 .
  • the subscription device 21 may send a first subscription request to the first network device, requesting the first network device to obtain the identifiers of N paths, and the N paths are used to implement the communication between the subscription device 21 and the destination device. path, where N is an integer greater than 1.
  • the subscribing device 21 may also select M paths from the N paths, where M is an integer greater than or equal to 1, and send a second subscription request to the first network device, where the second subscription request includes the identifiers of the M paths to be used in the first network device.
  • a network device subscribes the M paths for the subscription device 21 .
  • the first network device can push the performance parameters of the subscribed M paths to the subscribing device 21, and the subscribing device 21 selects one or more paths based on the performance parameters of the M paths, and implements the subscription device 21 by selecting one or more paths.
  • a path may be subscribed through any of the following embodiments.
  • an embodiment of the present application provides a method 300 for subscribing to a path.
  • the method 300 is applied to the network architecture 100 shown in FIG. 1 or FIG. 2 , including:
  • Step 301 The first subscription device sends a first subscription request to a first network device, where the first subscription request includes an identifier of the first subscription device and an identifier of a destination device.
  • the first subscription request is used for requesting to subscribe multiple paths on the first network device, where the multiple paths are paths for realizing the communication between the first subscribing device and the destination device.
  • the destination device is a device that the first subscription device needs to access, which may be a data center, a server, or a terminal device.
  • the first subscription device sends a first subscription request to the first network device through the following operations 3011 to 3013 .
  • the operations of 3011 to 3013 are:
  • the first subscription device sends a service discovery request to the first network device, where the service discovery request includes an identifier of the subscription service.
  • the subscription service is used for a subscription path, and the path is a path for realizing the communication between the first subscribing device and the destination device.
  • the subscription service is a service provided by the first network device.
  • the first subscription device queries whether the first network device provides the subscription service through a service discovery request. If the first network device provides the subscription service, it means that the first network device has the function of subscribing the path for the subscribing device, so the first subscribing device can use the subscription service to subscribe to multiple paths for realizing the communication between the first subscribing device and the destination device.
  • the identification of the subscription service includes a service name and the like of the subscription service.
  • the first network device receives the service discovery request, and sends a service discovery response to the first subscription device, where the service discovery response includes the service address and port number of the subscription service.
  • the first network device receives the service discovery request, and based on the identifier of the subscription service included in the service discovery request, obtains the service address and port number of the subscription service from the first correspondence.
  • the record includes the service identifier, service address and port number of the subscription service, and sends a service discovery response to the first subscription device, where the service discovery response includes the service address and port number of the subscription service.
  • the service address and port number of the subscription service are both the address and port number on the first network device.
  • the first correspondence is stored in the first network device, and the first network device obtains the service address and port number of the subscription service from the locally stored first correspondence based on the identifier of the subscription service included in the service discovery request.
  • the first correspondence relationship is stored in the first storage device, and each record in the first correspondence relationship includes not only the service identifier, service address and port number of the subscription service, but also the identifier of the network device. That is, the first correspondence may store service identifiers, service addresses, and port numbers of subscription services on different network devices.
  • the first network device acquires the service address and port number of the subscription service from the first correspondence stored in the first storage device based on the identifier of the subscription service and the identifier of the first network device included in the service sending request.
  • the first subscription device receives the service discovery response, and based on the service address and port number of the subscription service included in the service discovery response, sends a first subscription request to the first network device, where the first subscription request includes the identifier of the first subscription device and the identity of the destination device.
  • the destination address of the first subscription request is the service address of the subscription service
  • the destination port number of the first subscription request is the port number of the subscription service
  • the source address of the first subscription request is the identifier of the first subscription device
  • the first subscription request is the identifier of the first subscription device.
  • the payload of a subscription request includes the identity of the destination device.
  • the first subscription request further includes a performance parameter type
  • the first subscription request is further used to request the first network device to push the performance parameter of the subscribed path
  • the pushed performance parameter corresponds to the performance parameter type performance parameters
  • the first subscribing device after receiving the service discovery response and before sending the first subscription request, the first subscribing device further needs to perform authentication in the authentication server.
  • the authentication process is: the first subscription device sends an authentication request to the first network device, the authentication request includes the user account and the first authentication credential, the first network device receives the authentication request, and sends the authentication request to the authentication server.
  • the authentication server receives the authentication request, performs authentication based on the user account and the first authentication credential included in the authentication request, and sends an authentication response to the first network device, where the authentication response includes an authentication result.
  • the first network device receives the authentication response, sends the authentication response to the first subscription device, the first subscription device receives the authentication response, and sends the first subscription to the first network device when the authentication result included in the authentication response is that the authentication passed. ask.
  • the authentication server includes a correspondence between the user account and the second authentication credential.
  • the authentication server receives the authentication request, and obtains the corresponding second authentication credential from the corresponding relationship based on the user account included in the authentication request.
  • the second authentication credential is the same as the first authentication credential
  • the obtained authentication result is that the authentication is passed.
  • the second authentication credential is different from the first authentication credential, the obtained authentication result is that the authentication fails.
  • the first authentication credential includes a certificate and the like.
  • Step 302 The first network device receives the first subscription request, and determines whether to cache the identifiers of the N paths based on the first subscription request. If the identifiers of the N paths are cached, step 303 is executed, and if the identifiers of the N paths are not cached , then step 304 is executed, and N is an integer greater than 1.
  • each of the N paths is used to implement communication between the first subscribing device and the destination device.
  • Each path includes a bearer network path between the first network device and the second network device, and the second network device is a network device in the bearer network that communicates with the destination device.
  • the first network device may cache the identifier of each of the N paths.
  • the detailed description of the identification of the cache path is as follows: the subscription device that communicates with the first network device includes other subscription devices in addition to the first subscription device. In addition to the first subscription device, the subscription device that needs to communicate with the destination device also includes other subscription devices.
  • the other subscribing device has requested the first network device to subscribe to realize the communication path between the other subscribing device and the destination device, wherein the destination device communicating with the first subscribing device and the destination device communicating with the other device are the same device.
  • the first network device When receiving requests from other subscribing devices, the first network device obtains the identifiers of the N paths, where the N paths are used to implement communication between the other subscribing devices and the destination device, and caches the identifiers of the N paths. Therefore, in step 302, the first network device may determine that the identifier of each of the N paths is cached, or may determine that the path information of each of the N paths is not cached.
  • the first network device when the first network device acquires the identifiers of the N paths, the first network device stores the identifiers of the second network device and the identifiers of the N paths in a second correspondence relationship, so as to realize Cache the identifiers of the N paths.
  • the first network device determines whether to cache the identifiers of the N paths based on the identifier of the destination device included in the first subscription request and the second correspondence.
  • the first network device determines the second network device that communicates with the destination device based on the identifier of the destination device; queries the second correspondence based on the identifier of the second network device, if the identifiers of the corresponding N paths are queried, determine the cache There are identifiers of the N paths, and if the identifiers of the corresponding N paths are not queried, it is determined that the identifiers of the N paths are not cached.
  • the first subscription device is the subscription device 21, the destination device is the data center 22, the first network device that communicates with the subscription device 21 is the network device 121, and the second network device that communicates with the data center 22 is the network device 123. Therefore, in step 302 , the network device 121 receives the first subscription request sent by the subscription device 21 , and the first subscription request includes the identifier of the subscription device 21 and the identifier of the data center 22 .
  • the subscription device communicating with the network device 121 also includes a second subscription device (not shown in the figure). If the second subscription device sends a subscription request to the network device 121 before step 302, the subscription request includes the second subscription device The identity of the device and the identity of the data center 22 .
  • the network device 121 obtains N paths for realizing the communication between the second subscription device and the data center 22 based on the subscription request, the N paths include the above-mentioned path A, path B and path C, and the identification ID123 of the network device 123 and the identification of the path A are obtained.
  • the IDA, the IDB of the path B and the identifier IDC of the path C are correspondingly stored in the second correspondence shown in Table 1 below.
  • the first subscription request includes the identity of the subscription device 21 and the identity of the data center 22 (destination device).
  • the second network device communicating with the data center 22 is the network device 123 .
  • the second correspondence shown in Table 1 is queried, and the corresponding identification IDA of path A, the IDB of path B and the identification IDC of path C are queried, so as to determine that the N paths are cached.
  • Identifier, N 3.
  • Identification of the second network device path identifier ID123 IDA, IDB, IDC ... ...
  • the first network device includes a network topology, so the first network device determines a second network device that communicates with the destination device based on the identity of the destination device and the network topology.
  • the second correspondence is stored in the first network device, and the first network device queries the locally stored second correspondence based on the identifier of the second network device.
  • the second correspondence is stored in the first storage device, and each record in the second correspondence includes the identifier of the first network device in addition to the identifier of the second network device and the path information of the N paths.
  • the first network device queries the second correspondence stored in the first storage device based on its own identifier and the determined identifier of the second network device.
  • Step 303 The first network device generates first subscription data based on the cached identifiers of the N paths, and sends a first subscription response to the first subscription device, where the first subscription response includes the first subscription data, and the first subscription data includes the N paths.
  • the identifier of each path in the step 308 is executed.
  • the path includes a bearer network path
  • the bearer network path is a path between the first network device and the second network device, so this path can also implement the first subscription
  • the first subscription data further includes performance parameters of each of the N paths.
  • the performance parameters of the path include one or more of delay, bandwidth, and packet loss rate.
  • the first network device sends a subscription request to the control device, where the subscription request is used to request the control device to calculate the N paths and subscribe the first network device to the N paths on the control device. N paths.
  • the control device records the subscription relationship between the first network device and the N paths, and sends the identifiers of the N paths to the first network device.
  • the first network device receives the identifiers of the N paths sent by the control device, and then caches the identifiers of the N paths.
  • the control device records the subscription relationship between the first network device and the N paths by using the third corresponding relationship.
  • control device may store the identifier of the first network device and the identifier of each of the N paths in the third corresponding relationship, so as to record the relationship between the first network device and the N paths. Subscription relationship. After that, the control device periodically sends the performance parameter of each of the N paths to the first network device based on the subscription relationship.
  • the first network device when the first subscription data further includes the performance parameter of each path in the N paths, the first network device further acquires the performance parameter of each path.
  • the detailed description of acquiring performance parameters is as follows: Since the control device records the subscription relationship between the first network device and the N paths, the control device periodically sends each of the N paths to the first network device. performance parameters of the paths. The first network device receives and caches the performance parameters of each path. In this way, when the first network device determines to cache the identifier of each of the N paths, the first network device acquires the newly received performance parameters of each of the N paths, and the first subscription data includes the acquired Performance parameters for each path. In some embodiments, when the first subscription request includes a performance parameter type, the first network device acquires the newly received performance parameter of each of the N paths based on the performance parameter type, and the performance parameter of each path is is the performance parameter corresponding to the performance parameter type.
  • the path includes at least one sub-path
  • the identification of the path includes the identification of each sub-path in the at least one sub-path
  • the performance parameter of the path is based on the at least one sub-path.
  • the performance parameters of each sub-path in the path are obtained.
  • the performance parameters of the path include performance parameters of each of the at least one subpath.
  • the performance parameters of the sub-paths include parameters such as delay, and the performance parameters of each sub-path in at least one sub-path are accumulated to obtain the performance parameters of the path.
  • the performance parameters of the subpath include one or more of parameters such as packet loss rate and bandwidth, and one performance parameter is selected from the performance parameters of at least one subpath as the performance parameter of the path.
  • one performance parameter is selected from the performance parameters of at least one subpath as the performance parameter of the path.
  • the performance parameter of a subpath includes a packet loss rate
  • the maximum packet loss rate is selected from the packet loss rate of at least one subpath as the packet loss rate of the path.
  • the performance parameter of the subpath includes bandwidth
  • the minimum bandwidth is selected from the bandwidths of at least one subpath as the performance parameter of the path.
  • the sub-path For at least one sub-path included in the path, there is a sub-path connected to the first network device in the at least one sub-path, and for convenience of description, the sub-path is referred to as the first sub-path.
  • the first network device may be deployed with a collection module, and the collection module is configured to collect performance parameters of the first subpath, and the first network device may directly collect the performance parameters of the first subpath.
  • the first network device receives performance parameters of at least one second subpath sent by the control device, where the at least one second subpath is other subpaths included in the path except the first subpath, so that the path includes The performance parameter of each subpath, that is, the performance parameter of each subpath includes the collected performance parameter of the first subpath and the received performance parameter of at least one second subpath.
  • the identifier of path A, the identifier of path B and the identifier of path C are determined.
  • Path A includes sub-path 31 and sub-path 34, so the identifier IDA of path A includes the identifier of sub-path 31.
  • the identification ID31 and the identification ID34 of the sub-path 34, the identification IDA of the path A can be represented as (ID31, ID34).
  • Path B includes sub-path 32 and sub-path 34, so the identification IDB of path B includes identification ID32 of sub-path 32 and identification ID34 of sub-path 34, and the identification IDB of path B can be expressed as (ID32, ID34).
  • the path C includes the sub-path 33, so the identification IDC of the path C includes the identification ID33 of the sub-path 33, and the identification IDB of the path B can be expressed as (ID33).
  • the first subscription data includes the identifier of path A, the identifier of path B, and the identifier of path C, that is, the first subscription data includes (ID31, ID34), (ID32, ID34), (ID33).
  • the performance parameters of path A it is assumed that the performance parameters of path A include the performance parameters of sub-path 31 and the performance parameters of sub-path 34.
  • Sub-path 31 is connected to network device 121, so network device 121 collects the performance parameters of sub-path 31 and receives control The performance parameters of the sub-path 34 sent by the device, so as to obtain the performance parameters of the path A.
  • the performance parameters of path B include the performance parameters of sub-path 32 and the performance parameters of sub-path 34.
  • Sub-path 32 is connected to network device 121, so network device 121 collects the performance parameters of sub-path 32 and receives control The performance parameters of the sub-path 34 sent by the device, so as to obtain the performance parameters of the path B.
  • the network device 121 collects the performance parameters of the sub-path 33 to obtain the performance parameters of the path C.
  • the first subscription data further includes performance parameters of path A, performance parameters of path B, and performance parameters of path C.
  • the network 121 sends a first subscription response to the subscription device 21, and the first subscription response includes the first subscription data.
  • Step 304 The first network device sends a third subscription request to the control device, where the third subscription request includes the identifier of the first subscription device and the identifier of the destination device.
  • the source address of the third subscription request is the identifier of the first network device
  • the destination address is the identifier of the control device
  • the payload includes the identifier of the first subscription device and the identifier of the destination device.
  • the third subscription request is used to request the control device to calculate N paths for realizing the communication between the first subscription device and the destination device, and to subscribe the N paths for the first network device on the control device.
  • Step 305 The control device receives the third subscription request, and obtains the first subscription data based on the identifier of the first subscription device and the identifier of the destination device included in the third subscription request, and the first subscription data includes realizing the communication between the first subscription device and the destination device.
  • the control device receives the third subscription request, and based on the third subscription request including the identifier of the first subscription device, determines the first network device in the bearer network that communicates with the first subscription device. Based on the third subscription request including the identifier of the destination device, the second network device in the bearer network that communicates with the destination device is determined. Calculate N paths for realizing the communication between the first subscription device and the destination device, each of the N paths includes a bearer network path between the first network device and the second network device, generate first subscription data, and the first subscription data The data includes the identification of each of the N paths.
  • the control device includes a network topology, such that the control device determines, based on the identity of the first subscribing device, the identity of the destination device, and the network topology, the first network device in the bearer network that communicates with the first subscribing device and the A second network device in communication with the destination device.
  • the first subscription device is the subscription device 21 in the network architecture 100
  • the destination device is the data center 22 in the network architecture 100 .
  • the network device 121 receives the first subscription request sent by the subscription device 21 , where the first subscription request includes the identifier of the subscription device 21 and the identifier of the data center 22 .
  • the network device 121 determines based on the first subscription request that no identifiers of N paths are cached, and sends a third subscription request to the control device, the third subscription request includes the identifier of the subscription device 21 and the identifier of the data center 22 .
  • the control device receives the third subscription request, determines that the first network device that communicates with the subscription device 21 is the network device 121 based on the identification of the subscription device 21 , and determines the second network device that communicates with the data center 22 based on the identification of the data center 22 is the network device 123.
  • the first subscription data includes the identifier IDA of path A, path B
  • the identifier IDB and the identifier IDC of path C that is, the first subscription data includes IDA, IDB and IDC.
  • the first subscription data may further include information such as performance parameters of each of the N paths.
  • the path calculated by the control device includes the above-mentioned path A, path B and path C, so the first subscription data may also include the performance parameters of path A and the performance parameters of path B and performance parameters of path C.
  • the path includes at least one sub-path
  • the identification of the path includes the identification of each sub-path in the at least one sub-path
  • the performance parameter of the path is based on the at least one sub-path. The performance parameters of the path are obtained.
  • the control device receives the performance parameter of the sub-path collected by the end-point device of the sub-path. After the performance parameter of the at least one subpath is received, the performance parameter of the path is obtained based on the performance parameter of the at least one subpath.
  • the performance parameters of the path include performance parameters of the at least one subpath.
  • the performance parameters of the subpaths include parameters such as delay, and the performance parameters of each subpath in at least one subpath are accumulated to obtain the performance parameters of the path.
  • the performance parameters of the subpath include one or more of parameters such as packet loss rate and bandwidth, and one performance parameter is selected from the performance parameters of at least one subpath as the performance parameter of the path.
  • the path includes a first subpath
  • the first subpath is connected to the first network device
  • the path may also include at least one second subpath
  • the at least one second sub-path is other sub-paths in the path other than the first sub-path. Since the first network device can collect the performance parameter of the first subpath, the performance parameter of the path sent by the control device to the first network device may not include the performance parameter of the first subpath.
  • the performance parameters of the path may not include the performance parameters of the first sub-path, but include the performance parameters of the at least one second sub-path, so that the data volume of the first subscription data can be reduced, Reduce the burden of sending data from the control device.
  • path A includes sub-path 31 and sub-path 34
  • path B includes sub-path 32 and sub-path 34
  • path C includes sub-path 33 .
  • the first subscription data includes the identifier (ID31, ID34) of path A, the identifier (ID32, ID34) of path B and the identifier (ID33) of path C, that is, the first subscription data includes (ID31, ID34), (ID32, ID34) , (ID33).
  • the performance parameters of path A the performance parameters of path B and the performance parameters of path C
  • network device 121 can collect the performance parameters of sub-path 31
  • the performance parameters of sub-path 32 and the performance parameters of sub-path 33 therefore, the performance parameters of path A obtained by the control device include the performance parameters of sub-path 34
  • the performance parameters of path B include the performance parameters of sub-path 34, that is, the first subscription data Including the performance parameters of the sub-path 34 in the path A, and the performance parameters of the sub-path 34 in the path B.
  • the first subscription data can be represented by the following Table 2.
  • path path identifier Performance parameters path A (ID31, ID34) Performance parameters for subpath 34 path B (ID32, ID34) Performance parameters for subpath 34 path C (ID33) null
  • At least one end-point device may periodically collect the performance parameters of the sub-path in the two end-point devices. , and send the performance parameters of the subpath to the control device.
  • the performance parameters of the sub-paths included in the path acquired by the control device may be newly received by the control device.
  • the bearer network where the first network device is located and the bearer network where the second network device is located may be two different bearer networks.
  • the bearer network where the first network device is located is called the first bearer network
  • the bearer network where the second network device is located is called the second bearer network.
  • the control device of the first bearer network receives the first network
  • the third subscription request sent by the device, and the N paths are calculated under the cooperation of the control device of the second bearer network.
  • the bearer network path included in each of the N paths passes through the first bearer network and the second bearer network. .
  • the control device of the first bearer network determines, based on the identifier of the destination device, the second bearer network where the second network device that communicates with the destination device is located.
  • a third network device is determined, where the third network device is a border device in the first bearer network that communicates with the second bearer network.
  • the control device of the second bearer network receives the route calculation request, and determines a fourth network device based on the identifier of the third network device included in the route calculation request.
  • the fourth network device is a device in the second bearer network that communicates with the third network device. boundary device. Determine the second network device that communicates with the destination device based on the identifier of the destination device included in the route calculation request, and calculate multiple second bearer network paths, where the multiple second bearer network paths are between the fourth network device and the second network device and send a path calculation response to the control device of the first bearer network, where the path calculation response includes the identifiers of the plurality of second bearer network paths and the identifier of the fourth network device.
  • the control device in the first bearer network receives the path calculation response, and calculates N paths based on the identifiers of the multiple first bearer network paths, the identifiers of the multiple second bearer network paths, and the identifier of the fourth network device.
  • Each of the N paths includes a first bearer network path, a third path and a second bearer network path, and the third path is a path between the third network device and the fourth network device.
  • the path calculation response further includes a performance parameter of each second bearer network path in the plurality of second bearer network paths.
  • the control device of the first bearer network also obtains the performance parameters of the multiple first bearer network paths and the performance parameters of the third paths, based on the performance parameters of the multiple first bearer network paths, the performance parameters of the third paths, and , the performance parameters of the multiple second bearer network paths, and the performance parameters of each path in the N paths are acquired.
  • the third network device collects the performance parameters of the third path, and sends the performance parameters of the third path to the control device of the first bearer network.
  • the control device of the first bearer network receives the performance parameter of the third path.
  • the fourth network device collects the performance parameters of the third path, and sends the performance parameters of the third path to the control device of the second bearer network.
  • the control device of the second bearer network receives the performance parameter of the third path, and sends the performance parameter of the third path to the control device of the first bearer network.
  • the control device of the first bearer network receives the performance parameter of the third path.
  • Step 306 The control device sends a third subscription response to the first network device, where the third subscription response includes the first subscription data.
  • the third subscription request is not only used to request the control device to calculate the N paths, but also to request the control device to subscribe the N paths for the first network device. Therefore, the control device also stores the identifier of the first network device and the identifier of each of the N paths in the third corresponding relationship, so as to subscribe the N paths for the first network device on the control device. For example, for the above path A, path B, and path C, the control device combines the identification "ID121" of the network device 121, the identification (ID31, ID34) of the path A, the identification of the path C (ID32, ID34) and the identification of the path C ( ID33) is stored in the third correspondence as shown in Table 3 below.
  • Identification of the network device path identifier ID121 (ID31, ID34), (ID32, ID34), (ID33) ... ...
  • the third correspondence is stored on the control device.
  • the third correspondence is stored in the second storage device, and the second storage device and the first storage device may be the same storage device, or may be different storage devices.
  • the path may be subscribed by multiple network devices, so in the third correspondence relationship, the identifiers of the network devices corresponding to the identifiers of the paths may include multiple identifiers.
  • the destination address of the third subscription response is the identifier of the first network device
  • the source address is the identifier of the control device
  • the payload includes the first subscription data.
  • Step 307 The first network device receives the third subscription response, and sends the first subscription response to the first subscription device, where the first subscription response includes first subscription data, and the first subscription data is the first subscription data in the third subscription response .
  • the destination address of the first subscription response is the identifier of the first subscription device
  • the source address is the identifier of the first network device
  • the payload includes the first subscription data in the third subscription response.
  • the first subscription data in the third subscription response includes a performance parameter of the path
  • the performance parameter of the path includes a performance parameter of at least one second subpath of the path performance parameters
  • the first network device collects the performance parameters of the first subpath included in the path, and forms the performance parameters of the path from the performance parameters of the at least one second subpath and the performance parameters of the first subpath
  • the first subscription data in the first subscription response includes the composed performance parameters of the path.
  • the first network device receives a third subscription response sent by the control device, where the third subscription response includes the first subscription data shown in Table 2 above. That is, the first subscription data in the third subscription response includes (ID31, ID34), (ID32, ID34), (ID33), the performance parameters of sub-path 34 in path A, and the performance parameters of sub-path 34 in path B .
  • the network device 121 is connected to sub-path 31 in path A, sub-path 32 in path B, and sub-path 33 in path C, so after receiving the third subscription response, network device 121 collects the performance of sub-path 31 in path A parameters, the performance parameters of sub-path 32 in path B, and the performance parameters of sub-path 33 in path C.
  • the network device 121 combines the performance parameters of sub-path 31 and the performance parameters of sub-path 34 into the performance parameters of path A, the performance parameters of sub-path 32 and the performance parameters of sub-path 34 into the performance parameters of path B, and the performance parameters of sub-path 33 as the performance parameter of path C.
  • the first subscription data in the first subscription response includes (ID31, ID34), (ID32, ID34), (ID33), and sub-path 31 in path A
  • the performance parameters of the sub-path 34 and the performance parameters of the sub-path 32 in path B are the performance parameters of the sub-path 34 and the performance parameters of the sub-path 33 .
  • the first subscription data can be represented by the following Table 4.
  • path path identifier Performance parameters path A (ID31, ID34) Performance parameters for subpath 31 and performance parameters for subpath 34 path B (ID32, ID34) Performance parameters for subpath 32 and performance parameters for subpath 34 path C (ID33) Performance parameters for subpath 33
  • Step 308 the first subscription device receives the first subscription response, and sends a second subscription request to the first network device, where the second subscription request includes an identifier of each of the M paths, and the N paths include the M paths, M is an integer greater than or equal to 1.
  • the first subscription device receives the first subscription response, and selects the identifiers of M paths from the identifiers of the N paths included in the first subscription response.
  • the first subscribing device randomly selects M paths from the N paths or selects to include the fewest sub-paths of M paths.
  • the identification of the path includes the identification of each sub-path in the path.
  • the first subscribing device separately counts the identifiers of the sub-paths included in each path, obtains the number of sub-paths included in each path, and selects M paths with the fewest sub-paths based on the number of sub-paths included in each path.
  • the first subscription device selects M paths based on the performance parameters of each path.
  • the first subscribing device selects M paths with optimal performance parameters based on the performance parameters of each path, or selects M paths whose performance parameters meet service requirements.
  • the service requirement is the requirement of the service that needs to be transmitted between the first subscription device and the destination device.
  • the first subscription response received by the subscription device 21 the first subscription response includes the first subscription data shown in Table 4 above, based on the performance parameters of path A and the performance of path B included in the first subscription data shown in Table 4 Parameters and performance parameters of path C, select path A and path B, and send a second subscription request to the network device 121.
  • the second subscription request includes the identification of path A (ID31, ID34) and the identification of path B (ID32, ID34).
  • M is less than or equal to the maximum number of paths supported by the first subscribing device.
  • M is equal to the maximum number of paths supported by the first subscribing device.
  • Step 309 The first network device receives the second subscription request, and stores the identification of the first subscribing device and the identification of the M paths in the fourth corresponding relationship, so as to implement subscription for the first subscribing device in the first network device the M paths.
  • the identifiers of the subscribing devices corresponding to the identifiers of the paths include multiple identifiers.
  • the fourth correspondence may be stored locally on the first network device. Or the fourth correspondence may be stored in the first storage device.
  • the first network device stores the identifier of the first subscription device, the identifiers of the M paths, and the performance parameter type in the fourth corresponding relationship. .
  • the network device 121 receives the second subscription request sent by the subscription device 21.
  • the second subscription request includes the identifiers (ID31, ID34) of path A and the identifiers (ID32, ID34) of path B, and the identifier “ID21” of the subscription device 21 and the identifiers (ID31, ID34) of the path A and the identifiers (ID32, ID34) of the path B are stored in the fourth correspondence as shown in Table 5 below.
  • the identity of the subscribing device path identifier ID21 (ID31, ID34), (ID32, ID34) ... ...
  • the first network device also sends a second subscription response to the first subscribing device. Wherein, the first network device further acquires the performance parameter of each of the M paths, and the second subscription response further includes the performance parameter of each of the M paths.
  • the first network device may periodically push the performance parameters of one or more of the M paths to the first subscription device.
  • the detailed implementation process is as follows:
  • Step 310 The first network device periodically obtains the performance parameters of each of the M paths, and sends subscription data to the first subscription device based on the fourth correspondence, where the subscription data includes part or all of the M paths performance parameters.
  • the first network device periodically obtains performance parameters of each of the M paths; periodically sends second subscription data to the first subscription device, where the second subscription data includes an identifier of each of the M paths and performance parameters for each path.
  • the first network device obtains performance parameters of each path through the following operations 3101 to 3104, and sends the second subscription data to the first subscription device.
  • the operations of the 3101 to 3104 can be:
  • the first network device For any one of the M paths, the first network device periodically collects performance parameters of the first sub-path, where the first sub-path is a sub-path in the path that is connected to the first network device.
  • the first network device further sends the identifier of the first subpath and the performance parameter to the control device.
  • path A includes sub-path 31 and sub-path 34.
  • the network device 121 periodically collects performance parameters of sub-path 31 and sends the identification "ID31" and performance parameters of sub-path 31 to the control device.
  • the first network device receives performance parameters of at least one second sub-path sent by the control device, where the at least one second sub-path is other sub-paths in the path except the first sub-path, so as to obtain the parameters included in the path. Performance parameters of each subpath.
  • the endpoint device connected to the second sub-path periodically collects the performance parameters of the second sub-path, and sends to the control device the identifier of the second sub-path and the performance parameters.
  • the control device receives the identification and performance parameters of the second subpath.
  • the record including the identifier of the second sub-path is obtained from the third correspondence stored in the control device or the third correspondence stored in the second storage device, and the identifier of the network device stored in the record includes the identifier of the first network device. logo.
  • the performance parameters of the second subpath are sent to the network devices.
  • the first network device receives the performance parameter of the second subpath.
  • the first network device also receives performance parameters of other second subpaths in the at least one second subpath, so as to obtain performance parameters of each subpath included in the path.
  • the endpoint devices of sub-path 34 include network device 122 and network device 123, network device 122 and/or network device 123 periodically collect the performance parameters of sub-path 34, and send them to control device 11
  • the identification "ID34" of the subpath 34 and the performance parameters The control device 11 obtains a record including the identifier "ID34" of the subpath 34 from the third correspondence shown in Table 3, and the identifier of the network device stored in the record includes the identifier "ID121" of the network device 121.
  • the performance parameters of the subpath 34 are sent to the network device 121.
  • the network device 121 receives the performance parameters of the sub-path 34 to obtain the path A including the performance parameters of the sub-path 31 and the performance parameters of the sub-path 34 .
  • the first network device acquires the performance parameters of the path based on the performance parameters of each subpath included in the path.
  • step 303 For a detailed implementation process of acquiring the performance parameters of the path by the first network device based on the performance parameters of each sub-path included in the path, reference may be made to the relevant content in step 303, which will not be described in detail here.
  • the first network device repeats the above processes 3101 to 3103, and can obtain the performance parameters of the M paths.
  • path B repeat the above-mentioned processes 3101 to 3103 to obtain the performance parameters of path B.
  • the first network device sends second subscription data to the first subscription device based on the fourth correspondence, where the second subscription data includes an identifier of each of the M paths and a performance parameter of each path.
  • the second network device For each path in the M paths, the second network device obtains, based on the identifier of each path, a subscription to the path from the fourth corresponding relationship saved by the first network device or the fourth corresponding relationship saved by the first storage device.
  • the identifier of each subscription device, and the acquired identifier of the subscription device includes the identifier of the first subscription device.
  • second subscription data is sent to each subscribing device, where the second subscription data includes performance parameters of each of the M paths.
  • the network device 121 obtains and subscribes to the path from the fourth correspondence shown in Table 5 based on the identification (ID31, ID34) of the path A and the identification (ID32, ID34) of the path B
  • the identifiers of the subscription devices obtained include the identifier “ID21” of the subscription device 21 .
  • the second subscription data is sent to the subscribing device 21, where the second subscription data includes the performance parameters of path A and the performance parameters of path B.
  • the performance parameters of the path include one or more parameters of delay, packet loss rate, and bandwidth, etc.
  • the first network device selects from the fourth corresponding relationship
  • the acquired record also includes the performance parameter type subscribed by the first subscription device, so that for the performance parameter of each path in the second subscription data sent by the first network device to the first subscription device, the performance parameter of each path is the same as that of each path.
  • the first subscription device receives the second subscription data, selects a path that meets the service requirements based on performance parameters of the M paths included in the second subscription data, and uses the selected path to communicate with the destination device.
  • the path is referred to as the i-th path.
  • the first network device obtains the performance parameters of the sub-paths included in the i-th path.
  • the performance parameters of the path to obtain the performance parameters of the i-th path.
  • step 303 For a detailed implementation process of acquiring the performance parameter of the path by the first network device based on the performance parameter of the sub-path included in the path, reference may be made to the relevant content in step 303, which will not be described in detail here.
  • the first subscription device receives the third subscription data, selects a route that meets the service requirements based on the performance parameters of the i-th route included in the second subscription data, and uses the selected route to communicate with the destination device.
  • the protocol adopted between the first subscription device, the first network device and the control device includes message queuing telemetry transport (MQTT) or google remote procedure call (GRPC) protocol.
  • MQTT message queuing telemetry transport
  • GRPC google remote procedure call
  • the first subscription device sends a first subscription request to the first network device, where the first subscription request includes an identifier of the first subscription device and an identifier of the destination device.
  • the first network device sends a second subscription request to the control device, and the second subscription request includes the identifier of the first subscribing device and the identifier of the destination device.
  • the control device calculates N paths for realizing the communication between the first subscription device and the destination device, and sends a third subscription response to the first network device, where the third subscription response includes the first subscription data, and the first subscription data includes the identifiers of the N paths,
  • the performance parameters of the first network device and the N paths are also recorded.
  • the first network device receives the first subscription response, and sends the first subscription response to the first subscription device, where the first subscription response includes the first subscription data, so that the first subscription device can select M from the N paths based on the first subscription data and send a second subscription request to the first network device, where the second subscription request includes the identifiers of the M paths.
  • the first network device records the subscription relationship between the first subscribing device and the M paths based on the second subscription request.
  • the control device can send the performance parameters of the N paths to each network device subscribed to the N paths, and the first network device sends the performance parameters of the M paths to each subscribed device subscribed to the M paths. Therefore, the first subscribing device periodically receives the performance parameters of the M paths, and selects a path that meets the service requirements based on the performance parameters of the M paths. Since the first subscribing device selects the path, the flexibility of path planning is improved. , reduce the burden of control equipment.
  • the first network device determines to cache the identifiers of the N paths
  • the first network device sends a second subscription request to the control device, so that the control device does not need to calculate the N paths, thereby greatly improving path planning flexibility, reducing the burden of control equipment.
  • the control device when sending the performance parameters of the path, the control device only needs to send the performance parameters of the path to the network device subscribing to the path, and then each network device sends the performance parameters of the path to the subscribing devices in the path. Therefore, the control device does not need to send the performance parameters of the path to all subscribing devices of the path, which greatly reduces the number of performance parameters that the control device needs to copy and distribute, thereby greatly reducing the burden on the control device. Since the control device does not need to directly face the subscription device when pushing the performance parameters of the path, it does not need to be exposed to the subscription device, reducing the risk of being attacked.
  • an embodiment of the present application provides a method 400 for subscribing to a path.
  • the method 400 is applied to the network architecture 100 shown in FIG. 1 or FIG. 2 , including:
  • Step 401 It is the same as Step 301 in the method 300 shown in FIG. 3, and will not be described in detail here.
  • Step 402 The first network device receives the first subscription request, and determines whether to cache the identifiers of the N paths based on the first subscription request. If the identifiers of the N paths are cached, step 403 is performed, and if the identifiers of the N paths are not cached , then step 404 is executed, and N is an integer greater than 1.
  • Step 403 The first network device generates first subscription data based on the cached identifiers of the N paths, and sends a first subscription response to the first subscription device, where the first subscription response includes the first subscription data, and the first subscription data includes the N paths.
  • the identifier of each path in the step 308 is executed.
  • Steps 404 to 407 are the same as steps 304 to 307 in the method 300 shown in FIG. 3 , and will not be described in detail here.
  • Step 408 The first network device stores the identifiers of the first subscription device and the identifiers of the N paths in a fourth correspondence relationship, so as to subscribe the N paths for the first subscription device in the first network device.
  • the identifiers of the corresponding subscription devices include multiple identifiers.
  • the first network device may periodically push the performance parameters of one or more of the N paths to the first subscription device.
  • Step 409 The first network device periodically obtains the performance parameters of each of the N paths, and sends subscription data to the first subscription device based on the fourth correspondence, where the subscription data includes part or all of the N paths performance parameters.
  • the first network device periodically obtains performance parameters of each of the N paths; periodically sends fourth subscription data to the first subscription device, where the fourth subscription data includes an identifier of each of the N paths and performance parameters for each path.
  • the first network device receives the fourth subscription data, selects a route based on the performance parameters of the N routes included in the fourth subscription data, and communicates with the destination device using the selected route.
  • the first subscription device receives the fifth subscription data, selects a route based on the performance parameter of the i-th route included in the fifth subscription data, and uses the selected route to communicate with the destination device.
  • the first subscription device sends a first subscription request to the first network device, where the first subscription request includes an identifier of the first subscription device and an identifier of the destination device.
  • the first network device sends a second subscription request to the control device, and the second subscription request includes the identifier of the first subscribing device and the identifier of the destination device.
  • the control device calculates N paths for realizing the communication between the first subscription device and the destination device, and sends a third subscription response to the first network device, where the third subscription response includes the first subscription data, and the first subscription data includes the identifiers of the N paths,
  • the performance parameters of the first network device and the N paths are also recorded.
  • the first network device receives the first subscription response, and records the subscription relationship between the first subscription device and the N paths based on the first subscription response. In this way, the control device can send the performance parameters of the N paths to each network device subscribed to the N paths, and the first network device sends the performance parameters of the N paths to each subscribed device subscribed to the N paths.
  • the first subscribing device periodically receives the performance parameters of the M paths, and selects a path that meets the service requirements based on the performance parameters of the M paths. Since the first subscribing device selects the path, the flexibility of path planning is improved. , reduce the burden of control equipment.
  • the first network device determines to cache the identifiers of the N paths, the first network device sends a second subscription request to the control device, so that the control device does not need to calculate the N paths, thereby greatly improving path planning flexibility, reducing the burden of control equipment.
  • the control device when sending the performance parameters of the path, the control device only needs to send the performance parameters of the path to the network device subscribing to the path, and then each network device sends the performance parameters of the path to the subscribing devices in the path. Therefore, the control device does not need to send the performance parameters of the path to all subscribing devices of the path, which greatly reduces the number of performance parameters that the control device needs to copy and distribute, thereby greatly reducing the burden on the control device.
  • an embodiment of the present application provides an apparatus 500 for subscribing to a path.
  • the apparatus 500 is deployed on a network device in any of the foregoing embodiments, for example, deployed in the method 300 shown in FIG. 3 or the method 400 shown in FIG. 4 .
  • the first network device in the device includes: a receiving unit 501 , a processing unit 502 and a sending unit 503 .
  • the receiving unit 501 is configured to receive a first subscription request sent by a first subscription device, where the first subscription request includes an identifier of the first subscription device and an identifier of a destination device.
  • the processing unit 502 is configured to obtain first subscription data based on the identification of the first subscription device and the identification of the destination device, where the first subscription data includes the identification of each path in the N paths, where N is greater than 1, and any path in the N paths It is used to realize the communication between the first subscription device and the destination device.
  • the sending unit 503 is configured to send a first subscription response to the first subscription device, where the first subscription response includes the first subscription data.
  • the receiving unit 501 is further configured to receive a second subscription request sent by the first subscription device, where the second subscription request includes the identifier of each path in the M paths, where M is greater than or equal to 1, and the M paths are included in the N paths. path; the processing unit 502 is further configured to obtain performance parameters of each path in the M paths; the sending unit 503 is further configured to send a second subscription response to the first subscription device, where the second subscription response includes each of the M paths Path performance parameters.
  • the relevant content in step 309 of the method 300 shown in FIG. 3 above and will not be described in detail here.
  • the processing unit 502 acquiring the performance parameters of each path refer to the above-mentioned related content in step 309 of the method 300 shown in FIG. 3 , which will not be described in detail here.
  • the first subscription data further includes performance parameters of each of the N paths.
  • the receiving unit 501 is further configured to receive a second subscription request sent by the first subscription device, where the second subscription request includes an identifier of each path in the M paths, where M is greater than or equal to 1, and the M paths are the N A path in which the performance parameters of the paths meet the business requirements.
  • the second subscription request includes an identifier of each path in the M paths, where M is greater than or equal to 1, and the M paths are the N A path in which the performance parameters of the paths meet the business requirements.
  • the processing unit 502 is further configured to periodically acquire performance parameters of each path in the M paths; the sending unit 503 is further configured to periodically send second subscription data to the first subscription device, where the second subscription data includes the M paths
  • the identification of each path and the performance parameters of each path can refer to the relevant content in step 310 of the method 300 shown in FIG. 3 above, which will not be described in detail here.
  • the processing unit 502 is further configured to acquire the performance parameter of each path in the M paths; the sending unit 503 is further configured to send the first subscription device to the first subscription device after the performance parameter of the i-th path in the M paths exceeds the threshold.
  • Send third subscription data where the third subscription data includes performance parameters of the i-th path.
  • the detailed implementation process for the processing unit 502 to periodically obtain the performance parameters of each of the M paths can refer to the relevant content in step 310 of the method 300 shown in FIG. 3 above, which will not be described in detail here.
  • For a detailed implementation process of periodically sending the third subscription data to the first subscription device by the sending unit 503, refer to the relevant content in step 310 of the method 300 shown in FIG. 3 above, and will not be described in detail here.
  • the processing unit 502 is further configured to periodically acquire performance parameters of each path in the N paths; the sending unit 503 is further configured to periodically send fourth subscription data to the first subscription device, where the fourth subscription data includes the N paths The identification of each path and the performance parameters of each path.
  • the detailed implementation process for the processing unit 502 to periodically obtain the performance parameters of each of the N paths can be referred to the relevant content in step 409 of the method 400 shown in FIG. 4 , which will not be described in detail here.
  • the processing unit 502 is further configured to obtain the performance parameter of each path in the N paths; the sending unit 503 is further configured to send the first subscription device to the first subscription device after the performance parameter of the jth path in the N paths exceeds the threshold.
  • Send fifth subscription data where the fifth subscription data includes performance parameters of the jth path.
  • the detailed implementation process for the processing unit 502 to periodically obtain the performance parameters of each of the N paths can be referred to the relevant content in step 409 of the method 400 shown in FIG. 4 , which will not be described in detail here.
  • the sending unit 503 is further configured to send a third subscription request to the control device, where the third subscription request includes the identifier of the first subscription device and the identifier of the destination device; the receiving unit 501 is further configured to receive the third subscription sent by the control device. In response, the third subscription response includes the first subscription data.
  • the processing unit 502 is configured to acquire the first subscription data based on the identifier of each path in the N paths in the cache.
  • the processing unit 502 refer to the relevant content in step 303 of the method 300 shown in FIG. 3 above, and will not be described in detail here.
  • the device is a device that communicates with the first subscription device in the network, and after the receiving unit receives the first subscription request, the processing unit obtains the identifiers of N paths for realizing the communication between the first subscription device and the destination device. , the sending unit sends first subscription data to the first subscription device, where the first subscription data includes identifiers of the N paths, and the first subscription device can select a path based on the first subscription data.
  • the processing unit is responsible for acquiring the identifiers of multiple paths for these subscribing devices, and then each subscribing device selects a path for communicating with the destination device from the multiple paths.
  • the control device centrally determines the path for all subscribed devices in the network, which increases the flexibility of path planning and reduces the burden on the control device.
  • an embodiment of the present application provides an apparatus 600 for subscribing to a path.
  • the apparatus 600 is deployed on the subscription device of any of the foregoing embodiments, for example, deployed in the method 300 shown in FIG. 3 or the method 400 shown in FIG. 4 .
  • the first subscription device in , including: a sending unit 601 and a receiving unit 602 .
  • the sending unit 601 is configured to send a first subscription request to the first network device, where the first subscription request includes the identifier of the device 600 and the identifier of the destination device; the receiving unit 602 is configured to receive the first subscription response sent by the first network device, The first subscription response includes first subscription data, and the first subscription data includes an identifier of each of the N paths, where N is greater than 1, and any one of the N paths is used to implement the communication between the apparatus 600 and the destination device. communication.
  • sending the first subscription request by the sending unit 601 refer to the relevant content in step 301 of the method 300 shown in FIG. 3 or step 401 of the method 400 shown in FIG. 4, and will not be described in detail here.
  • receiving the first subscription response by the receiving unit 602 refer to the above-mentioned related content in step 308 of the method 300 shown in FIG. 3 or step 407 of the method 400 shown in FIG. 4, and will not be described in detail here.
  • the apparatus 600 further includes: a first processing unit 603 .
  • the first processing unit 603 is configured to select M paths from the N paths, where M is greater than or equal to 1; the sending unit 601 is further configured to send a second subscription request to the first network device, where the second subscription request includes each of the M paths.
  • the receiving unit 602 is further configured to receive a second subscription response sent by the first network device, where the second subscription response includes performance parameters of each of the M paths.
  • the detailed implementation process of selecting M paths by the first processing unit 603 can refer to the relevant content in step 308 of the method 300 shown in FIG. 3 above, and will not be described in detail here.
  • the first subscription data further includes performance parameters of each of the N paths
  • the apparatus 600 further includes: a second processing unit 604 .
  • the second processing unit 604 is configured to select M paths whose performance parameters meet service requirements from the N paths, where M is greater than or equal to 1; the sending unit 601 is further configured to send a second subscription request to the first network device, the second The subscription request includes the identification of each of the M paths.
  • the detailed implementation process for the second processing unit 604 to select M paths whose performance parameters meet service requirements can be referred to the relevant content in step 308 of the method 300 shown in FIG. 3 above, which is not described in detail here.
  • the receiving unit 602 is further configured to receive second subscription data periodically sent by the first network device, where the second subscription data includes an identifier of each path in the M paths and a performance parameter of each path.
  • the second subscription data includes an identifier of each path in the M paths and a performance parameter of each path.
  • the receiving unit 602 is further configured to receive third subscription data sent by the first network device, where the third subscription data includes performance parameters of the ith path in the M paths, and the performance parameter of the ith path exceeds a threshold.
  • the third subscription data includes performance parameters of the ith path in the M paths, and the performance parameter of the ith path exceeds a threshold.
  • the receiving unit 602 is further configured to receive fourth subscription data periodically sent by the first network device, where the fourth subscription data includes an identifier of each of the N paths and a performance parameter of each path.
  • the detailed implementation process of receiving the fourth subscription data by the receiving unit 602 may refer to the relevant content in step 409 of the method 400 shown in FIG. 4 above, and will not be described in detail here.
  • the receiving unit 602 is further configured to receive fifth subscription data sent by the first network device, where the fifth subscription data includes performance parameters of the jth path among the N paths, and the performance parameter of the jth path exceeds a threshold.
  • the fifth subscription data includes performance parameters of the jth path among the N paths, and the performance parameter of the jth path exceeds a threshold.
  • the first network device is a device in the network that communicates with the device, and the sending unit sends a first subscription request to the first network device, requesting the first network device to obtain the information that enables the device to communicate with the destination device. identification of the N paths, and the apparatus then selects a path based on the first subscription data.
  • the first network device is responsible for acquiring the identifiers of multiple paths for the device, and then the device selects a path for communicating with the destination device from the multiple paths.
  • the flexibility of path planning is increased and the burden of the control device is reduced.
  • an embodiment of the present application provides a schematic diagram of an apparatus 700 for subscribing to a path.
  • the apparatus 700 may be the network device provided in any of the foregoing embodiments, for example, may be the network device in the network architecture 100 shown in FIG. 1 or FIG. 2 , the method 300 shown in FIG. 3 , or the method 400 shown in FIG. 4 .
  • the apparatus 700 includes at least one processor 701 , internal connections 702 , memory 703 and at least one transceiver 704 .
  • the apparatus 700 is an apparatus with a hardware structure, which can be used to implement the functional modules in the apparatus 500 described in FIG. 5 . For example, those skilled in the art can think that the processing unit 502 in the apparatus 500 shown in FIG.
  • the apparatus 700 may also be used to implement the function of the first network device in any of the foregoing embodiments.
  • the processor 701 may be a general-purpose central processing unit (CPU), a network processor (NP), a microprocessor, an application-specific integrated circuit (ASIC), or one or A plurality of integrated circuits used to control the execution of the programs of the present application.
  • the internal connection 702 described above may include a path to transfer information between the aforementioned components.
  • the internal connection 702 can be a single board or a bus or the like.
  • the above-mentioned at least one transceiver 704 is used to communicate with other devices or communication networks.
  • the above-mentioned memory 703 may be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, a random access memory (random access memory, RAM) or other types of storage devices that can store information and instructions.
  • Types of dynamic storage devices which can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), or other optical storage, CD-ROM storage (including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by Any other medium accessed by the computer, but not limited to this.
  • the memory can exist independently and be connected to the processor through a bus.
  • the memory can also be integrated with the processor.
  • the memory 703 is used for storing the application program code for executing the solution of the present application, and the execution is controlled by the processor 701 .
  • the processor 701 is configured to execute the application program code stored in the memory 703, and cooperate with at least one transceiver 704, so that the apparatus 700 realizes the functions in the method of the present patent.
  • the processor 701 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 7 .
  • the apparatus 700 may include multiple processors, for example, the processor 701 and the processor 707 in FIG. 7 .
  • Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • an embodiment of the present application provides a schematic diagram of an apparatus 800 for subscribing to a path.
  • the apparatus 800 may be the subscription device provided in any of the foregoing embodiments, for example, may be the subscription device in the network architecture 100 shown in FIG. 1 or FIG. 2 , the method 300 shown in FIG. 3 or the method 400 shown in FIG. 4 .
  • the apparatus 800 includes at least one processor 801 , internal connections 802 , memory 803 and at least one transceiver 804 .
  • the apparatus 800 is an apparatus with a hardware structure, and can be used to implement the functional modules in the apparatus 500 described in FIG. 5 .
  • the first processing unit 603 and the second processing unit 604 in the apparatus 600 shown in FIG. 6 can be implemented by calling the code in the memory 803 by the at least one processor 801 .
  • the sending unit 601 and the receiving unit 602 in the apparatus 600 may be implemented by the at least one transceiver 804 .
  • the apparatus 800 may also be used to implement the function of the first subscription device in any of the foregoing embodiments.
  • the above-mentioned processor 801 may be a general-purpose central processing unit (CPU), a network processor (NP), a microprocessor, an application-specific integrated circuit (ASIC), or an or A plurality of integrated circuits used to control the execution of the programs of the present application.
  • the internal connection 802 described above may include a path to transfer information between the above described components.
  • the internal connection 802 can be a single board or a bus or the like.
  • the above at least one transceiver 804 is used to communicate with other devices or communication networks.
  • the above-mentioned memory 803 can be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, a random access memory (random access memory, RAM) or other types of storage devices that can store information and instructions.
  • Types of dynamic storage devices which can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), or other optical storage, CD-ROM storage (including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by Any other medium accessed by the computer, but not limited to this.
  • the memory can exist independently and be connected to the processor through a bus.
  • the memory can also be integrated with the processor.
  • the memory 803 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 801 .
  • the processor 801 is configured to execute the application program code stored in the memory 803 and cooperate with at least one transceiver 804, so that the apparatus 800 realizes the functions in the method of the present patent.
  • the processor 801 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 8 .
  • the apparatus 800 may include multiple processors, for example, the processor 801 and the processor 807 in FIG. 8 .
  • Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • an embodiment of the present application provides a system 900 for subscribing to a path.
  • the system 900 includes the apparatus 500 shown in FIG. 5 and the apparatus 600 shown in FIG. 6 , or the system 900 includes the apparatus shown in FIG.
  • the apparatus 700 shown in FIG. 7 and the apparatus 800 shown in FIG. 8 .
  • the apparatus 500 shown in FIG. 5 or the apparatus 700 shown in FIG. 7 may be the first network device 901
  • the apparatus 600 shown in FIG. 6 or the apparatus 800 shown in FIG. 8 may be the first subscription device 902.
  • first, second and other words are used to distinguish the same or similar items with basically the same function and function, and it should be understood that between “first”, “second” and “nth” There are no logical or timing dependencies, and no restrictions on the number and execution order. It will also be understood that, although the following description uses the terms first, second, etc. to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another. For example, a first image may be referred to as a second image, and, similarly, a second image may be referred to as a first image, without departing from the scope of various described examples. Both the first image and the second image may be images, and in some cases, may be separate and distinct images.
  • the size of the sequence number of each process does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not be used in the embodiment of the present application. Implementation constitutes any limitation.

Landscapes

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

Abstract

本申请公开一种订阅路径的方法、装置、系统及存储介质,属于通信领域。所述方法包括:第一网络设备接收第一订阅设备发送的第一订阅请求,所述第一订阅请求包括第一订阅设备的标识和目的设备的标识;所述第一网络设备基于所述第一订阅设备的标识和所述目的设备的标识获取第一订阅数据,所述第一订阅数据包括N条路径中每条路径的标识,所述N大于1,所述N条路径中的任一条路径用于实现所述第一订阅设备与目的设备间的通信;所述第一网络设备向所述第一订阅设备发送第一订阅响应,所述第一订阅响应包括所述第一订阅数据。本申请能够增加路径规划的灵活性,减轻控制设备的负担。

Description

订阅路径的方法、装置、系统及存储介质
本申请要求于2021年3月29日提交的申请号为202110335487.9、发明名称为“订阅路径的方法、装置、系统及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,特别涉及一种订阅路径的方法、装置、系统及存储介质。
背景技术
目前,终端可以向承载网的控制设备发送请求,该请求包括目的设备的设备标识和业务需求。控制设备基于该请求确定终端与目的设备之间的路径,该路径满足终端的业务需求。控制设备向终端发送响应,该响应包括满足终端业务需求的路径的标识。终端基于控制设备确定的路径传输终端与目的设备之间的业务数据。当控制设备所确定的路径不再满足终端的业务需求,终端需要重新请求网管设备为其重新确定满足业务需求的路径,这就使得路径规划的灵活性较差,且增加控制设备的负担。
发明内容
本申请提供了一种订阅路径的方法、装置、系统及存储介质,以增加路径规划的灵活性,减轻控制设备的负担。
第一方面,本申请提供了一种订阅路径的方法,在所述方法中,第一网络设备接收第一订阅设备发送的第一订阅请求,第一订阅请求包括第一订阅设备的标识和目的设备的标识。第一网络设备基于第一订阅设备的标识和目的设备的标识获取第一订阅数据,第一订阅数据包括N条路径中每条路径的标识,N大于1,N条路径中的任一条路径用于实现第一订阅设备与目的设备间的通信。第一网络设备向第一订阅设备发送第一订阅响应,第一订阅响应包括第一订阅数据。
其中,第一网络设备是网络中与第一订阅设备通信的设备,第一网络设备在接收第一订阅请求后,获取实现第一订阅设备与目的设备通信的N条路径的标识,向第一订阅设备发送第一订阅数据,第一订阅数据包括该N条路径的标识,第一订阅设备可以基于第一订阅数据选择路径。这样对于与第一网络设备通信的各订阅设备,第一网络设备负责为这些订阅设备获取多条路径的标识,再由各订阅设备从该多条路径中选择用于与目的设备通信的路径,相比目前由控制设备集中为网络中的所有订阅设备确定路径,增加了路径规划的灵活性,以及减轻控制设备的负担。
在一种可能的实现方式中,第一网络设备接收第一订阅设备发送的第二订阅请求,第二订阅请求包括M条路径中每条路径的标识,M大于或等于1,M条路径包含于N条路径。第一网络设备获取M条路径中每条路径的性能参数。第一网络设备向第一订阅设备发送第二订阅响应,第二订阅响应包括M条路径中每条路径的性能参数。由于第二订阅响应包括M条路径中每条路径的性能参数,这样可以使第一订阅设备基于每条路径的性能参数从该M条路 径选择用于与目的设备通信的路径,从而可以选择出满足业务需求的路径。
在另一种可能的实现方式中,第一订阅数据还包括N条路径中每条路径的性能参数。这样使第一订阅设备基于每条路径的性能参数从该N条路径选择满足业务需求的M路径,在第一网络设备请求订阅满足业务需求的路径。
在另一种可能的实现方式中,第一网络设备接收第一订阅设备发送的第二订阅请求,第二订阅请求包括M条路径中每条路径的标识,M大于或等于1,M条路径为N条路径中性能参数满足业务需求的路径。由于M条路径为N条路径中性能参数满足业务需求的路径,这样第一网络设备为第一订阅设备订阅的该M条路径均是满足业务需求的路径,第一网络设备在向第一订阅设备推送该M条路径的性能参数,尽量保证该M条路径的性能参数满足业务需求,使得第一订阅设备基于该M条路径的性能参数能够选择出当前满足业务需求的路径,以保证第一订阅设备与目的设备之间传输业务的需求得到满足。
在另一种可能的实现方式中,第一网络设备周期性获取M条路径中每条路径的性能参数。第一网络设备周期性向第一订阅设备发送第二订阅数据,第二订阅数据包括M条路径中每条路径的标识和每条路径的性能参数。这样可以使第一订阅设备基于该每条路径的性能参数,在该M条路径中选择当前满足业务需求的路径,以保证第一订阅设备与目的设备之间传输业务的需求得到满足。
在另一种可能的实现方式中,第一网络设备获取M条路径中每条路径的性能参数。第一网络设备在M条路径中的第i条路径的性能参数超过阈值后,向第一订阅设备发送第三订阅数据,第三订阅数据包括第i条路径的性能参数。由于第i条路径的性能参数超过阈值,所以第i条路径的质量较高,满足第一订阅设备的业务需求,以保证第一订阅设备能够选择到满足业务需求的路径。又由于第三订阅数据包括第i条路径的性能参数,相比包括M条路径的性参数的订阅数据,可以减小第三订阅数据的数据量,从而减小对网络资源的占用。
在另一种可能的实现方式中,第一网络设备周期性获取N条路径中每条路径的性能参数。第一网络设备周期性向第一订阅设备发送第四订阅数据,第四订阅数据包括N条路径中每条路径的标识和每条路径的性能参数。这样可以使第一订阅设备基于该每条路径的性能参数,在该N条路径中选择当前满足业务需求的路径,以保证第一订阅设备与目的设备之间传输业务的需求得到满足。
在另一种可能的实现方式中,第一网络设备获取N条路径中每条路径的性能参数。第一网络设备在N条路径中的第j条路径的性能参数超过阈值后,向第一订阅设备发送第五订阅数据,第五订阅数据包括第j条路径的性能参数。由于第j条路径的性能参数超过阈值,所以第j条路径的质量较高,满足第一订阅设备的业务需求,以保证第一订阅设备能够选择到满足业务需求的路径。又由于第五订阅数据包括第j条路径的性能参数,相比包括N条路径的性参数的订阅数据,可以减小第五订阅数据的数据量,从而减小对网络资源的占用。
在另一种可能的实现方式中,第一网络设备向控制设备发送第三订阅请求,第三订阅请求包括第一订阅设备的标识和目的设备的标识。第一网络设备接收控制设备发送的第三订阅响应,第三订阅响应包括第一订阅数据。
在另一种可能的实现方式中,第一网络设备基于缓存的该N条路径中每条路径的标识,获取第一订阅数据。这样不需要请求控制设备计算N条路径,从而减轻控制设备的负担。
第二方面,本申请提供了一种订阅路径的方法,在所述方法中,第一订阅设备向第一网 络设备发送第一订阅请求,第一订阅请求包括第一订阅设备的标识和目的设备的标识。第一订阅设备接收第一网络设备发送的第一订阅响应,第一订阅响应包括第一订阅数据,第一订阅数据包括N条路径中的每条路径的标识,N大于1,N条路径中的任一条路径用于实现第一订阅设备与目的设备间的通信。
其中,第一网络设备是网络中与第一订阅设备通信的设备,第一订阅设备向第一网络设备发送第一订阅请求,请求第一网络设备获取实现第一订阅设备与目的设备通信的N条路径的标识,第一订阅设备基于第一订阅数据选择路径。这样对于与第一网络设备通信的各订阅设备,由第一网络设备负责为这些订阅设备获取多条路径的标识,再由各订阅设备从该多条路径中选择用于与目的设备通信的路径,相比目前由控制设备集中为网络中的所有订阅设备确定路径,增加了路径规划的灵活性,以及减轻控制设备的负担。
在一种可能的实现方式中,第一订阅设备从N条路径中选择M条路径,M大于或等于1。第一订阅设备向第一网络设备发送第二订阅请求,第二订阅请求包括M条路径中每条路径的标识。第一订阅设备接收第一网络设备发送的第二订阅响应,第二订阅响应包括M条路径中每条路径的性能参数。由于第二订阅响应包括M条路径中每条路径的性能参数,这样第一订阅设备基于每条路径的性能参数从该M条路径选择用于与目的设备通信的路径,从而可以选择出满足业务需求的路径。
在另一种可能的实现方式中,第一订阅数据还包括N条路径中每条路径的性能参数。第一订阅设备从N条路径中选择性能参数满足业务需求的M条路径,M大于或等于1。第一订阅设备向第一网络设备发送第二订阅请求,第二订阅请求包括M条路径中每条路径的标识。由于第一订阅设备从N条路径中选择性能参数满足业务需求的M条路径,这样第一网络设备为第一订阅设备订阅的该M条路径均是满足业务需求的路径,第一网络设备在向第一订阅设备推送该M条路径的性能参数,尽量保证该M条路径的性能参数满足业务需求,如此第一订阅设备基于该M条路径的性能参数能够选择出当前满足业务需求的路径,以保证第一订阅设备与目的设备之间传输业务的需求得到满足。
在另一种可能的实现方式中,第一订阅设备接收第一网络设备周期性发送的第二订阅数据,第二订阅数据包括M条路径中每条路径的标识和每条路径的性能参数。这样第一订阅设备基于该每条路径的性能参数,在该M条路径中选择当前满足业务需求的路径,以保证第一订阅设备与目的设备之间传输业务的需求得到满足。
在另一种可能的实现方式中,第一订阅设备接收第一网络设备发送的第三订阅数据,第三订阅数据包括M条路径中的第i条路径的性能参数,第i条路径的性能参数超过阈值。由于第i条路径的性能参数超过阈值,所以第i条路径的质量较高,满足第一订阅设备的业务需求,以保证第一订阅设备能够选择到满足业务需求的路径。又由于第三订阅数据包括第i条路径的性能参数,相比包括M条路径的性参数的订阅数据,可以减小第三订阅数据的数据量,从而减小对网络资源的占用。所述第i条路径是M条路径中的任一路径。
在另一种可能的实现方式中,第一订阅设备接收第一网络设备周期性发送第四订阅数据,第四订阅数据包括N条路径中每条路径的标识和每条路径的性能参数。这样第一订阅设备基于该每条路径的性能参数,在该N条路径中选择当前满足业务需求的路径,以保证第一订阅设备与目的设备之间传输业务的需求得到满足。
在另一种可能的实现方式中,第一订阅设备接收第一网络设备发送的第五订阅数据,第 五订阅数据包括N条路径中的第j条路径的性能参数,第j条路径的性能参数超过阈值。由于第j条路径的性能参数超过阈值,所以第j条路径的质量较高,满足第一订阅设备的业务需求,以保证第一订阅设备能够选择到满足业务需求的路径。又由于第五订阅数据包括第j条路径的性能参数,相比包括N条路径的性参数的订阅数据,可以减小第五订阅数据的数据量,从而减小对网络资源的占用。所述第j条路径是所述N条路径中的任一条路径。
第三方面,本申请提供了一种订阅路径的装置,用于执行第一方面或第一方面的任意一种可能的实现方式中的方法。具体地,所述装置包括用于执行第一方面或第一方面的任意一种可能的实现方式中的方法的单元。
第四方面,本申请提供了一种订阅路径的装置,用于执行第二方面或第二方面的任意一种可能的实现方式中的方法。具体地,所述装置包括用于执行第二方面或第二方面的任意一种可能的实现方式中的方法的单元。
第五方面,本申请提供了一种订阅路径的装置,所述装置包括处理器和存储器。其中,所述处理器以及所述存储器之间可以通过内部连接相连。所述存储器用于存储程序,所述处理器用于执行所述存储器中的程序,使得所述装置完成第一方面或第一方面的任意可能的实现方式中的方法。
第六方面,本申请提供了一种订阅路径的装置,所述装置包括处理器和存储器。其中,所述处理器以及所述存储器之间可以通过内部连接相连。所述存储器用于存储程序,所述处理器用于执行所述存储器中的程序,使得所述装置完成第二方面或第二方面的任意可能的实现方式中的方法。
第七方面,本申请提供了一种计算机程序产品,所述计算机程序产品包括在计算机可读存储介质中存储的计算机程序,并且所述计算程序通过处理器进行加载来实现上述第一方面、第二方面、第一方面任意可能的实现方式或第二方面任意可能的实现方式的方法。
第八方面,本申请提供了一种计算机可读存储介质,用于存储计算机程序,所述计算机程序通过处理器进行加载来执行上述第一方面、第二方面、第一方面任意可能的实现方式或第二方面任意可能的实现方式的方法。
第九方面,本申请提供了一种芯片,包括存储器和处理器,存储器用于存储计算机指令,处理器用于从存储器中调用并运行该计算机指令,以执行上述第一方面、第二方面、第一方面任意可能的实现方式或第二方面任意可能的实现方式的方法。
第十方面,本申请提供了一种订阅路径的系统,所述系统包括第三方面所述的装置和第四方面所述的装置,或者,所述系统包括第五方面所述的装置和第六方面的装置。
附图说明
图1是本申请实施例提供的一种网络架构的示意图;
图2是本申请实施例提供的另一种网络架构的示意图;
图3是本申请实施例提供的一种订阅路径的方法流程图;
图4是本申请实施例提供的另一种订阅路径的方法流程图;
图5是本申请实施例提供的一种订阅路径的装置结构示意图;
图6是本申请实施例提供的另一种订阅路径的装置结构示意图;
图7是本申请实施例提供的另一种订阅路径的装置结构示意图;
图8是本申请实施例提供的另一种订阅路径的装置结构示意图;
图9是本申请实施例提供的一种订阅路径的系统结构示意图。
具体实施方式
下面将结合附图对本申请实施方式作进一步地详细描述。
参见图1,本申请实施例提供了一种网络架构100,包括:承载网1和接入承载网1的多个设备2。承载网1包括控制设备11和至少一个网络设备12。控制设备11与该至少一个网络设备12通信。该至少一个网络设备12中的每个网络设备与控制设备11之间建立有网络连接,以实现该网络设备与控制设备11通信。当然,还有其他实现该网络设备与控制设备11通信的方式,在此不再一一列举。接入承载网1的多个设备2包括订阅设备21、数据中心22和/或服务器23等设备。对于订阅设备21、数据中心22和/或服务器23等设备2,该设备2与承载网1的边界设备通信。该设备2可一跳直达该边界设备。例如,参见图1所示的承载网1,承载网1包括网络设备121、122和123。网络设备121和123是承载网1的边界设备。订阅设备21与网络设备121通信。数据中心22与网络设备123通信。订阅设备21可一跳直达网络设备121。数据中心22可一跳直达网络设备123。该至少一个网络设备12包括运营商边缘(provider edge,PE)、路由器、交换机、网关、基站、用户平面功能(user plane function,UPF)、宽带网络网关(broadband network gateway,BNG)、光网络单元(optical network unit,ONU)和光线路终端(optical line terminal,OLT)等中的一个或多个。承载网1的边界设备可以包括PE等设备。其中,在该网络架构100应于无线接入场景,PE可以为UPF;在该网络架构100应用于宽带接入场景,PE可以为BNG。订阅设备21包括客户终端设备(customer premises equipment,CPE)、手机或电脑等终端。
对于订阅设备21,订阅设备21需要与目的设备通信,目的设备包括接入承载网1的数据中心22和/或服务器23等设备。为了实现订阅设备21与目的设备之间的通信,可以建立实现订阅设备21与目的设备通信的多条路径。该多条路径中的每条路径包括一条承载网路径,每条路径包括的承载网路径不同。每条路径中的承载网路径是第一网络设备与第二网络设备之间的路径,第一网络设备是承载网1中的与订阅设备21通信的边界设备,第二网络设备是承载网1中的与目的设备通信的边界设备。在一些实施例中,每条路径还包括第一路径和第二路径,第一路径是订阅设备与第一网络设备之间的路径,第二路径是第二网络设备与目的设备之间的路径。
对于该多条路径中的每条路径,该路径中的承载网路径包括至少一条子路径,该至少一条子路径串联形成一条承载网路径。而每条子路径是承载网1中的两个网络设备之间的路径。对于该两个网络设备,该两个网络设备之间可能通过至少一条子路径相连,该两个网络设备是该至少一条子路径中每条子路径的端点设备。对于该两个网络设备之间的每条子路径,该条子路径可能经过一个或多个其他网络设备,但这些其他网络设备可能透传该两个网络设备之间的报文,或者,该条子路径可能不经过其他网络设备。对于该两个网络设备之间的子路径,在该子路径的端点设备上可能部署有采集模块,该采集模块用于采集该子路径的性能参数,例如,该采集模块可用于采集该子路径的时延和/或丢包率等性能参数。该子路径的端点设备包括两个,该两个端点设备可以均部署有采集模块,或者,该两个端点设备中的一个端点设备部署有采集模块。在一些实施例中,该采集模块可以为探针等。例如,参见图1,对 于承载网1包括的网络设备121、122和123。网络设备121和网络设备122之间通过子路径31和子路径32相连,子路径31还经过一个网络设备124,子路径31经过的网络设备124透传网络设备121和网络设备122之间的报文。子路径32还经过一个网络设备125,子路径32经过的网络设备125透传网络设备121和网络设备122之间的报文。网络设备121和网络设备122是子路径31和子路径32的端点设备,网络设备121和/或网络设备122用于采集子路径31的性能参数和/或子路径32的性能参数。网络设备121和网络设备123之间通过子路径33相连,子路径33还经过一个网络设备126,子路径33经过的网络设备126透传网络设备121和网络设备123之间的报文。网络设备121和网络设备123是子路径33的端点设备,网络设备121和/或网络设备123用于采集子路径33的性能参数。以及,网络设备122和网络设备123之间通过子路径34和子路径35相连。子路径34没有经过其他网络设备,而子路径35还经过一个网络设备127,子路径35经过的网络设备127透传网络设备122和网络设备123之间的报文。网络设备122和网络设备123是子路径34和子路径35的端点设备,网络设备122和/或网络设备123用于采集子路径34的性能参数和/或子路径35的性能参数。
对于图1所示的网络架构100,假设数据中心22是订阅设备21需要通信的目的设备,第一网络设备是与订阅设备21通信的网络设备121,第二网络设备是与数据中心23通信的网络设备123。对于实现订阅设备21与数据中心23通信的多条路径,该多条路径中的每条路径包括网络设备121与网络设备123之间的承载网路径。假设该多条路径包括路径A、路径B和路径C,路径A中的承载网路径包括两条子路径,该两条子路径分别为子路径31和子路径34。路径B中的承载网路径包括两条子路径,该两条子路径分别为子路径32和子路径34。路径C中的承载网路径包括一条子路径,该一条子路径为子路径33。订阅设备21通过路径A、路径B和/或路径C与数据中心4进行通信。
在一些实施例中,承载网1还可能包括其他设备,例如,承载网1还可能包括至少一个存储设备和认证服务器(图中未画出)等中的一个或多个,每个存储设备用于为控制设备11和/或网络设备12提供存储服务。认证服务器用于为对订阅设备21进行认证。
在一些实施例中,订阅设备21接入的承载网和目的设备接入的承载网是两个不同的承载网,导致实现订阅设备21与目的设备通信的路径经过多个承载网。例如,参见图2,假设订阅设备21与数据中心22之间需要经过第一承载网1A和第二承载网1B。与订阅设备21通信的第一网络设备为网络设备121,与数据中心22通信的第二网络设备为网络设备128。所以对于实现订阅设备21与数据中心22通信的多条路径,该多条路径中的每条路径包括网络设备121与网络设备128之间的一条承载网路径。假设该多条路径包括路径D、路径E和路径F。路径D中的承载网路径包括子路径31、子路径34、第三路径和子路径37,第三路径为网络设备123和网络设备129之间的路径。路径E中的承载网路径包括子路径32、子路径34、第三路径和子路径36。路径F中的承载网路径包括子路径33、第三路径和子路径36。
其中,需要说明的是:订阅设备21可以向第一网络设备发送第一订阅请求,请求第一网络设备获取N条路径的标识,该N条路径是用于实现订阅设备21与目的设备通信的路径,N为大于1的整数。订阅设备21还可以从该N条路径中选择M路径,M为大于或等于1的整数,向第一网络设备发送第二订阅请求,第二订阅请求包括该M条路径的标识,以在第一网络设备上为订阅设备21订阅该M条路径。这样,第一网络设备可以向订阅设备21推送订阅的M条路径的性能参数,订阅设备21基于该M条路径的性能参数选择一条或多条路径, 通过选择一条或多条路径实现订阅设备21与目的设备的通信。在本申请实施例中,可以通过如下任一实施例来订阅路径。
参见图3,本申请实施例提供了一种订阅路径的方法300,所述方法300应用于图1或图2所示的网络架构100,包括:
步骤301:第一订阅设备向第一网络设备发送第一订阅请求,第一订阅请求包括第一订阅设备的标识和目的设备的标识。
举例说明,第一订阅请求用于请求在第一网络设备上订阅多条路径,该多条路径是实现第一订阅设备与目的设备通信的路径。目的设备是第一订阅设备需要访问的设备,可以是数据中心、服务器或终端设备等。
第一订阅设备通过如下3011至3013的操作向第一网络设备发送第一订阅请求。该3011至3013的操作分别为:
3011:第一订阅设备向第一网络设备发送服务发现请求,该服务发现请求包括订阅服务的标识。
该订阅服务用于订阅路径,该路径是实现第一订阅设备与目的设备通信的路径。该订阅服务是第一网络设备提供的服务。
在3011中,第一订阅设备通过服务发现请求,查询第一网络设备是否提供该订阅服务。如果第一网络设备提供该订阅服务,表示第一网络设备具有供订阅设备订阅路径的功能,因此第一订阅设备可以使用该订阅服务订阅实现第一订阅设备与目的设备通信的多条路径。
在一些实施例中,该订阅服务的标识包括该订阅服务的服务名称等。
3012:第一网络设备接收服务发现请求,向第一订阅设备发送服务发现响应,该服务发现响应包括该订阅服务的服务地址和端口号。
在3012中,第一网络设备接收该服务发现请求,基于该服务发现请求包括的订阅服务的标识,从第一对应关系中获取该订阅服务的服务地址和端口号,第一对应关系中的每条记录包括订阅服务的服务标识、服务地址和端口号,向第一订阅设备发送服务发现响应,该服务发现响应包括该订阅服务的服务地址和端口号。该订阅服务的服务地址和端口号均是第一网络设备上的地址和端口号。
举例说明,第一对应关系保存在第一网络设备中,第一网络设备基于该服务发现请求包括的订阅服务的标识,从本地保存的第一对应关系中获取该订阅服务的服务地址和端口号。或者第一对应关系保存在第一存储设备中,第一对应关系中的每条记录除了包括订阅服务的服务标识、服务地址和端口号,还包括网络设备的标识。即第一对应关系可以保存不同网络设备上的订阅服务的服务标识、服务地址和端口号。第一网络设备基于该服务发请求包括的订阅服务的标识和第一网络设备的标识,从第一存储设备保存的第一对应关系中获取该订阅服务的服务地址和端口号。
3013:第一订阅设备接收该服务发现响应,基于该服务发现响应包括的订阅服务的服务地址和端口号,向第一网络设备发送第一订阅请求,第一订阅请求包括第一订阅设备的标识和目的设备的标识。
举例说明,第一订阅请求的目的地址是该订阅服务的服务地址,第一订阅请求的目的端口号是该订阅服务的端口号,第一订阅请求的源地址为第一订阅设备的标识,第一订阅请求的净荷包括目的设备的标识。
在一些实施例中,第一订阅请求还包括性能参数类型,第一订阅请求还用于请求第一网络设备推送被订阅的路径的性能参数,推送的性能参数是与该性能参数类型相对应的性能参数。
在一些实施例,第一订阅设备在接收该服务发现响应后以及在发送第一订阅请求之前,还需要在认证服务器中进行认证。认证过程为:第一订阅设备向第一网络设备发送认证请求,该认证请求包括用户账号和第一认证凭据,第一网络设备接收该认证请求,向认证服务器发送该认证请求。认证服务器接收该认证请求,基于该认证请求包括的用户账号和第一认证凭据进行认证,向第一网络设备发送认证响应,该认证响应包括认证结果。第一网络设备接收该认证响应,向第一订阅设备发送该认证响应,第一订阅设备接收该认证响应,在该认证响应包括的认证结果为认证通过时,向第一网络设备发送第一订阅请求。
在一些实施例中,认证服务器包括用户账号与第二认证凭据的对应关系。认证服务器接收认证请求,基于该认证请求包括的用户账号从该对应关系中获取对应的第二认证凭据,在第二认证凭据与第一认证凭据相同时,得到的认证结果为认证通过,在第二认证凭据与第一认证凭据不同时,得到的认证结果为认证未通过。其中,第一认证凭据包括证书等。
步骤302:第一网络设备接收第一订阅请求,基于第一订阅请求确定是否缓存N条路径的标识,如果缓存该N条路径的标识,则执行步骤303,如果没有缓存该N条路径的标识,则执行步骤304,N为大于1的整数。
举例说明,该N条路径中的每条路径用于实现第一订阅设备与目的设备之间的通信。每条路径包括第一网络设备与第二网络设备之间的承载网路径,第二网络设备是承载网中的与目的设备通信的网络设备。
在执行步骤302之前,第一网络设备可能缓存该N条路径中的每条路径的标识。关于缓存路径的标识的详细说明,如下所述:与第一网络设备通信的订阅设备除了包括第一订阅设备,还包括其他订阅设备。需要与目的设备通信的订阅设备除了包括第一订阅设备,还包括其他订阅设备。其他订阅设备已向第一网络设备请求订阅实现该其他订阅设备与目的设备通信的路径,其中与第一订阅设备通信的目的设备和与该其他设备通信的目的设备是同一设备。第一网络设备在接收其他订阅设备的请求时,获取该N条路径的标识,该N条路径用于实现该其他订阅设备与目的设备之间的通信,并缓存该N条路径的标识。所以在步骤302中,第一网络设备可能确定出缓存有该N路径中每条路径的标识,也可能确定出没有缓存该N条路径中每条路径的路径信息。
在一些实施例中,在第一网络设备获取到该N条路径的标识时,第一网络设备将第二网络设备的标识和该N条路径的标识对应保存在第二对应关系中,以实现缓存该N条路径的标识。
在步骤302中,第一网络设备基于第一订阅请求包括的目的设备的标识和第二对应关系,确定是否缓存该N条路径的标识。
举例说明,第一网络设备基于目的设备的标识,确定与目的设备通信的第二网络设备;基于第二网络设备的标识查询第二对应关系,如果查询出对应的N条路径的标识,确定缓存有该N条路径的标识,如果没有查询出对应的N条路径的标识,则确定没有缓存该N条路径的标识。例如,参见图1,假设第一订阅设备为订阅设备21,目的设备为数据中心22,与订阅设备21通信的第一网络设备为网络设备121,与数据中心22通信的第二网络设备为网 络设备123。所以在步骤302中,网络设备121接收订阅设备21发送的第一订阅请求,第一订阅请求包括订阅设备21的标识和数据中心22的标识。
另外,还假设与网络设备121通信的订阅设备还包括第二订阅设备(图中未画出),如果第二订阅设备在步骤302之前向网络设备121发送订阅请求,该订阅请求包括第二订阅设备的标识和数据中心22的标识。网络设备121基于该订阅请求获取实现第二订阅设备和数据中心22通信的N条路径,该N条路径包括上述路径A、路径B和路径C,将网络设备123的标识ID123以及路径A的标识IDA,路径B的IDB和路径C的标识IDC对应保存在如下表1所示的第二对应关系中。这样,在步骤302中,网络设备121接收订阅设备21(第一订阅设备)发送的第一订阅请求后,第一订阅请求包括订阅设备21的标识和数据中心22(目的设备)的标识。基于数据中心22的标识,确定与数据中心22通信的第二网络设备为网络设备123。基于网络设备123的标识ID123查询如表1所示的第二对应关系,并查询出对应的路径A的标识IDA,路径B的IDB和路径C的标识IDC,从而确定缓存有该N条路径的标识,N=3。
表1
第二网络设备的标识 路径的标识
ID123 IDA,IDB,IDC
…… ……
在一些实施例中,第一网络设备包括网络拓扑,因此第一网络设备基于目的设备的标识和该网络拓扑,确定与目的设备通信的第二网络设备。
在一些实施例中,第二对应关系保存在第一网络设备中,第一网络设备基于第二网络设备的标识查询本地保存的第二对应关系。或者第二对应关系保存在第一存储设备中,第二对应关系中的每条记录除了包括第二网络设备的标识和N条路径的路径信息外,还包括第一网络设备的标识。第一网络设备在确定与目的设备通信的第二网络设备之后,基于自身的标识和确定的第二网络设备的标识,查询第一存储设备保存的第二对应关系。
步骤303:第一网络设备基于缓存的N路径的标识生成第一订阅数据,向第一订阅设备发送第一订阅响应,第一订阅响应包括第一订阅数据,第一订阅数据包括该N条路径中的每条路径的标识,执行步骤308。
举例说明,对于缓存的N条路径中的每条路径,该路径包括承载网路径,该承载网路径是第一网络设备与第二网络设备之间的路径,所以该路径也能够实现第一订阅设备与目的设备通信的需求。所以如果缓存有该多条路径的标识,则不需要请求控制设备计算实现第一订阅设备与目的设备通信的路径,而是直接基于缓存的多条路径的标识,生成第一订阅数据,从而可以减轻控制设备的负担,节省网络资源,以及提高向第一订阅设备反馈第一订阅数据的效率。其中,第一订阅数据还包括该N条路径中的每条路径的性能参数。该路径的性能参数包括时延、带宽和丢包率等中的一个或多个。在第一订阅请求包括性能参数类型的情况,第一订阅数据包括的每条路径的性能参数是与该性能参数类型相对应的参数。
举例说明,其他设备已经请求订阅该N条路径后,第一网络设备向控制设备发送订阅请求,该订阅请求用于请求控制设备计算该N条路径以及在控制设备上为第一网络设备订阅该N条路径。控制设备记录该第一网络设备与该N条路径之间的订阅关系,并向第一网络设备发送该N条路径的标识。第一网络设备接收控制设备发送的该N条路径的标识,再缓存该N 条路径的标识。控制设备使用第三对应关系记录该第一网络设备与该N条路径之间的订阅关系。在实现时,控制设备可以将第一网络设备的标识和该N条路径中的每条路径的标识对应保存在第三对应关系中,实现记录该第一网络设备与该N条路径之间的订阅关系。之后,控制设备会周期性基于该订阅关系向第一网络设备发送该N条路径中的每条路径的性能参数。
在步骤303中,在第一订阅数据还包括该N条路径中的每条路径的性能参数的情况,第一网络设备还获取每条路径的性能参数。关于获取性能参数的详细说明,如下所述:由于控制设备记录了第一网络设备与该N条路径之间的订阅关系,所以控制设备会周期性向第一网络设备发送该N条路径中的每条路径的性能参数。第一网络设备接收并缓存每条路径的性能参数。这样在第一网络设备确定出缓存该N条路径中的每条路径的标识时,第一网络设备获取最新接收的该N条路径中的每条路径的性能参数,第一订阅数据包括获取的每条路径的性能参数。在一些实施例中,在第一订阅请求包括性能参数类型的情况,第一网络设备基于该性能参数类型获取最新接收的该N条路径中的每条路径的性能参数,每条路径的性能参数是该性能参数类型相对应的性能参数。
其中,对于上述N条路径中的每条路径,该路径包括至少一条子路径,该路径的标识包括该至少一条子路径中的每条子路径的标识,该路径的性能参数是基于该至少一条子路径中的每条子路径的性能参数得到的。在一些实施例中,该路径的性能参数包括该至少一条子路径中的每条子路径的性能参数。子路径的性能参数包括时延等参数,将至少一条子路径中的每条子路径的性能参数进行累加,得到该路径的性能参数。在一些实施例中,子路径的性能参数包括丢包率和带宽等参数中的一个或多个,从至少一条子路径的性能参数中选择一个性能参数作为该路径的性能参数。例如,在子路径的性能参数包括丢包率的情况,从至少一条子路径的丢包率中选择最大丢包率作为该路径的丢包率。在子路径的性能参数包括带宽的情况,从至少一条子路径的带宽中选择最小带宽作为该路径的性能参数。
对于该路径包括的至少一条子路径,该至少一条子路径存在一条子路径与第一网络设备相连,为了便于说明,将该条子路径称为第一子路径。第一网络设备可能部署有采集模块,该采集模块用于采集第一子路径的性能参数,第一网络设备可以直接采集第一子路径的性能参数。另外,第一网络设备接收控制设备发送的至少一条第二子路径的性能参数,该至少一条第二子路径是该路径包括的除第一子路径之外的其他子路径,从而得到该路径包括的每条子路径的性能参数,即该每条子路径的性能参数包括采集的第一子路径的性能参数和接收的至少一条第二子路径的性能参数。
例如,参见图1,在步骤302中确定出缓存的路径A的标识、路径B的标识和路径C的标识,路径A包括子路径31和子路径34,所以路径A的标识IDA包括子路径31的标识ID31和子路径34的标识ID34,路径A的标识IDA可以表示为(ID31,ID34)。路径B包括子路径32和子路径34,所以路径B的标识IDB包括子路径32的标识ID32和子路径34的标识ID34,路径B的标识IDB可以表示为(ID32,ID34)。路径C包括子路径33,所以路径C的标识IDC包括子路径33的标识ID33,路径B的标识IDB可以表示为(ID33)。其中,第一订阅数据包括的路径A的标识、路径B的标识和路径C的标识,即第一订阅数据包括(ID31,ID34),(ID32,ID34),(ID33)。对于路径A的性能参数,假设路径A的性能参数包括子路径31的性能参数和子路径34的性能参数,子路径31与网络设备121相连,所以网络设备121采集子路径31的性能参数以及接收控制设备发送的子路径34的性能参数,从而得到路 径A的性能参数。对于路径B的性能参数,假设路径B的性能参数包括子路径32的性能参数和子路径34的性能参数,子路径32与网络设备121相连,所以网络设备121采集子路径32的性能参数以及接收控制设备发送的子路径34的性能参数,从而得到路径B的性能参数。以及对于路径C的性能参数,假设路径C的性能参数包括子路径33的性能参数,网络设备121采集子路径33的性能参数,从而得到路径C的性能参数。其中,第一订阅数据还包括路径A的性能参数、路径B的性能参数和路径C的性能参数,网络121向订阅设备21发送第一订阅响应,第一订阅响应包括该第一订阅数据。
步骤304:第一网络设备向控制设备发送第三订阅请求,第三订阅请求包括第一订阅设备的标识和目的设备的标识。
举例说明,第三订阅请求的源地址为第一网络设备的标识,目的地址为控制设备的标识,净荷包括第一订阅设备的标识和目的设备的标识。第三订阅请求用于请求控制设备计算实现第一订阅设备与目的设备通信的N条路径,以及在控制设备上为第一网络设备订阅该N条路径。
步骤305:控制设备接收第三订阅请求,基于第三订阅请求包括的第一订阅设备的标识和目的设备的标识,获取第一订阅数据,第一订阅数据包括实现第一订阅设备和目的设备通信的N条路径的标识。
在步骤305中,控制设备接收第三订阅请求,基于第三订阅请求包括第一订阅设备的标识,确定承载网中与第一订阅设备通信的第一网络设备。基于第三订阅请求包括目的设备的标识,确定承载网中与目的设备通信的第二网络设备。计算实现第一订阅设备和目的设备通信的N条路径,该N条路径中的每条路径包括第一网络设备与第二网络设备之间的承载网路径,生成第一订阅数据,第一订阅数据包括该N条路径中的每条路径的标识。
在一些实施例中,控制设备包括网络拓扑,这样控制设备基于第一订阅设备的标识、目的设备的标识和该网络拓扑,确定在承载网中的与第一订阅设备通信的第一网络设备和与目的设备通信的第二网络设备。例如,以图1所示的网络架构100为例,第一订阅设备为所述网络架构100中的订阅设备21,目的设备为所述网络架构100中的数据中心22。网络设备121接收订阅设备21发送的第一订阅请求,第一订阅请求包括订阅设备21的标识和数据中心22的标识。假设网络设备121基于第一订阅请求确定没有缓存N条路径的标识,向控制设备发送第三订阅请求,第三订阅请求包括订阅设备21的标识和数据中心22的标识。
举例说明,控制设备接收第三订阅请求,基于订阅设备21的标识确定与订阅设备21通信的第一网络设备为网络设备121,基于数据中心22的标识确定与数据中心22通信的第二网络设备为网络设备123。计算实现订阅设备21和数据中心22通信的多条路径,假设该多条路径包括上述路径A、路径B和路径C,生成第一订阅数据,第一订阅数据包括路径A的标识IDA、路径B的标识IDB和路径C的标识IDC,即第一订阅数据包括IDA,IDB和IDC。
在一些实施例中,第一订阅数据还可以包括该N条路径中的每条路径的性能参数等信息。例如,仍以图1所示的网络架构100为例,控制设备计算的路径包括上述路径A、路径B和路径C,所以第一订阅数据还可能包括路径A的性能参数、路径B的性能参数和路径C的性能参数。其中,对于上述N条路径中的每条路径,该路径包括至少一条子路径,该路径的标识包括该至少一条子路径中的每条子路径的标识,该路径的性能参数是基于该至少一条子路径的性能参数得到的。对于至少一条子路径中的任一条子路径,控制设备接收该子路径的端 点设备采集的该子路径的性能参数。在接收到该至少一条子路径的性能参数,基于该至少一条子路径的性能参数得到该路径的性能参数。
在一些实施例中,该路径的性能参数包括该至少一条子路径的性能参数。在一些实施例中,子路径的性能参数包括时延等参数,将至少一条子路径中的每条子路径的性能参数进行累加,得到该路径的性能参数。在一些实施例中,子路径的性能参数包括丢包率和带宽等参数中的一个或多个,从至少一条子路径的性能参数中选择一个性能参数作为该路径的性能参数。在该路径的性能参数包括该至少一条子路径的性能参数的情况下,该路径包括第一子路径,第一子路径与第一网络设备相连,该路径还可能包括至少一条第二子路径,该至少一条第二子路径是该路径中除第一子路径之外的其他子路径。由于第一网络设备能够采集到第一子路径的性能参数,所以控制设备向第一网络设备发送的该路径的性能参数中可以不包括第一子路径的性能参数。即在第一订阅数据中,该路径的性能参数可以不包括第一子路径的性能参数,而是包括该至少一条第二子路径的性能参数,从而可以减小第一订阅数据的数据量,减轻控制设备发送数据的负担。例如,参见图1,对于上述路径A、路径B和路径C,路径A包括子路径31和子路径34,路径B包括子路径32和子路径34,路径C包括子路径33。第一订阅数据包括路径A的标识(ID31,ID34),路径B的标识(ID32,ID34)和路径C的标识(ID33),即第一订阅数据包括(ID31,ID34),(ID32,ID34),(ID33)。对于路径A的性能参数,路径B的性能参数和路径C的性能参数,由于子路径31,子路径32和子路径33与网络设备121相连,所以网络设备121能够采集到子路径31的性能参数、子路径32的性能参数和子路径33的性能参数,因此控制设备获取的路径A的性能参数包括子路径34的性能参数,以及路径B的性能参数包括子路径34的性能参数,即第一订阅数据包括路径A中的子路径34的性能参数,以及路径B中的子路径34的性能参数。该第一订阅数据可以用如下表2来表示。
表2
路径 路径的标识 性能参数
路径A (ID31,ID34) 子路径34的性能参数
路径B (ID32,ID34) 子路径34的性能参数
路径C (ID33)
其中,需要说明的是:对于承载网中的每条子路径,以及对于与该子路径相连的两个端点设备,该两个端点设备中可能存在至少一个端点设备周期性地采集子路径的性能参数,并向控制设备发送该子路径的性能参数。
在一些实施例中,对于该N条路径中的任一条路径,控制设备获取的该路径包括的子路径的性能参数可能是控制设备最新接收的。
其中,第一网络设备所在的承载网和第二网络设备所在的承载网可能是两个不同的承载网。为了便于说明,将第一网络设备所在的承载网称为第一承载网,将第二网络设备所在的承载网称为第二承载网,此情况下第一承载网的控制设备接收第一网络设备发送的第三订阅请求,并在第二承载网的控制设备的协同下计算该N条路径,该N条路径中的每条路径包括的承载网路径经过第一承载网和第二承载网。在实现时,第一承载网的控制设备基于目的设备的标识,确定与目的设备通信的第二网络设备所在的第二承载网。确定第三网络设备,第三网络设备是第一承载网中与第二承载网通信的边界设备。向第二承载网的控制设备发送算 路请求,该算路请求包括第三网络设备的标识和目的设备的标识,以及,计算多条第一承载网路径,该多条第一承载网路径是第一网络设备与第三网络设备之间的承载网路径。第二承载网的控制设备接收该算路请求,基于该算路请求包括的第三网络设备的标识,确定第四网络设备,第四网络设备是第二承载网中的与第三网络设备通信的边界设备。基于该算路请求包括的目的设备的标识确定与目的设备通信的第二网络设备,计算多条第二承载网路径,该多条第二承载网路径是第四网络设备与第二网络设备之间的承载网路径;向第一承载网的控制设备发送算路响应,该算路响应包括该多条第二承载网路径的标识和第四网络设备的标识。第一承载网络中的控制设备接收该算路响应,基于该多条第一承载网路径的标识、该多条第二承载网路径的标识和第四网络设备的标识,计算N条路径,该N条路径中的每条路径包括一条第一承载网路径、第三路径和一条第二承载网路径,第三路径是第三网络设备与第四网络设备之间的路径。
在一些实施例中,该算路响应还包括该多条第二承载网路径中的每条第二承载网路径的性能参数。这样第一承载网的控制设备还获取该多条第一承载网路径的性能参数,第三路径的性能参数,基于该多条第一承载网路径的性能参数、第三路径的性能参数,以及,该多条第二承载网路径的性能参数,获取该N条路径中的每条路径的性能参数。第三网络设备采集第三路径的性能参数,向第一承载网的控制设备发送第三路径的性能参数。第一承载网的控制设备接收第三路径的性能参数。第四网络设备采集第三路径的性能参数,向第二承载网的控制设备发送第三路径的性能参数。第二承载网的控制设备接收第三路径的性能参数,向第一承载网的控制设备发送第三路径的性能参数。第一承载网的控制设备接收第三路径的性能参数。
步骤306:控制设备向第一网络设备发送第三订阅响应,第三订阅响应包括第一订阅数据。
举例说明,第三订阅请求不仅用于请求控制设备计算该N条路径,还请求控制设备为第一网络设备订阅该N条路径。因此,控制设备还将第一网络设备的标识和该N条路径中的每条路径的标识对应保存在第三对应关系中,以实现在控制设备上为第一网络设备订阅该N条路径。例如,对于上述路径A、路径B和路径C,控制设备将网络设备121的标识“ID121”,路径A的标识(ID31,ID34),路径C的标识(ID32,ID34)和路径C的标识(ID33)对应保存在如下表3所示的第三对应关系。
表3
网络设备的标识 路径的标识
ID121 (ID31,ID34),(ID32,ID34),(ID33)
…… ……
在一些实施例中,第三对应关系保存在控制设备上。或者第三对应关系保存在第二存储设备,第二存储设备与第一存储设备可能是同一个存储设备,或者,可能是不同的存储设备。对于该N条路径中的任一条路径,该条路径可能被多个网络设备订阅,因此在第三对应关系中与该路径的标识相对应的网络设备的标识可能包括多个。在一些实施例中,第三订阅响应的目的地址为第一网络设备的标识,源地址为控制设备的标识,净荷包括第一订阅数据。
步骤307:第一网络设备接收第三订阅响应,向第一订阅设备发送第一订阅响应,第一订阅响应包括第一订阅数据,该第一订阅数据为第三订阅响应中的第一订阅数据。
举例说明,第一订阅响应的目的地址为第一订阅设备的标识,源地址为第一网络设备的标识,净荷包括第三订阅响应中的第一订阅数据。在一些实施例中,对于N条路径中的每条路径,第三订阅响应中的第一订阅数据包括该路径的性能参数,该路径的性能参数包括该路径中的至少一条第二子路径的性能参数,在此情况下,第一网络设备采集该路径包括的第一子路径的性能参数,将该至少一条第二子路径的性能参数和第一子路径的性能参数组成该路径的性能参数,且第一订阅响应中的第一订阅数据包括组成的该路径的性能参数。例如,第一网络设备接收控制设备发送的第三订阅响应,第三订阅响应包括上述表2所示的第一订阅数据。即第三订阅响应中的第一订阅数据包括(ID31,ID34),(ID32,ID34),(ID33),路径A中的子路径34的性能参数,以及路径B中的子路径34的性能参数。网络设备121与路径A中的子路径31、路径B中的子路径32和路径C中的子路径33相连,所以网络设备121接收第三订阅响应后,采集路径A中的子路径31的性能参数,路径B中的子路径32的性能参数,路径C中的子路径33的性能参数。网络设备121将子路径31的性能参数和子路径34的性能参数组成路径A的性能参数,将子路径32的性能参数和子路径34的性能参数组成路径B的性能参数,将子路径33的性能参数作为路径C的性能参数。这样对于网络设备121向订阅设备21发送的第一订阅响应,第一订阅响应中的第一订阅数据包括(ID31,ID34),(ID32,ID34),(ID33),路径A中的子路径31的性能参数和子路径34的性能参数,路径B中的子路径32的性能参数和子路径34的性能参数,以及子路径33的性能参数。该第一订阅数据可以用如下表4来表示。
表4
路径 路径的标识 性能参数
路径A (ID31,ID34) 子路径31的性能参数和子路径34的性能参数
路径B (ID32,ID34) 子路径32的性能参数和子路径34的性能参数
路径C (ID33) 子路径33的性能参数
步骤308:第一订阅设备接收第一订阅响应,向第一网络设备发送第二订阅请求,第二订阅请求包括M条路径中的每条路径的标识,该N条路径包括该M条路径,M为大于或等于1的整数。
在步骤308中,第一订阅设备接收第一订阅响应,从第一订阅响应包括的N条路径的标识中,选择M条路径的标识。
在一些实施例中,在第一订阅响应没有包括该N条路径中的每条路径的性能参数的情况,第一订阅设备从该N条路径中随机选择M条路径或选择包括的子路径最少的M条路径。对于该N条路径中的每条路径,该路径的标识包括该路径中的每条子路径的标识。第一订阅设备分别对每条路径包括的子路径的标识进行统计,得到每条路径包括的子路径数目,基于每条路径包括的子路径数目选择包括的子路径最少的M条路径。在一些实施例中,在第一订阅响应包括该N条路径中的每条路径的性能参数的情况,第一订阅设备基于每条路径的性能参数,选择M条路径。例如,第一订阅设备基于每个路径的性能参数选择性能参数最优的M条路径,或者,选择性能参数满足业务需求的M条路径。该业务需求是第一订阅设备与目的设备之间需要传输的业务的需求。例如,订阅设备21接收的第一订阅响应,第一订阅响应包括上述表4所示的第一订阅数据,基于表4所示的第一订阅数据包括的路径A的性能参数、路径B的性能参数和路径C的性能参数,选择路径A和路径B,向网络设备121发送第二订 阅请求,第二订阅请求包括路径A的标识(ID31,ID34)和路径B的标识(ID32,ID34)。在一些实施例中,M小于或等于第一订阅设备支持的最大路径数目。例如,M等于第一订阅设备支持的最大路径数目。
步骤309:第一网络设备接收第二订阅请求,将第一订阅设备的标识与该M条路径的标识对应保存在第四对应关系中,以实现在第一网络设备中为第一订阅设备订阅该M条路径。
举例说明,与第一网络设备通信的订阅设备可能有多个,而对于该M条路径中的任一条路径,可能有多个订阅设备订阅了该条路径,即在第四对应关系中与该路径的标识相对应的订阅设备的标识包括多个。其中,第四对应关系可能保存在第一网络设备的本地。或者第四对应关系可能保存在第一存储设备中。在一些实施例中,在第一订阅请求还包括性能参数类型的情况,第一网络设备将第一订阅设备的标识、该M条路径的标识和该性能参数类型对应保存在第四对应关系中。例如,网络设备121接收订阅设备21发送的第二订阅请求,第二订阅请求包括路径A的标识(ID31,ID34)和路径B的标识(ID32,ID34),将订阅设备21的标识“ID21”和路径A的标识(ID31,ID34)和路径B的标识(ID32,ID34)对应保存在如下表5所示的第四对应关系中。
表5
订阅设备的标识 路径的标识
ID21 (ID31,ID34),(ID32,ID34)
…… ……
在一些实施例中,第一网络设备还向第一订阅设备发送第二订阅响应。其中,第一网络设备还获取该M条路径中的每条路径的性能参数,第二订阅响应还包括该M条路径中的每条路径的性能参数。
在第一网络设备为第一订阅设备订阅M条路径后,第一网络设备可以周期性地向第一订阅设备推送该M条路径中的一条或多个路径的性能参数,详细实现过程如下:
步骤310:第一网络设备周期性获取该M条路径中每条路径的性能参数,基于第四对应关系向第一订阅设备发送订阅数据,该订阅数据包括该M条路径中的部分或全部路径的性能参数。
在一些实施例中,第一网络设备周期性获取M条路径中每条路径的性能参数;周期性向第一订阅设备发送第二订阅数据,第二订阅数据包括M条路径中每条路径的标识和每条路径的性能参数。
在一些实施例中,第一网络设备通过如下3101至3104的操作获取每条路径的性能参数,向第一订阅设备发送第二订阅数据。该3101至3104的操作可以为:
3101:对于该M条路径中的任一条路径,第一网络设备周期地采集第一子路径的性能参数,第一子路径是该路径中的与第一网络设备相连的子路径。
举例说明,第一网络设备还向控制设备发送第一子路径的标识和性能参数。例如,以上述路径A为例,路径A包括子路径31和子路径34,网络设备121周期性地采集子路径31的性能参数,向控制设备发送子路径31的标识“ID31”和性能参数。
3102:第一网络设备接收控制设备发送的至少一条第二子路径的性能参数,该至少一条第二子路径是该路径中除第一子路径之外的其他子路径,以得到该路径包括的各条子路径的性能参数。
对于至少一条第二子路径中的任一条第二子路径,与该第二子路径相连的端点设备周期性采集该第二子路径的性能参数,向控制设备发送该第二子路径的标识和性能参数。控制设备接收该第二子路径的标识和性能参数。从控制设备中保存的第三对应关系或第二存储设备中保存的第三对应关系中获取包括该第二子路径的标识的记录,该记录中保存的网络设备的标识包括第一网络设备的标识。基于该记录包括的各网络设备的标识,向各网络设备发送该第二子路径的性能参数。第一网络设备接收该第二子路径的性能参数。按上述相同的方式,第一网络设备还会接收该至少一条第二子路径中的其他第二子路径的性能参数,从而得到该路径包括的各条子路径的性能参数。例如,对于路径A中的子路径34,子路径34的端点设备包括网络设备122和网络设备123,网络设备122和/或网络设备123周期性采集子路径34的性能参数,向控制设备11发送子路径34的标识“ID34”和性能参数。控制设备11从如表3所示的第三对应关系中获取包括子路径34的标识“ID34”的记录,该记录中保存的网络设备的标识包括网络设备121的标识“ID121”。基于网络设备121的标识“ID121”,向网络设备121发送子路径34的性能参数。网络设备121接收子路径34的性能参数,从而得到路径A包括子路径31的性能参数和子路径34的性能参数。
3103:第一网络设备基于该路径包括的各子路径的性能参数,获取该路径的性能参数。
第一网络设备基于该路径包括的各子路径的性能参数,获取该路径的性能参数的详细实现过程,可以参见步骤303中的相关内容,在此不再详细说明。
第一网络设备重复上述3101至3103的过程,可以获取到M条路径的性能参数。例如,对于路径B,重复上述3101至3103的过程获取路径B的性能参数。
3104:第一网络设备基于第四对应关系向第一订阅设备发送第二订阅数据,第二订阅数据包括M条路径中每条路径的标识和每条路径的性能参数。
对于该M条路径中的每条路径,第二网络设备基于每条路径的标识,从第一网络设备保存的第四对应关系或第一存储设备保存的第四对应关系中获取订阅该路径的各订阅设备的标识,获取的订阅设备的标识包括第一订阅设备的标识。基于获取的各订阅设备的标识,向各订阅设备发送第二订阅数据,第二订阅数据包括该M条路径中每条路径的性能参数。例如,对于上述路径A和路径B,网络设备121基于路径A的标识(ID31,ID34)和路径B的标识(ID32,ID34),从上述表5所示的第四对应关系中获取订阅该路径的各订阅设备的标识,获取的订阅设备的标识包括订阅设备21的标识“ID21”。基于订阅设备21的标识“ID21”,向订阅设备21发送第二订阅数据,第二订阅数据包括路径A的性能参数和路径B的性能参数。
在一些实施例中,对于该M条路径中的每条路径,该路径的性能参数包括时延、丢包率和带宽等中的一个或多个参数,第一网络设备从第四对应关系中获取的记录还包括第一订阅设备订阅的性能参数类型,这样对于第一网络设备向第一订阅设备发送的第二订阅数据中的每条路径的性能参数,该每条路径的性能参数是与该性能参数类型相对应的性能参数。其中,第一订阅设备接收第二订阅数据,基于第二订阅数据包括的M条路径的性能参数,选择满足业务需求路径,并使用选择的路径与目的设备通信。
在一些实施例中,第一网络设备获取该M条路径中每条路径的性能参数;在该M条路径中的第i条路径的性能参数超过阈值后,向第一订阅设备发送第三订阅数据,第三订阅数据包括第i条路径的性能参数,i=1、2、……、M。
对于该M条路径中的任一条路径,为了便于说明,将该路径称为第i条路径,第一网络 设备获取第i条路径包括的子路径的性能参数,基于第i条路径包括的子路径的性能参数,获取第i条路径的性能参数。在该M条路径中的第i条路径的性能参数超过阈值后,向第一订阅设备发送第三订阅数据,第三订阅数据包括第i条路径的性能参数。
第一网络设备基于该路径包括的子路径的性能参数,获取该路径的性能参数的详细实现过程,可以参见步骤303中的相关内容,在此不再详细说明。
第一网络设备获取第i条路径的性能参数的详细实现过程,可以参见上述3101至3103的操作,在此不再详细说明。
其中,第一订阅设备接收第三订阅数据,基于第二订阅数据包括的第i条路径的性能参数,选择满足业务需求的路径,并使用选择的路径与目的设备通信。
在一些实施例中,第一订阅设备、第一网络设备与控制设备之间采用的协议包括消息队列遥测传输协议(message queuing telemetry transport,MQTT)或谷歌远程过程调用(google remote procedure call,GRPC)协议。
在本申请实施例中,第一订阅设备向第一网络设备发送第一订阅请求,第一订阅请求包括第一订阅设备的标识和目的设备的标识。在没有缓存实现第一订阅设备与目的设备通信的N条路径的标识时,第一网络设备向控制设备发送第二订阅请求,第二订阅请求包括第一订阅设备的标识和目的设备的标识。控制设备计算实现第一订阅设备与目的设备通信的N条路径,向第一网络设备发送第三订阅响应,第三订阅响应包括第一订阅数据,第一订阅数据包括该N条路径的标识,还记录第一网络设备与该N条路径的性能参数。第一网络设备接收第一订阅响应,向第一订阅设备发送第一订阅响应,第一订阅响应包括第一订阅数据,以让第一订阅设备基于第一订阅数据从该N条路径中选择M条路径,并向第一网络设备发送第二订阅请求,第二订阅请求包括该M条路径的标识。第一网络设备基于第二订阅请求记录第一订阅设备与该M条路径的订阅关系。如此,控制设备可以向订阅该N条路径的各网络设备发送该N条路径的性能参数,第一网络设备再向订阅该M条路径的各订阅设备发送该M条路径的性能参数。从而使得第一订阅设备周期性地接收M条路径的性能参数,并基于该M条路径的性能参数选择满足业务需求的路径,由于由第一订阅设备来选择路径,提高了路径规划的灵活性,减轻控制设备的负担。另一方面,在第一网络设备确定缓存该N条路径的标识时,第一网络设备向控制设备发送第二订阅请求,如此就不需要控制设备计算该N条路径,从而大幅提高了路径规划的灵活性,减轻控制设备的负担。另外,控制设备在发送路径的性能参数时,只需要向订阅该路径的网络设备发送该路径的性能参数,再由各网络设备向订阅该路径中的订阅设备发送该路径的性能参数。所以控制设备不需要向所有订阅该路径的订阅设备发送该路径的性能参数,大幅度减小了控制设备需要复制分发的性能参数的数量,从而大幅度地减轻控制设备的负担。由于控制设备在推送路径的性能参数时不需要直接面向订阅设备,从而不需要向订阅设备暴露,降低被攻击的风险。
参见图4,本申请实施例提供了一种订阅路径的方法400,所述方法400应用于图1或图2所示的网络架构100,包括:
步骤401:与图3所示方法300中的步骤301相同,在此不再详细说明。
步骤402:第一网络设备接收第一订阅请求,基于第一订阅请求确定是否缓存N条路径的标识,如果缓存该N条路径的标识,则执行步骤403,如果没有缓存该N条路径的标识,则执行步骤404,N为大于1的整数。
第一网络设备确定是否缓存N条路径的标识的详细实现过程,可以参见图3所示方法300的步骤302中的相关内容,在此不再详细说明。
步骤403:第一网络设备基于缓存的N路径的标识生成第一订阅数据,向第一订阅设备发送第一订阅响应,第一订阅响应包括第一订阅数据,第一订阅数据包括该N条路径中的每条路径的标识,执行步骤308。
第一网络设备生成第一订阅数据的详细实现过程,可以参见图3所示方法300的步骤303中的相关内容,在此不再详细说明。
步骤404-步骤407:与图3所示方法300中的步骤304-步骤307相同,在此不再详细说明。
步骤408:第一网络设备将第一订阅设备的标识与该N条路径的标识对应保存在第四对应关系中,以实现在第一网络设备中为第一订阅设备订阅该N条路径。
与第一网络设备通信的订阅设备可能有多个,而对于该N条路径中的任一条路径,可能有多个订阅设备订阅了该条路径,即在第四对应关系中与该路径的标识相对应的订阅设备的标识包括多个。在第一网络设备为第一订阅设备订阅N条路径后,第一网络设备可以周期性地向第一订阅设备推送该N条路径中的一条或多个路径的性能参数,详细实现过程如下:
步骤409:第一网络设备周期性获取该N条路径中每条路径的性能参数,基于第四对应关系向第一订阅设备发送订阅数据,该订阅数据包括该N条路径中的部分或全部路径的性能参数。
在一些实施例中,第一网络设备周期性获取N条路径中每条路径的性能参数;周期性向第一订阅设备发送第四订阅数据,第四订阅数据包括N条路径中每条路径的标识和每条路径的性能参数。第一网络设备获取N条路径中每条路径的性能参数的详细实现过程,可以参见图3所示方法300的步骤310中的相关内容,在此不再详细说明。其中,第一订阅设备接收第四订阅数据,基于第四订阅数据包括的N条路径的性能参数,选择路径,并使用选择的路径与目的设备通信。在一些实施例中,第一网络设备获取该N条路径中每条路径的性能参数;在该N条路径中的第j条路径的性能参数超过阈值后,向第一订阅设备发送第五订阅数据,第五订阅数据包括第j条路径的性能参数,j=1、2、……、N。其中,第一订阅设备接收第五订阅数据,基于第五订阅数据包括的第i条路径的性能参数,选择路径,并使用选择的路径与目的设备通信。
在本申请实施例中,第一订阅设备向第一网络设备发送第一订阅请求,第一订阅请求包括第一订阅设备的标识和目的设备的标识。在没有缓存实现第一订阅设备与目的设备通信的N条路径的标识时,第一网络设备向控制设备发送第二订阅请求,第二订阅请求包括第一订阅设备的标识和目的设备的标识。控制设备计算实现第一订阅设备与目的设备通信的N条路径,向第一网络设备发送第三订阅响应,第三订阅响应包括第一订阅数据,第一订阅数据包括该N条路径的标识,还记录第一网络设备与该N条路径的性能参数。第一网络设备接收第一订阅响应,基于第一订阅响应记录第一订阅设备与该N条路径的订阅关系。如此,控制设备可以向订阅该N条路径的各网络设备发送该N条路径的性能参数,第一网络设备再向订阅该N条路径的各订阅设备发送该N条路径的性能参数。从而使得第一订阅设备周期性地接收M条路径的性能参数,并基于该M条路径的性能参数选择满足业务需求的路径,由于由第一订阅设备来选择路径,提高了路径规划的灵活性,减轻控制设备的负担。另一方面,在第一 网络设备确定缓存该N条路径的标识时,第一网络设备向控制设备发送第二订阅请求,如此就不需要控制设备计算该N条路径,从而大幅提高了路径规划的灵活性,减轻控制设备的负担。另外,控制设备在发送路径的性能参数时,只需要向订阅该路径的网络设备发送该路径的性能参数,再由各网络设备向订阅该路径中的订阅设备发送该路径的性能参数。所以控制设备不需要向所有订阅该路径的订阅设备发送该路径的性能参数,大幅度减小了控制设备需要复制分发的性能参数的数量,从而大幅度地减轻控制设备的负担。
参见图5,本申请实施例提供了一种订阅路径的装置500,所述装置500部署在上述任意实施例的网络设备上,例如部署在如图3所示方法300或图4所示方法400中的第一网络设备上,包括:接收单元501、处理单元502和发送单元503。其中,接收单元501用于接收第一订阅设备发送的第一订阅请求,第一订阅请求包括第一订阅设备的标识和目的设备的标识。处理单元502用于基于第一订阅设备的标识和目的设备的标识获取第一订阅数据,第一订阅数据包括N条路径中每条路径的标识,N大于1,N条路径中的任一条路径用于实现第一订阅设备与目的设备间的通信。发送单元503用于向第一订阅设备发送第一订阅响应,第一订阅响应包括第一订阅数据。
举例说明,接收单元501接收第一订阅请求的详细实现过程,参见上述图3所示方法300的步骤302,图4所示方法400的步骤402中的相关内容,在此不再详细说明。处理单元502获取第一订阅数据的详细实现过程,参见上述图3所示方法300的步骤303-306,图4所示方法400的步骤403-406中的相关内容,在此不再详细说明。发送单元503发送第一订阅响应的详细实现过程,参见上述图3所示方法300的步骤307,图4所示方法400的步骤407中的相关内容,在此不再详细说明。
可选的,接收单元501还用于接收第一订阅设备发送的第二订阅请求,第二订阅请求包括M条路径中每条路径的标识,M大于或等于1,M条路径包含于N条路径;处理单元502,还用于获取M条路径中每条路径的性能参数;发送单元503,还用于向第一订阅设备发送第二订阅响应,第二订阅响应包括M条路径中每条路径的性能参数。其中,接收单元501接收第二订阅请求的详细实现过程,参见上述图3所示方法300的步骤309中的相关内容,在此不再详细说明。处理单元502获取每条路径的性能参数的详细实现过程,参见上述图3所示方法300的步骤309中的相关内容,在此不再详细说明。
发送单元503发送第二订阅响应的详细实现过程,参见上述图3所示方法300的步骤309中的相关内容,在此不再详细说明。
在一种可能的实现方式中,第一订阅数据还包括N条路径中每条路径的性能参数。
可选的,接收单元501还用于接收第一订阅设备发送的第二订阅请求,第二订阅请求包括M条路径中每条路径的标识,M大于或等于1,M条路径为所述N条路径中性能参数满足业务需求的路径。其中,接收单元501接收第三订阅请求的详细实现过程,参见上述图3所示方法300的步骤309中的相关内容,在此不再详细说明。
可选的,处理单元502还用于周期性获取M条路径中每条路径的性能参数;发送单元503还用于周期性向第一订阅设备发送第二订阅数据,第二订阅数据包括M条路径中每条路径的标识和每条路径的性能参数。其中,处理单元502周期性获取M条路径中每条路径的性能参数的详细实现过程,参见上述图3所示方法300的步骤310中的相关内容,在此不再详细说明。发送单元503周期性向第一订阅设备发送第二订阅数据的详细实现过程,参见上述图3 所示方法300的步骤310中的相关内容,在此不再详细说明。
可选的,处理单元502还用于获取M条路径中每条路径的性能参数;发送单元503还用于在M条路径中的第i条路径的性能参数超过阈值后,向第一订阅设备发送第三订阅数据,第三订阅数据包括第i条路径的性能参数。其中,处理单元502周期性获取M条路径中每条路径的性能参数的详细实现过程,参见上述图3所示方法300的步骤310中的相关内容,在此不再详细说明。发送单元503周期性向第一订阅设备发送第三订阅数据的详细实现过程,参见上述图3所示方法300的步骤310中的相关内容,在此不再详细说明。
可选的,处理单元502还用于周期性获取N条路径中每条路径的性能参数;发送单元503还用于周期性向第一订阅设备发送第四订阅数据,第四订阅数据包括N条路径中每条路径的标识和每条路径的性能参数。其中,处理单元502周期性获取N条路径中每条路径的性能参数的详细实现过程,参见上述图4所示方法400的步骤409中的相关内容,在此不再详细说明。发送单元503周期性向第一订阅设备发送第四订阅数据的详细实现过程,参见上述图4所示方法400的步骤409中的相关内容,在此不再详细说明。
可选的,处理单元502还用于获取N条路径中每条路径的性能参数;发送单元503还用于在N条路径中的第j条路径的性能参数超过阈值后,向第一订阅设备发送第五订阅数据,第五订阅数据包括第j条路径的性能参数。其中,处理单元502周期性获取N条路径中每条路径的性能参数的详细实现过程,参见上述图4所示方法400的步骤409中的相关内容,在此不再详细说明。发送单元503周期性向第一订阅设备发送第五订阅数据的详细实现过程,参见上述图4所示方法400的步骤409中的相关内容,在此不再详细说明。
可选的,发送单元503还用于向控制设备发送第三订阅请求,第三订阅请求包括第一订阅设备的标识和目的设备的标识;接收单元501还用于接收控制设备发送的第三订阅响应,第三订阅响应包括第一订阅数据。
可选的,处理单元502用于基于缓存的N条路径中每条路径的标识,获取第一订阅数据。其中,处理单元502获取第一订阅数据的详细实现过程,参见上述图3所示方法300的步骤303中的相关内容,在此不再详细说明。
在本申请实施例中,所述装置是网络中与第一订阅设备通信的设备,接收单元在接收第一订阅请求后,处理单元获取实现第一订阅设备与目的设备通信的N条路径的标识,发送单元向第一订阅设备发送第一订阅数据,第一订阅数据包括该N条路径的标识,第一订阅设备可以基于第一订阅数据选择路径。这样对于与所述装置通信的各订阅设备,处理单元负责为这些订阅设备获取多条路径的标识,再由各订阅设备从该多条路径中选择用于与目的设备通信的路径,相比目前由控制设备集中为网络中的所有订阅设备确定路径,增加了路径规划的灵活性,以及减轻控制设备的负担。
参见图6,本申请实施例提供了一种订阅路径的装置600,所述装置600部署在上述任意实施例的订阅设备上,例如部署在如图3所示方法300或图4所示方法400中的第一订阅设备上,包括:发送单元601和接收单元602。发送单元601用于向第一网络设备发送第一订阅请求,第一订阅请求包括所述装置600的标识和目的设备的标识;接收单元602用于接收第一网络设备发送的第一订阅响应,第一订阅响应包括第一订阅数据,第一订阅数据包括N条路径中的每条路径的标识,N大于1,N条路径中的任一条路径用于实现所述装置600与目的设备间的通信。其中,发送单元601发送第一订阅请求的详细实现过程,参见上述图3 所示方法300的步骤301或图4所示方法400的步骤401中的相关内容,在此不再详细说明。接收单元602接收第一订阅响应的详细实现过程,参见上述图3所示方法300的步骤308或图4所示方法400的步骤407中的相关内容,在此不再详细说明。
可选的,所述装置600还包括:第一处理单元603。第一处理单元603用于从N条路径中选择M条路径,M大于或等于1;发送单元601还用于向第一网络设备发送第二订阅请求,第二订阅请求包括M条路径中每条路径的标识;接收单元602还用于接收第一网络设备发送的第二订阅响应,第二订阅响应包括M条路径中每条路径的性能参数。其中,第一处理单元603选择M条路径的详细实现过程,参见上述图3所示方法300的步骤308中的相关内容,在此不再详细说明。发送单元601发送第二订阅请求的详细实现过程,参见上述图3所示方法300的步骤308中的相关内容,在此不再详细说明。接收单元602接收第二订阅响应的详细实现过程,参见上述图3所示方法300的步骤308中的相关内容,在此不再详细说明。
可选的,第一订阅数据还包括N条路径中每条路径的性能参数,所述装置600还包括:第二处理单元604。第二处理单元604,用于从N条路径中选择性能参数满足业务需求的M条路径,M大于或等于1;发送单元601,还用于向第一网络设备发送第二订阅请求,第二订阅请求包括M条路径中每条路径的标识。其中,第二处理单元604选择性能参数满足业务需求的M条路径的详细实现过程,参见上述图3所示方法300的步骤308中的相关内容,在此不再详细说明。发送单元601发送第三订阅请求的详细实现过程,参见上述图3所示方法300的步骤308中的相关内容,在此不再详细说明。
可选的,接收单元602还用于接收第一网络设备周期性发送的第二订阅数据,第二订阅数据包括M条路径中每条路径的标识和每条路径的性能参数。其中,接收单元602接收第二订阅数据的详细实现过程,参见上述图3所示方法300的步骤310中的相关内容,在此不再详细说明。
可选的,接收单元602还用于接收第一网络设备发送的第三订阅数据,第三订阅数据包括M条路径中的第i条路径的性能参数,第i条路径的性能参数超过阈值。其中,接收单元602接收第三订阅数据的详细实现过程,参见上述图3所示方法300的步骤310中的相关内容,在此不再详细说明。
可选的,接收单元602还用于接收第一网络设备周期性发送第四订阅数据,第四订阅数据包括N条路径中每条路径的标识和每条路径的性能参数。其中,接收单元602接收第四订阅数据的详细实现过程,参见上述图4所示方法400的步骤409中的相关内容,在此不再详细说明。
可选的,接收单元602还用于接收第一网络设备发送的第五订阅数据,第五订阅数据包括N条路径中的第j条路径的性能参数,第j条路径的性能参数超过阈值。其中,接收单元602接收第五订阅数据的详细实现过程,参见上述图4所示方法400的步骤409中的相关内容,在此不再详细说明。
在本申请实施例中,第一网络设备是网络中与所述装置通信的设备,发送单元向第一网络设备发送第一订阅请求,请求第一网络设备获取实现所述装置与目的设备通信的N条路径的标识,然后所述装置基于第一订阅数据选择路径。这样对于与第一网络设备通信的所述装置,由第一网络设备负责为所述装置获取多条路径的标识,再由所述装置从该多条路径中选择用于与目的设备通信的路径,相比目前由控制设备集中为网络中的所有订阅设备确定路径, 增加了路径规划的灵活性,以及减轻控制设备的负担。
参见图7,本申请实施例提供了一种订阅路径的装置700示意图。所述装置700可以是上述任意实施例提供的网络设备,例如,可以是图1或图2所示的网络架构100中的网络设备、图3所示方法300或图4所示方法400中的第一网络设备。所述装置700包括至少一个处理器701,内部连接702,存储器703以及至少一个收发器704。所述装置700是一种硬件结构的装置,可以用于实现图5所述的装置500中的功能模块。例如,本领域技术人员可以想到图5所示的装置500中的处理单元502可以通过该至少一个处理器701调用存储器703中的代码来实现,图5所示的装置500中的接收单元501和发送单元503可以通过该至少一个收发器704来实现。所述装置700还可以用于实现上述任一实施例中第一网络设备的功能。上述处理器701可以是一个通用中央处理器(central processing unit,CPU),网络处理器(network processor,NP),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。上述内部连接702可包括一通路,在上述组件之间传送信息。内部连接702可以为单板或总线等。上述至少一个收发器704,用于与其他设备或通信网络通信。上述存储器703可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。其中,存储器703用于存储执行本申请方案的应用程序代码,并由处理器701来控制执行。处理器701用于执行存储器703中存储的应用程序代码,以及配合至少一个收发器704,从而使得所述装置700实现本专利方法中的功能。在具体实现中,作为一种实施例,处理器701可以包括一个或多个CPU,例如图7中的CPU0和CPU1。在具体实现中,作为一种实施例,所述装置700可以包括多个处理器,例如图7中的处理器701和处理器707。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
参见图8,本申请实施例提供了一种订阅路径的装置800示意图。所述装置800可以是上述任意实施例提供的订阅设备,例如,可以是图1或图2所示的网络架构100中的订阅设备、图3所示方法300或图4所示方法400中的第一订阅设备。所述装置800包括至少一个处理器801,内部连接802,存储器803以及至少一个收发器804。所述装置800是一种硬件结构的装置,可以用于实现图5所述的装置500中的功能模块。例如,本领域技术人员可以想到图6所示的装置600中的第一处理单元603和第二处理单元604可以通过该至少一个处理器801调用存储器803中的代码来实现,图6所示的装置600中的发送单元601和接收单元602可以通过该至少一个收发器804来实现。所述装置800还可以用于实现上述任一实施例中第一订阅设备的功能。上述处理器801可以是一个通用中央处理器(central processing unit,CPU),网络处理器(network processor,NP),微处理器,特定应用集成电路 (application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。上述内部连接802可包括一通路,在上述组件之间传送信息。内部连接802可以为单板或总线等。上述至少一个收发器804,用于与其他设备或通信网络通信。上述存储器803可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。其中,存储器803用于存储执行本申请方案的应用程序代码,并由处理器801来控制执行。处理器801用于执行存储器803中存储的应用程序代码,以及配合至少一个收发器804,从而使得所述装置800实现本专利方法中的功能。在具体实现中,作为一种实施例,处理器801可以包括一个或多个CPU,例如图8中的CPU0和CPU1。在具体实现中,作为一种实施例,所述装置800可以包括多个处理器,例如图8中的处理器801和处理器807。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
参见图9,本申请实施例提供了一种订阅路径的系统900,所述系统900包括如图5所示的装置500和如图6所示的装置600,或者,所述系统900包括如图7所示的装置700和如图8所示的装置800。其中,如图5所示的装置500或如图7所示的装置700可以为第一网络设备901,如图6所示的装置600或如图8所示的装置800可以为第一订阅设备902。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
本申请中术语“第一”“第二”等字样用于对作用和功能基本相同的相同项或相似项进行区分,应理解,“第一”、“第二”、“第n”之间不具有逻辑或时序上的依赖关系,也不对数量和执行顺序进行限定。还应理解,尽管以下描述使用术语第一、第二等来描述各种元素,但这些元素不应受术语的限制。这些术语只是用于将一元素与另一元素区别分开。例如,在不脱离各种所述示例的范围的情况下,第一图像可以被称为第二图像,并且类似地,第二图像可以被称为第一图像。第一图像和第二图像都可以是图像,并且在某些情况下,可以是单独且不同的图像。
还应理解,在本申请的各个实施例中,各个过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (35)

  1. 一种订阅路径的方法,其特征在于,所述方法包括:
    第一网络设备接收第一订阅设备发送的第一订阅请求,所述第一订阅请求包括第一订阅设备的标识和目的设备的标识;
    所述第一网络设备基于所述第一订阅设备的标识和所述目的设备的标识获取第一订阅数据,所述第一订阅数据包括N条路径中每条路径的标识,所述N大于1,所述N条路径中的任一条路径用于实现所述第一订阅设备与目的设备间的通信;
    所述第一网络设备向所述第一订阅设备发送第一订阅响应,所述第一订阅响应包括所述第一订阅数据。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述第一网络设备接收所述第一订阅设备发送的第二订阅请求,所述第二订阅请求包括M条路径中每条路径的标识,所述M大于或等于1,所述M条路径包含于所述N条路径;
    所述第一网络设备获取所述M条路径中每条路径的性能参数;
    所述第一网络设备向所述第一订阅设备发送第二订阅响应,所述第二订阅响应包括所述M条路径中每条路径的性能参数。
  3. 根据权利要求1所述的方法,其特征在于,所述第一订阅数据还包括所述N条路径中每条路径的性能参数。
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    所述第一网络设备接收所述第一订阅设备发送的第二订阅请求,所述第二订阅请求包括M条路径中每条路径的标识,所述M大于或等于1,所述M条路径为所述N条路径中性能参数满足业务需求的路径。
  5. 根据权利要求2至4任一所述的方法,其特征在于,所述方法还包括:
    所述第一网络设备周期性获取所述M条路径中每条路径的性能参数;
    所述第一网络设备周期性向所述第一订阅设备发送第二订阅数据,所述第二订阅数据包括所述M条路径中每条路径的标识和每条路径的性能参数。
  6. 根据权利要求2至4任一所述的方法,其特征在于,所述方法还包括:
    所述第一网络设备获取所述M条路径中每条路径的性能参数;
    所述第一网络设备在所述M条路径中的第i条路径的性能参数超过阈值后,向所述第一订阅设备发送第三订阅数据,所述第三订阅数据包括所述第i条路径的性能参数。
  7. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    所述第一网络设备周期性获取所述N条路径中每条路径的性能参数;
    所述第一网络设备周期性向所述第一订阅设备发送第四订阅数据,所述第四订阅数据包括所述N条路径中每条路径的标识和每条路径的性能参数。
  8. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    所述第一网络设备获取所述N条路径中每条路径的性能参数;
    所述第一网络设备在所述N条路径中的第j条路径的性能参数超过阈值后,向所述第一订阅设备发送第五订阅数据,所述第五订阅数据包括所述第j条路径的性能参数。
  9. 根据权利要求1至8任一所述的方法,其特征在于,所述第一网络设备基于所述第一 订阅设备的标识和所述目的设备的标识获取第一订阅数据,包括:
    所述第一网络设备向控制设备发送第三订阅请求,所述第三订阅请求包括所述第一订阅设备的标识和所述目的设备的标识;
    所述第一网络设备接收控制设备发送的第三订阅响应,所述第三订阅响应包括所述第一订阅数据。
  10. 根据权利要求1至8任一所述的方法,其特征在于,所述第一网络设备基于所述第一订阅设备的标识和所述目的设备的标识获取第一订阅数据,包括:
    所述第一网络设备基于缓存的所述N条路径中每条路径的标识,获取所述第一订阅数据。
  11. 一种订阅路径的方法,其特征在于,所述方法包括:
    第一订阅设备向第一网络设备发送第一订阅请求,所述第一订阅请求包括所述第一订阅设备的标识和目的设备的标识;
    所述第一订阅设备接收所述第一网络设备发送的第一订阅响应,所述第一订阅响应包括第一订阅数据,所述第一订阅数据包括N条路径中的每条路径的标识,所述N大于1,所述N条路径中的任一条路径用于实现所述第一订阅设备与所述目的设备间的通信。
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:
    所述第一订阅设备从所述N条路径中选择M条路径,所述M大于或等于1;
    所述第一订阅设备向所述第一网络设备发送第二订阅请求,所述第二订阅请求包括所述M条路径中每条路径的标识;
    所述第一订阅设备接收所述第一网络设备发送的第二订阅响应,所述第二订阅响应包括所述M条路径中每条路径的性能参数。
  13. 根据权利要求11所述的方法,其特征在于,所述第一订阅数据还包括所述N条路径中每条路径的性能参数,所述方法还包括:
    所述第一订阅设备从所述N条路径中选择性能参数满足业务需求的M条路径,所述M大于或等于1;
    所述第一订阅设备向所述第一网络设备发送第二订阅请求,所述第二订阅请求包括所述M条路径中每条路径的标识。
  14. 根据权利要求12或13所述的方法,其特征在于,所述方法还包括:
    所述第一订阅设备接收所述第一网络设备周期性发送的第二订阅数据,所述第二订阅数据包括所述M条路径中每条路径的标识和每条路径的性能参数。
  15. 根据权利要求12或13所述的方法,其特征在于,所述方法还包括:
    所述第一订阅设备接收所述第一网络设备发送的第三订阅数据,所述第三订阅数据包括所述M条路径中的第i条路径的性能参数,所述第i条路径的性能参数超过阈值。
  16. 根据权利要求11所述的方法,其特征在于,所述方法还包括:
    所述第一订阅设备接收所述第一网络设备周期性发送第四订阅数据,所述第四订阅数据包括所述N条路径中每条路径的标识和每条路径的性能参数。
  17. 根据权利要求11所述的方法,其特征在于,所述方法还包括:
    所述第一订阅设备接收所述第一网络设备发送的第五订阅数据,所述第五订阅数据包括所述N条路径中的第j条路径的性能参数,所述第j条路径的性能参数超过阈值。
  18. 一种订阅路径的装置,其特征在于,所述装置包括:
    接收单元,用于接收第一订阅设备发送的第一订阅请求,所述第一订阅请求包括第一订阅设备的标识和目的设备的标识;
    处理单元,用于基于所述第一订阅设备的标识和所述目的设备的标识获取第一订阅数据,所述第一订阅数据包括N条路径中每条路径的标识,所述N大于1,所述N条路径中的任一条路径用于实现所述第一订阅设备与目的设备间的通信;
    发送单元,用于向所述第一订阅设备发送第一订阅响应,所述第一订阅响应包括所述第一订阅数据。
  19. 根据权利要求18所述的装置,其特征在于,
    所述接收单元,还用于接收所述第一订阅设备发送的第二订阅请求,所述第二订阅请求包括M条路径中每条路径的标识,所述M大于或等于1,所述M条路径包含于所述N条路径;
    所述处理单元,还用于获取所述M条路径中每条路径的性能参数;
    所述发送单元,还用于向所述第一订阅设备发送第二订阅响应,所述第二订阅响应包括所述M条路径中每条路径的性能参数。
  20. 根据权利要求18所述的装置,其特征在于,所述第一订阅数据还包括所述N条路径中每条路径的性能参数。
  21. 根据权利要求20所述的装置,其特征在于,
    所述接收单元,还用于接收所述第一订阅设备发送的第二订阅请求,所述第二订阅请求包括M条路径中每条路径的标识,所述M大于或等于1,所述M条路径为所述N条路径中性能参数满足业务需求的路径。
  22. 根据权利要求19至21任一所述的装置,其特征在于,
    所述处理单元,还用于周期性获取所述M条路径中每条路径的性能参数;
    所述发送单元,还用于周期性向所述第一订阅设备发送第二订阅数据,所述第二订阅数据包括所述M条路径中每条路径的标识和每条路径的性能参数。
  23. 根据权利要求19至21任一所述的装置,其特征在于,
    所述处理单元,还用于获取所述M条路径中每条路径的性能参数;
    所述发送单元,还用于在所述M条路径中的第i条路径的性能参数超过阈值后,向所述第一订阅设备发送第三订阅数据,所述第三订阅数据包括所述第i条路径的性能参数。
  24. 根据权利要求20所述的装置,其特征在于,
    所述处理单元,还用于周期性获取所述N条路径中每条路径的性能参数;
    所述发送单元,还用于周期性向所述第一订阅设备发送第四订阅数据,所述第四订阅数据包括所述N条路径中每条路径的标识和每条路径的性能参数。
  25. 根据权利要求20所述的装置,其特征在于,
    所述处理单元,还用于获取所述N条路径中每条路径的性能参数;
    所述发送单元,还用于在所述N条路径中的第j条路径的性能参数超过阈值后,向所述第一订阅设备发送第五订阅数据,所述第五订阅数据包括所述第j条路径的性能参数。
  26. 根据权利要求18至25任一所述的装置,其特征在于,
    所述发送单元,还用于向控制设备发送第三订阅请求,所述第三订阅请求包括所述第一订阅设备的标识和所述目的设备的标识;
    所述接收单元,还用于接收控制设备发送的第三订阅响应,所述第三订阅响应包括所述第一订阅数据。
  27. 根据权利要求18至25任一所述的装置,其特征在于,所述处理单元,用于基于缓存的所述N条路径中每条路径的标识,获取所述第一订阅数据。
  28. 一种订阅路径的装置,其特征在于,所述装置包括:
    发送单元,用于向第一网络设备发送第一订阅请求,所述第一订阅请求包括所述装置的标识和目的设备的标识;
    接收单元,用于接收所述第一网络设备发送的第一订阅响应,所述第一订阅响应包括第一订阅数据,所述第一订阅数据包括N条路径中的每条路径的标识,所述N大于1,所述N条路径中的任一条路径用于实现所述装置与所述目的设备间的通信。
  29. 根据权利要求28所述的装置,其特征在于,所述装置还包括:第一处理单元,
    所述第一处理单元,用于从所述N条路径中选择M条路径,所述M大于或等于1;
    所述发送单元,还用于向所述第一网络设备发送第二订阅请求,所述第二订阅请求包括所述M条路径中每条路径的标识;
    所述接收单元,还用于接收所述第一网络设备发送的第二订阅响应,所述第二订阅响应包括所述M条路径中每条路径的性能参数。
  30. 根据权利要求28所述的装置,其特征在于,所述第一订阅数据还包括所述N条路径中每条路径的性能参数,所述装置还包括:第二处理单元,
    所述第二处理单元,用于从所述N条路径中选择性能参数满足业务需求的M条路径,所述M大于或等于1;
    所述发送单元,还用于向所述第一网络设备发送第二订阅请求,所述第二订阅请求包括所述M条路径中每条路径的标识。
  31. 根据权利要求29或30所述的装置,其特征在于,
    所述接收单元,还用于接收所述第一网络设备周期性发送的第二订阅数据,所述第二订阅数据包括所述M条路径中每条路径的标识和每条路径的性能参数。
  32. 根据权利要求29或30所述的装置,其特征在于,
    所述接收单元,还用于接收所述第一网络设备发送的第三订阅数据,所述第三订阅数据包括所述M条路径中的第i条路径的性能参数,所述第i条路径的性能参数超过阈值。
  33. 根据权利要求28所述的装置,其特征在于,
    所述接收单元,还用于接收所述第一网络设备周期性发送第四订阅数据,所述第四订阅数据包括所述N条路径中每条路径的标识和每条路径的性能参数。
  34. 根据权利要求28所述的装置,其特征在于,
    所述接收单元,还用于接收所述第一网络设备发送的第五订阅数据,所述第五订阅数据包括所述N条路径中的第j条路径的性能参数,所述第j条路径的性能参数超过阈值。
  35. 一种订阅路径的系统,其特征在于,所述系统包括如权利要求18至27任一项所述的装置和如权利要求28至34任一项所述的装置。
PCT/CN2022/081235 2021-03-29 2022-03-16 订阅路径的方法、装置、系统及存储介质 WO2022206391A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22778574.8A EP4319090A4 (en) 2021-03-29 2022-03-16 PATH SUBSCRIPTION METHOD, APPARATUS AND SYSTEM AND STORAGE MEDIUM
US18/475,459 US20240022505A1 (en) 2021-03-29 2023-09-27 Path subscription method, apparatus, and system, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110335487.9A CN115225721A (zh) 2021-03-29 2021-03-29 订阅路径的方法、装置、系统及存储介质
CN202110335487.9 2021-03-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/475,459 Continuation US20240022505A1 (en) 2021-03-29 2023-09-27 Path subscription method, apparatus, and system, and storage medium

Publications (1)

Publication Number Publication Date
WO2022206391A1 true WO2022206391A1 (zh) 2022-10-06

Family

ID=83455606

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/081235 WO2022206391A1 (zh) 2021-03-29 2022-03-16 订阅路径的方法、装置、系统及存储介质

Country Status (4)

Country Link
US (1) US20240022505A1 (zh)
EP (1) EP4319090A4 (zh)
CN (1) CN115225721A (zh)
WO (1) WO2022206391A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316004A (zh) * 2010-06-29 2012-01-11 上海贝尔股份有限公司 在通信网络中用于确定节点间路由信息的方法及装置
CN103828440A (zh) * 2011-09-12 2014-05-28 高通股份有限公司 在混和网络中提供通信路径信息
US20180198684A1 (en) * 2015-07-10 2018-07-12 Idac Holdings, Inc. Path information updates in information-centric networking
US20180262454A1 (en) * 2017-03-08 2018-09-13 Linkedin Corporation Network routing using a publish-subscribe messaging system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11190437B2 (en) * 2017-12-21 2021-11-30 Telefonaktiebolaget Lm Ericsson (Publ) Methods, apparatus and computer programs for allocating traffic in a telecommunications network
CN110391982B (zh) * 2018-04-20 2022-03-11 伊姆西Ip控股有限责任公司 传输数据的方法、设备和计算机程序产品

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316004A (zh) * 2010-06-29 2012-01-11 上海贝尔股份有限公司 在通信网络中用于确定节点间路由信息的方法及装置
CN103828440A (zh) * 2011-09-12 2014-05-28 高通股份有限公司 在混和网络中提供通信路径信息
US20180198684A1 (en) * 2015-07-10 2018-07-12 Idac Holdings, Inc. Path information updates in information-centric networking
US20180262454A1 (en) * 2017-03-08 2018-09-13 Linkedin Corporation Network routing using a publish-subscribe messaging system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4319090A4

Also Published As

Publication number Publication date
CN115225721A (zh) 2022-10-21
US20240022505A1 (en) 2024-01-18
EP4319090A1 (en) 2024-02-07
EP4319090A4 (en) 2024-05-15

Similar Documents

Publication Publication Date Title
WO2022012310A1 (zh) 一种通信方法及装置
EP4075867A1 (en) Application instance determination method, device, and system
CN114270789B (zh) 一种获取信息的方法及装置
US8737388B2 (en) Method, apparatus and system for processing packets
CN114788315A (zh) 使用网络切片选择辅助信息(nssai)可用性信息的基于策略的接入和移动性管理功能(amf)选择
WO2021218595A1 (zh) 一种地址获取方法及装置
JP7300064B2 (ja) データ伝送方法及び装置、ゲートウェイ、チップ、並びに記憶媒体
WO2022052875A1 (zh) 终端跨区域通信方法、网元设备及存储介质
Park et al. Smart base station-assisted partial-flow device-to-device offloading system for video streaming services
Pirmagomedov et al. Augmented computing at the edge using named data networking
US9900804B2 (en) Method and device for processing to share network resources, and method, device and system for sharing network resources
US11523443B2 (en) Extraction, conversion, and transmission of user packet from encapsulated packet
CN112087382B (zh) 一种服务路由方法及装置
CN112653716B (zh) 服务绑定的方法及装置
WO2022206391A1 (zh) 订阅路径的方法、装置、系统及存储介质
CN114586409A (zh) 无线通信系统中用于处理业务的设备和方法
US8305920B2 (en) Method, system and terminal for determining QoS level
JP2019514273A (ja) アクセス方法、装置、デバイス、及びシステム
WO2013023465A1 (zh) 身份位置分离与传统网络互联互通方法、ilr和asr
WO2022057846A1 (zh) 一种设备连接方法、装置和设备
US11622262B2 (en) Radio access network function repository
JP2005524265A (ja) 加入者接続の動的修正
WO2022161288A1 (zh) 发送流量的方法、装置、系统及存储介质
US20240121835A1 (en) Apparatus and method for providing communication service for accessing ip network, and storage medium
WO2022206558A1 (zh) 一种通信方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22778574

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022778574

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2022778574

Country of ref document: EP

Effective date: 20231025