WO2022001530A1 - Method and apparatus for establishing pipeline - Google Patents
Method and apparatus for establishing pipeline Download PDFInfo
- Publication number
- WO2022001530A1 WO2022001530A1 PCT/CN2021/096552 CN2021096552W WO2022001530A1 WO 2022001530 A1 WO2022001530 A1 WO 2022001530A1 CN 2021096552 W CN2021096552 W CN 2021096552W WO 2022001530 A1 WO2022001530 A1 WO 2022001530A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- transmitted
- gateway device
- data
- information
- controller
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 233
- 238000004891 communication Methods 0.000 claims description 245
- 238000012545 processing Methods 0.000 claims description 47
- 230000006870 function Effects 0.000 description 54
- 238000004590 computer program Methods 0.000 description 23
- 238000010586 diagram Methods 0.000 description 22
- 230000008569 process Effects 0.000 description 21
- 230000004044 response Effects 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000010348 incorporation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Definitions
- the present application relates to the field of network technologies, and in particular, to a method and device for establishing a pipeline.
- the terminal when the terminal has data to send to the service server, the terminal will send the data to the access gateway. After receiving the data, the access gateway sends the data to the cloud gateway via the network. After receiving the data, the cloud gateway sends the data to the service server, so that the service server can process the data.
- the network is constructed based on the principle of best effort forwarding. In other words, the network forwards the received data "best effort". Therefore, when the data between the terminal and the service server is transmitted through the network, the network cannot guarantee that the data can meet the network requirements.
- the embodiments of the present application provide a method and apparatus for establishing a pipeline, which can establish a pipeline for data between a terminal and a service server, so that when the data is transmitted in the pipeline, the network requirements of the data are satisfied.
- an embodiment of the present application provides a method for establishing a pipeline.
- the method includes: a controller receives service requirement information from a first gateway device, where the service requirement information is used to indicate data to be transmitted between a terminal and a service server The requirements of the network managed by the controller, the first gateway device is connected with the terminal, the service server is connected with the second gateway device, the first gateway device and the second gateway device are connected through the network; the controller according to For the service requirement information, a pipeline is established for the data to be transmitted in the network, the pipeline includes N forwarding devices, the data to be transmitted satisfies the requirement when transmitted in the pipeline, and N is an integer greater than or equal to 1.
- the controller may receive service requirement information from the first gateway device for indicating the requirement of the data to be transmitted on the network, and according to the service requirement information, establish a service requirement in the network for the data to be transmitted that meets the requirements to be transmitted.
- the forwarding resources used by the forwarding device, the first gateway device or the second gateway device in the pipeline are all configured by the controller for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline, it can satisfy the The network demand of the data to be transmitted can also be improved, and the utilization rate of network resources can also be improved.
- the controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information, including: the controller according to the service requirement information, the first corresponding relationship and the second corresponding relationship
- a pipeline is established for the data to be transmitted in the network; wherein, the first correspondence is the address of the first gateway device and the user-to-network interface (UNI) of the first forwarding device in the network
- the second correspondence is the correspondence between the address of the second gateway device and the UNI of the second forwarding device in the network; the first forwarding device is connected to the first gateway device, and the second forwarding device Connect with the second gateway device.
- the controller can determine the starting forwarding device of the pipe according to the corresponding relationship between the address of the first network device and the UNI of the first forwarding device in the network, and according to the address of the second network device and the second forwarding device in the network
- the correspondence of the UNI determines the end of the pipe to the forwarding device.
- the controller may determine the pipe according to the starting forwarding device, the ending forwarding device and the service requirement information. In this way, when the data to be transmitted is transmitted in the pipeline, the network requirements of the data to be transmitted can be satisfied.
- the controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information, the first correspondence and the second correspondence, including: the controller according to the service requirement information, The first correspondence and the second correspondence determine the forwarding resource and the forwarding table of each forwarding device among the N forwarding devices; wherein the forwarding resource is used to indicate the N forwarding devices and the forwarding table used by each forwarding device. resource.
- the controller can determine the starting forwarding device of the pipe according to the corresponding relationship between the address of the first network device and the UNI of the first forwarding device in the network, and according to the address of the second network device and the second forwarding device in the network The correspondence of the UNI determines the end of the pipe to the forwarding device.
- the controller may determine the forwarding resource and the forwarding table of each of the N forwarding devices according to the starting forwarding device, the ending forwarding device and the service requirement information. In this way, through the forwarding table, the data to be transmitted can be transmitted in the pipeline, and through the forwarding resources, the network requirements of the data to be transmitted can be satisfied when the data to be transmitted is transmitted in the pipeline.
- the method further includes: the controller respectively sending forwarding resources and a forwarding table corresponding to each of the N forwarding devices to the N forwarding devices.
- each forwarding device can obtain the forwarding resource and the forwarding table corresponding to the forwarding device, so that the data to be transmitted is transmitted in the pipeline, and when the data to be transmitted is transmitted in the pipeline, it satisfies the pair of data to be transmitted. network needs.
- the method further includes: the controller receives update requirement information from the first gateway device, where the update requirement information is used to indicate the updated service requirement information. Based on the above method, when the service requirement information changes, the controller may receive the update requirement information indicating the updated service requirement information from the first gateway device. In this way, the controller can update the originally established pipeline or re-establish the pipeline according to the update requirement information. Therefore, when the data to be transmitted is transmitted in the updated pipeline or the re-established pipeline, the new demand of the data to be transmitted on the network can be satisfied.
- the method further includes: the controller receives an access end notification message from the first gateway device, where the access end notification message is used to instruct to remove the pipeline. Based on the above method, the controller may receive an access end notification message from the first gateway device, so that the controller removes the pipe according to the access end notification message.
- the N forwarding devices in the pipeline or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
- the business requirement information includes service level agreement information.
- the service requirement information can indicate the requirements of the network managed by the controller for the data to be transmitted between the terminal and the service server through the service level agreement information, so that the controller can use the service level agreement information in the network for the data to be transmitted in the network. Establish a pipeline that meets the needs of the network for the data to be transmitted.
- an embodiment of the present application provides a method for establishing a pipeline, the method comprising: a terminal acquiring service requirement information, where the service requirement information is used to indicate a network managed by a controller for data to be transmitted between the terminal and a service server demand; the terminal sends the service demand information to the first gateway device.
- the terminal can acquire service requirement information used to indicate the requirement of the data to be transmitted on the network, and send the service requirement information to the controller through the first gateway device, so that the controller can, according to the service requirement information, A pipeline is established for the data to be transmitted in the network to meet the requirements of the data to be transmitted on the network.
- the forwarding resources used by the forwarding device, the first gateway device or the second gateway device in the pipeline are all configured by the controller for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline, it can satisfy the The network demand of the data to be transmitted can also be improved, and the utilization rate of network resources can also be improved.
- the method further includes: the terminal sends negotiation information to the service server, where the negotiation information is used to notify the service server of network parameters of a pipe, where the pipe is the controller for the data to be transmitted established, the pipeline includes N forwarding devices, and when the data to be transmitted is transmitted in the pipeline, the requirement is met, and N is an integer greater than or equal to 1; the terminal communicates with the service server according to the network parameter.
- the terminal can notify the service server of the network parameters of the pipeline, and communicate with the service server according to the network parameters. In this way, when the terminal communicates with the service server according to the network parameters, a larger and more stable throughput can be obtained, and packet loss and delay caused by the tentative transmission can be reduced.
- the negotiation information includes at least one of the following information: bandwidth information, delay information, or packet loss rate.
- the terminal can negotiate at least one of the following information with the service server: bandwidth information, delay information or packet loss rate, and communicate with the service server according to the at least one information.
- the method further includes: the terminal sending update requirement information to the first gateway device, where the update requirement information is used to indicate the updated service requirement information.
- the terminal can send the update demand information indicating the updated service demand information to the controller through the first gateway device, so that the controller can update the original update demand information according to the update demand information. established pipeline, or re-established pipeline. Therefore, when the data to be transmitted is transmitted in the updated pipeline or the re-established pipeline, the new demand of the data to be transmitted on the network can be satisfied.
- the method further includes: the terminal sends an access end notification message to the first gateway device, where the access end notification message is used to instruct to remove the pipeline established by the controller for the terminal and the service server .
- the terminal may send an access end notification message to the controller through the first gateway device, so that the controller removes the pipe according to the access end notification message.
- the N forwarding devices in the pipeline or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
- the business requirement information includes service level agreement information.
- the service requirement information can indicate the requirements of the network managed by the controller for the data to be transmitted between the terminal and the service server through the service level agreement information, so that the controller can use the service level agreement information in the network for the data to be transmitted in the network. Establish a pipeline that meets the needs of the network for the data to be transmitted.
- an embodiment of the present application provides a method for establishing a pipeline.
- the method includes: a first gateway device obtains service requirement information, where the service requirement information is used to indicate that data to be transmitted between a terminal and a service server is managed by a controller requirements of the network; the first gateway device sends the service requirement information to the controller.
- the first gateway device may acquire service requirement information used to indicate the requirement of the data to be transmitted on the network, and send the service requirement information to the controller, so that the controller can perform a For the data to be transmitted, a pipeline that meets the network requirements of the data to be transmitted is established.
- the forwarding resources used by the forwarding device, the first gateway device or the second gateway device in the pipeline are all configured by the controller for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline, it can satisfy the The network demand of the data to be transmitted can also be improved, and the utilization rate of network resources can also be improved.
- the obtaining, by the first gateway device, the service requirement information includes: the first gateway device receiving the service requirement information from the terminal. Based on the above method, the first gateway device may acquire service requirement information from the terminal.
- acquiring the service requirement information by the first gateway device includes: acquiring, by the first gateway device, the destination address of the data to be transmitted, and/or the service type of the data to be transmitted; the first gateway device acquires the destination address of the data to be transmitted; The gateway device determines the service requirement information according to the destination address and/or the service type. Based on the above method, the first gateway device can determine the service requirement information by itself. In this way, the first gateway device may not need to acquire the service requirement information from other devices, which may save signaling overhead.
- the method further includes: the first gateway device receives update demand information from the terminal, where the update demand information is used to indicate the updated service demand information; the first gateway device reports to the control The server sends the update request information.
- the first gateway device may receive the update requirement information indicating the updated service requirement information from the terminal, and send the update requirement information to the controller.
- the controller can update the originally established pipeline or re-establish the pipeline according to the update requirement information. Therefore, when the data to be transmitted is transmitted in the updated pipeline or the re-established pipeline, the new demand of the data to be transmitted on the network can be satisfied.
- the method further includes: the first gateway device receives an access end notification message from the terminal, where the access end notification message is used to instruct to remove the pipe established by the controller for the data to be transmitted; The first gateway device sends the access end notification message to the controller. Based on the above method, the first gateway device may receive the access end notification message from the terminal, and send the access end notification message to the controller, so that the controller removes the pipe according to the access end notification message. In this way, the N forwarding devices in the pipeline or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
- the method further includes: the first gateway device determines to stop using the pipeline established by the controller for the data to be transmitted; the first gateway device sends the access end notification message to the controller, The access end notification message is used to instruct to remove the pipe established by the controller for the data to be transmitted.
- the first gateway device determines to stop using the pipe established by the controller for the data to be transmitted, the first gateway device sends an access end notification message to the controller, so that the controller removes the pipe according to the access end notification message .
- the N forwarding devices in the pipeline or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
- the business requirement information includes service level agreement information.
- the service requirement information can indicate the requirements of the network managed by the controller for the data to be transmitted between the terminal and the service server through the service level agreement information, so that the controller can use the service level agreement information in the network for the data to be transmitted in the network. Establish a pipeline that meets the needs of the network for the data to be transmitted.
- an embodiment of the present application provides a method for establishing a pipeline, the method includes: a service server receives negotiation information from a terminal, the negotiation information is used to notify the service server of network parameters of the pipeline, and the pipeline is the controller for the pipeline.
- the data to be transmitted between the terminal and the service server is established.
- the pipeline includes the N forwarding devices. When the data to be transmitted is transmitted in the pipeline, it meets the requirements of the network managed by the controller for the data to be transmitted. N is an integer greater than or equal to 1; the service server communicates with the terminal according to the network parameter.
- the service server may receive network parameters of the pipeline from the terminal, and communicate with the terminal according to the network parameters. In this way, when the terminal communicates with the service server according to the network parameters, a larger and more stable throughput can be obtained, and packet loss and delay caused by the tentative transmission can be reduced.
- the negotiation information includes at least one of the following information: bandwidth information, delay information, or packet loss rate.
- the terminal may negotiate at least one of the following information with the service server: bandwidth information, delay information or packet loss rate, and communicate with the terminal according to the at least one type of information.
- an embodiment of the present application provides a communication device, the communication device includes: a communication module and a processing module; the communication module is configured to receive service requirement information from a first gateway device, where the service requirement information is used to instruct a terminal to communicate with The demand of the data to be transmitted between the service servers for the network managed by the communication device, the first gateway device is connected to the terminal, the service server is connected to the second gateway device, and the first gateway device and the second gateway device pass through the network connection; a processing module, configured to establish a pipeline for the data to be transmitted in the network according to the service requirement information, the pipeline includes N forwarding devices, and the data to be transmitted satisfies the requirement when transmitted in the pipeline, N is an integer greater than or equal to 1.
- the communication device provided in the fifth aspect can receive service requirement information from the first gateway device for indicating the requirement of the data to be transmitted on the network, and according to the service requirement information, create a network for the data to be transmitted in the network to meet the requirements of the data to be transmitted.
- the forwarding resources used by the forwarding device, the first gateway device, or the second gateway device in the pipeline are all configured by the communication device for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline, it can be It can meet the demand of the data to be transmitted on the network, and in addition, the utilization rate of network resources can be improved.
- the processing module is specifically configured to establish a pipeline for the data to be transmitted in the network according to the service requirement information, the first correspondence and the second correspondence; wherein the first correspondence is The correspondence between the address of the first gateway device and the user network interface UNI of the first forwarding device in the network; the second correspondence is the address of the second gateway device and the UNI of the second forwarding device in the network. Corresponding relationship; the first forwarding device is connected with the first gateway device, and the second forwarding device is connected with the second gateway device.
- the above-mentioned communication device can determine the initial forwarding device of the pipeline according to the corresponding relationship between the address of the first network device and the UNI of the first forwarding device in the network, and according to the address of the second network device and the UNI of the second forwarding device in the network.
- the correspondence relationship determines the end forwarding device of the pipeline.
- the communication apparatus may determine the pipe according to the starting forwarding device, the ending forwarding device and the service requirement information. In this way, when the data to be transmitted is transmitted in the pipeline, the network requirements of the data to be transmitted can be satisfied.
- the processing module is specifically configured to determine the forwarding resource and the forwarding table of each forwarding device among the N forwarding devices according to the service requirement information, the first corresponding relationship and the second corresponding relationship ; wherein, the forwarding resource is used to indicate the N forwarding devices and the resource used by each forwarding device.
- the above-mentioned communication device can determine the initial forwarding device of the pipeline according to the corresponding relationship between the address of the first network device and the UNI of the first forwarding device in the network, and according to the address of the second network device and the UNI of the second forwarding device in the network.
- the correspondence relationship determines the end forwarding device of the pipeline.
- the communication apparatus may determine the forwarding resource and the forwarding table of each of the N forwarding devices according to the starting forwarding device, the ending forwarding device and the service requirement information. In this way, through the forwarding table, the data to be transmitted can be transmitted in the pipeline, and through the forwarding resources, the network requirements of the data to be transmitted can be satisfied when the data to be transmitted is transmitted in the pipeline.
- the communication module is further configured to respectively send the forwarding resources and the forwarding table corresponding to each of the N forwarding devices to the N forwarding devices.
- each forwarding device can acquire the forwarding resource and forwarding table corresponding to the forwarding device, so that the data to be transmitted is transmitted in the pipeline, and when the data to be transmitted is transmitted in the pipeline, the data to be transmitted can be demand for the network.
- the communication module is further configured to receive update requirement information from the first gateway device, where the update requirement information is used to indicate the updated service requirement information.
- the communication apparatus may receive update requirement information from the first gateway device for indicating the updated service requirement information. In this way, the communication device can update the originally established pipeline or re-establish the pipeline according to the update requirement information. Therefore, when the data to be transmitted is transmitted in the updated pipeline or the re-established pipeline, the new demand of the data to be transmitted on the network can be satisfied.
- the communication module is further configured to receive an access end notification message from the first gateway device, where the access end notification message is used to instruct to remove the pipeline.
- the above communication apparatus may receive an access end notification message from the first gateway device, so that the communication apparatus removes the pipe according to the access end notification message.
- the business requirement information includes service level agreement information.
- the service requirement information can indicate the requirements of the network managed by the communication device for the data to be transmitted between the terminal and the service server through the service level agreement information, so that the communication device can establish a network for the data to be transmitted in the network according to the service level agreement information.
- an embodiment of the present application provides a communication device, the communication device includes: a processing module and a communication module; the processing module is configured to acquire service requirement information, where the service requirement information is used to indicate a relationship between the communication device and a service server The demand of the data to be transmitted on the network managed by the controller; the communication module is used for sending the service demand information to the first gateway device.
- the communication device provided in the sixth aspect above can acquire service requirement information for indicating the requirement of the data to be transmitted on the network, and send the service requirement information to the controller through the first gateway device, so that the controller according to the service requirement information, A pipeline is established for the data to be transmitted in the network to meet the requirements of the data to be transmitted on the network.
- the forwarding resources used by the forwarding device, the first gateway device or the second gateway device in the pipeline are all configured by the controller for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline, it can satisfy the The network demand of the data to be transmitted can also be improved, and the utilization rate of network resources can also be improved.
- the communication module is further configured to send negotiation information to the service server, where the negotiation information is used to notify the service server of network parameters of a pipeline, which is established by the controller for the data to be transmitted Yes, the pipeline includes N forwarding devices, and when the data to be transmitted is transmitted in the pipeline, the requirement is met, and N is an integer greater than or equal to 1; the communication module is also used to communicate with the service server according to the network parameter.
- the above communication device can notify the service server of the network parameters of the pipeline, and communicate with the service server according to the network parameters. In this way, when the communication device communicates with the service server according to the network parameters, a larger and more stable throughput can be obtained, and packet loss and delay caused by the tentative transmission can be reduced.
- the negotiation information includes at least one of the following information: bandwidth information, delay information, or packet loss rate.
- the above communication device may negotiate at least one of the following information with the service server: bandwidth information, delay information or packet loss rate, and communicate with the service server according to the at least one kind of information.
- the communication module is further configured to send update requirement information to the first gateway device, where the update requirement information is used to indicate the updated service requirement information.
- the communication device can send the update demand information for indicating the updated service demand information to the controller through the first gateway device, so that the controller can according to the update demand information , update the previously established pipeline, or re-establish the pipeline. Therefore, when the data to be transmitted is transmitted in the updated pipeline or the re-established pipeline, the new demand of the data to be transmitted on the network can be satisfied.
- the communication module is further configured to send an access end notification message to the first gateway device, where the access end notification message is used to instruct to remove the pipe established by the controller for the communication device and the service server .
- the above communication apparatus may send an access end notification message to the controller through the first gateway device, so that the controller removes the pipe according to the access end notification message.
- the business requirement information includes service level agreement information.
- the service requirement information can indicate the requirements of the network managed by the controller for the data to be transmitted between the communication device and the service server through the service level agreement information, so that the controller can perform the following operations in the network according to the service level agreement information.
- the data to be transmitted establishes a pipeline that meets the requirements of the data to be transmitted on the network.
- an embodiment of the present application provides a communication device, the communication device includes: a processing module and a communication module; the processing module is configured to acquire service requirement information, where the service requirement information is used to indicate a waiting period between a terminal and a service server. The requirements for the network managed by the controller for transmission data; the communication module is used to send the service requirement information to the controller.
- the communication device provided in the above seventh aspect can acquire service requirement information for indicating the requirement of the data to be transmitted on the network, and send the service requirement information to the controller, so that the controller can, according to the service requirement information, record the service requirement information in the network for the to-be-transmitted data.
- the transmission data establishes a pipeline that meets the requirements of the network for the data to be transmitted.
- the forwarding resources used by the forwarding device in the pipeline, the communication device or the second gateway device are all configured by the controller for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline, it can meet the needs of In addition, it can improve the utilization rate of network resources.
- the processing module is specifically configured to receive the service requirement information from the terminal through the communication module. In this way, the above-mentioned communication apparatus can acquire the service requirement information from the terminal.
- the processing module is specifically configured to obtain the destination address of the data to be transmitted, and/or the service type of the data to be transmitted; the processing module is also specifically configured to obtain the destination address and/or the service type of the data to be transmitted;
- the service type determines the service requirement information.
- the above-mentioned communication apparatus can determine the service requirement information by itself. In this way, the communication device does not need to acquire the service requirement information from other devices, which can save signaling overhead.
- the communication module is configured to receive update requirement information from the terminal, where the update requirement information is used to indicate the updated service requirement information; the communication module is further configured to send the update to the controller demand information.
- the communication device can receive the update requirement information indicating the updated service requirement information from the terminal, and send the update requirement information to the controller.
- the controller can update the originally established pipeline or re-establish the pipeline according to the update requirement information. Therefore, when the data to be transmitted is transmitted in the updated pipeline or the re-established pipeline, the new demand of the data to be transmitted on the network can be satisfied.
- the communication module is further configured to receive an access end notification message from the terminal, where the access end notification message is used to instruct to remove the pipe established by the controller for the data to be transmitted; the communication module is further configured to Used to send the access end notification message to the controller.
- the above communication device may receive an access end notification message from the terminal, and send the access end notification message to the controller, so that the controller removes the pipeline according to the access end notification message. In this way, the N forwarding devices in the pipeline or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
- the processing module is further configured to determine to stop using the pipeline established by the controller for the data to be transmitted; the communication module is further configured to send the access end notification message to the controller, and the access ends The notification message is used to instruct to remove the pipe established by the controller for the data to be transmitted.
- the communication device sends an access end notification message to the controller, so that the controller removes the pipe according to the access end notification message.
- the N forwarding devices in the pipeline or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
- the business requirement information includes service level agreement information.
- the service requirement information can indicate the requirements of the network managed by the controller for the data to be transmitted between the terminal and the service server through the service level agreement information, so that the controller can use the service level agreement information in the network for data to be transmitted in the network.
- the data establishes a pipeline that satisfies the needs of the network for the data to be transmitted.
- an embodiment of the present application provides a communication device, the communication device includes: a communication module; the communication module is configured to receive negotiation information from a terminal, where the negotiation information is used to notify the communication device of network parameters of a pipeline, the The pipeline is established by the controller for the data to be transmitted between the terminal and the communication device, and the pipeline includes the N forwarding devices.
- N is an integer greater than or equal to 1; the communication module is also used to communicate with the terminal according to the network parameters.
- the communication device provided in the above eighth aspect can receive network parameters of the pipeline from the terminal, and communicate with the terminal according to the network parameters. In this way, when the terminal communicates with the communication device according to the network parameters, a larger and more stable throughput can be obtained, and packet loss and delay caused by the tentative transmission can be reduced.
- the negotiation information includes at least one of the following information: bandwidth information, delay information, or packet loss rate.
- the terminal may negotiate with the communication device at least one of the following information: bandwidth information, delay information or packet loss rate, and communicate with the terminal according to the at least one kind of information.
- an embodiment of the present application provides a communication device, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, when the program or the instruction is executed by the processor , so that the device implements the method described in the first aspect or any possible implementation manner of the first aspect.
- an embodiment of the present application provides a communication device, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, when the program or instruction is executed by the processor , so that the device implements the method described in the second aspect or any possible implementation manner of the second aspect.
- an embodiment of the present application provides a communication device, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor , the device is made to implement the method described in the third aspect or any possible implementation manner of the third aspect.
- an embodiment of the present application provides a communication device, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor , the device is made to implement the method described in the fourth aspect or any possible implementation manner of the fourth aspect.
- an embodiment of the present application provides a communication apparatus, where the apparatus is configured to implement the method described in the first aspect or any possible implementation manner of the first aspect.
- an embodiment of the present application provides a communication device, where the device is configured to implement the method described in the second aspect or any possible implementation manner of the second aspect.
- an embodiment of the present application provides a communication device, where the device is configured to implement the method described in the third aspect or any possible implementation manner of the third aspect.
- an embodiment of the present application provides a communication device, where the device is configured to implement the method described in the fourth aspect or any possible implementation manner of the fourth aspect.
- an embodiment of the present application provides a computer-readable medium on which a computer program or instruction is stored, and when the computer program or instruction is executed, causes a computer to execute the first aspect or any one of the first aspect. The method described in the possible embodiments.
- an embodiment of the present application provides a computer-readable medium on which a computer program or instruction is stored, and when the computer program or instruction is executed, causes a computer to execute the second aspect or any one of the second aspect. The method described in the possible embodiments.
- an embodiment of the present application provides a computer-readable medium on which a computer program or instruction is stored, and when the computer program or instruction is executed, causes a computer to execute the third aspect or any one of the third aspect. The method described in the possible embodiments.
- an embodiment of the present application provides a computer-readable medium on which a computer program or instruction is stored, and when the computer program or instruction is executed, causes a computer to execute the fourth aspect or any one of the fourth aspect. The method described in the possible embodiments.
- an embodiment of the present application provides a computer program product, which includes computer program code, and when the computer program code runs on a computer, enables the computer to execute the first aspect or any possibility of the first aspect The method described in the embodiment of .
- an embodiment of the present application provides a computer program product, which includes computer program code, and when the computer program code is run on a computer, enables the computer to execute the second aspect or any possibility of the second aspect.
- an embodiment of the present application provides a computer program product, which includes computer program code, and when the computer program code runs on a computer, the computer program code enables the computer to execute the third aspect or any possibility of the third aspect.
- an embodiment of the present application provides a computer program product, which includes computer program code, and when the computer program code is run on a computer, enables the computer to execute the fourth aspect or any of the fourth aspects.
- an embodiment of the present application provides a chip, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor , the chip is made to implement the method described in the first aspect or any possible implementation manner of the first aspect.
- an embodiment of the present application provides a chip, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor , the chip is made to implement the method described in the second aspect or any possible implementation manner of the second aspect.
- an embodiment of the present application provides a chip, including: a processor, where the processor is coupled to a memory, and the memory is used to store programs or instructions, and when the programs or instructions are executed by the processor , the chip is made to implement the method described in the third aspect or any possible implementation manner of the third aspect.
- an embodiment of the present application provides a chip, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor , the chip is made to implement the method described in the fourth aspect or any possible implementation manner of the fourth aspect.
- an embodiment of the present application provides a communication system.
- the system includes the device described in the fifth aspect, and/or the device described in the sixth aspect, and/or the device described in the seventh aspect, and/or the device described in the eighth aspect; or the above
- any of the communication devices, chips, computer-readable media, computer program products or communication systems provided above are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be achieved. Referring to the beneficial effects in the corresponding method, details are not repeated here.
- FIG. 1A is a schematic diagram 1 of a communication system architecture provided by an embodiment of the present application.
- FIG. 1B is a second schematic diagram of a communication system architecture provided by an embodiment of the present application.
- FIG. 2 is a schematic diagram of a hardware structure of a communication device provided by an embodiment of the present application
- FIG. 3 is a schematic flowchart 1 of a method for establishing a pipeline according to an embodiment of the present application
- FIG. 4 is a schematic diagram 1 of a network provided by an embodiment of the present application.
- FIG. 5 is a second schematic diagram of a network provided by an embodiment of the present application.
- FIG. 6 is a second schematic flowchart of a method for establishing a pipeline according to an embodiment of the present application.
- FIG. 7 is a third schematic flowchart of a method for establishing a pipeline according to an embodiment of the present application.
- FIG. 8 is a fourth schematic flowchart of a method for establishing a pipeline according to an embodiment of the present application.
- FIG. 9A is a schematic diagram 1 of throughput provided by an embodiment of the present application.
- FIG. 9B is a second schematic diagram of throughput provided by an embodiment of the present application.
- FIG. 10 is a fifth schematic flowchart of a method for establishing a pipeline according to an embodiment of the present application.
- FIG. 11 is a sixth schematic flowchart of a method for establishing a pipeline according to an embodiment of the present application.
- FIG. 12 is a seventh schematic flowchart of a method for establishing a pipeline according to an embodiment of the present application.
- FIG. 13 is a schematic flowchart eight of a method for establishing a pipeline according to an embodiment of the present application.
- FIG. 14 is a schematic flowchart 9 of a method for establishing a pipeline according to an embodiment of the present application.
- FIG. 15 is a schematic flowchart tenth of a method for establishing a pipeline according to an embodiment of the present application.
- FIG. 16 is a schematic structural diagram 1 of a communication device provided by an embodiment of the present application.
- FIG. 17 is a second schematic structural diagram of a communication device provided by an embodiment of the present application.
- FIG. 18 is a third schematic structural diagram of a communication device according to an embodiment of the present application.
- FIG. 19 is a fourth schematic structural diagram of a communication device provided by an embodiment of the present application.
- 20 is a schematic structural diagram of a chip provided by an embodiment of the present application.
- FIG. 21 is a schematic diagram of the composition of a communication system provided by an embodiment of the present application.
- the methods provided in the embodiments of the present application can be used in various communication systems. The following only takes the communication system shown in FIG. 1A and FIG. 1B as an example to describe the method provided by the embodiment of the present application.
- FIG. 1A it is a schematic structural diagram of a communication system according to an embodiment of the present application.
- the communication system includes a terminal 101 , a service server 102 and a network 103 .
- the terminal 101 and the service server 102 can communicate through the network 103 .
- the terminal 101 in FIG. 1A may be a computer, or a device with a wireless transceiving function.
- the terminal 101 is a portable computer (such as a mobile phone), a notebook computer, a personal computer (PC), a wearable electronic device (such as a smart watch), a tablet computer, augmented reality (AR)/virtual reality (virtual reality) reality, VR) equipment, vehicles, on-board modules, on-board computers, on-board chips, on-board communication systems, wireless terminals in industrial control, etc.
- AR augmented reality
- VR virtual reality
- the terminal 101 may also be referred to as a terminal device, a user terminal, a client terminal, a user equipment, a mobile station, a mobile station, or the like.
- the service server 102 in FIG. 1A may be a device capable of providing computing or application services for the terminal 101 .
- the network 103 in FIG. 1A may be used to transmit data between the terminal 101 and the service server 102 .
- the network 103 may be an optical transport network (OTN) or the like.
- the network 103 may include a gateway device 1031, a gateway device 1032, a controller 1033, and at least one forwarding device (not shown in FIG. 1A).
- the gateway device 1031 is connected to the terminal 101 and can provide the terminal 101 with functions such as network access, routing, authentication or management. Further, the gateway device 1031 may be an operator's edge device such as an optical line terminal (optical line terminal, OLT) with a three-layer function.
- the gateway device 1032 is connected to the service server 102 and can provide the service server 102 with functions such as network access, routing, authentication or management. Further, the gateway device 1032 may be an operator's edge device such as an OLT with three-layer functions. Gateway device 1031 and gateway device 1032 are connected through one or more forwarding devices.
- the controller 1033 may be independently deployed in the network 103 , or may be deployed on one or more devices in the network 103 .
- the controller 1033 is deployed on the gateway device 1031, the gateway device 1032, or at least one forwarding device.
- the controller 1033 can be connected with devices in the network 103 .
- the controller 1033 can establish a pipeline for the data to be transmitted between the terminal 101 and the service server 102 according to the received service requirement information, so that the to-be-transmitted data can meet the service requirement indicated in the service requirement information when transmitted in the pipeline.
- the communication system shown in FIG. 1A further includes a scheduling server 104 .
- the scheduling server 104 is connected to the terminal 101 and the service server 102 .
- the scheduling server 104 can be used to confirm the identity and authority of the terminal 101 .
- the scheduling server 104 may also determine the service server to be accessed for the terminal 101 .
- the dispatch server 104 may be a global dispatch server or a local dispatch server.
- the scheduling server 104 is a global scheduling server; for other servers, the scheduling server 104 is a global scheduling server or a local scheduling server.
- FIG. 1B it is a schematic structural diagram of another communication system provided by an embodiment of the present application.
- the communication system includes a terminal 105 , a service server 106 , a network 107 and a network 108 .
- the terminal 105 and the service server 106 can communicate through the network 107 and the network 108 .
- the network 107 and the network 108 in FIG. 1B may be used to transmit data between the terminal 105 and the service server 106 .
- the network 107 includes a gateway device 1071, a gateway device 1072, a controller 1073, and at least one forwarding device (not shown in Figure IB).
- the network 108 includes a gateway device 1081, a gateway device 1082, a controller 1083, and at least one forwarding device (not shown in Figure IB).
- the gateway device 1071 is connected to the terminal 105 and can provide the terminal 105 with functions such as network access, routing, authentication or management. Further, the gateway device 1071 may be an operator's edge device such as an OLT with three-layer functions.
- the gateway device 1072 is connected to the gateway device 1081 . Gateway device 1072 and gateway device 1081 may connect together networks (eg, network 107 and network 108 ) of two different domains (eg, different network segments). Further, the gateway device 1072 or the gateway device 1081 may be an edge device of an operator such as an OLT with three-layer functions.
- the gateway device 1082 is connected to the service server 106 and can provide the service server 106 with functions such as network access, routing, authentication or management.
- the gateway device 1082 may be an operator's edge device such as an OLT with three-layer functions.
- the gateway device 1071 and the gateway device 1072 are connected through one or more forwarding devices, and the gateway device 1081 and the gateway device 1082 are connected through one or more forwarding devices.
- the controller 1073 may be independently deployed in the network 107 , or may be deployed on one or more devices in the network 107 .
- the controller 1073 is deployed on the gateway device 1071, the gateway device 1072, or at least one forwarding device.
- the controller 1073 can be connected with devices in the network 107 .
- the controller 1073 can establish a pipeline for the data to be transmitted between the terminal 105 and the service server 106 according to the received service requirement information, so that the to-be-transmitted data meets the service requirement indicated in the service requirement information when the data to be transmitted is transmitted in the pipeline.
- the controller 1083 may be independently deployed in the network 108 , or may be deployed on one or more devices in the network 108 .
- the controller 1083 is deployed on the gateway device 1081, the gateway device 1082, or at least one forwarding device.
- the controller 1083 can be connected with devices in the network 108 .
- the controller 1083 can establish a pipeline for the data to be transmitted between the terminal 105 and the service server 106 according to the received service requirement information, so that when the data to be transmitted is transmitted in the pipeline, the service requirement indicated in the service requirement information is satisfied.
- the communication system shown in FIG. 1B further includes a scheduling server 109 .
- the scheduling server 109 is connected to the terminal 105 and the service server 106 .
- the scheduling server 109 may be used to confirm the identity and authority of the terminal 105 .
- the scheduling server 109 may also determine the service server to be accessed for the terminal 105 .
- the scheduling server 109 may be a global scheduling server or a local scheduling server.
- the scheduling server 109 is a global scheduling server; for other servers, the scheduling server 109 is a global scheduling server or a local scheduling server.
- FIG. 1A and FIG. 1B are only examples of the communication system provided by the embodiments of the present application.
- the communication system may also be in other forms.
- the terminal and the service server may pass through three or more Network communication of multiple different domains is not restricted.
- FIG. 1A and FIG. 1B are only used for example, and are not used to limit the technical solutions of the present application.
- the above communication system may also include other devices, and the number of terminals, gateway devices, controllers, service servers or scheduling servers may also be determined according to specific needs.
- Each network element in FIG. 1A or FIG. 1B may also be connected through other interfaces.
- each network element in FIG. 1A or FIG. 1B in this embodiment of the present application may be a functional module in one device.
- the above functions can be either network elements in hardware devices, such as communication chips in mobile phones, or software functions running on dedicated hardware, or virtualized virtual devices instantiated on a platform (eg, a cloud platform). function.
- FIG. 2 is a schematic diagram of a hardware structure of a communication device applicable to an embodiment of the present application.
- the communication device 20 includes at least one processor 201 , a communication line 202 , a memory 203 and at least one communication interface 204 .
- the processor 201 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more processors for controlling the execution of the programs of the present application. integrated circuit.
- CPU central processing unit
- ASIC application-specific integrated circuit
- Communication line 202 may include a path, such as a bus, for transferring information between the components described above.
- Communication interface 204 using any transceiver-like device for communicating with other devices or communication networks, such as Ethernet interfaces, radio access network (RAN), wireless local area networks (wireless local area networks, WLAN), etc.
- RAN radio access network
- WLAN wireless local area networks
- Memory 203 may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM) or other types of information and instructions It can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, CD-ROM storage (including compact discs, laser discs, optical 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 executed by a computer Access any other medium without limitation.
- the memory may exist independently and be connected to the processor through the communication line 202 .
- the memory can also be integrated with the processor.
- the memory provided by the embodiments of the present application may generally be non-volatile.
- the memory 203 is used for storing the computer-executed instructions involved in executing the solution of the present application, and the execution is controlled by the processor 201 .
- the processor 201 is configured to execute the computer-executed instructions stored in the memory 203, thereby implementing the method provided by the embodiments of the present application.
- the computer-executed instructions in the embodiment of the present application may also be referred to as application code, which is not specifically limited in the embodiment of the present application.
- the processor 201 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 2 .
- the communication apparatus 20 may include multiple processors, such as the processor 201 and the processor 207 in FIG. 2 .
- 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).
- the communication apparatus 20 may further include an output device 205 and an input device 206 .
- the output device 205 is in communication with the processor 201 and can display information in a variety of ways.
- the output device 205 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector (projector) Wait.
- Input device 206 is in communication with processor 201 and can receive user input in a variety of ways.
- the input device 206 may be a mouse, a keyboard, a touch screen device, a sensor device, or the like.
- the above-mentioned communication apparatus 20 may be a general-purpose device or a dedicated device.
- the communication device 20 may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, an embedded device, or a similar structure in FIG. 2 . equipment.
- PDA personal digital assistant
- the embodiment of the present application does not limit the type of the communication device 20 .
- the method for establishing a pipeline provided in the embodiments of the present application can be applied to multiple scenarios, such as: cloud VR scenarios, video-on-demand scenarios, video game scenarios, or other scenarios that require high quality of display images etc.
- first gateway device and other gateway devices with different numbers are only used for contextual convenience, and the different sequence numbers themselves have no specific technical meaning.
- the first gateway device, the second gateway device etc. can be understood as one or any one of a series of gateway devices. It can be understood that, during specific implementation, gateway devices with different numbers may also be the same or the same type of gateway device, which is not limited in this application.
- the controller, the first gateway device, the second gateway device, the terminal, or the service server may perform some or all of the steps in the embodiments of the present application. These steps are only examples, and the embodiments of the present application Other steps or variations of the various steps may also be performed. In addition, various steps may be performed in different orders presented in the embodiments of the present application, and it may not be necessary to perform all the steps in the embodiments of the present application.
- the specific structure of the execution body of the method for establishing the pipeline is not particularly limited in the embodiment of the present application, as long as the program that records the code of the method for establishing the pipeline in the embodiment of the present application can be executed to obtain the method according to the present application.
- the method for establishing a pipeline in the embodiment only needs to communicate.
- the execution body of the method for establishing a pipeline provided in the embodiment of the present application may be a controller, or a component applied in the controller, such as a chip, to which this application applies. Not limited.
- the execution body of the method for establishing a pipeline provided in this embodiment of the present application may be the first gateway device, or a component applied to the first gateway device, such as a chip, which is not limited in this application.
- the execution body of the method for establishing a pipeline provided in this embodiment of the present application may be the second gateway device, or a component applied to the second gateway device, such as a chip, which is not limited in this application.
- the execution body of the method for establishing a pipeline provided in this embodiment of the present application may be a terminal, or a component applied to the terminal, such as a chip, which is not limited in this application.
- the execution body of the method for establishing a pipeline provided in this embodiment of the present application may be a service server, or a component applied to the service server, such as a chip, which is not limited in this application.
- the following embodiments are described by taking an example that the execution bodies of the method for establishing a pipeline are a controller, a first gateway device, a second gateway device, a terminal, and a service server respectively.
- a method for establishing a pipeline is provided in an embodiment of the present application.
- the method takes the communication system shown in FIG. 1A as an example, and the method includes steps 301 to 304 .
- Step 301 The terminal acquires service requirement information.
- the terminal may be the terminal 101 in FIG. 1A .
- the service requirement information is used to indicate the requirement of the data to be transmitted between the terminal and the service server on the network managed by the controller.
- the data to be transmitted may be data that has already arrived at the terminal or the service server, or may be real-time communication data between the terminal and the service server.
- the service server may be the service server 102 in FIG. 1A .
- the controller may be the controller 1033 in FIG. 1A
- the network managed by the controller may be the network 103 in FIG. 1A .
- the business requirement information includes service level agreement information (service level agreement, SLA).
- SLA includes at least one of the following information: bandwidth information of the data to be transmitted, delay information of the data to be transmitted, packet loss rate of the data to be transmitted, or delay jitter information of the data to be transmitted.
- the bandwidth information of the data to be transmitted is used to indicate the bandwidth of the data to be transmitted.
- the delay information of the data to be transmitted is used to indicate the delay of the data to be transmitted.
- the delay jitter information of the data to be transmitted is used to indicate the delay jitter of the data to be transmitted.
- the terminal determines the service server to be accessed.
- the terminal sends request information for requesting the distribution service server to the scheduling server.
- the scheduling server verifies information such as the identity or authority of the terminal, and sends response information for indicating the service server to the terminal.
- the terminal determines the service server to be accessed according to the response information.
- the scheduling server may be the scheduling server 104 in FIG. 1A .
- the scheduling server may also determine an SLA for the terminal, and send the SLA to the terminal.
- the SLA can be included in the response message or sent separately.
- the terminal can determine the SLA by itself.
- the scheduling server or terminal may determine the SLA in any of the following manners.
- the SLA is determined according to the service type of the data to be transmitted.
- services can be divided into: hypertext transfer protocol (hypertext transfer protocol, HTTP) type and user datagram protocol (user datagram protocol, UDP) type and so on.
- hypertext transfer protocol hypertext transfer protocol
- HTTP hypertext transfer protocol
- UDP user datagram protocol
- services can be classified into standard definition types, ultra-definition types, and high-definition types according to the video definition.
- services can be divided into VR services, video-on-demand services, video game services, and the like according to the content of the services.
- HTTP type UDP type
- SD type UHD type
- HD type HD type
- VR service video-on-demand service
- video game service are only examples of service types.
- service types may also include other types.
- business types can also be classified according to other methods without limitation.
- the SLA may be determined according to the correspondence between the SLA shown in Table 1 and the service type of the data to be transmitted. For example, if the service type of the data to be transmitted is HTTP, the SLA includes bandwidth information 1, delay information 1, packet loss rate 1, and delay jitter information 1; if the service type of the data to be transmitted is UDP, the SLA includes Bandwidth information 2, delay information 2, packet loss rate 2, and delay jitter information 2; if the service type of the data to be transmitted is SD, the SLA includes bandwidth information 3, delay information 3, packet loss rate 3, and delay Jitter information 3; if the service type of the data to be transmitted is ultra-clear type, the SLA includes bandwidth information 4, delay information 4, packet loss rate 4, and delay jitter information 4; if the service type of the data to be transmitted is high-definition type, Then the SLA includes bandwidth information 5 , delay information 5 , packet loss rate 5 and delay jitter information 5 .
- the SLA includes bandwidth information 5 , delay information 5 , packet loss rate 5 and delay
- Bandwidth information Delay information Packet loss rate Delay Jitter Information HTTP type Bandwidth Information 1 Delay information 1 Packet loss rate 1 Delay Jitter Information 1 UDP type Bandwidth Information 2 Delay information 2 Packet loss rate 2 Delay Jitter Information 2 SD type Bandwidth Information 3 Delay information 3 Packet loss rate 3 Delay Jitter Information 3 Ultra clear type Bandwidth Information 4 Delay information 4 Packet loss rate 4 Delay Jitter Information 4
- the SLA is determined according to the relevant parameters of the data to be transmitted. For example, the SLA is determined according to the size of the data to be transmitted; or, the SLA is determined according to the delay requirement of the data to be transmitted.
- Step 302 The terminal sends service requirement information to the first gateway device.
- the first gateway device may be the gateway device 1031 in FIG. 1A .
- the terminal also sends the destination address of the data to be transmitted to the first gateway device. Further, the terminal also sends the protocol port identifier to the first gateway device. The destination address or protocol port identifier of the data to be transmitted may be sent together with the service requirement information, or may be sent separately.
- the destination address of the data to be transmitted is the address of the service server, for example, the destination address of the data to be transmitted is the Internet Protocol (IP) address of the service server.
- IP Internet Protocol
- the protocol port identifier is used to identify the protocol port. For example, the protocol port identifier is 20, which indicates the file transfer protocol (FTP) data connection port.
- FTP file transfer protocol
- the first gateway device receives the service requirement information from the terminal.
- the first gateway device also receives the destination address of the data to be transmitted from the terminal. Further, the first gateway device also receives the protocol port identifier from the terminal.
- the service requirement information may also be the destination address of the data to be transmitted by the first gateway device, and/or the data to be transmitted. business type.
- the above-mentioned steps 301 and 302 may be replaced by the following steps A and B.
- Step A The first gateway device obtains the destination address of the data to be transmitted, and/or the service type of the data to be transmitted.
- the first gateway device receives the destination address of the data to be transmitted from the terminal, and/or the information of the service type of the data to be transmitted.
- the information of the service type of the data to be transmitted is used to indicate the service type of the data to be transmitted.
- the information of the service type of the data to be transmitted includes a protocol port identifier corresponding to the data to be transmitted.
- Step B The first gateway device determines service requirement information according to the destination address of the data to be transmitted and/or the service type of the data to be transmitted.
- the destination address of the data to be transmitted and/or the service type of the data to be transmitted has a corresponding relationship with the service requirement information.
- the corresponding relationship between the destination address of the data to be transmitted and the service demand information is shown in Table 2. If the destination address of the data to be transmitted is destination address 1, the service requirement information determined by the first gateway is service requirement information 1; if the destination address of the data to be transmitted is destination address 2, the service requirement information determined by the first gateway is service requirement information 2; if the data to be transmitted is the service requirement information 2; The destination address is destination address 3, and the service requirement information determined by the first gateway is service requirement information 3.
- the destination address of the data to be transmitted business need information destination address 1 Business Need Information 1 destination address 2 Business Requirement Information 2 destination address 3 Business Requirement Information 3
- the corresponding relationship between the service type of the data to be transmitted and the service requirement information is shown in Table 3. If the service type of the data to be transmitted is SD type, the service requirement information determined by the first gateway is service requirement information 1; if the service type of the data to be transmitted is ultra-clear type, the service requirement information determined by the first gateway is service requirement information 2; If the service type is the high-definition type, the service requirement information determined by the first gateway is the service requirement information 3 .
- the service type of the data to be transmitted business need information SD type Business Need Information 1 Ultra clear type Business Requirement Information 2 HD type Business Requirement Information 3
- the correspondence between the service type of the data to be transmitted and the service requirement information is shown in Table 4. As shown, if the destination address of the data to be transmitted is the destination address 1, and the service type of the data to be transmitted is the VR service, the service requirement information determined by the first gateway is the service requirement information 1; if the destination address of the data to be transmitted is the destination address 2.
- the service type of the data to be transmitted is a video-on-demand service, and the service requirement information determined by the first gateway is service requirement information 2; if the destination address of the data to be transmitted is destination address 3, the service type of the data to be transmitted is a video game service , the service requirement information determined by the first gateway is service requirement information 3 .
- the destination address of the data to be transmitted The service type of the data to be transmitted business need information destination address 1 VR business Business Need Information 1 destination address 2 video on demand service Business Requirement Information 2 destination address 3 video game business Business Requirement Information 3
- Step 303 The first gateway device sends service requirement information to the controller.
- the first gateway also sends the source address of the data to be transmitted, the destination address of the data to be transmitted and the next hop address to the controller, so as to notify the controller of the start node and end node of the pipeline to be established.
- the source address of the data to be transmitted is the address of the terminal, for example, the source address of the data to be transmitted is the IP address of the terminal.
- the next hop address is the address of the second gateway device, for example, the next hop address is the IP address of the second gateway device.
- the second gateway device may be gateway device 1032 in FIG. 1A .
- the first gateway device also sends the protocol port identifier to the controller.
- the source address of the data to be transmitted, the destination address of the data to be transmitted, the next hop address or the protocol port identifier may be sent together with the service requirement information, or may be sent separately.
- the controller receives the service requirement information from the first gateway device.
- the controller also receives the source address of the data to be transmitted, the destination address and the next hop address of the data to be transmitted from the first gateway device. Further, the controller also receives the protocol port identifier from the first gateway device.
- Step 304 The controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information.
- the pipeline includes N forwarding devices.
- N is an integer greater than or equal to 1.
- the controller acquires the first correspondence and the second correspondence.
- the first correspondence is the correspondence between the address of the first gateway device and the user-to-network interface (UNI) of the first forwarding device in the network.
- the second correspondence is the correspondence between the address of the second gateway device and the UNI of the second forwarding device in the network.
- the first forwarding device is connected to the first gateway device, and the second forwarding device is connected to the second gateway device.
- the address of the first gateway device may be the IP address of the first gateway device.
- the address of the second gateway device may be the IP address of the second gateway device.
- the first gateway device 402 is connected to the forwarding device 404 through the UNI 1 of the forwarding device 404
- the first correspondence may be as shown in Table 5.
- the second gateway device 403 is connected to the forwarding device 405 through the UNI 2 of the forwarding device 405, the second corresponding relationship may be as shown in Table 6.
- the controller may detect the above-mentioned first correspondence and second correspondence through an interface.
- the controller may broadcast an address resolution protocol (ARP) request including the address of the first gateway device or the address of the second gateway device to all devices in the network, and receive a return message. Subsequently, the controller may determine the first correspondence and the second correspondence according to the returned message.
- ARP address resolution protocol
- the controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information, including: the controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information, the first correspondence and the second correspondence. pipeline.
- the pipeline established by the controller includes a forwarding device 404 and a forwarding device 405 .
- the controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information, the first correspondence and the second correspondence, including: the controller determines the forwarding resource according to the service requirement information, the first correspondence and the second correspondence. and the forwarding table of each forwarding device among the N forwarding devices.
- the forwarding resource is used to indicate N forwarding devices and resources used by each forwarding device.
- the resource used by the forwarding device is used to indicate one or more of the bandwidth of the data to be transmitted, the time slot of the data to be transmitted, and the thread corresponding to the data to be transmitted. It should be understood that in practical applications, the resources used by the forwarding device also include other information, which is not limited.
- the forwarding table includes the identifier of the inbound interface and the identifier of the outbound interface corresponding to the identifier of the inbound interface.
- the forwarding table corresponding to the forwarding device 404 includes: 1, and interface 2 corresponding to interface 1.
- the controller determines the first forwarding device connected to the first gateway device and the first forwarding device connected to the second gateway device according to the source address of the data to be transmitted, the destination address of the data to be transmitted, the first correspondence and the second correspondence.
- the second forwarding device determines the forwarding device between the first forwarding device and the second forwarding device, and each forwarding device among the first gateway device, the second gateway device and the N forwarding devices according to the network topology and service requirement information Resources and forwarding tables used.
- the first forwarding device, the second forwarding device, and the forwarding device between the first forwarding device and the second forwarding device are included in the N forwarding devices.
- the first gateway device and the second gateway device are connected through a forwarding device.
- the first gateway device is connected to the first forwarding device, the second forwarding device, and the second gateway device in sequence.
- the first gateway device is the gateway device 402
- the first forwarding device is the forwarding device 404
- the second forwarding device is the forwarding device 405
- the second gateway device is the gateway device 403 .
- the topology of the network may be as shown in FIG. 5 .
- the first gateway device is the gateway device 502
- the first forwarding device is the forwarding device 504
- the second forwarding device is the forwarding device 505
- the forwarding device between the first forwarding device and the second forwarding device is the forwarding device 506,
- the second gateway device is the gateway device 503 .
- N is greater than 3
- the number of forwarding devices between the first forwarding device and the second forwarding device is greater than 1, that is, in this case, the first forwarding device and the second forwarding device pass through. Multiple forwarding device connections.
- the controller determines the forwarding resources and the N forwarding devices according to the service requirement information, the first corresponding relationship and the second corresponding relationship. After the forwarding table of each forwarding device, it can send N forwardings to the N forwarding devices respectively. Forwarding resources and forwarding tables corresponding to each forwarding device in the device. The controller also sends the forwarding resource and the forwarding table corresponding to the first gateway device to the first gateway device, and sends the forwarding resource and the forwarding table corresponding to the second gateway device to the second gateway device.
- the controller sends the forwarding resource and the forwarding table corresponding to the gateway device 402 to the gateway device 402; the controller sends the forwarding resource and the forwarding table corresponding to the forwarding device 404 to the forwarding device 404; The controller sends the forwarding resource and the forwarding table corresponding to the forwarding device 405 to the forwarding device 405 ; the controller sends the forwarding resource and the forwarding table corresponding to the gateway device 403 to the gateway device 403 .
- the forwarding resources corresponding to each of the N forwarding devices, the forwarding resources corresponding to the first gateway device, and the forwarding resources corresponding to the second gateway device are all resources dedicated to data to be transmitted. That is to say, the forwarding resources corresponding to each of the forwarding devices, the forwarding resources corresponding to the first gateway device, and the forwarding resources corresponding to the second gateway device are used for transmitting the data to be transmitted, and cannot be used for other services. Therefore, when the data to be transmitted is transmitted in the pipeline, the demand indicated in the business demand information can be satisfied.
- the controller sends the response information of the service requirement information to the first gateway device.
- the response information is used to indicate whether the pipeline is established successfully.
- the first gateway device After receiving the response information, the first gateway device sends the response information to the terminal.
- step 304 the terminal communicates with the service server through the pipeline.
- the terminal may send, to the controller through the first gateway device, service requirement information for indicating the requirement of the data to be transmitted on the network.
- the controller can, according to the service requirement information, establish a pipeline for the data to be transmitted in the network that meets the requirement of the data to be transmitted on the network.
- the forwarding resources used by the forwarding device, the first gateway device or the second gateway device in the pipeline are all configured by the controller for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline, it can satisfy the The network demand of the data to be transmitted can also be improved, and the utilization rate of network resources can also be improved.
- the above-mentioned service requirement information may change.
- the terminal needs to send the update requirement information to the controller through the first gateway device, so that the controller can update the original pipeline or re-establish the pipeline according to the update demand information.
- the method shown in FIG. 3 further includes steps 601 to 603 .
- Step 601 The terminal sends update requirement information to the first gateway device.
- the update requirement information is used to indicate the updated service requirement information.
- the updated requirement information includes the updated business requirement information.
- the update requirement information includes bandwidth information 1, delay information 1, packet loss rate 1, and delay jitter information 1.
- the updated demand information includes information different from the above-mentioned business demand information in the updated business demand information.
- the service requirement information includes bandwidth information 1, delay information 1, packet loss rate 1 and delay jitter information 1
- the updated service requirement information includes bandwidth information 1, delay information 1, packet loss rate 1 and Taking the delay jitter information 2 as an example, the update requirement information includes the delay jitter information 2 .
- the update requirement information may also include the address of the terminal and the address of the service server, so as to inform the controller which pipeline the update requirement information is for, or which service requirement information is for.
- the first gateway device receives the update requirement information from the terminal.
- Step 602 The first gateway device sends update requirement information to the controller.
- the controller receives the update requirement information from the first gateway device.
- Step 603 The controller updates the above-mentioned pipeline according to the update requirement information, or re-establishes the pipeline in the network.
- the control will first determine the updated business according to the update requirement information and the business requirement information. demand information.
- the controller can determine the updated service requirement.
- the information includes bandwidth information 1, delay information 1, packet loss rate 1, and delay jitter information 2.
- the controller can re-establish the pipeline in the network, or it can not re-establish the pipeline. If the controller determines to re-establish the pipeline, the controller will remove the pipeline established in the above step 304, and then re-establish the pipeline.
- the process of the controller re-establishing the pipeline in the network is similar to the process of establishing the pipeline in step 304. For details, reference may be made to the process of establishing the pipeline in the above-mentioned step 304, which will not be repeated. If the controller determines not to re-establish the pipeline, the pipeline can be updated.
- the controller updates the above-mentioned pipeline according to the update requirement information, including: the controller determines the forwarding resources corresponding to the first gateway device, the forwarding resources corresponding to the second gateway device, and N according to the update requirement information and the network topology. Forwarding resources corresponding to each forwarding device in the forwarding devices.
- control After the control re-establishes the pipeline in the network, it sends the forwarding resources and the forwarding table corresponding to each of the N forwarding devices to the N forwarding devices, and sends the corresponding forwarding table of the first gateway device to the first gateway device.
- the forwarding resources and forwarding table corresponding to the second gateway device are sent to the second gateway device.
- the forwarding resources corresponding to the forwarding device are sent to the N forwarding devices, the forwarding resources corresponding to the first gateway device are sent to the first gateway device, and the corresponding forwarding resources of the second gateway device are sent to the second gateway device. forwarding resources.
- the controller sends response information for updating the requirement information to the first gateway device.
- the response information is used to indicate whether the pipeline is updated successfully, or whether the pipeline is re-established successfully.
- the first gateway device After receiving the response information, the first gateway device sends the response information to the terminal.
- step 603 the terminal communicates with the service server through the updated pipeline or the re-established pipeline.
- the terminal may send the update requirement information to the controller through the first gateway device.
- the controller can update the originally established pipeline or re-establish the pipeline according to the update requirement information. In this way, when the data to be transmitted is transmitted in the updated pipeline or the re-established pipeline, the new demand of the data to be transmitted on the network can be satisfied.
- the terminal when the terminal ends communication with the service server, the terminal may send an access end notification message to the controller through the first gateway device, so that the controller removes the pipeline.
- the method shown in FIG. 3 further includes steps 701 to 703 .
- Step 701 The terminal sends an access end notification message to the first gateway device.
- the access end notification message is used to instruct to remove the pipeline established by the controller for the terminal and the service server.
- the access end notification message includes the address of the terminal and the address of the service server, so as to notify the controller which pipeline or service requirement information the access end notification message is for.
- the first gateway device receives an access end notification message from the terminal.
- Step 702 The first gateway device sends an access end notification message to the controller.
- the controller receives an access end notification message from the first gateway device.
- Step 703 The controller removes the above-mentioned pipeline according to the access end notification message.
- the controller sends indication information to the N forwarding devices, the first gateway device and the second gateway device.
- the indication information is used to instruct to delete the forwarding resource and forwarding table configured for the data to be transmitted on each device.
- steps 701 to 703 can also be executed after step 603 .
- the terminal when the terminal ends communication with the service server, the terminal can send an access end notification message to the controller through the first gateway device, so that the controller removes the pipe according to the access end notification message.
- the N forwarding devices or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
- the terminal when the communication ends, the terminal notifies the controller to remove the pipeline through the first gateway device.
- the first gateway device may also notify the controller to remove the pipeline.
- the first gateway device may have the function of monitoring the usage of the network by the terminal.
- the method shown in FIG. 3 further includes steps 801 to 803 .
- Step 801 The first gateway device determines to stop using the pipe established by the controller for the data to be transmitted.
- the first gateway device may determine to stop using the pipe established by the controller for the data to be transmitted under the following exemplary circumstances.
- the first gateway device does not detect that the terminal communicates with the service server through the pipeline, and the first gateway device determines to stop using the pipeline established by the controller for the data to be transmitted.
- the first gateway device when the first gateway device detects that the terminal membership expires, it determines to stop using the pipe established by the controller for the data to be transmitted.
- the first gateway device when the first gateway device detects that the account balance of the terminal is less than or equal to the threshold value, it determines to stop using the pipe established by the controller for the data to be transmitted.
- Step 802 The first gateway device sends an access end notification message to the controller.
- the access end notification message is used to instruct to remove the pipeline established by the controller for the terminal and the service server.
- the access end notification message includes the address of the terminal and the address of the service server, so as to notify the controller which pipeline or service requirement information the access end notification message is for.
- the controller receives an access end notification message from the first gateway device.
- Step 803 The controller removes the above-mentioned pipe according to the access end notification message.
- the controller sends indication information to the N forwarding devices, the first gateway device and the second gateway device.
- the indication information is used to instruct to delete the forwarding resource and forwarding table configured for the data to be transmitted on each device.
- steps 801 to 803 can also be executed after step 603 .
- the first gateway device determines to stop using the pipe established by the controller for the data to be transmitted, it can send an access end notification message to the controller, so that the controller removes the pipe according to the access end notification message.
- the N forwarding devices or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
- the service server uses the first bandwidth to send data to the terminal.
- the service server uses the second bandwidth to send data to the terminal, and the second bandwidth is greater than the first bandwidth.
- the service server uses the third bandwidth to send data to the terminal, and the third bandwidth is greater than the second bandwidth; if the packet loss rate is greater than or equal to the threshold within the preset time, the service The server uses a fourth bandwidth to send data to the terminal, and the fourth bandwidth is smaller than the second bandwidth.
- the throughput can be as shown in FIG. 9A .
- the service server has to constantly try to find the appropriate bandwidth, and packet loss will often occur.
- the bandwidth used by the service server is small, which will cause delay.
- the terminal can negotiate network parameters with the service server, and communicate through the negotiated network parameters.
- the terminal may notify the service server of the network parameters of the pipe through the pipe, so that the terminal and the service server communicate according to the network parameters.
- the method shown in FIG. 3 further includes steps 1001 to 1002 .
- Step 1001 The terminal sends negotiation information to the service server.
- the negotiation information is used to notify the service server of the network parameters of the pipeline.
- the negotiation information includes at least one of the following information: bandwidth information, delay information or packet loss rate.
- bandwidth information is used to indicate the bandwidth corresponding to the pipe
- delay information is used to indicate the delay corresponding to the pipe
- packet loss rate is the packet loss rate corresponding to the pipe.
- the terminal sends negotiation information to the service server through a pipeline.
- the terminal after the terminal performs three-way handshake with the service server and establishes a connection, the terminal sends negotiation information to the service server.
- the service server receives the negotiation information from the terminal.
- Step 1002 The terminal communicates with the service server according to the network parameters.
- the terminal communicates with the service server through a pipeline.
- both the terminal and the service server know the network parameters of the pipeline at this time. Therefore, the terminal and the service server do not need to use a tentative method to transmit data, but use the network parameters of the pipeline to transmit data. In this case, the throughput can be as shown in Figure 9B.
- the terminal can notify the service server of the network parameters of the pipeline, and communicate with the service server according to the network parameters. In this way, when the terminal communicates with the service server according to the network parameters, a larger and more stable throughput can be obtained, and packet loss and delay caused by the tentative transmission can be reduced.
- FIG. 3 , FIG. 6 , FIG. 7 , FIG. 8 and FIG. 10 take the communication system shown in FIG. 1A as an example.
- the method for establishing a pipeline provided by an embodiment of the present application is described below by taking the communication system shown in FIG. 1B as an example.
- the terminal and the service server communicate through two networks of different domains.
- the terminal and the service server may also communicate through three or more networks of different domains.
- the method for establishing a pipeline in this case is similar to the method for establishing a pipeline when the terminal and the service server communicate through networks of two different domains. Therefore, refer to the methods shown in Figures 11-15 below.
- FIG. 11 another method for establishing a pipeline is provided in this embodiment of the present application.
- the method includes steps 1101-1108.
- Step 1101 The terminal 105 obtains service requirement information.
- Step 1102 the terminal 105 sends the service requirement information to the gateway device 1071 .
- Step 1103 The gateway device 1071 sends the service requirement information to the controller 1073.
- Step 1104 The controller 1073 establishes a pipeline 1 in the network 107 for the data to be transmitted according to the service requirement information.
- Step 1105 The gateway device 1071 sends the service requirement information to the gateway device 1072 through at least one forwarding device.
- the at least one forwarding device is included in the network 107 .
- the gateway device 1072 receives the service requirement information from the gateway device 1071 through at least one forwarding device.
- steps 1103-1104 may be performed first, followed by step 1105, or steps 1105 may be performed first, followed by steps 1103-1104, or steps 1103-1104 and step 1105 may be performed simultaneously.
- Step 1106 The gateway device 1072 sends the service requirement information to the gateway device 1081.
- the gateway device 1081 receives the service requirement information from the gateway device 1072 .
- Step 1107 The gateway device 1081 sends the service requirement information to the controller 1083.
- Step 1108 The controller 1083 establishes a pipeline 2 in the network 108 for the data to be transmitted according to the service requirement information.
- the terminal 105 may send the service requirement information to the controller 1073 through the gateway device 1071 for indicating the requirement of the data to be transmitted on the network.
- the controller 1073 can establish a pipeline 1 for the data to be transmitted in the network 107 that meets the network requirement of the data to be transmitted according to the service requirement information.
- the terminal 105 may also send, to the controller 1083 through the gateway device 1071 , the gateway device 1072 and the gateway device 1081 , service requirement information for indicating the network requirements of the data to be transmitted.
- the controller 1083 can establish a pipeline 2 for the data to be transmitted in the network 108 that meets the network requirement of the data to be transmitted according to the service requirement information.
- the forwarding resources used by the forwarding device, the gateway device 1071 or the gateway device 1072 in the pipeline 1 are all configured by the controller 1073 for the data to be transmitted according to the service requirement information.
- the forwarding resources used by the forwarding device, the gateway device 1081 or the gateway device 1082 in the pipeline 2 are all configured by the controller 1083 for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline 1 and the pipeline 2, the demand of the data to be transmitted on the network can be met, and in addition, the utilization rate of network resources can be improved.
- the above-mentioned service requirement information will change.
- the terminal 105 needs to send the update requirement information to the controller 1073 through the gateway device 1071, so that the controller 1073 updates the original pipe 1 or re-establishes the pipe 3 according to the update requirement information.
- the terminal 105 also needs to send the update requirement information to the controller 1083 through the gateway device 1071, the gateway device 1072 and the gateway device 1081, so that the controller 1083 can update the original pipeline 2 or re-establish the pipeline 4 according to the update demand information.
- the method shown in FIG. 11 further includes steps 1201 to 1207 .
- Step 1201 the terminal 105 sends the update requirement information to the gateway device 1071 .
- Step 1202 The gateway device 1071 sends the update requirement information to the controller 1073.
- Step 1203 The controller 1073 updates the above-mentioned pipeline 1 according to the update requirement information, or re-establishes the pipeline 3 in the network 107 .
- Step 1204 The gateway device 1071 sends the update requirement information to the gateway device 1072 through at least one forwarding device.
- the at least one forwarding device is included in the network 107 .
- the gateway device 1072 receives the update requirement information from the gateway device 1071 through at least one forwarding device.
- step 1202-step 1203 may be performed first, and then step 1204 may be performed, or step 1204 may be performed first, then step 1202-step 1203 may be performed, or step 1202-step 1203 and step 1204 may be performed simultaneously.
- Step 1205 The gateway device 1072 sends the update requirement information to the gateway device 1081.
- the gateway device 1081 receives the update requirement information from the gateway device 1072 .
- Step 1206 The gateway device 1081 sends the update requirement information to the controller 1083.
- Step 1207 The controller 1083 updates the above-mentioned pipeline 2 according to the update requirement information, or re-establishes the pipeline 4 in the network 108 .
- the terminal 105 can send the update requirement information to the controller 1073 through the gateway device 1071 .
- the controller 1073 can update the previously established pipeline 1 or re-establish the pipeline 3 according to the update requirement information.
- the terminal 105 may also send the update requirement information to the controller 1083 through the gateway device 1071 , the gateway device 1072 and the gateway device 1081 .
- the controller 1083 can update the originally established pipeline 2 or re-establish the pipeline 4 according to the update demand information. In this way, when the data to be transmitted is transmitted in the updated pipeline 1 or the re-established pipeline 3, the new requirements of the network for the data to be transmitted can be satisfied.
- the data to be transmitted is transmitted in the updated pipeline 2 or the re-established pipeline 4 During transmission, it can meet the new demands of the data to be transmitted on the network.
- the terminal 105 may send an access end notification message to the controller 1073 through the gateway device 1071, so that the controller 1073 Pipe 1 removed.
- the terminal 105 may also send an access end notification message to the controller 1083 through the gateway device 1071 , the gateway device 1072 and the gateway device 1081 , so that the controller 1083 removes the pipe 2 .
- the method shown in FIG. 11 further includes steps 1301 to 1307 .
- Step 1301 The terminal 105 sends an access end notification message to the gateway device 1071 .
- Step 1302 The gateway device 1071 sends an access end notification message to the controller 1073.
- Step 1303 The controller 1073 removes the above-mentioned pipe 1 according to the access end notification message.
- Step 1304 The gateway device 1071 sends an access end notification message to the gateway device 1072 through at least one forwarding device.
- the at least one forwarding device is included in the network 107 .
- the gateway device 1072 receives the access end notification message from the gateway device 1071 through at least one forwarding device.
- steps 1302-1303 may be performed first, followed by step 1304, or steps 1304 may be performed first, followed by steps 1302-1303, or steps 1302-1303 and step 1304 may be performed simultaneously.
- Step 1305 The gateway device 1072 sends an access end notification message to the gateway device 1081.
- the gateway device 1081 receives the access end notification message from the gateway device 1072 .
- Step 1306 The gateway device 1081 sends an access end notification message to the controller 1083.
- Step 1307 The controller 1083 removes the above-mentioned pipe 2 according to the access end notification message.
- the terminal 105 when the terminal 105 ends the communication with the service server 106, the terminal 105 can send an access end notification message to the controller 1073 through the gateway device 1071, so that the controller 1073 can remove the pipe 1 according to the access end notification message.
- the terminal 105 may send an access end notification message to the controller 1083 through the gateway device 1071, the gateway device 1072 and the gateway device 1081, so that the controller 1083 removes the pipe 2 according to the access end notification message.
- the forwarding resources corresponding to the forwarding devices in the above-mentioned pipes 1 and 2 or the forwarding devices in the pipes 1 and 2 can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices in the network and the utilization rate of resources.
- the terminal 105 when the communication ends, notifies the controller 1073 to remove the pipe 1 through the gateway device 1071 , and notifies the controller 1083 to remove the pipe 2 through the gateway device 1071 , the gateway device 1072 and the gateway device 1081 .
- the gateway device 1071 can also notify the controller 1073 to remove the pipe 1, and the gateway device 1071 can also notify the controller through the gateway device 1072 and the gateway device 1081 1083 Remove pipe 2.
- the gateway device 1071 may have a function of monitoring the usage of the network 107 by the terminal 105 .
- the method shown in FIG. 11 further includes steps 1401 to 1407 .
- Step 1401 The gateway device 1071 determines to stop using the pipe 1 established by the controller 1073 for the data to be transmitted and the pipe 2 established by the controller 1083 for the data to be transmitted.
- Step 1402 The gateway device 1071 sends an access end notification message to the controller 1073.
- Step 1403 The controller 1073 removes the above-mentioned pipe 1 according to the access end notification message.
- Step 1404 The gateway device 1071 sends an access end notification message to the gateway device 1072 through at least one forwarding device.
- the at least one forwarding device is included in the network 107 .
- the gateway device 1072 receives the access end notification message from the gateway device 1071 through at least one forwarding device.
- steps 1402-1403 may be performed first, followed by step 1404, or steps 1404 may be performed first, followed by steps 1402-1403, or steps 1402-1403 and step 1404 may be performed simultaneously.
- Step 1405 The gateway device 1072 sends an access end notification message to the gateway device 1081.
- the gateway device 1081 receives the access end notification message from the gateway device 1072 .
- Step 1406 The gateway device 1081 sends an access end notification message to the controller 1083.
- Step 1407 The controller 1083 removes the above-mentioned pipe 2 according to the access end notification message.
- the gateway device 1071 determines to stop using the pipe 1 established by the controller 1073 for the data to be transmitted and the pipe 2 established by the controller 1083 for the data to be transmitted, it can send an access end notification message to the controller 1073 , so that the controller 1073 removes the pipe 1 according to the access end notification message.
- An access end notification message may also be sent to the controller 1083 through the gateway device 1072 and the gateway device 1082, so that the controller 1083 removes the pipe 2 according to the access end notification message.
- the forwarding resources corresponding to the forwarding devices in the above-mentioned pipes 1 and 2 or the forwarding devices in the pipes 1 and 2 can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices in the network and the utilization rate of resources.
- the terminal 105 and the service server 106 will use a tentative method to transmit data.
- the terminal 105 and the service server 106 will use a tentative method to transmit data.
- packet loss often occurs.
- the bandwidth used is relatively small, which may occur when extension.
- the terminal 105 may negotiate network parameters with the service server 106, and communicate through the negotiated network parameters.
- the terminal 105 may notify the service server 106 of the network parameters of the pipe 1 and the pipe 2 through the pipe 1 and the pipe 2, so that the terminal 105 and the service server 106 can The network parameters communicate.
- the method shown in FIG. 11 further includes steps 1501 to 1502 .
- Step 1501 The terminal 105 sends the negotiation information to the service server 106 .
- Step 1502 The terminal 105 communicates with the service server 106 according to the network parameters.
- the terminal 105 can notify the service server 106 of the network parameters of the pipeline 1 and the pipeline 2, and communicate with the service server 106 according to the network parameters. In this way, when the terminal communicates with the service server according to the network parameters, a larger and more stable throughput is obtained, and packet loss and delay caused by the tentative transmission are reduced.
- the foregoing mainly introduces the solutions provided by the embodiments of the present application from the perspective of interaction between various network elements.
- the above-mentioned terminal, the first gateway device, the controller, or the service server, etc. include corresponding hardware structures and/or software modules for executing each function.
- the unit and algorithm operations of each example described in conjunction with the embodiments disclosed herein can be implemented in hardware or in the form of a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
- the terminal, the first gateway device, the controller, or the service server may be divided into functional modules according to the foregoing method examples.
- each functional module may be divided into each function, or two or more functions may be divided into two or more functional modules.
- integrated in a processing module can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
- FIG. 16 shows a schematic structural diagram of a communication device.
- the communication device may be a controller or a chip or a system-on-chip in the controller, or other combined devices, components, etc. that can realize the functions of the above terminal equipment, and the communication device may be used to execute the functions of the controller involved in the above embodiments.
- the communication apparatus shown in FIG. 16 includes: a communication module 1601 and a processing module 1602 .
- the communication module 1601 is configured to receive service requirement information from the first gateway device, where the service requirement information is used to indicate the requirement of the network managed by the communication device for the data to be transmitted between the terminal and the service server, and the first gateway device is connected to the communication device.
- the terminal is connected, the service server is connected with a second gateway device, and the first gateway device and the second gateway device are connected through the network.
- the communication module 1601 may be used to perform step 303 .
- the processing module 1602 is configured to establish a pipeline for the data to be transmitted in the network according to the service requirement information, the pipeline includes N forwarding devices, and the data to be transmitted satisfies the requirement when transmitted in the pipeline, and N is greater than or an integer equal to 1.
- processing module 1602 may be used to perform step 304 .
- the processing module 1602 is specifically configured to establish a pipeline for the data to be transmitted in the network according to the service requirement information, the first correspondence and the second correspondence; wherein the first correspondence is the correspondence between the address of the first gateway device and the user network interface UNI of the first forwarding device in the network; the second correspondence is the address of the second gateway device and the UNI of the second forwarding device in the network The first forwarding device is connected with the first gateway device, and the second forwarding device is connected with the second gateway device.
- the processing module 1602 is specifically configured to determine, according to the service requirement information, the first corresponding relationship and the second corresponding relationship, the forwarding resource and the forwarding value of each forwarding device among the N forwarding devices. Publish; wherein, the forwarding resource is used to indicate the N forwarding devices and the resource used by each forwarding device.
- the communication module 1601 is further configured to send the forwarding resource and the forwarding table corresponding to each of the N forwarding devices to the N forwarding devices respectively.
- the communication module 1601 is further configured to receive update requirement information from the first gateway device, where the update requirement information is used to indicate the updated service requirement information.
- the communication module 1601 is further configured to receive an access end notification message from the first gateway device, where the access end notification message is used to instruct to remove the pipeline.
- the business requirement information includes service level agreement information.
- the communication device is presented in the form of dividing each functional module in an integrated manner.
- Module herein may refer to a specific ASIC, circuit, processor and memory executing one or more software or firmware programs, integrated logic circuit, and/or other device that may provide the functions described above.
- the communication device may take the form shown in FIG. 2 .
- the processor 201 in FIG. 2 may invoke the computer-executed instructions stored in the memory 203 to cause the communication apparatus to execute the method for establishing a pipeline in the foregoing method embodiments.
- the function/implementation process of the communication module 1601 and the processing module 1602 in FIG. 16 may be implemented by the processor 201 in FIG. 2 calling the computer-executed instructions stored in the memory 203 .
- the function/implementation process of the processing module 1602 in FIG. 16 can be implemented by the processor 201 in FIG. 2 calling the computer-executed instructions stored in the memory 203, and the function/implementation process of the communication module 1601 in FIG. 2 in the communication interface 204 to achieve.
- the communication device provided in this embodiment can execute the above-mentioned method for establishing a pipeline, reference can be made to the above-mentioned method embodiments for the technical effects that can be obtained, and details are not repeated here.
- FIG. 17 shows a schematic structural diagram of a communication device.
- the communication device may be a terminal or a chip or a system-on-chip in the terminal, or other combined devices, components, etc. that can realize the above-mentioned terminal functions, and the communication device may be used to perform the functions of the terminal involved in the above-mentioned embodiments.
- the communication apparatus shown in FIG. 17 includes: a processing module 1701 and a communication module 1702 .
- the processing module 1701 is configured to acquire service requirement information, where the service requirement information is used to indicate the requirement of the data to be transmitted between the communication device and the service server on the network managed by the controller. For example, in conjunction with FIG. 3 , the processing module 1701 may be used to perform step 301 .
- the communication module 1702 is configured to send the service requirement information to the first gateway device.
- the communication module 1702 may be used to perform step 302 .
- the communication module 1702 is further configured to send negotiation information to the service server, where the negotiation information is used to notify the service server of the network parameters of the pipeline, where the pipeline is the controller for the data to be transmitted established, the pipeline includes N forwarding devices, when the data to be transmitted is transmitted in the pipeline, the requirement is met, and N is an integer greater than or equal to 1; the communication module 1702 is also used to communicate with the service server according to the network parameters communication.
- the negotiation information includes at least one of the following information: bandwidth information, delay information, or packet loss rate.
- the communication module 1702 is further configured to send update requirement information to the first gateway device, where the update requirement information is used to indicate the updated service requirement information.
- the communication module 1702 is further configured to send an access end notification message to the first gateway device, where the access end notification message is used to instruct the controller to remove the communication device and the service server established by the controller pipeline.
- the business requirement information includes service level agreement information.
- the communication device is presented in the form of dividing each functional module in an integrated manner.
- Module herein may refer to a specific ASIC, circuit, processor and memory executing one or more software or firmware programs, integrated logic circuit, and/or other device that may provide the functions described above.
- the communication device may take the form shown in FIG. 2 .
- the processor 201 in FIG. 2 may invoke the computer-executed instructions stored in the memory 203 to cause the communication apparatus to execute the method for establishing a pipeline in the foregoing method embodiments.
- the function/implementation process of the processing module 1701 and the communication module 1702 in FIG. 17 may be implemented by the processor 201 in FIG. 2 calling the computer-executed instructions stored in the memory 203 .
- the function/implementation process of the processing module 1701 in FIG. 17 can be implemented by the processor 201 in FIG. 2 calling the computer-executed instructions stored in the memory 203, and the function/implementation process of the communication module 1702 in FIG. 2 in the communication interface 204 to achieve.
- the communication device provided in this embodiment can execute the above-mentioned method for establishing a pipeline, reference can be made to the above-mentioned method embodiments for the technical effects that can be obtained, and details are not repeated here.
- FIG. 18 shows a schematic structural diagram of a communication apparatus.
- the communication device may be a first gateway device or a chip or a system-on-chip in the first gateway device, or other combined devices, components, etc. that can realize the functions of the above-mentioned terminal device, and the communication device can be used to execute the first step involved in the above-mentioned embodiment.
- a function of the gateway device may be a first gateway device or a chip or a system-on-chip in the first gateway device, or other combined devices, components, etc.
- the communication apparatus shown in FIG. 18 includes: a processing module 1801 and a communication module 1802 .
- the processing module 1801 is configured to acquire service requirement information, where the service requirement information is used to indicate the requirement of the data to be transmitted between the terminal and the service server on the network managed by the controller. For example, in conjunction with FIG. 3 , processing module 1801 may be used to perform step 302 .
- the communication module 1802 is configured to send the service requirement information to the controller.
- the communication module 1802 may be used to perform step 303 .
- the processing module 1801 is specifically configured to receive the service requirement information from the terminal through the communication module.
- the processing module 1801 is specifically configured to obtain the destination address of the data to be transmitted, and/or the service type of the data to be transmitted; the processing module 1801 is also specifically configured to obtain the destination address and/or the service type of the data to be transmitted; /or the business type determines the business requirement information.
- the communication module 1802 is configured to receive the update requirement information from the terminal, where the update requirement information is used to indicate the updated service requirement information; the communication module 1802 is further configured to send the update requirement information to the controller The update request information.
- the communication module 1802 is further configured to receive an access end notification message from the terminal, where the access end notification message is used to instruct to remove the pipe established by the controller for the data to be transmitted; the communication module 1802 , and is also used to send the access end notification message to the controller.
- the processing module 1801 is further configured to determine to stop using the pipeline established by the controller for the data to be transmitted; the communication module 1802 is further configured to send the access end notification message to the controller, the The access end notification message is used to instruct to remove the pipe established by the controller for the data to be transmitted.
- the business requirement information includes service level agreement information.
- the communication device is presented in the form of dividing each functional module in an integrated manner.
- Module herein may refer to a specific ASIC, circuit, processor and memory executing one or more software or firmware programs, integrated logic circuit, and/or other device that may provide the functions described above.
- the communication device may take the form shown in FIG. 2 .
- the processor 201 in FIG. 2 may invoke the computer-executed instructions stored in the memory 203 to cause the communication apparatus to execute the method for establishing a pipeline in the foregoing method embodiments.
- the functions/implementation process of the processing module 1801 and the communication module 1802 in FIG. 18 may be implemented by the processor 201 in FIG. 2 calling the computer-executed instructions stored in the memory 203 .
- the function/implementation process of the processing module 1801 in FIG. 18 can be implemented by the processor 201 in FIG. 2 calling the computer-executed instructions stored in the memory 203, and the function/implementation process of the communication module 1802 in FIG. 2 in the communication interface 204 to achieve.
- the communication device provided in this embodiment can execute the above-mentioned method for establishing a pipeline, reference can be made to the above-mentioned method embodiments for the technical effects that can be obtained, and details are not repeated here.
- FIG. 19 shows a schematic structural diagram of a communication device.
- the communication device may be a service server or a chip or a system-on-chip in the service server, or other combined devices, components, etc. that can implement the above-mentioned service server function, and the communication device may be used to perform the functions of the service server involved in the above embodiments.
- the communication apparatus shown in FIG. 19 includes: a communication module 1901 .
- the communication module 1901 is used to receive negotiation information from the terminal, the negotiation information is used to notify the communication device, the network parameters of the pipeline, the pipeline is established by the controller for the data to be transmitted between the terminal and the communication device, the The pipeline includes the N forwarding devices.
- N is an integer greater than or equal to 1.
- a communication module 1901 may be used to perform step 1001 .
- the communication module 1901 is further configured to communicate with the terminal according to the network parameter. For example, in conjunction with FIG. 10 , the communication module 1901 may also be used to perform step 1002 .
- the negotiation information includes at least one of the following information: bandwidth information, delay information, or packet loss rate.
- the communication device is presented in the form of dividing each functional module in an integrated manner.
- Module herein may refer to a specific ASIC, circuit, processor and memory executing one or more software or firmware programs, integrated logic circuit, and/or other device that may provide the functions described above.
- the communication device may take the form shown in FIG. 2 .
- the processor 201 in FIG. 2 may invoke the computer-executed instructions stored in the memory 203 to cause the communication apparatus to execute the method for establishing a pipeline in the foregoing method embodiments.
- the function/implementation process of the communication module 1901 in FIG. 19 may be implemented by the processor 201 in FIG. 2 calling the computer-executed instructions stored in the memory 203 .
- the function/implementation process of the communication module 1901 in FIG. 19 may be implemented through the communication interface 204 in FIG. 2 .
- the communication device provided in this embodiment can execute the above-mentioned method for establishing a pipeline, reference can be made to the above-mentioned method embodiments for the technical effects that can be obtained, and details are not repeated here.
- FIG. 20 is a schematic structural diagram of a chip according to an embodiment of the present application.
- the chip 200 includes one or more processors 2001 and an interface circuit 2002 .
- the chip 200 may further include a bus 2003 . in:
- the processor 2001 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 2001 or an instruction in the form of software.
- the above-mentioned processor 2001 may be a general purpose processor, a digital communicator (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components .
- DSP digital communicator
- ASIC application specific integrated circuit
- FPGA field programmable gate array
- a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
- the interface circuit 2002 is used for sending or receiving data, instructions or information.
- the processor 2001 can use the data, instructions or other information received by the interface circuit 2002 to perform processing, and can send the processing completion information through the interface circuit 2002 .
- the chip 200 further includes a memory, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor.
- a portion of the memory may also include non-volatile random access memory (NVRAM).
- NVRAM non-volatile random access memory
- the memory stores executable software modules or data structures
- the processor may execute corresponding operations by calling operation instructions stored in the memory (the operation instructions may be stored in the operating system).
- the chip 200 may be used in a communication apparatus (including a controller, a terminal, a first gateway device, a second gateway device, or a service server) involved in the embodiments of the present application.
- the interface circuit 2002 can be used to output the execution result of the processor 2001 .
- processor 2001 and the interface circuit 2002 can be implemented by hardware design, software design, or a combination of software and hardware, which is not limited here.
- FIG. 21 shows a schematic diagram of the composition of a communication system.
- the communication system 210 may include: a controller 2101 , a terminal 2102 , a gateway device 2103 and a service server 2104 .
- FIG. 21 is only an exemplary drawing, and the embodiment of the present application does not limit the network elements and the number of network elements included in the communication system 210 shown in FIG. 21 .
- the controller 2101 has the function of the communication device shown in FIG. 16, and can be used to receive service requirement information from the gateway device 2103, and establish a pipeline for the data to be transmitted in the network according to the service requirement information.
- the terminal 2102 has the functions of the communication device shown in FIG. 17 , and can be used to acquire service requirement information and send the service requirement information to the gateway device 2103 .
- the gateway device 2103 has the function of the communication device shown in FIG. 18 , and can be used to acquire service requirement information and send the service requirement information to the controller 2101 .
- the service server 2104 has the function of the communication device shown in FIG. 19, and can be used to receive negotiation information from the terminal 2102, and communicate with the terminal 2102 according to the network parameters.
- the communication system 210 further includes a scheduling server 2105 .
- the scheduling server 2105 may be used to determine the service server 2104 to be accessed for the terminal 2102 .
- the disclosed apparatus and method may be implemented in other manners.
- the apparatus embodiments described above are only illustrative.
- the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components may be Incorporation may either be integrated into another device, or some features may be omitted, or not implemented.
- the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place, or may be distributed to multiple different places . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
- the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a readable storage medium.
- the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, which are stored in a storage medium , including several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application.
- the aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, and other media that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Provided are a method and apparatus for establishing a pipeline, which relate to the technical field of networks, and can establish a pipeline for data between a terminal and a service server, such that when data is transmitted in the pipeline, requirements of the data for a network is met. The method comprises: a controller receiving service requirement information (303) from a first gateway device, wherein the service requirement information is used for indicating requirements, for a network managed by a controller, of data to be transmitted between the terminal and the service server, the first gateway device is connected to the terminal, the service server is connected to a second gateway device, and the first gateway device and the second gateway device are connected by means of the network; and the controller establishing a pipeline for said data in the network according to service requirement information (304), wherein the pipeline comprises N forwarding devices, and when said data is transmitted in the pipeline, the requirements are met, and N is an integer greater than or equal to 1.
Description
本申请要求于2020年6月30日提交中国国家知识产权局、申请号为202010617458.7、申请名称为“建立管道的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202010617458.7 and the application title "Method and Apparatus for Establishing a Pipeline" filed with the State Intellectual Property Office of China on June 30, 2020, the entire contents of which are incorporated herein by reference middle.
本申请涉及网络技术领域,尤其涉及建立管道的方法及装置。The present application relates to the field of network technologies, and in particular, to a method and device for establishing a pipeline.
在网络技术中,终端有数据要发送给业务服务器时,终端会将该数据发送给接入网关。接入网关接收到该数据后,经网络将该数据发送给云网关。云网关接收到该数据后,将该数据发送给业务服务器,如此,业务服务器可以对该数据进行处理。In network technology, when the terminal has data to send to the service server, the terminal will send the data to the access gateway. After receiving the data, the access gateway sends the data to the cloud gateway via the network. After receiving the data, the cloud gateway sends the data to the service server, so that the service server can process the data.
在上述过程中,网络是基于尽力转发的原则构建的。也就是说,网络对接收到的数据都是“尽力”转发的。因此,终端与业务服务器之间的数据通过网络传输时,网络不能保证能够满足该数据对网络需求。In the above process, the network is constructed based on the principle of best effort forwarding. In other words, the network forwards the received data "best effort". Therefore, when the data between the terminal and the service server is transmitted through the network, the network cannot guarantee that the data can meet the network requirements.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供建立管道的方法及装置,可以为终端与业务服务器之间的数据建立管道,以使得数据在该管道中传输时,满足该数据对网络的需求。The embodiments of the present application provide a method and apparatus for establishing a pipeline, which can establish a pipeline for data between a terminal and a service server, so that when the data is transmitted in the pipeline, the network requirements of the data are satisfied.
为达到上述目的,本申请的实施例采用如下技术方案:To achieve the above object, the embodiments of the present application adopt the following technical solutions:
第一方面,本申请实施例提供一种建立管道的方法,该方法包括:控制器接收来自第一网关设备的业务需求信息,该业务需求信息用于指示终端与业务服务器之间的待传输数据对该控制器管理的网络的需求,该第一网关设备与该终端连接,该业务服务器与第二网关设备连接,该第一网关设备和该第二网关设备通过该网络连接;该控制器根据该业务需求信息,在该网络中为该待传输数据建立管道,该管道包括N个转发设备,该待传输数据在该管道中传输时,满足该需求,N为大于或等于1的整数。In a first aspect, an embodiment of the present application provides a method for establishing a pipeline. The method includes: a controller receives service requirement information from a first gateway device, where the service requirement information is used to indicate data to be transmitted between a terminal and a service server The requirements of the network managed by the controller, the first gateway device is connected with the terminal, the service server is connected with the second gateway device, the first gateway device and the second gateway device are connected through the network; the controller according to For the service requirement information, a pipeline is established for the data to be transmitted in the network, the pipeline includes N forwarding devices, the data to be transmitted satisfies the requirement when transmitted in the pipeline, and N is an integer greater than or equal to 1.
上述第一方面提供的方法,控制器可以接收来自第一网关设备的用于指示待传输数据对网络的需求的业务需求信息,并根据该业务需求信息,在网络中为待传输数据建立满足待传输数据对网络的需求的管道。其中,管道中的转发设备、第一网关设备或第二网关设备使用的转发资源都是控制器根据业务需求信息为待传输数据配置的,因此,待传输数据在该管道中传输时,可以满足待传输数据对网络的需求,另外,还可以提高网络资源的利用率。In the method provided by the above-mentioned first aspect, the controller may receive service requirement information from the first gateway device for indicating the requirement of the data to be transmitted on the network, and according to the service requirement information, establish a service requirement in the network for the data to be transmitted that meets the requirements to be transmitted. A pipe that transmits data demand on the network. The forwarding resources used by the forwarding device, the first gateway device or the second gateway device in the pipeline are all configured by the controller for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline, it can satisfy the The network demand of the data to be transmitted can also be improved, and the utilization rate of network resources can also be improved.
在一种可能的实现方式中,该控制器根据该业务需求信息,在该网络中为该待传输数据建立管道,包括:该控制器根据该业务需求信息、第一对应关系和第二对应关系在该网络中为该待传输数据建立管道;其中,该第一对应关系为该第一网关设备的地址与该网络中的第一转发设备的用户网络接口(user-to-network interface,UNI)的对应关系;该第二对应关系为该第二网关设备的地址与该网络中的第二转发设备的UNI的对应关系;该第一转发设备与该第一网关设备连接,该第二转发设备与该第二网关设备连接。基于上述方法,控制器可以根据第一网设备的地址与网络中的第一转发设备的UNI的对应关系确定管道的起始转发设 备,根据第二网设备的地址与网络中的第二转发设备的UNI的对应关系确定管道的结束转发设备。后续,控制器可以根据起始转发设备、结束转发设备和业务需求信息确定该管道。如此,可以使得待传输数据在该管道中传输时,满足待传输数据对网络的需求。In a possible implementation manner, the controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information, including: the controller according to the service requirement information, the first corresponding relationship and the second corresponding relationship A pipeline is established for the data to be transmitted in the network; wherein, the first correspondence is the address of the first gateway device and the user-to-network interface (UNI) of the first forwarding device in the network The second correspondence is the correspondence between the address of the second gateway device and the UNI of the second forwarding device in the network; the first forwarding device is connected to the first gateway device, and the second forwarding device Connect with the second gateway device. Based on the above method, the controller can determine the starting forwarding device of the pipe according to the corresponding relationship between the address of the first network device and the UNI of the first forwarding device in the network, and according to the address of the second network device and the second forwarding device in the network The correspondence of the UNI determines the end of the pipe to the forwarding device. Subsequently, the controller may determine the pipe according to the starting forwarding device, the ending forwarding device and the service requirement information. In this way, when the data to be transmitted is transmitted in the pipeline, the network requirements of the data to be transmitted can be satisfied.
在一种可能的实现方式中,该控制器根据该业务需求信息、第一对应关系和第二对应关系在该网络中为该待传输数据建立管道,包括:该控制器根据该业务需求信息、该第一对应关系和该第二对应关系确定转发资源以及该N个转发设备中,每个转发设备的转发表;其中,该转发资源用于指示该N个转发设备以及每个转发设备使用的资源。基于上述方法,控制器可以根据第一网设备的地址与网络中的第一转发设备的UNI的对应关系确定管道的起始转发设备,根据第二网设备的地址与网络中的第二转发设备的UNI的对应关系确定管道的结束转发设备。后续,控制器可以根据起始转发设备、结束转发设备和业务需求信息确定转发资源以及该N个转发设备中,每个转发设备的转发表。如此,通过转发表,可以使得待传输数据在该管道中传输,通过转发资源,可以使得待传输数据在管道中传输时,满足待传输数据对网络的需求。In a possible implementation manner, the controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information, the first correspondence and the second correspondence, including: the controller according to the service requirement information, The first correspondence and the second correspondence determine the forwarding resource and the forwarding table of each forwarding device among the N forwarding devices; wherein the forwarding resource is used to indicate the N forwarding devices and the forwarding table used by each forwarding device. resource. Based on the above method, the controller can determine the starting forwarding device of the pipe according to the corresponding relationship between the address of the first network device and the UNI of the first forwarding device in the network, and according to the address of the second network device and the second forwarding device in the network The correspondence of the UNI determines the end of the pipe to the forwarding device. Subsequently, the controller may determine the forwarding resource and the forwarding table of each of the N forwarding devices according to the starting forwarding device, the ending forwarding device and the service requirement information. In this way, through the forwarding table, the data to be transmitted can be transmitted in the pipeline, and through the forwarding resources, the network requirements of the data to be transmitted can be satisfied when the data to be transmitted is transmitted in the pipeline.
在一种可能的实现方式中,该方法还包括:该控制器分别向该N个转发设备发送N个转发设备中的每个转发设备对应的转发资源和转发表。基于上述方法,每个转发设备可以获取到该转发设备对应的转发资源和转发表,以使得待传输数据在该管道中传输,并且使得待传输数据在该管道中传输时,满足待传输数据对网络的需求。In a possible implementation manner, the method further includes: the controller respectively sending forwarding resources and a forwarding table corresponding to each of the N forwarding devices to the N forwarding devices. Based on the above method, each forwarding device can obtain the forwarding resource and the forwarding table corresponding to the forwarding device, so that the data to be transmitted is transmitted in the pipeline, and when the data to be transmitted is transmitted in the pipeline, it satisfies the pair of data to be transmitted. network needs.
在一种可能的实现方式中,该方法还包括:该控制器接收来自该第一网关设备的更新需求信息,该更新需求信息用于指示更新后的业务需求信息。基于上述方法,当业务需求信息发生变化时,控制器可以接收来自第一网关设备的用于指示更新后的业务需求信息的更新需求信息。如此,控制器可以根据该更新需求信息,更新原先建立的管道,或者重新建立管道。从而当待传输数据在更新后的管道或重新建立的管道中传输时,可以满足待传输数据对网络的新需求。In a possible implementation manner, the method further includes: the controller receives update requirement information from the first gateway device, where the update requirement information is used to indicate the updated service requirement information. Based on the above method, when the service requirement information changes, the controller may receive the update requirement information indicating the updated service requirement information from the first gateway device. In this way, the controller can update the originally established pipeline or re-establish the pipeline according to the update requirement information. Therefore, when the data to be transmitted is transmitted in the updated pipeline or the re-established pipeline, the new demand of the data to be transmitted on the network can be satisfied.
在一种可能的实现方式中,该方法还包括:该控制器接收来自该第一网关设备的访问结束通知消息,该访问结束通知消息用于指示拆除该管道。基于上述方法,控制器可以接收来自第一网关设备的访问结束通知消息,以便控制器根据该访问结束通知消息拆除管道。如此,管道中的N个转发设备或N个转发设备对应的转发资源后续可以被分配给其他业务,可以提高网络中转发设备的利用率,以及资源的利用率。In a possible implementation manner, the method further includes: the controller receives an access end notification message from the first gateway device, where the access end notification message is used to instruct to remove the pipeline. Based on the above method, the controller may receive an access end notification message from the first gateway device, so that the controller removes the pipe according to the access end notification message. In this way, the N forwarding devices in the pipeline or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
在一种可能的实现方式中,该业务需求信息包括服务水平协议信息。基于上述方法,业务需求信息可以通过服务水平协议信息指示终端与业务服务器之间的待传输数据对该控制器管理的网络的需求,以便控制器根据服务水平协议信息,在网络中为待传输数据建立满足待传输数据对网络的需求的管道。In a possible implementation manner, the business requirement information includes service level agreement information. Based on the above method, the service requirement information can indicate the requirements of the network managed by the controller for the data to be transmitted between the terminal and the service server through the service level agreement information, so that the controller can use the service level agreement information in the network for the data to be transmitted in the network. Establish a pipeline that meets the needs of the network for the data to be transmitted.
第二方面,本申请实施例提供一种建立管道的方法,该方法包括:终端获取业务需求信息,该业务需求信息用于指示该终端与业务服务器之间的待传输数据对控制器管理的网络的需求;该终端向第一网关设备发送该业务需求信息。In a second aspect, an embodiment of the present application provides a method for establishing a pipeline, the method comprising: a terminal acquiring service requirement information, where the service requirement information is used to indicate a network managed by a controller for data to be transmitted between the terminal and a service server demand; the terminal sends the service demand information to the first gateway device.
上述第二方面提供的方法,终端可以获取用于指示待传输数据对网络的需求的业务需求信息,并通过第一网关设备向控制器发送该业务需求信息,以便控制器根据该业务需求信息,在网络中为待传输数据建立满足待传输数据对网络的需求的管道。其中,管道中的转发设备、第一网关设备或第二网关设备使用的转发资源都是控制器根据业务需求信息为待传输数据配置的,因此,待传输数据在该管道中传输时,可以满足待传输数据对网络的需求,另外,还可以提高网络资源的利用率。In the method provided by the second aspect, the terminal can acquire service requirement information used to indicate the requirement of the data to be transmitted on the network, and send the service requirement information to the controller through the first gateway device, so that the controller can, according to the service requirement information, A pipeline is established for the data to be transmitted in the network to meet the requirements of the data to be transmitted on the network. The forwarding resources used by the forwarding device, the first gateway device or the second gateway device in the pipeline are all configured by the controller for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline, it can satisfy the The network demand of the data to be transmitted can also be improved, and the utilization rate of network resources can also be improved.
在一种可能的实现方式中,该方法还包括:该终端向该业务服务器发送协商信息,该协商信息用于通知该业务服务器,管道的网络参数,该管道为该控制器为该待传输数据建立的,该管道包括N个转发设备,所待传输数据在该管道中传输时,满足该需求,N为大于或等于1的整数;该终端根据该网络参数与该业务服务器通信。基于上述方法,终端可以通知业务服务器管道的网络参数,并和业务服务器根据该网络参数通信。如此,终端根据该网络参数和业务服务器通信时,可以获得较大,较稳定的吞吐量,并减少试探传输带来的丢包和时延。In a possible implementation manner, the method further includes: the terminal sends negotiation information to the service server, where the negotiation information is used to notify the service server of network parameters of a pipe, where the pipe is the controller for the data to be transmitted established, the pipeline includes N forwarding devices, and when the data to be transmitted is transmitted in the pipeline, the requirement is met, and N is an integer greater than or equal to 1; the terminal communicates with the service server according to the network parameter. Based on the above method, the terminal can notify the service server of the network parameters of the pipeline, and communicate with the service server according to the network parameters. In this way, when the terminal communicates with the service server according to the network parameters, a larger and more stable throughput can be obtained, and packet loss and delay caused by the tentative transmission can be reduced.
在一种可能的实现方式中,该协商信息包括以下信息中的至少一种:带宽信息、时延信息或丢包率。基于上述方法,终端可以和业务服务器协商以下信息中的至少一种:带宽信息、时延信息或丢包率,并根据上述至少一种信息与业务服务器通信。In a possible implementation manner, the negotiation information includes at least one of the following information: bandwidth information, delay information, or packet loss rate. Based on the above method, the terminal can negotiate at least one of the following information with the service server: bandwidth information, delay information or packet loss rate, and communicate with the service server according to the at least one information.
在一种可能的实现方式中,该方法还包括:该终端向该第一网关设备发送更新需求信息,该更新需求信息用于指示更新后的业务需求信息。基于上述方法,当业务需求信息发生变化时,终端可以通过第一网关设备,向控制器发送用于指示更新后的业务需求信息的更新需求信息,以便控制器可以根据该更新需求信息,更新原先建立的管道,或者重新建立管道。从而当待传输数据在更新后的管道或重新建立的管道中传输时,可以满足待传输数据对网络的新需求。In a possible implementation manner, the method further includes: the terminal sending update requirement information to the first gateway device, where the update requirement information is used to indicate the updated service requirement information. Based on the above method, when the service demand information changes, the terminal can send the update demand information indicating the updated service demand information to the controller through the first gateway device, so that the controller can update the original update demand information according to the update demand information. established pipeline, or re-established pipeline. Therefore, when the data to be transmitted is transmitted in the updated pipeline or the re-established pipeline, the new demand of the data to be transmitted on the network can be satisfied.
在一种可能的实现方式中,该方法还包括:该终端向该第一网关设备发送访问结束通知消息,该访问结束通知消息用于指示拆除该控制器为该终端和该业务服务器建立的管道。基于上述方法,终端可以通过第一网关设备向控制器发送访问结束通知消息,以便控制器根据该访问结束通知消息拆除管道。如此,管道中的N个转发设备或N个转发设备对应的转发资源后续可以被分配给其他业务,可以提高网络中转发设备的利用率,以及资源的利用率。In a possible implementation manner, the method further includes: the terminal sends an access end notification message to the first gateway device, where the access end notification message is used to instruct to remove the pipeline established by the controller for the terminal and the service server . Based on the above method, the terminal may send an access end notification message to the controller through the first gateway device, so that the controller removes the pipe according to the access end notification message. In this way, the N forwarding devices in the pipeline or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
在一种可能的实现方式中,该业务需求信息包括服务水平协议信息。基于上述方法,业务需求信息可以通过服务水平协议信息指示终端与业务服务器之间的待传输数据对该控制器管理的网络的需求,以便控制器根据服务水平协议信息,在网络中为待传输数据建立满足待传输数据对网络的需求的管道。In a possible implementation manner, the business requirement information includes service level agreement information. Based on the above method, the service requirement information can indicate the requirements of the network managed by the controller for the data to be transmitted between the terminal and the service server through the service level agreement information, so that the controller can use the service level agreement information in the network for the data to be transmitted in the network. Establish a pipeline that meets the needs of the network for the data to be transmitted.
第三方面,本申请实施例提供一种建立管道的方法,该方法包括:第一网关设备获取业务需求信息,该业务需求信息用于指示终端与业务服务器之间的待传输数据对控制器管理的网络的需求;该第一网关设备向该控制器发送该业务需求信息。In a third aspect, an embodiment of the present application provides a method for establishing a pipeline. The method includes: a first gateway device obtains service requirement information, where the service requirement information is used to indicate that data to be transmitted between a terminal and a service server is managed by a controller requirements of the network; the first gateway device sends the service requirement information to the controller.
上述第三方面提供的方法,第一网关设备可以获取用于指示待传输数据对网络的需求的业务需求信息,并向控制器发送该业务需求信息,以便控制器根据该业务需求信息,在网络中为待传输数据建立满足待传输数据对网络的需求的管道。其中,管道中的转发设备、第一网关设备或第二网关设备使用的转发资源都是控制器根据业务需求信息为待传输数据配置的,因此,待传输数据在该管道中传输时,可以满足待传输数据对网络的需求,另外,还可以提高网络资源的利用率。In the method provided in the third aspect above, the first gateway device may acquire service requirement information used to indicate the requirement of the data to be transmitted on the network, and send the service requirement information to the controller, so that the controller can perform a For the data to be transmitted, a pipeline that meets the network requirements of the data to be transmitted is established. The forwarding resources used by the forwarding device, the first gateway device or the second gateway device in the pipeline are all configured by the controller for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline, it can satisfy the The network demand of the data to be transmitted can also be improved, and the utilization rate of network resources can also be improved.
在一种可能的实现方式中,该第一网关设备获取业务需求信息,包括:该第一网关设备接收来自该终端的业务需求信息。基于上述方法,第一网关设备可以从终端获取业务需求信息。In a possible implementation manner, the obtaining, by the first gateway device, the service requirement information includes: the first gateway device receiving the service requirement information from the terminal. Based on the above method, the first gateway device may acquire service requirement information from the terminal.
在一种可能的实现方式中,该第一网关设备获取业务需求信息,包括:该第一网关设备获取该待传输数据的目的地址,和/或,该待传输数据的业务类型;该第一网关设备根据该目的地址和/或该业务类型确定该业务需求信息。基于上述方法,第一网关设备可以自己确定业务需求信息。如此,第一网关设备可以不需要从其他装置处获取该业务需求信息,可以节省信令开销。In a possible implementation manner, acquiring the service requirement information by the first gateway device includes: acquiring, by the first gateway device, the destination address of the data to be transmitted, and/or the service type of the data to be transmitted; the first gateway device acquires the destination address of the data to be transmitted; The gateway device determines the service requirement information according to the destination address and/or the service type. Based on the above method, the first gateway device can determine the service requirement information by itself. In this way, the first gateway device may not need to acquire the service requirement information from other devices, which may save signaling overhead.
在一种可能的实现方式中,该方法还包括:该第一网关设备接收来自该终端的更新需求信息,该更新需求信息用于指示更新后的业务需求信息;该第一网关设备向该控制器发送该更新需求信息。基于上述方法,当业务需求信息发生变化时,第一网关设备可以接收来自终端的用于指示更新后的业务需求信息的更新需求信息,并将该更新需求信息发送给控制器。如此,控制器可以根据该更新需求信息,更新原先建立的管道,或者重新建立管道。从而当待传输数据在更新后的管道或重新建立的管道中传输时,可以满足待传输数据对网络的新需求。In a possible implementation manner, the method further includes: the first gateway device receives update demand information from the terminal, where the update demand information is used to indicate the updated service demand information; the first gateway device reports to the control The server sends the update request information. Based on the above method, when the service requirement information changes, the first gateway device may receive the update requirement information indicating the updated service requirement information from the terminal, and send the update requirement information to the controller. In this way, the controller can update the originally established pipeline or re-establish the pipeline according to the update requirement information. Therefore, when the data to be transmitted is transmitted in the updated pipeline or the re-established pipeline, the new demand of the data to be transmitted on the network can be satisfied.
在一种可能的实现方式中,该方法还包括:该第一网关设备接收来自该终端的访问结束通知消息,该访问结束通知消息用于指示拆除该控制器为该待传输数据建立的管道;该第一网关设备向该控制器发送该访问结束通知消息。基于上述方法,第一网关设备可以接收来自终端的访问结束通知消息,并将该访问结束通知消息发送给控制器,以便控制器根据该访问结束通知消息拆除管道。如此,管道中的N个转发设备或N个转发设备对应的转发资源后续可以被分配给其他业务,可以提高网络中转发设备的利用率,以及资源的利用率。In a possible implementation manner, the method further includes: the first gateway device receives an access end notification message from the terminal, where the access end notification message is used to instruct to remove the pipe established by the controller for the data to be transmitted; The first gateway device sends the access end notification message to the controller. Based on the above method, the first gateway device may receive the access end notification message from the terminal, and send the access end notification message to the controller, so that the controller removes the pipe according to the access end notification message. In this way, the N forwarding devices in the pipeline or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
在一种可能的实现方式中,该方法还包括:该第一网关设备确定停止使用该控制器为该待传输数据建立的管道;该第一网关设备向该控制器发送该访问结束通知消息,该访问结束通知消息用于指示拆除该该控制器为该待传输数据建立的管道。基于上述方法,当第一网关设备确定停止使用该控制器为该待传输数据建立的管道时,第一网关设备会向控制器发送访问结束通知消息,以便控制器根据该访问结束通知消息拆除管道。如此,管道中的N个转发设备或N个转发设备对应的转发资源后续可以被分配给其他业务,可以提高网络中转发设备的利用率,以及资源的利用率。In a possible implementation manner, the method further includes: the first gateway device determines to stop using the pipeline established by the controller for the data to be transmitted; the first gateway device sends the access end notification message to the controller, The access end notification message is used to instruct to remove the pipe established by the controller for the data to be transmitted. Based on the above method, when the first gateway device determines to stop using the pipe established by the controller for the data to be transmitted, the first gateway device sends an access end notification message to the controller, so that the controller removes the pipe according to the access end notification message . In this way, the N forwarding devices in the pipeline or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
在一种可能的实现方式中,该业务需求信息包括服务水平协议信息。基于上述方法,业务需求信息可以通过服务水平协议信息指示终端与业务服务器之间的待传输数据对该控制器管理的网络的需求,以便控制器根据服务水平协议信息,在网络中为待传输数据建立满足待传输数据对网络的需求的管道。In a possible implementation manner, the business requirement information includes service level agreement information. Based on the above method, the service requirement information can indicate the requirements of the network managed by the controller for the data to be transmitted between the terminal and the service server through the service level agreement information, so that the controller can use the service level agreement information in the network for the data to be transmitted in the network. Establish a pipeline that meets the needs of the network for the data to be transmitted.
第四方面,本申请实施例提供一种建立管道的方法,该方法包括:业务服务器接收来自终端的协商信息,该协商信息用于通知业务服务器,管道的网络参数,该管道为控制器为该终端和该业务服务器之间的待传输数据建立的,该管道包括该N个转发设备,所待传输数据在该管道中传输时,满足该待传输数据对该控制器管理的网络的需求,N为大于或等于1的整数;该业务服务器根据该网络参数与该终端通信。In a fourth aspect, an embodiment of the present application provides a method for establishing a pipeline, the method includes: a service server receives negotiation information from a terminal, the negotiation information is used to notify the service server of network parameters of the pipeline, and the pipeline is the controller for the pipeline. The data to be transmitted between the terminal and the service server is established. The pipeline includes the N forwarding devices. When the data to be transmitted is transmitted in the pipeline, it meets the requirements of the network managed by the controller for the data to be transmitted. N is an integer greater than or equal to 1; the service server communicates with the terminal according to the network parameter.
上述第四方面提供的方法,业务服务器可以接收来自终端的管道的网络参数,并和终端根据该网络参数通信。如此,终端根据该网络参数和业务服务器通信时,可以获得较大,较稳定的吞吐量,并减少试探传输带来的丢包和时延。In the method provided in the fourth aspect, the service server may receive network parameters of the pipeline from the terminal, and communicate with the terminal according to the network parameters. In this way, when the terminal communicates with the service server according to the network parameters, a larger and more stable throughput can be obtained, and packet loss and delay caused by the tentative transmission can be reduced.
在一种可能的实现方式中,该协商信息包括以下信息中的至少一种:带宽信息、时延信息或丢包率。基于上述方法,终端可以和业务服务器协商以下信息中的至少一种:带宽信息、时延信息或丢包率,并根据上述至少一种信息与终端通信。In a possible implementation manner, the negotiation information includes at least one of the following information: bandwidth information, delay information, or packet loss rate. Based on the above method, the terminal may negotiate at least one of the following information with the service server: bandwidth information, delay information or packet loss rate, and communicate with the terminal according to the at least one type of information.
第五方面,本申请实施例提供一种通信装置,该通信装置包括:通信模块和处理模块;通信模块,用于接收来自第一网关设备的业务需求信息,该业务需求信息用于指示终端与业务服务器之间的待传输数据对该通信装置管理的网络的需求,该第一网关设备与该终端连接,该业务服务器与第二网关设备连接,该第一网关设备和该第二网关设备通过该网络连接;处理模块,用于根据该业务需求信息,在该网络中为该待传输数据建立管道,该管道包括N个转发设备,该待传输数据在该管道中传输时,满足该需求,N为大于或等于1的整数。In a fifth aspect, an embodiment of the present application provides a communication device, the communication device includes: a communication module and a processing module; the communication module is configured to receive service requirement information from a first gateway device, where the service requirement information is used to instruct a terminal to communicate with The demand of the data to be transmitted between the service servers for the network managed by the communication device, the first gateway device is connected to the terminal, the service server is connected to the second gateway device, and the first gateway device and the second gateway device pass through the network connection; a processing module, configured to establish a pipeline for the data to be transmitted in the network according to the service requirement information, the pipeline includes N forwarding devices, and the data to be transmitted satisfies the requirement when transmitted in the pipeline, N is an integer greater than or equal to 1.
上述第五方面提供的通信装置可以接收来自第一网关设备的用于指示待传输数据对网络的需求的业务需求信息,并根据该业务需求信息,在网络中为待传输数据建立满足待传输数据对网络的需求的管道。其中,管道中的转发设备、第一网关设备或第二网关设备使用的转发资源都是该通信装置根据业务需求信息为待传输数据配置的,因此,待传输数据在该管道中传输时,可以满足待传输数据对网络的需求,另外,还可以提高网络资源的利用率。The communication device provided in the fifth aspect can receive service requirement information from the first gateway device for indicating the requirement of the data to be transmitted on the network, and according to the service requirement information, create a network for the data to be transmitted in the network to meet the requirements of the data to be transmitted. A pipeline of demand for the network. The forwarding resources used by the forwarding device, the first gateway device, or the second gateway device in the pipeline are all configured by the communication device for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline, it can be It can meet the demand of the data to be transmitted on the network, and in addition, the utilization rate of network resources can be improved.
在一种可能的实现方式中,处理模块,具体用于根据该业务需求信息、第一对应关系和第二对应关系在该网络中为该待传输数据建立管道;其中,该第一对应关系为该第一网关设备的地址与该网络中的第一转发设备的用户网络接口UNI的对应关系;该第二对应关系为该第二网关设备的地址与该网络中的第二转发设备的UNI的对应关系;该第一转发设备与该第一网关设备连接,该第二转发设备与该第二网关设备连接。上述通信装置可以根据第一网设备的地址与网络中的第一转发设备的UNI的对应关系确定管道的起始转发设备,根据第二网设备的地址与网络中的第二转发设备的UNI的对应关系确定管道的结束转发设备。后续,该通信装置可以根据起始转发设备、结束转发设备和业务需求信息确定该管道。如此,可以使得待传输数据在该管道中传输时,满足待传输数据对网络的需求。In a possible implementation manner, the processing module is specifically configured to establish a pipeline for the data to be transmitted in the network according to the service requirement information, the first correspondence and the second correspondence; wherein the first correspondence is The correspondence between the address of the first gateway device and the user network interface UNI of the first forwarding device in the network; the second correspondence is the address of the second gateway device and the UNI of the second forwarding device in the network. Corresponding relationship; the first forwarding device is connected with the first gateway device, and the second forwarding device is connected with the second gateway device. The above-mentioned communication device can determine the initial forwarding device of the pipeline according to the corresponding relationship between the address of the first network device and the UNI of the first forwarding device in the network, and according to the address of the second network device and the UNI of the second forwarding device in the network. The correspondence relationship determines the end forwarding device of the pipeline. Subsequently, the communication apparatus may determine the pipe according to the starting forwarding device, the ending forwarding device and the service requirement information. In this way, when the data to be transmitted is transmitted in the pipeline, the network requirements of the data to be transmitted can be satisfied.
在一种可能的实现方式中,处理模块,具体用于根据该业务需求信息、该第一对应关系和该第二对应关系确定转发资源以及该N个转发设备中,每个转发设备的转发表;其中,该转发资源用于指示该N个转发设备以及每个转发设备使用的资源。上述通信装置可以根据第一网设备的地址与网络中的第一转发设备的UNI的对应关系确定管道的起始转发设备,根据第二网设备的地址与网络中的第二转发设备的UNI的对应关系确定管道的结束转发设备。后续,该通信装置可以根据起始转发设备、结束转发设备和业务需求信息确定转发资源以及该N个转发设备中,每个转发设备的转发表。如此,通过转发表,可以使得待传输数据在该管道中传输,通过转发资源,可以使得待传输数据在管道中传输时,满足待传输数据对网络的需求。In a possible implementation manner, the processing module is specifically configured to determine the forwarding resource and the forwarding table of each forwarding device among the N forwarding devices according to the service requirement information, the first corresponding relationship and the second corresponding relationship ; wherein, the forwarding resource is used to indicate the N forwarding devices and the resource used by each forwarding device. The above-mentioned communication device can determine the initial forwarding device of the pipeline according to the corresponding relationship between the address of the first network device and the UNI of the first forwarding device in the network, and according to the address of the second network device and the UNI of the second forwarding device in the network. The correspondence relationship determines the end forwarding device of the pipeline. Subsequently, the communication apparatus may determine the forwarding resource and the forwarding table of each of the N forwarding devices according to the starting forwarding device, the ending forwarding device and the service requirement information. In this way, through the forwarding table, the data to be transmitted can be transmitted in the pipeline, and through the forwarding resources, the network requirements of the data to be transmitted can be satisfied when the data to be transmitted is transmitted in the pipeline.
在一种可能的实现方式中,通信模块,还用于分别向该N个转发设备发送N个转发设备中的每个转发设备对应的转发资源和转发表。基于上述通信装置,每个转发设备可以获取到该转发设备对应的转发资源和转发表,以使得待传输数据在该管道中传输,并且使得待传输数据在该管道中传输时,满足待传输数据对网络的需求。In a possible implementation manner, the communication module is further configured to respectively send the forwarding resources and the forwarding table corresponding to each of the N forwarding devices to the N forwarding devices. Based on the above communication device, each forwarding device can acquire the forwarding resource and forwarding table corresponding to the forwarding device, so that the data to be transmitted is transmitted in the pipeline, and when the data to be transmitted is transmitted in the pipeline, the data to be transmitted can be demand for the network.
在一种可能的实现方式中,通信模块,还用于接收来自该第一网关设备的更新需求信息,该更新需求信息用于指示更新后的业务需求信息。基于上述通信装置,当业务需求信息发生变化时,该通信装置可以接收来自第一网关设备的用于指示更新后的业务需求信息的更新需求信息。如此,该通信装置可以根据该更新需求信息,更新原先建立的管道,或者重新建立管道。从而当待传输数据在更新后的管道或重新建立的管道中传输时,可以满足待传输数据对网络的新需求。In a possible implementation manner, the communication module is further configured to receive update requirement information from the first gateway device, where the update requirement information is used to indicate the updated service requirement information. Based on the above communication apparatus, when the service requirement information changes, the communication apparatus may receive update requirement information from the first gateway device for indicating the updated service requirement information. In this way, the communication device can update the originally established pipeline or re-establish the pipeline according to the update requirement information. Therefore, when the data to be transmitted is transmitted in the updated pipeline or the re-established pipeline, the new demand of the data to be transmitted on the network can be satisfied.
在一种可能的实现方式中,通信模块,还用于接收来自该第一网关设备的访问结束通知消息,该访问结束通知消息用于指示拆除该管道。上述通信装置,可以接收来自第一网关设备的访问结束通知消息,以便通信装置根据该访问结束通知消息拆除管道。如此,管道中的N个转发设备或N个转发设备对应的转发资源后续可以被分配给其他业务,可以提高网络中转发设备的利用率,以及资源的利用率。In a possible implementation manner, the communication module is further configured to receive an access end notification message from the first gateway device, where the access end notification message is used to instruct to remove the pipeline. The above communication apparatus may receive an access end notification message from the first gateway device, so that the communication apparatus removes the pipe according to the access end notification message. In this way, the N forwarding devices in the pipeline or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
在一种可能的实现方式中,该业务需求信息包括服务水平协议信息。如此,业务需求信息可以通过服务水平协议信息指示终端与业务服务器之间的待传输数据对该通信装置管理的网络的需求,以便通信装置根据服务水平协议信息,在网络中为待传输数据建立满足待传输 数据对网络的需求的管道。In a possible implementation manner, the business requirement information includes service level agreement information. In this way, the service requirement information can indicate the requirements of the network managed by the communication device for the data to be transmitted between the terminal and the service server through the service level agreement information, so that the communication device can establish a network for the data to be transmitted in the network according to the service level agreement information. The pipe that needs to be transmitted to the network for the data to be transmitted.
第六方面,本申请实施例提供一种通信装置,该通信装置包括:处理模块和通信模块;处理模块,用于获取业务需求信息,该业务需求信息用于指示该通信装置与业务服务器之间的待传输数据对控制器管理的网络的需求;通信模块,用于向第一网关设备发送该业务需求信息。In a sixth aspect, an embodiment of the present application provides a communication device, the communication device includes: a processing module and a communication module; the processing module is configured to acquire service requirement information, where the service requirement information is used to indicate a relationship between the communication device and a service server The demand of the data to be transmitted on the network managed by the controller; the communication module is used for sending the service demand information to the first gateway device.
上述第六方面提供的通信装置可以获取用于指示待传输数据对网络的需求的业务需求信息,并通过第一网关设备向控制器发送该业务需求信息,以便控制器根据该业务需求信息,在网络中为待传输数据建立满足待传输数据对网络的需求的管道。其中,管道中的转发设备、第一网关设备或第二网关设备使用的转发资源都是控制器根据业务需求信息为待传输数据配置的,因此,待传输数据在该管道中传输时,可以满足待传输数据对网络的需求,另外,还可以提高网络资源的利用率。The communication device provided in the sixth aspect above can acquire service requirement information for indicating the requirement of the data to be transmitted on the network, and send the service requirement information to the controller through the first gateway device, so that the controller according to the service requirement information, A pipeline is established for the data to be transmitted in the network to meet the requirements of the data to be transmitted on the network. The forwarding resources used by the forwarding device, the first gateway device or the second gateway device in the pipeline are all configured by the controller for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline, it can satisfy the The network demand of the data to be transmitted can also be improved, and the utilization rate of network resources can also be improved.
在一种可能的实现方式中,通信模块,还用于向该业务服务器发送协商信息,该协商信息用于通知该业务服务器,管道的网络参数,该管道为该控制器为该待传输数据建立的,该管道包括N个转发设备,所待传输数据在该管道中传输时,满足该需求,N为大于或等于1的整数;通信模块,还用于根据该网络参数与该业务服务器通信。上述通信装置可以通知业务服务器管道的网络参数,并和业务服务器根据该网络参数通信。如此,该通信装置根据该网络参数和业务服务器通信时,可以获得较大,较稳定的吞吐量,并减少试探传输带来的丢包和时延。In a possible implementation manner, the communication module is further configured to send negotiation information to the service server, where the negotiation information is used to notify the service server of network parameters of a pipeline, which is established by the controller for the data to be transmitted Yes, the pipeline includes N forwarding devices, and when the data to be transmitted is transmitted in the pipeline, the requirement is met, and N is an integer greater than or equal to 1; the communication module is also used to communicate with the service server according to the network parameter. The above communication device can notify the service server of the network parameters of the pipeline, and communicate with the service server according to the network parameters. In this way, when the communication device communicates with the service server according to the network parameters, a larger and more stable throughput can be obtained, and packet loss and delay caused by the tentative transmission can be reduced.
在一种可能的实现方式中,该协商信息包括以下信息中的至少一种:带宽信息、时延信息或丢包率。上述通信装置可以和业务服务器协商以下信息中的至少一种:带宽信息、时延信息或丢包率,并根据上述至少一种信息与业务服务器通信。In a possible implementation manner, the negotiation information includes at least one of the following information: bandwidth information, delay information, or packet loss rate. The above communication device may negotiate at least one of the following information with the service server: bandwidth information, delay information or packet loss rate, and communicate with the service server according to the at least one kind of information.
在一种可能的实现方式中,通信模块,还用于向该第一网关设备发送更新需求信息,该更新需求信息用于指示更新后的业务需求信息。基于上述通信装置,当业务需求信息发生变化时,该通信装置可以通过第一网关设备,向控制器发送用于指示更新后的业务需求信息的更新需求信息,以便控制器可以根据该更新需求信息,更新原先建立的管道,或者重新建立管道。从而当待传输数据在更新后的管道或重新建立的管道中传输时,可以满足待传输数据对网络的新需求。In a possible implementation manner, the communication module is further configured to send update requirement information to the first gateway device, where the update requirement information is used to indicate the updated service requirement information. Based on the above communication device, when the service demand information changes, the communication device can send the update demand information for indicating the updated service demand information to the controller through the first gateway device, so that the controller can according to the update demand information , update the previously established pipeline, or re-establish the pipeline. Therefore, when the data to be transmitted is transmitted in the updated pipeline or the re-established pipeline, the new demand of the data to be transmitted on the network can be satisfied.
在一种可能的实现方式中,通信模块,还用于向该第一网关设备发送访问结束通知消息,该访问结束通知消息用于指示拆除该控制器为该通信装置和该业务服务器建立的管道。上述通信装置可以通过第一网关设备向控制器发送访问结束通知消息,以便控制器根据该访问结束通知消息拆除管道。如此,管道中的N个转发设备或N个转发设备对应的转发资源后续可以被分配给其他业务,可以提高网络中转发设备的利用率,以及资源的利用率。In a possible implementation manner, the communication module is further configured to send an access end notification message to the first gateway device, where the access end notification message is used to instruct to remove the pipe established by the controller for the communication device and the service server . The above communication apparatus may send an access end notification message to the controller through the first gateway device, so that the controller removes the pipe according to the access end notification message. In this way, the N forwarding devices in the pipeline or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
在一种可能的实现方式中,该业务需求信息包括服务水平协议信息。基于上述通信装置,业务需求信息可以通过服务水平协议信息指示该通信装置与业务服务器之间的待传输数据对该控制器管理的网络的需求,以便控制器根据服务水平协议信息,在网络中为待传输数据建立满足待传输数据对网络的需求的管道。In a possible implementation manner, the business requirement information includes service level agreement information. Based on the above communication device, the service requirement information can indicate the requirements of the network managed by the controller for the data to be transmitted between the communication device and the service server through the service level agreement information, so that the controller can perform the following operations in the network according to the service level agreement information. The data to be transmitted establishes a pipeline that meets the requirements of the data to be transmitted on the network.
第七方面,本申请实施例提供一种通信装置,该通信装置包括:处理模块和通信模块;处理模块,用于获取业务需求信息,该业务需求信息用于指示终端与业务服务器之间的待传输数据对控制器管理的网络的需求;通信模块,用于向该控制器发送该业务需求信息。In a seventh aspect, an embodiment of the present application provides a communication device, the communication device includes: a processing module and a communication module; the processing module is configured to acquire service requirement information, where the service requirement information is used to indicate a waiting period between a terminal and a service server. The requirements for the network managed by the controller for transmission data; the communication module is used to send the service requirement information to the controller.
上述第七方面提供的通信装置,可以获取用于指示待传输数据对网络的需求的业务需求信息,并向控制器发送该业务需求信息,以便控制器根据该业务需求信息,在网络中为待传 输数据建立满足待传输数据对网络的需求的管道。其中,管道中的转发设备、该通信装置或第二网关设备使用的转发资源都是控制器根据业务需求信息为待传输数据配置的,因此,待传输数据在该管道中传输时,可以满足待传输数据对网络的需求,另外,还可以提高网络资源的利用率。The communication device provided in the above seventh aspect can acquire service requirement information for indicating the requirement of the data to be transmitted on the network, and send the service requirement information to the controller, so that the controller can, according to the service requirement information, record the service requirement information in the network for the to-be-transmitted data. The transmission data establishes a pipeline that meets the requirements of the network for the data to be transmitted. The forwarding resources used by the forwarding device in the pipeline, the communication device or the second gateway device are all configured by the controller for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline, it can meet the needs of In addition, it can improve the utilization rate of network resources.
在一种可能的实现方式中,处理模块,具体用于通过通信模块接收来自该终端的业务需求信息。如此,上述通信装置可以从终端获取业务需求信息。In a possible implementation manner, the processing module is specifically configured to receive the service requirement information from the terminal through the communication module. In this way, the above-mentioned communication apparatus can acquire the service requirement information from the terminal.
在一种可能的实现方式中,处理模块,具体用于获取该待传输数据的目的地址,和/或,该待传输数据的业务类型;处理模块,还具体用于根据该目的地址和/或该业务类型确定该业务需求信息。上述通信装置可以自己确定业务需求信息。如此,该通信装置可以不需要从其他装置处获取该业务需求信息,可以节省信令开销。In a possible implementation manner, the processing module is specifically configured to obtain the destination address of the data to be transmitted, and/or the service type of the data to be transmitted; the processing module is also specifically configured to obtain the destination address and/or the service type of the data to be transmitted; The service type determines the service requirement information. The above-mentioned communication apparatus can determine the service requirement information by itself. In this way, the communication device does not need to acquire the service requirement information from other devices, which can save signaling overhead.
在一种可能的实现方式中,通信模块,用于接收来自该终端的更新需求信息,该更新需求信息用于指示更新后的业务需求信息;通信模块,还用于向该控制器发送该更新需求信息。基于上述通信装置,当业务需求信息发生变化时,该通信装置可以接收来自终端的用于指示更新后的业务需求信息的更新需求信息,并将该更新需求信息发送给控制器。如此,控制器可以根据该更新需求信息,更新原先建立的管道,或者重新建立管道。从而当待传输数据在更新后的管道或重新建立的管道中传输时,可以满足待传输数据对网络的新需求。In a possible implementation manner, the communication module is configured to receive update requirement information from the terminal, where the update requirement information is used to indicate the updated service requirement information; the communication module is further configured to send the update to the controller demand information. Based on the above communication device, when the service requirement information changes, the communication device can receive the update requirement information indicating the updated service requirement information from the terminal, and send the update requirement information to the controller. In this way, the controller can update the originally established pipeline or re-establish the pipeline according to the update requirement information. Therefore, when the data to be transmitted is transmitted in the updated pipeline or the re-established pipeline, the new demand of the data to be transmitted on the network can be satisfied.
在一种可能的实现方式中,通信模块,还用于接收来自该终端的访问结束通知消息,该访问结束通知消息用于指示拆除该控制器为该待传输数据建立的管道;通信模块,还用于备向该控制器发送该访问结束通知消息。上述通信装置可以接收来自终端的访问结束通知消息,并将该访问结束通知消息发送给控制器,以便控制器根据该访问结束通知消息拆除管道。如此,管道中的N个转发设备或N个转发设备对应的转发资源后续可以被分配给其他业务,可以提高网络中转发设备的利用率,以及资源的利用率。In a possible implementation manner, the communication module is further configured to receive an access end notification message from the terminal, where the access end notification message is used to instruct to remove the pipe established by the controller for the data to be transmitted; the communication module is further configured to Used to send the access end notification message to the controller. The above communication device may receive an access end notification message from the terminal, and send the access end notification message to the controller, so that the controller removes the pipeline according to the access end notification message. In this way, the N forwarding devices in the pipeline or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
在一种可能的实现方式中,处理模块,还用于确定停止使用该控制器为该待传输数据建立的管道;通信模块,还用于向该控制器发送该访问结束通知消息,该访问结束通知消息用于指示拆除该该控制器为该待传输数据建立的管道。基于上述通信装置,当该通信装置确定停止使用该控制器为该待传输数据建立的管道时,该通信装置会向控制器发送访问结束通知消息,以便控制器根据该访问结束通知消息拆除管道。如此,管道中的N个转发设备或N个转发设备对应的转发资源后续可以被分配给其他业务,可以提高网络中转发设备的利用率,以及资源的利用率。In a possible implementation manner, the processing module is further configured to determine to stop using the pipeline established by the controller for the data to be transmitted; the communication module is further configured to send the access end notification message to the controller, and the access ends The notification message is used to instruct to remove the pipe established by the controller for the data to be transmitted. Based on the above communication device, when the communication device determines to stop using the pipe established by the controller for the data to be transmitted, the communication device sends an access end notification message to the controller, so that the controller removes the pipe according to the access end notification message. In this way, the N forwarding devices in the pipeline or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
在一种可能的实现方式中,该业务需求信息包括服务水平协议信息。基于上述通信装置,业务需求信息可以通过服务水平协议信息指示终端与业务服务器之间的待传输数据对该控制器管理的网络的需求,以便控制器根据服务水平协议信息,在网络中为待传输数据建立满足待传输数据对网络的需求的管道。In a possible implementation manner, the business requirement information includes service level agreement information. Based on the above communication device, the service requirement information can indicate the requirements of the network managed by the controller for the data to be transmitted between the terminal and the service server through the service level agreement information, so that the controller can use the service level agreement information in the network for data to be transmitted in the network. The data establishes a pipeline that satisfies the needs of the network for the data to be transmitted.
第八方面,本申请实施例提供一种通信装置,该通信装置包括:通信模块;通信模块,用于接收来自终端的协商信息,该协商信息用于通知该通信装置,管道的网络参数,该管道为控制器为该终端和该通信装置之间的待传输数据建立的,该管道包括该N个转发设备,所待传输数据在该管道中传输时,满足该待传输数据对该控制器管理的网络的需求,N为大于或等于1的整数;通信模块,还用于根据该网络参数与该终端通信。In an eighth aspect, an embodiment of the present application provides a communication device, the communication device includes: a communication module; the communication module is configured to receive negotiation information from a terminal, where the negotiation information is used to notify the communication device of network parameters of a pipeline, the The pipeline is established by the controller for the data to be transmitted between the terminal and the communication device, and the pipeline includes the N forwarding devices. When the data to be transmitted is transmitted in the pipeline, it satisfies the management of the data to be transmitted to the controller. N is an integer greater than or equal to 1; the communication module is also used to communicate with the terminal according to the network parameters.
上述第八方面提供的通信装置可以接收来自终端的管道的网络参数,并和终端根据该网络参数通信。如此,终端根据该网络参数和通信装置通信时,可以获得较大,较稳定的吞吐量,并减少试探传输带来的丢包和时延。The communication device provided in the above eighth aspect can receive network parameters of the pipeline from the terminal, and communicate with the terminal according to the network parameters. In this way, when the terminal communicates with the communication device according to the network parameters, a larger and more stable throughput can be obtained, and packet loss and delay caused by the tentative transmission can be reduced.
在一种可能的实现方式中,该协商信息包括以下信息中的至少一种:带宽信息、时延信息或丢包率。基于上述通信装置,终端可以和该通信装置协商以下信息中的至少一种:带宽信息、时延信息或丢包率,并根据上述至少一种信息与终端通信。In a possible implementation manner, the negotiation information includes at least one of the following information: bandwidth information, delay information, or packet loss rate. Based on the above communication device, the terminal may negotiate with the communication device at least one of the following information: bandwidth information, delay information or packet loss rate, and communicate with the terminal according to the at least one kind of information.
第九方面,本申请实施例提供一种通信装置,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该装置实现上述第一方面、或第一方面任一种可能的实施方式中所述的方法。In a ninth aspect, an embodiment of the present application provides a communication device, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, when the program or the instruction is executed by the processor , so that the device implements the method described in the first aspect or any possible implementation manner of the first aspect.
第十方面,本申请实施例提供一种通信装置,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该装置实现上述第二方面、或第二方面任一种可能的实施方式中所述的方法。In a tenth aspect, an embodiment of the present application provides a communication device, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, when the program or instruction is executed by the processor , so that the device implements the method described in the second aspect or any possible implementation manner of the second aspect.
第十一方面,本申请实施例提供一种通信装置,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该装置实现上述第三方面、或第三方面任一种可能的实施方式中所述的方法。In an eleventh aspect, an embodiment of the present application provides a communication device, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor , the device is made to implement the method described in the third aspect or any possible implementation manner of the third aspect.
第十二方面,本申请实施例提供一种通信装置,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该装置实现上述第四方面、或第四方面任一种可能的实施方式中所述的方法。In a twelfth aspect, an embodiment of the present application provides a communication device, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor , the device is made to implement the method described in the fourth aspect or any possible implementation manner of the fourth aspect.
第十三方面,本申请实施例提供一种通信装置,该装置用于实现上述第一方面、或第一方面任一种可能的实施方式中所述的方法。In a thirteenth aspect, an embodiment of the present application provides a communication apparatus, where the apparatus is configured to implement the method described in the first aspect or any possible implementation manner of the first aspect.
第十四方面,本申请实施例提供一种通信装置,该装置用于实现上述第二方面、或第二方面任一种可能的实施方式中所述的方法。In a fourteenth aspect, an embodiment of the present application provides a communication device, where the device is configured to implement the method described in the second aspect or any possible implementation manner of the second aspect.
第十五方面,本申请实施例提供一种通信装置,该装置用于实现上述第三方面、或第三方面任一种可能的实施方式中所述的方法。In a fifteenth aspect, an embodiment of the present application provides a communication device, where the device is configured to implement the method described in the third aspect or any possible implementation manner of the third aspect.
第十六方面,本申请实施例提供一种通信装置,该装置用于实现上述第四方面、或第四方面任一种可能的实施方式中所述的方法。In a sixteenth aspect, an embodiment of the present application provides a communication device, where the device is configured to implement the method described in the fourth aspect or any possible implementation manner of the fourth aspect.
第十七方面,本申请实施例提供一种计算机可读介质,其上存储有计算机程序或指令,所述计算机程序或指令被执行时使得计算机执行上述第一方面、或第一方面任一种可能的实施方式中所述的方法。In a seventeenth aspect, an embodiment of the present application provides a computer-readable medium on which a computer program or instruction is stored, and when the computer program or instruction is executed, causes a computer to execute the first aspect or any one of the first aspect. The method described in the possible embodiments.
第十八方面,本申请实施例提供一种计算机可读介质,其上存储有计算机程序或指令,所述计算机程序或指令被执行时使得计算机执行上述第二方面、或第二方面任一种可能的实施方式中所述的方法。In an eighteenth aspect, an embodiment of the present application provides a computer-readable medium on which a computer program or instruction is stored, and when the computer program or instruction is executed, causes a computer to execute the second aspect or any one of the second aspect. The method described in the possible embodiments.
第十九方面,本申请实施例提供一种计算机可读介质,其上存储有计算机程序或指令,所述计算机程序或指令被执行时使得计算机执行上述第三方面、或第三方面任一种可能的实施方式中所述的方法。In a nineteenth aspect, an embodiment of the present application provides a computer-readable medium on which a computer program or instruction is stored, and when the computer program or instruction is executed, causes a computer to execute the third aspect or any one of the third aspect. The method described in the possible embodiments.
第二十方面,本申请实施例提供一种计算机可读介质,其上存储有计算机程序或指令,所述计算机程序或指令被执行时使得计算机执行上述第四方面、或第四方面任一种可能的实施方式中所述的方法。In a twentieth aspect, an embodiment of the present application provides a computer-readable medium on which a computer program or instruction is stored, and when the computer program or instruction is executed, causes a computer to execute the fourth aspect or any one of the fourth aspect. The method described in the possible embodiments.
第二十一方面,本申请实施例提供一种计算机程序产品,其包括计算机程序代码,所述计算机程序代码在计算机上运行时,使得计算机执行上述第一方面、或第一方面任一种可能的实施方式中所述的方法。In a twenty-first aspect, an embodiment of the present application provides a computer program product, which includes computer program code, and when the computer program code runs on a computer, enables the computer to execute the first aspect or any possibility of the first aspect The method described in the embodiment of .
第二十二方面,本申请实施例提供一种计算机程序产品,其包括计算机程序代码,所述计算机程序代码在计算机上运行时,使得计算机执行上述第二方面、或第二方面任一种可能的实施方式中所述的方法。In a twenty-second aspect, an embodiment of the present application provides a computer program product, which includes computer program code, and when the computer program code is run on a computer, enables the computer to execute the second aspect or any possibility of the second aspect. The method described in the embodiment of .
第二十三方面,本申请实施例提供一种计算机程序产品,其包括计算机程序代码,所述计算机程序代码在计算机上运行时,使得计算机执行上述第三方面、或第三方面任一种可能的实施方式中所述的方法。In a twenty-third aspect, an embodiment of the present application provides a computer program product, which includes computer program code, and when the computer program code runs on a computer, the computer program code enables the computer to execute the third aspect or any possibility of the third aspect. The method described in the embodiment of .
第二十四方面,本申请实施例提供一种计算机程序产品,其包括计算机程序代码,所述计算机程序代码在计算机上运行时,使得计算机执行上述第四方面、或第四方面任一种可能的实施方式中所述的方法。In a twenty-fourth aspect, an embodiment of the present application provides a computer program product, which includes computer program code, and when the computer program code is run on a computer, enables the computer to execute the fourth aspect or any of the fourth aspects. The method described in the embodiment of .
第二十五方面,本申请实施例提供一种芯片,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片实现上述第一方面、或第一方面任一种可能的实施方式中所述的方法。In a twenty-fifth aspect, an embodiment of the present application provides a chip, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor , the chip is made to implement the method described in the first aspect or any possible implementation manner of the first aspect.
第二十六方面,本申请实施例提供一种芯片,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片实现上述第二方面、或第二方面任一种可能的实施方式中所述的方法。In a twenty-sixth aspect, an embodiment of the present application provides a chip, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor , the chip is made to implement the method described in the second aspect or any possible implementation manner of the second aspect.
第二十七方面,本申请实施例提供一种芯片,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片实现上述第三方面、或第三方面任一种可能的实施方式中所述的方法。In a twenty-seventh aspect, an embodiment of the present application provides a chip, including: a processor, where the processor is coupled to a memory, and the memory is used to store programs or instructions, and when the programs or instructions are executed by the processor , the chip is made to implement the method described in the third aspect or any possible implementation manner of the third aspect.
第二十八方面,本申请实施例提供一种芯片,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片实现上述第四方面、或第四方面任一种可能的实施方式中所述的方法。In a twenty-eighth aspect, an embodiment of the present application provides a chip, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor , the chip is made to implement the method described in the fourth aspect or any possible implementation manner of the fourth aspect.
第二十九方面,本申请实施例提供一种通信系统。该系统包括上述第五方面所述的装置,和/或上述第六方面所述的装置,和/或上述第七方面所述的装置,和/或上述第八方面所述的装置;或者上述第九方面所述的装置,和/或上述第十方面所述的装置,和/或上述第十一方面所述的装置,和/或上述第十二方面所述的装置;或者上述第十三方面所述的装置,和/或上述第十四方面所述的装置,和/或上述第十五方面所述的装置,和/或上述第十六方面所述的装置。In a twenty-ninth aspect, an embodiment of the present application provides a communication system. The system includes the device described in the fifth aspect, and/or the device described in the sixth aspect, and/or the device described in the seventh aspect, and/or the device described in the eighth aspect; or the above The device of the ninth aspect, and/or the device of the tenth aspect, and/or the device of the eleventh aspect, and/or the device of the twelfth aspect; or the tenth The device according to the third aspect, and/or the device according to the fourteenth aspect, and/or the device according to the fifteenth aspect, and/or the device according to the sixteenth aspect.
可以理解的,上述提供的任一种通信装置、芯片、计算机可读介质、计算机程序产品或通信系统等均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考对应的方法中的有益效果,此处不再赘述。It can be understood that any of the communication devices, chips, computer-readable media, computer program products or communication systems provided above are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be achieved. Referring to the beneficial effects in the corresponding method, details are not repeated here.
图1A为本申请实施例提供的通信系统架构示意图一;FIG. 1A is a schematic diagram 1 of a communication system architecture provided by an embodiment of the present application;
图1B为本申请实施例提供的通信系统架构示意图二;FIG. 1B is a second schematic diagram of a communication system architecture provided by an embodiment of the present application;
图2为本申请实施例提供的通信装置的硬件结构示意图;FIG. 2 is a schematic diagram of a hardware structure of a communication device provided by an embodiment of the present application;
图3为本申请实施例提供的建立管道的方法的流程示意图一;FIG. 3 is a schematic flowchart 1 of a method for establishing a pipeline according to an embodiment of the present application;
图4为本申请实施例提供的网络的示意图一;FIG. 4 is a schematic diagram 1 of a network provided by an embodiment of the present application;
图5为本申请实施例提供的网络的示意图二;FIG. 5 is a second schematic diagram of a network provided by an embodiment of the present application;
图6为本申请实施例提供的建立管道的方法的流程示意图二;6 is a second schematic flowchart of a method for establishing a pipeline according to an embodiment of the present application;
图7为本申请实施例提供的建立管道的方法的流程示意图三;FIG. 7 is a third schematic flowchart of a method for establishing a pipeline according to an embodiment of the present application;
图8为本申请实施例提供的建立管道的方法的流程示意图四;FIG. 8 is a fourth schematic flowchart of a method for establishing a pipeline according to an embodiment of the present application;
图9A为本申请实施例提供的吞吐量的示意图一;FIG. 9A is a schematic diagram 1 of throughput provided by an embodiment of the present application;
图9B为本申请实施例提供的吞吐量的示意图二;FIG. 9B is a second schematic diagram of throughput provided by an embodiment of the present application;
图10为本申请实施例提供的建立管道的方法的流程示意图五;FIG. 10 is a fifth schematic flowchart of a method for establishing a pipeline according to an embodiment of the present application;
图11为本申请实施例提供的建立管道的方法的流程示意图六;11 is a sixth schematic flowchart of a method for establishing a pipeline according to an embodiment of the present application;
图12为本申请实施例提供的建立管道的方法的流程示意图七;12 is a seventh schematic flowchart of a method for establishing a pipeline according to an embodiment of the present application;
图13为本申请实施例提供的建立管道的方法的流程示意图八;FIG. 13 is a schematic flowchart eight of a method for establishing a pipeline according to an embodiment of the present application;
图14为本申请实施例提供的建立管道的方法的流程示意图九;FIG. 14 is a schematic flowchart 9 of a method for establishing a pipeline according to an embodiment of the present application;
图15为本申请实施例提供的建立管道的方法的流程示意图十;FIG. 15 is a schematic flowchart tenth of a method for establishing a pipeline according to an embodiment of the present application;
图16为本申请实施例提供的通信装置的结构示意图一;FIG. 16 is a schematic structural diagram 1 of a communication device provided by an embodiment of the present application;
图17为本申请实施例提供的通信装置的结构示意图二;FIG. 17 is a second schematic structural diagram of a communication device provided by an embodiment of the present application;
图18为本申请实施例提供的通信装置的结构示意图三;FIG. 18 is a third schematic structural diagram of a communication device according to an embodiment of the present application;
图19为本申请实施例提供的通信装置的结构示意图四;FIG. 19 is a fourth schematic structural diagram of a communication device provided by an embodiment of the present application;
图20为本申请实施例提供的芯片的结构示意图;20 is a schematic structural diagram of a chip provided by an embodiment of the present application;
图21为本申请实施例提供的通信系统的组成示意图。FIG. 21 is a schematic diagram of the composition of a communication system provided by an embodiment of the present application.
下面结合附图对本申请实施例的实施方式进行详细描述。The implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
本申请实施例提供的方法可用于各种通信系统。下面仅以图1A和图1B所示通信系统为例,对本申请实施例提供的方法进行描述。The methods provided in the embodiments of the present application can be used in various communication systems. The following only takes the communication system shown in FIG. 1A and FIG. 1B as an example to describe the method provided by the embodiment of the present application.
如图1A所示,为本申请实施例提供的一种通信系统的架构示意图。图1A中,通信系统包括终端101、业务服务器102和网络103。终端101和业务服务器102可以通过网络103通信。As shown in FIG. 1A , it is a schematic structural diagram of a communication system according to an embodiment of the present application. In FIG. 1A , the communication system includes a terminal 101 , a service server 102 and a network 103 . The terminal 101 and the service server 102 can communicate through the network 103 .
图1A中的终端101可以是计算机,或具有无线收发功能的设备。例如,终端101为便携式计算机(如手机)、笔记本电脑、个人计算机(personal computer,PC)、可穿戴电子设备(如智能手表)、平板电脑、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、车辆、车载模组、车载电脑、车载芯片、车载通信系统、工业控制中的无线终端等。可以理解的,终端101还可以称为终端设备、用户端、客户端、用户设备、移动站或移动台等。The terminal 101 in FIG. 1A may be a computer, or a device with a wireless transceiving function. For example, the terminal 101 is a portable computer (such as a mobile phone), a notebook computer, a personal computer (PC), a wearable electronic device (such as a smart watch), a tablet computer, augmented reality (AR)/virtual reality (virtual reality) reality, VR) equipment, vehicles, on-board modules, on-board computers, on-board chips, on-board communication systems, wireless terminals in industrial control, etc. It can be understood that the terminal 101 may also be referred to as a terminal device, a user terminal, a client terminal, a user equipment, a mobile station, a mobile station, or the like.
图1A中的业务服务器102可以是一种能够为终端101提供计算,或应用等服务的设备。The service server 102 in FIG. 1A may be a device capable of providing computing or application services for the terminal 101 .
图1A中的网络103可以用于传输终端101与业务服务器102之间的数据。例如,网络103可以是光传送网络(optical transport network,OTN)等。网络103可以包括网关设备1031、网关设备1032、控制器1033和至少一个转发设备(图1A中未示出)。The network 103 in FIG. 1A may be used to transmit data between the terminal 101 and the service server 102 . For example, the network 103 may be an optical transport network (OTN) or the like. The network 103 may include a gateway device 1031, a gateway device 1032, a controller 1033, and at least one forwarding device (not shown in FIG. 1A).
其中,网关设备1031与终端101连接,可以为终端101提供网络接入、路由、认证或管理等功能。进一步的,网关设备1031可以是具备三层功能的光线路终端(optical line terminal,OLT)等运营商的边缘设备。网关设备1032与业务服务器102连接,可以为业务服务器102提供网络接入、路由、认证或管理等功能。进一步的,网关设备1032可以是具备三层功能的OLT等运营商的边缘设备。网关设备1031和网关设备1032通过一个或多个转发设备连接。The gateway device 1031 is connected to the terminal 101 and can provide the terminal 101 with functions such as network access, routing, authentication or management. Further, the gateway device 1031 may be an operator's edge device such as an optical line terminal (optical line terminal, OLT) with a three-layer function. The gateway device 1032 is connected to the service server 102 and can provide the service server 102 with functions such as network access, routing, authentication or management. Further, the gateway device 1032 may be an operator's edge device such as an OLT with three-layer functions. Gateway device 1031 and gateway device 1032 are connected through one or more forwarding devices.
控制器1033可以独立部署在网络103中,也可以部署在网络103中的一个或多个设备上。例如,控制器1033部署在网关设备1031、网关设备1032或至少一个转发设备上。控制器1033独立部署在网络103中时,可以与网络103中的设备连接。控制器1033可以根据接收到的业务需求信息为终端101和业务服务器102之间的待传输数据建立管道,使得待传输数据在该管道中传输时,满足业务需求信息中指示的业务需求。The controller 1033 may be independently deployed in the network 103 , or may be deployed on one or more devices in the network 103 . For example, the controller 1033 is deployed on the gateway device 1031, the gateway device 1032, or at least one forwarding device. When the controller 1033 is independently deployed in the network 103 , it can be connected with devices in the network 103 . The controller 1033 can establish a pipeline for the data to be transmitted between the terminal 101 and the service server 102 according to the received service requirement information, so that the to-be-transmitted data can meet the service requirement indicated in the service requirement information when transmitted in the pipeline.
可选的,图1A所示的通信系统还包括调度服务器104。调度服务器104与终端101和业务服务器102连接。调度服务器104可以用于确认终端101的身份和权限。调度服务器104还可以为终端101确定要访问的业务服务器。调度服务器104可以是全局调度服务器,也可 以是局部调度服务器。例如,对于云VR类服务,调度服务器104为全局调度服务器;对于其他服务器,调度服务器104为全局调度服务器或局部调度服务器。Optionally, the communication system shown in FIG. 1A further includes a scheduling server 104 . The scheduling server 104 is connected to the terminal 101 and the service server 102 . The scheduling server 104 can be used to confirm the identity and authority of the terminal 101 . The scheduling server 104 may also determine the service server to be accessed for the terminal 101 . The dispatch server 104 may be a global dispatch server or a local dispatch server. For example, for cloud VR services, the scheduling server 104 is a global scheduling server; for other servers, the scheduling server 104 is a global scheduling server or a local scheduling server.
如图1B所示,为本申请实施例提供的又一种通信系统的架构示意图。图1B中,通信系统包括终端105、业务服务器106、网络107和网络108。终端105和业务服务器106可以通过网络107和网络108通信。As shown in FIG. 1B , it is a schematic structural diagram of another communication system provided by an embodiment of the present application. In FIG. 1B , the communication system includes a terminal 105 , a service server 106 , a network 107 and a network 108 . The terminal 105 and the service server 106 can communicate through the network 107 and the network 108 .
图1B中的终端105和业务服务器106的介绍可以参考上述对终端101和业务服务器102的描述,不予赘述。For the introduction of the terminal 105 and the service server 106 in FIG. 1B , reference may be made to the above description of the terminal 101 and the service server 102 , which will not be repeated.
图1B中的网络107和网络108可以用于传输终端105与业务服务器106之间的数据。网络107包括网关设备1071、网关设备1072、控制器1073和至少一个转发设备(图1B中未示出)。网络108包括网关设备1081、网关设备1082、控制器1083和至少一个转发设备(图1B中未示出)。The network 107 and the network 108 in FIG. 1B may be used to transmit data between the terminal 105 and the service server 106 . The network 107 includes a gateway device 1071, a gateway device 1072, a controller 1073, and at least one forwarding device (not shown in Figure IB). The network 108 includes a gateway device 1081, a gateway device 1082, a controller 1083, and at least one forwarding device (not shown in Figure IB).
其中,网关设备1071与终端105连接,可以为终端105提供网络接入、路由、认证或管理等功能。进一步的,网关设备1071可以是具备三层功能的OLT等运营商的边缘设备。网关设备1072与网关设备1081连接。网关设备1072和网关设备1081可以将两个不同域(例如不同网段)的网络(例如网络107和网络108)连接在一起。进一步的,网关设备1072或网关设备1081可以是具备三层功能的OLT等运营商的边缘设备。网关设备1082与业务服务器106连接,可以为业务服务器106提供网络接入、路由、认证或管理等功能。进一步的,网关设备1082可以是具备三层功能的OLT等运营商的边缘设备。网关设备1071和网关设备1072通过一个或多个转发设备连接,网关设备1081和网关设备1082通过一个或多个转发设备连接。The gateway device 1071 is connected to the terminal 105 and can provide the terminal 105 with functions such as network access, routing, authentication or management. Further, the gateway device 1071 may be an operator's edge device such as an OLT with three-layer functions. The gateway device 1072 is connected to the gateway device 1081 . Gateway device 1072 and gateway device 1081 may connect together networks (eg, network 107 and network 108 ) of two different domains (eg, different network segments). Further, the gateway device 1072 or the gateway device 1081 may be an edge device of an operator such as an OLT with three-layer functions. The gateway device 1082 is connected to the service server 106 and can provide the service server 106 with functions such as network access, routing, authentication or management. Further, the gateway device 1082 may be an operator's edge device such as an OLT with three-layer functions. The gateway device 1071 and the gateway device 1072 are connected through one or more forwarding devices, and the gateway device 1081 and the gateway device 1082 are connected through one or more forwarding devices.
控制器1073可以独立部署在网络107中,也可以部署在网络107中的一个或多个设备上。例如,控制器1073部署在网关设备1071、网关设备1072或至少一个转发设备上。控制器1073独立部署在网络107中时,可以与网络107中的设备连接。控制器1073可以根据接收到的业务需求信息为终端105和业务服务器106之间的待传输数据建立管道,使得待传输数据在该管道中传输时,满足业务需求信息中指示的业务需求。The controller 1073 may be independently deployed in the network 107 , or may be deployed on one or more devices in the network 107 . For example, the controller 1073 is deployed on the gateway device 1071, the gateway device 1072, or at least one forwarding device. When the controller 1073 is independently deployed in the network 107 , it can be connected with devices in the network 107 . The controller 1073 can establish a pipeline for the data to be transmitted between the terminal 105 and the service server 106 according to the received service requirement information, so that the to-be-transmitted data meets the service requirement indicated in the service requirement information when the data to be transmitted is transmitted in the pipeline.
类似的,控制器1083可以独立部署在网络108中,也可以部署在网络108中的一个或多个设备上。例如,控制器1083部署在网关设备1081、网关设备1082或至少一个转发设备上。控制器1083独立部署在网络108中时,可以与网络108中的设备连接。控制器1083可以根据接收到的业务需求信息为终端105和业务服务器106之间的待传输数据建立管道,使得待传输数据在该管道中传输时,满足业务需求信息中指示的业务需求。Similarly, the controller 1083 may be independently deployed in the network 108 , or may be deployed on one or more devices in the network 108 . For example, the controller 1083 is deployed on the gateway device 1081, the gateway device 1082, or at least one forwarding device. When the controller 1083 is independently deployed in the network 108 , it can be connected with devices in the network 108 . The controller 1083 can establish a pipeline for the data to be transmitted between the terminal 105 and the service server 106 according to the received service requirement information, so that when the data to be transmitted is transmitted in the pipeline, the service requirement indicated in the service requirement information is satisfied.
可选的,图1B所示的通信系统还包括调度服务器109。调度服务器109与终端105和业务服务器106连接。调度服务器109可以用于确认终端105的身份和权限。调度服务器109还可以为终端105确定要访问的业务服务器。调度服务器109可以是全局调度服务器,也可以是局部调度服务器。例如,对于云VR类服务,调度服务器109为全局调度服务器;对于其他服务器,调度服务器109为全局调度服务器或局部调度服务器。Optionally, the communication system shown in FIG. 1B further includes a scheduling server 109 . The scheduling server 109 is connected to the terminal 105 and the service server 106 . The scheduling server 109 may be used to confirm the identity and authority of the terminal 105 . The scheduling server 109 may also determine the service server to be accessed for the terminal 105 . The scheduling server 109 may be a global scheduling server or a local scheduling server. For example, for cloud VR services, the scheduling server 109 is a global scheduling server; for other servers, the scheduling server 109 is a global scheduling server or a local scheduling server.
需要说明的是,上述图1A和图1B仅是本申请实施例提供的通信系统的示例,在实际应用中,通信系统还可以是其他形式的,例如,终端和业务服务器可以通过三个或更多个不同域的网络通信,不予限制。It should be noted that the above-mentioned FIG. 1A and FIG. 1B are only examples of the communication system provided by the embodiments of the present application. In practical applications, the communication system may also be in other forms. For example, the terminal and the service server may pass through three or more Network communication of multiple different domains is not restricted.
应注意,图1A和图1B所示的通信系统仅用于举例,并非用于限制本申请的技术方案。本领域的技术人员应当明白,在具体实现过程中,上述通信系统还可以包括其他设备,同时也可根据具体需要来确定终端、网关设备、控制器、业务服务器或调度服务器的数量。图1A 或图1B中的各网元还可以通过其他接口进行连接。It should be noted that the communication systems shown in FIG. 1A and FIG. 1B are only used for example, and are not used to limit the technical solutions of the present application. Those skilled in the art should understand that in the specific implementation process, the above communication system may also include other devices, and the number of terminals, gateway devices, controllers, service servers or scheduling servers may also be determined according to specific needs. Each network element in FIG. 1A or FIG. 1B may also be connected through other interfaces.
可选的,本申请实施例图1A或图1B中的各网元,例如终端101、网关设备1031、控制器1073或网关设备1081等,可以是一个设备内的一个功能模块。可以理解的是,上述功能既可以是硬件设备中的网络元件,例如手机中的通信芯片,也可以是在专用硬件上运行的软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。Optionally, each network element in FIG. 1A or FIG. 1B in this embodiment of the present application, such as the terminal 101, the gateway device 1031, the controller 1073, or the gateway device 1081, etc., may be a functional module in one device. It can be understood that the above functions can be either network elements in hardware devices, such as communication chips in mobile phones, or software functions running on dedicated hardware, or virtualized virtual devices instantiated on a platform (eg, a cloud platform). function.
例如,图1A或图1B中的各网元均可以通过图2中的通信装置20来实现。图2所示为可适用于本申请实施例的通信装置的硬件结构示意图。该通信装置20包括至少一个处理器201,通信线路202,存储器203以及至少一个通信接口204。For example, each network element in FIG. 1A or FIG. 1B may be implemented by the communication device 20 in FIG. 2 . FIG. 2 is a schematic diagram of a hardware structure of a communication device applicable to an embodiment of the present application. The communication device 20 includes at least one processor 201 , a communication line 202 , a memory 203 and at least one communication interface 204 .
处理器201可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。The processor 201 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more processors for controlling the execution of the programs of the present application. integrated circuit.
通信线路202可包括一通路,在上述组件之间传送信息,例如总线。Communication line 202 may include a path, such as a bus, for transferring information between the components described above.
通信接口204,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网接口,无线接入网接口(radio access network,RAN),无线局域网接口(wireless local area networks,WLAN)等。 Communication interface 204, using any transceiver-like device for communicating with other devices or communication networks, such as Ethernet interfaces, radio access network (RAN), wireless local area networks (wireless local area networks, WLAN), etc.
存储器203可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过通信线路202与处理器相连接。存储器也可以和处理器集成在一起。本申请实施例提供的存储器通常可以具有非易失性。其中,存储器203用于存储执行本申请方案所涉及的计算机执行指令,并由处理器201来控制执行。处理器201用于执行存储器203中存储的计算机执行指令,从而实现本申请实施例提供的方法。 Memory 203 may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM) or other types of information and instructions It can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, CD-ROM storage (including compact discs, laser discs, optical 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 executed by a computer Access any other medium without limitation. The memory may exist independently and be connected to the processor through the communication line 202 . The memory can also be integrated with the processor. The memory provided by the embodiments of the present application may generally be non-volatile. The memory 203 is used for storing the computer-executed instructions involved in executing the solution of the present application, and the execution is controlled by the processor 201 . The processor 201 is configured to execute the computer-executed instructions stored in the memory 203, thereby implementing the method provided by the embodiments of the present application.
可选的,本申请实施例中的计算机执行指令也可以称之为应用程序代码,本申请实施例对此不作具体限定。Optionally, the computer-executed instructions in the embodiment of the present application may also be referred to as application code, which is not specifically limited in the embodiment of the present application.
在具体实现中,作为一种实施例,处理器201可以包括一个或多个CPU,例如图2中的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 201 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 2 .
在具体实现中,作为一种实施例,通信装置20可以包括多个处理器,例如图2中的处理器201和处理器207。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the communication apparatus 20 may include multiple processors, such as the processor 201 and the processor 207 in FIG. 2 . 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).
在具体实现中,作为一种实施例,通信装置20还可以包括输出设备205和输入设备206。输出设备205和处理器201通信,可以以多种方式来显示信息。例如,输出设备205可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备206和处理器201通信,可以以多种方式接收用户的输入。例如,输入设备206可以是鼠标、键盘、触摸屏设备或传感设备等。In a specific implementation, as an embodiment, the communication apparatus 20 may further include an output device 205 and an input device 206 . The output device 205 is in communication with the processor 201 and can display information in a variety of ways. For example, the output device 205 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector (projector) Wait. Input device 206 is in communication with processor 201 and can receive user input in a variety of ways. For example, the input device 206 may be a mouse, a keyboard, a touch screen device, a sensor device, or the like.
上述的通信装置20可以是一个通用设备或者是一个专用设备。在具体实现中,通信装置 20可以是台式机、便携式电脑、网络服务器、掌上电脑(personal digital assistant,PDA)、移动手机、平板电脑、无线终端设备、嵌入式设备或有图2中类似结构的设备。本申请实施例不限定通信装置20的类型。The above-mentioned communication apparatus 20 may be a general-purpose device or a dedicated device. In a specific implementation, the communication device 20 may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, an embedded device, or a similar structure in FIG. 2 . equipment. The embodiment of the present application does not limit the type of the communication device 20 .
下面结合图1A、图1B和图2对本申请实施例提供的建立管道的方法进行具体阐述。The method for establishing a pipeline provided by the embodiment of the present application will be described in detail below with reference to FIG. 1A , FIG. 1B and FIG. 2 .
需要说明的是,本申请实施例提供的建立管道的方法可以应用于多个场景,例如:云(cloud)VR场景、视频点播场景、视频游戏场景或其他对显示画面的品质要求较高的场景等等。It should be noted that the method for establishing a pipeline provided in the embodiments of the present application can be applied to multiple scenarios, such as: cloud VR scenarios, video-on-demand scenarios, video game scenarios, or other scenarios that require high quality of display images etc.
需要说明的是,本申请下述实施例中各个网元之间的消息名字或消息中各参数的名字等只是一个示例,具体实现中也可以是其他的名字,本申请实施例对此不作具体限定。It should be noted that the names of messages between network elements or the names of parameters in the messages in the following embodiments of the present application are just an example, and other names may also be used in specific implementations, which are not specified in the embodiments of the present application. limited.
需要说明的是,在本申请的描述中,“第一”、或“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。本申请中的“第一网关设备”等具有不同编号的网关设备,该编号仅为用于上下文行文方便,不同的次序编号本身不具有特定技术含义,比如,第一网关设备,第二网关设备等,可以理解为是一系列网关设备中的一个或者任一个。可理解,在具体实施时,不同编号的网关设备也可以是同一个或者同一种类型的网关设备,本申请对此不作限定。It should be noted that, in the description of this application, words such as "first" or "second" are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor should it be understood as indicating or implied order. In this application, the "first gateway device" and other gateway devices with different numbers are only used for contextual convenience, and the different sequence numbers themselves have no specific technical meaning. For example, the first gateway device, the second gateway device etc., can be understood as one or any one of a series of gateway devices. It can be understood that, during specific implementation, gateway devices with different numbers may also be the same or the same type of gateway device, which is not limited in this application.
需要说明的是,本申请下述实施例中,“示例性的”、“可选的”或者“例如”等词用于表示作例子、例证或说明。本申请下述实施例中被描述为“示例性的”、“可选的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”、“可选的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the following embodiments of the present application, words such as "exemplary", "optional" or "for example" are used to represent examples, illustrations or illustrations. Any embodiment or design described in the following embodiments of this application as "exemplary," "optional," or "eg," should not be construed as preferred or advantageous over other embodiments or designs . Rather, use of words such as "exemplary," "optional," or "eg," is intended to present the relevant concepts in a specific manner.
可以理解的,本申请实施例中同一个步骤或者具有相同功能的步骤或者消息在不同实施例之间可以互相参考借鉴。It can be understood that the same step or steps or messages having the same function in the embodiments of the present application may refer to each other for reference between different embodiments.
可以理解的,本申请实施例中,控制器、第一网关设备、第二网关设备、终端或业务服务器可以执行本申请实施例中的部分或全部步骤,这些步骤仅是示例,本申请实施例还可以执行其它步骤或者各种步骤的变形。此外,各个步骤可以按照本申请实施例呈现的不同的顺序来执行,并且有可能并非要执行本申请实施例中的全部步骤。It can be understood that, in the embodiments of the present application, the controller, the first gateway device, the second gateway device, the terminal, or the service server may perform some or all of the steps in the embodiments of the present application. These steps are only examples, and the embodiments of the present application Other steps or variations of the various steps may also be performed. In addition, various steps may be performed in different orders presented in the embodiments of the present application, and it may not be necessary to perform all the steps in the embodiments of the present application.
在本申请实施例中,建立管道的方法的执行主体的具体结构,本申请实施例并未特别限定,只要可以通过运行记录有本申请实施例建立管道的方法的代码的程序,以根据本申请实施例的建立管道的方法进行通信即可,例如,本申请实施例提供的建立管道的方法的执行主体可以是控制器,或者为应用于控制器中的部件,例如,芯片,本申请对此不进行限定。或者,本申请实施例提供的建立管道的方法的执行主体可以是第一网关设备,或者为应用于第一网关设备的部件,例如,芯片,本申请对此不进行限定。或者,本申请实施例提供的建立管道的方法的执行主体可以是第二网关设备,或者为应用于第二网关设备的部件,例如,芯片,本申请对此不进行限定。或者,本申请实施例提供的建立管道的方法的执行主体可以是终端,或者为应用于终端的部件,例如,芯片,本申请对此不进行限定。或者,本申请实施例提供的建立管道的方法的执行主体可以是业务服务器,或者为应用于业务服务器的部件,例如,芯片,本申请对此不进行限定。下述实施例以建立管道的方法的执行主体分别为控制器、第一网关设备、第二网关设备、终端和业务服务器为例进行描述。In the embodiment of the present application, the specific structure of the execution body of the method for establishing the pipeline is not particularly limited in the embodiment of the present application, as long as the program that records the code of the method for establishing the pipeline in the embodiment of the present application can be executed to obtain the method according to the present application. The method for establishing a pipeline in the embodiment only needs to communicate. For example, the execution body of the method for establishing a pipeline provided in the embodiment of the present application may be a controller, or a component applied in the controller, such as a chip, to which this application applies. Not limited. Alternatively, the execution body of the method for establishing a pipeline provided in this embodiment of the present application may be the first gateway device, or a component applied to the first gateway device, such as a chip, which is not limited in this application. Alternatively, the execution body of the method for establishing a pipeline provided in this embodiment of the present application may be the second gateway device, or a component applied to the second gateway device, such as a chip, which is not limited in this application. Alternatively, the execution body of the method for establishing a pipeline provided in this embodiment of the present application may be a terminal, or a component applied to the terminal, such as a chip, which is not limited in this application. Alternatively, the execution body of the method for establishing a pipeline provided in this embodiment of the present application may be a service server, or a component applied to the service server, such as a chip, which is not limited in this application. The following embodiments are described by taking an example that the execution bodies of the method for establishing a pipeline are a controller, a first gateway device, a second gateway device, a terminal, and a service server respectively.
如图3所示,为本申请实施例提供的一种建立管道的方法。该方法以图1A所示的通信系统为例,该方法包括步骤301-步骤304。As shown in FIG. 3 , a method for establishing a pipeline is provided in an embodiment of the present application. The method takes the communication system shown in FIG. 1A as an example, and the method includes steps 301 to 304 .
步骤301:终端获取业务需求信息。Step 301: The terminal acquires service requirement information.
其中,该终端可以为图1A中的终端101。The terminal may be the terminal 101 in FIG. 1A .
其中,业务需求信息用于指示终端与业务服务器之间的待传输数据对控制器管理的网络的需求。其中,待传输数据可以是已经到达终端或业务服务器的数据,也可以是终端和业务服务器之间实时通信的数据。业务服务器可以为图1A中的业务服务器102。控制器可以为图1A中的控制器1033,控制器管理的网络可以是图1A中的网络103。The service requirement information is used to indicate the requirement of the data to be transmitted between the terminal and the service server on the network managed by the controller. The data to be transmitted may be data that has already arrived at the terminal or the service server, or may be real-time communication data between the terminal and the service server. The service server may be the service server 102 in FIG. 1A . The controller may be the controller 1033 in FIG. 1A , and the network managed by the controller may be the network 103 in FIG. 1A .
一种可能的实现方式,业务需求信息包括服务水平协议信息(service level agreement,SLA)。示例性的,SLA包括以下信息中的至少一种:待传输数据的带宽信息、待传输数据的时延信息、待传输数据的丢包率或带传送数据的时延抖动信息。待传输数据的带宽信息用于指示待传输数据的带宽。待传输数据的时延信息用于指示待传输数据的时延。待传输数据的时延抖动信息用于指示待传输数据的时延抖动。其中,待传输数据的带宽、待传输数据的时延、待传输数据的丢包率和待传输数据的时延抖动的介绍可以参考常规技术的描述。In a possible implementation manner, the business requirement information includes service level agreement information (service level agreement, SLA). Exemplarily, the SLA includes at least one of the following information: bandwidth information of the data to be transmitted, delay information of the data to be transmitted, packet loss rate of the data to be transmitted, or delay jitter information of the data to be transmitted. The bandwidth information of the data to be transmitted is used to indicate the bandwidth of the data to be transmitted. The delay information of the data to be transmitted is used to indicate the delay of the data to be transmitted. The delay jitter information of the data to be transmitted is used to indicate the delay jitter of the data to be transmitted. For the introduction of the bandwidth of the data to be transmitted, the delay of the data to be transmitted, the packet loss rate of the data to be transmitted, and the delay jitter of the data to be transmitted, reference may be made to the description of the conventional technology.
一种可能的实现方式,在步骤301之前,终端确定将要访问的业务服务器。示例性的,终端向调度服务器发送用于请求分配业务服务器的请求信息。调度服务器接收到该请求信息后,验证终端的身份或权限等信息,并向终端发送用于指示业务服务器的响应信息。终端接收到来自调度服务器的响应信息后,根据响应信息确定要访问的业务服务器。In a possible implementation manner, before step 301, the terminal determines the service server to be accessed. Exemplarily, the terminal sends request information for requesting the distribution service server to the scheduling server. After receiving the request information, the scheduling server verifies information such as the identity or authority of the terminal, and sends response information for indicating the service server to the terminal. After receiving the response information from the scheduling server, the terminal determines the service server to be accessed according to the response information.
其中,调度服务器可以为图1A中的调度服务器104。The scheduling server may be the scheduling server 104 in FIG. 1A .
需要说明的是,调度服务器除了为终端分配业务服务器之外,还可以为终端确定SLA,并向终端发送该SLA。SLA可以包括在响应信息中,也可以单独发送。It should be noted that, in addition to allocating a service server to the terminal, the scheduling server may also determine an SLA for the terminal, and send the SLA to the terminal. The SLA can be included in the response message or sent separately.
可以理解的,除了调度服务器可以为终端确定SLA之外,终端可以可以自己确定该SLA。It can be understood that, in addition to the scheduling server determining the SLA for the terminal, the terminal can determine the SLA by itself.
示例性的,调度服务器或终端可以通过下述任一种方式确定SLA。Exemplarily, the scheduling server or terminal may determine the SLA in any of the following manners.
一种可能的实现方式,SLA是根据待传输数据的业务类型确定的。In a possible implementation, the SLA is determined according to the service type of the data to be transmitted.
可以理解的,业务的分类方法有多种,不同的分类方法对应的业务类型不同。It can be understood that there are various classification methods for services, and different classification methods correspond to different types of services.
示例性的,根据协议类型可以将业务分为:超文本传输协议(hypertext transfer protocol,HTTP)类型和用户数据报协议(user datagram protocol,UDP)类型等。Exemplarily, according to the protocol type, services can be divided into: hypertext transfer protocol (hypertext transfer protocol, HTTP) type and user datagram protocol (user datagram protocol, UDP) type and so on.
示例性的,根据视频清晰度可以将业务分为标清类型、超清类型和高清类型等。Exemplarily, services can be classified into standard definition types, ultra-definition types, and high-definition types according to the video definition.
示例性的,根据业务的内容可以将业务分为VR业务、视频点播业务和视频游戏业务等。Exemplarily, services can be divided into VR services, video-on-demand services, video game services, and the like according to the content of the services.
应理解,上述HTTP类型、UDP类型、标清类型、超清类型、高清类型、VR业务、视频点播业务或视频游戏业务等仅是业务类型的示例,在实际应用中,业务类型还可以包括其他类型,业务类型也可以根据其他方法分类,不予限制。It should be understood that the above-mentioned HTTP type, UDP type, SD type, UHD type, HD type, VR service, video-on-demand service, or video game service are only examples of service types. In practical applications, service types may also include other types. , business types can also be classified according to other methods without limitation.
示例性的,SLA可以根据表1所示的SLA与待传输数据的业务类型的对应关系确定。例如,若待传输数据的业务类型为HTTP类型,则SLA包括带宽信息1、时延信息1、丢包率1和时延抖动信息1;若待传输数据的业务类型为UDP类型,则SLA包括带宽信息2、时延信息2、丢包率2和时延抖动信息2;若待传输数据的业务类型为标清类型,则SLA包括带宽信息3、时延信息3、丢包率3和时延抖动信息3;若待传输数据的业务类型为超清类型,则SLA包括带宽信息4、时延信息4、丢包率4和时延抖动信息4;若待传输数据的业务类型为高清类型,则SLA包括带宽信息5、时延信息5、丢包率5和时延抖动信息5。Exemplarily, the SLA may be determined according to the correspondence between the SLA shown in Table 1 and the service type of the data to be transmitted. For example, if the service type of the data to be transmitted is HTTP, the SLA includes bandwidth information 1, delay information 1, packet loss rate 1, and delay jitter information 1; if the service type of the data to be transmitted is UDP, the SLA includes Bandwidth information 2, delay information 2, packet loss rate 2, and delay jitter information 2; if the service type of the data to be transmitted is SD, the SLA includes bandwidth information 3, delay information 3, packet loss rate 3, and delay Jitter information 3; if the service type of the data to be transmitted is ultra-clear type, the SLA includes bandwidth information 4, delay information 4, packet loss rate 4, and delay jitter information 4; if the service type of the data to be transmitted is high-definition type, Then the SLA includes bandwidth information 5 , delay information 5 , packet loss rate 5 and delay jitter information 5 .
表1Table 1
业务类型business type | 带宽信息Bandwidth information | 时延信息Delay information | 丢包率Packet loss rate | 时延抖动信息Delay Jitter Information | |
HTTP类型HTTP | 带宽信息1Bandwidth Information 1 |
时延信息1 |
丢包率1 |
时延抖动信息1 |
|
UDP类型UDP type | 带宽信息2Bandwidth Information 2 | 时延信息2Delay information 2 | 丢包率2Packet loss rate 2 | 时延抖动信息2Delay Jitter Information 2 | |
标清类型SD type | 带宽信息3Bandwidth Information 3 | 时延信息3Delay information 3 | 丢包率3Packet loss rate 3 | 时延抖动信息3Delay Jitter Information 3 | |
超清类型Ultra clear type | 带宽信息4Bandwidth Information 4 | 时延信息4Delay information 4 | 丢包率4Packet loss rate 4 | 时延抖动信息4Delay Jitter Information 4 |
高清类型HD type | 带宽信息5Bandwidth Information 5 | 时延信息5Delay information 5 | 丢包率5Packet loss rate 5 | 时延抖动信息5Delay Jitter Information 5 |
另一种可能的实现方式,SLA是根据待传输数据的相关参数确定。例如,SLA是根据待传输数据的大小确定的;或者,SLA是根据待传输数据的时延需求确定的。In another possible implementation manner, the SLA is determined according to the relevant parameters of the data to be transmitted. For example, the SLA is determined according to the size of the data to be transmitted; or, the SLA is determined according to the delay requirement of the data to be transmitted.
步骤302:终端向第一网关设备发送业务需求信息。Step 302: The terminal sends service requirement information to the first gateway device.
其中,第一网关设备可以为图1A中的网关设备1031。The first gateway device may be the gateway device 1031 in FIG. 1A .
可以理解的,终端还向第一网关设备发送待传输数据的目的地址。进一步的,终端还向第一网关设备发送协议端口标识。上述待传输数据的目的地址或协议端口标识可以和业务需求信息一起发送,也可以分开发送。It can be understood that the terminal also sends the destination address of the data to be transmitted to the first gateway device. Further, the terminal also sends the protocol port identifier to the first gateway device. The destination address or protocol port identifier of the data to be transmitted may be sent together with the service requirement information, or may be sent separately.
其中,待传输数据的目的地址为业务服务器的地址,例如,待传输数据的目的地址为业务服务器的互联网协议(Internet Protocol,IP)地址。协议端口标识用于标识协议端口。例如,协议端口标识为20,表示文件传输协议(file transfer protocol,FTP)数据连接端口。The destination address of the data to be transmitted is the address of the service server, for example, the destination address of the data to be transmitted is the Internet Protocol (IP) address of the service server. The protocol port identifier is used to identify the protocol port. For example, the protocol port identifier is 20, which indicates the file transfer protocol (FTP) data connection port.
对应的,第一网关设备接收来自终端的业务需求信息。Correspondingly, the first gateway device receives the service requirement information from the terminal.
可以理解的,第一网关设备还接收来自终端的待传输数据的目的地址。进一步的,第一网关设备还接收来自终端的协议端口标识。It can be understood that the first gateway device also receives the destination address of the data to be transmitted from the terminal. Further, the first gateway device also receives the protocol port identifier from the terminal.
需要说明的是,上述业务需求信息除了是终端获取并发送给第一网关设备的之外,该业务需求信息也可以是第一网关设备根据待传输数据的目的地址,和/或,待传输数据的业务类型确定的。在这种情况下,上述步骤301和步骤302可以替换为下述步骤A和B。It should be noted that, in addition to the service requirement information obtained by the terminal and sent to the first gateway device, the service requirement information may also be the destination address of the data to be transmitted by the first gateway device, and/or the data to be transmitted. business type. In this case, the above-mentioned steps 301 and 302 may be replaced by the following steps A and B.
步骤A:第一网关设备获取待传输数据的目的地址,和/或,待传输数据的业务类型。Step A: The first gateway device obtains the destination address of the data to be transmitted, and/or the service type of the data to be transmitted.
一种可能的实现方式,第一网关设备接收来自终端的待传输数据的目的地址,和/或,待传输数据的业务类型的信息。其中,待传输数据的业务类型的信息用于指示待传输数据的业务类型。例如,待传输数据的业务类型的信息包括待传输数据对应的协议端口标识。In a possible implementation manner, the first gateway device receives the destination address of the data to be transmitted from the terminal, and/or the information of the service type of the data to be transmitted. The information of the service type of the data to be transmitted is used to indicate the service type of the data to be transmitted. For example, the information of the service type of the data to be transmitted includes a protocol port identifier corresponding to the data to be transmitted.
步骤B:第一网关设备根据待传输数据的目的地址,和/或,待传输数据的业务类型确定业务需求信息。Step B: The first gateway device determines service requirement information according to the destination address of the data to be transmitted and/or the service type of the data to be transmitted.
一种可能的实现方式,待传输数据的目的地址,和/或,待传输数据的业务类型与业务需求信息有对应关系。In a possible implementation manner, the destination address of the data to be transmitted and/or the service type of the data to be transmitted has a corresponding relationship with the service requirement information.
示例性的,以第一网关设备根据待传输数据的目的地址确定业务需求信息为例,待传输数据的目的地址与业务需求信息的对应关系如表2所示,若待传输数据的目的地址为目的地址1,则第一网关确定的业务需求信息为业务需求信息1;若待传输数据的目的地址为目的地址2,则第一网关确定的业务需求信息为业务需求信息2;若待传输数据的目的地址为目的地址3,则第一网关确定的业务需求信息为业务需求信息3。Exemplarily, taking the first gateway device determining the service demand information according to the destination address of the data to be transmitted as an example, the corresponding relationship between the destination address of the data to be transmitted and the service demand information is shown in Table 2. If the destination address of the data to be transmitted is destination address 1, the service requirement information determined by the first gateway is service requirement information 1; if the destination address of the data to be transmitted is destination address 2, the service requirement information determined by the first gateway is service requirement information 2; if the data to be transmitted is the service requirement information 2; The destination address is destination address 3, and the service requirement information determined by the first gateway is service requirement information 3.
表2Table 2
待传输数据的目的地址The destination address of the data to be transmitted |
业务需求信息business need |
目的地址1destination address 1 |
业务需求信息1Business Need |
目的地址2destination address 2 | 业务需求信息2Business Requirement Information 2 |
目的地址3destination address 3 | 业务需求信息3Business Requirement Information 3 |
示例性的,以第一网关设备根据待传输数据的业务类型确定业务需求信息为例,待传输数据的业务类型与业务需求信息的对应关系如表3所示,若待传输数据的业务类型为标清类型,则第一网关确定的业务需求信息为业务需求信息1;若待传输数据的业务类型为超清类型,则第一网关确定的业务需求信息为业务需求信息2;若待传输数据的业务类型为高清类型,则第一网关确定的业务需求信息为业务需求信息3。Exemplarily, taking the first gateway device determining the service requirement information according to the service type of the data to be transmitted as an example, the corresponding relationship between the service type of the data to be transmitted and the service requirement information is shown in Table 3. If the service type of the data to be transmitted is SD type, the service requirement information determined by the first gateway is service requirement information 1; if the service type of the data to be transmitted is ultra-clear type, the service requirement information determined by the first gateway is service requirement information 2; If the service type is the high-definition type, the service requirement information determined by the first gateway is the service requirement information 3 .
表3table 3
待传输数据的业务类型The service type of the data to be transmitted | 业务需求信息business need information |
标清类型SD type |
业务需求信息1 |
超清类型Ultra clear type | 业务需求信息2Business Requirement Information 2 |
高清类型HD type | 业务需求信息3Business Requirement Information 3 |
示例性的,以第一网关设备根据待传输数据的目的地址,和/或,待传输数据的业务类型确定业务需求信息为例,待传输数据的业务类型与业务需求信息的对应关系如表4所示,若待传输数据的目的地址为目的地址1,待传输数据的业务类型为VR业务,则第一网关确定的业务需求信息为业务需求信息1;若待传输数据的目的地址为目的地址2,待传输数据的业务类型为视频点播业务,则第一网关确定的业务需求信息为业务需求信息2;若待传输数据的目的地址为目的地址3,待传输数据的业务类型为视频游戏业务,则第一网关确定的业务需求信息为业务需求信息3。Exemplarily, taking the first gateway device determining the service requirement information according to the destination address of the data to be transmitted, and/or the service type of the data to be transmitted as an example, the correspondence between the service type of the data to be transmitted and the service requirement information is shown in Table 4. As shown, if the destination address of the data to be transmitted is the destination address 1, and the service type of the data to be transmitted is the VR service, the service requirement information determined by the first gateway is the service requirement information 1; if the destination address of the data to be transmitted is the destination address 2. The service type of the data to be transmitted is a video-on-demand service, and the service requirement information determined by the first gateway is service requirement information 2; if the destination address of the data to be transmitted is destination address 3, the service type of the data to be transmitted is a video game service , the service requirement information determined by the first gateway is service requirement information 3 .
表4Table 4
待传输数据的目的地址The destination address of the data to be transmitted | 待传输数据的业务类型The service type of the data to be transmitted |
业务需求信息business need |
目的地址1destination address 1 | VR业务VR business |
业务需求信息1Business Need |
目的地址2destination address 2 | 视频点播业务video on demand service | 业务需求信息2Business Requirement Information 2 |
目的地址3destination address 3 | 视频游戏业务video game business | 业务需求信息3Business Requirement Information 3 |
步骤303:第一网关设备向控制器发送业务需求信息。Step 303: The first gateway device sends service requirement information to the controller.
可以理解的,第一网关还向控制器发送待传输数据的源地址、待传输数据的目的地址和下一跳地址,以便通知控制器需要建立的管道的起始节点和结束节点。其中,待传输数据的源地址为终端的地址,例如,待传输数据的源地址为终端的IP地址。下一跳地址为第二网关设备的地址,例如,下一跳地址为第二网关设备的IP地址。第二网关设备可以为图1A中的网关设备1032。It can be understood that the first gateway also sends the source address of the data to be transmitted, the destination address of the data to be transmitted and the next hop address to the controller, so as to notify the controller of the start node and end node of the pipeline to be established. The source address of the data to be transmitted is the address of the terminal, for example, the source address of the data to be transmitted is the IP address of the terminal. The next hop address is the address of the second gateway device, for example, the next hop address is the IP address of the second gateway device. The second gateway device may be gateway device 1032 in FIG. 1A .
进一步的,第一网关设备还向控制器发送协议端口标识。上述待传输数据的源地址、待传输数据的目的地址、下一跳地址或协议端口标识可以和业务需求信息一起发送,也可以分开发送。Further, the first gateway device also sends the protocol port identifier to the controller. The source address of the data to be transmitted, the destination address of the data to be transmitted, the next hop address or the protocol port identifier may be sent together with the service requirement information, or may be sent separately.
对应的,控制器接收来自第一网关设备的业务需求信息。Correspondingly, the controller receives the service requirement information from the first gateway device.
可以理解的,控制器还接收来自第一网关设备的待传输数据的源地址、待传输数据的目的地址和下一跳地址。进一步的,控制器还接收来自第一网关设备的协议端口标识。It can be understood that the controller also receives the source address of the data to be transmitted, the destination address and the next hop address of the data to be transmitted from the first gateway device. Further, the controller also receives the protocol port identifier from the first gateway device.
步骤304:控制器根据业务需求信息,在网络中为待传输数据建立管道。Step 304: The controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information.
其中,该管道包括N个转发设备。待传输数据在该管道中传输时,满足业务需求信息中指示的需求。N为大于或等于1的整数。Wherein, the pipeline includes N forwarding devices. When the data to be transmitted is transmitted in the pipeline, the requirements indicated in the service requirement information are met. N is an integer greater than or equal to 1.
一种可能的实现方式,在网络初始建立时,控制器获取第一对应关系和第二对应关系。In a possible implementation manner, when the network is initially established, the controller acquires the first correspondence and the second correspondence.
其中,第一对应关系为第一网关设备的地址与网络中的第一转发设备的用户网络接口(user-to-network interface,UNI)的对应关系。第二对应关系为第二网关设备的地址与网络中的第二转发设备的UNI的对应关系。该第一转发设备与该第一网关设备连接,该第二转发设备与该第二网关设备连接。第一网关设备的地址可以为第一网关设备的IP地址。第二网关设备的地址可以为第二网关设备的IP地址。The first correspondence is the correspondence between the address of the first gateway device and the user-to-network interface (UNI) of the first forwarding device in the network. The second correspondence is the correspondence between the address of the second gateway device and the UNI of the second forwarding device in the network. The first forwarding device is connected to the first gateway device, and the second forwarding device is connected to the second gateway device. The address of the first gateway device may be the IP address of the first gateway device. The address of the second gateway device may be the IP address of the second gateway device.
示例性的,以图4所示的网络401为例,若第一网关设备402通过转发设备404的UNI 1与转发设备404连接,第一对应关系可以如表5所示。若第二网关设备403通过转发设备405 的UNI 2与转发设备405连接,第二对应关系可以如表6所示。Exemplarily, taking the network 401 shown in FIG. 4 as an example, if the first gateway device 402 is connected to the forwarding device 404 through the UNI 1 of the forwarding device 404, the first correspondence may be as shown in Table 5. If the second gateway device 403 is connected to the forwarding device 405 through the UNI 2 of the forwarding device 405, the second corresponding relationship may be as shown in Table 6.
表5table 5
UNIUNI |
UNI对应的网关设备的地址The address of the gateway device corresponding to the |
UNI 1UNI 1 | 第一网关设备的地址The address of the first gateway device |
表6Table 6
UNIUNI | UNI对应的网关设备的地址The address of the gateway device corresponding to the UNI |
UNI 2UNI 2 | 第二网关设备的地址The address of the second gateway device |
一种可能的实现方式,控制器可以通过接口探测上述第一对应关系和第二对应关系。例如,控制器可以将包括第一网关设备的地址或第二网关设备的地址的地址解析协议(address resolution protocol,ARP)请求广播到网络中所有的设备上,并接收返回消息。后续,控制器可以根据返回消息确定第一对应关系和第二对应关系。In a possible implementation manner, the controller may detect the above-mentioned first correspondence and second correspondence through an interface. For example, the controller may broadcast an address resolution protocol (ARP) request including the address of the first gateway device or the address of the second gateway device to all devices in the network, and receive a return message. Subsequently, the controller may determine the first correspondence and the second correspondence according to the returned message.
可以理解的,后续,若第一对应关系和第二对应关系未发生变化的情况下,控制器不需要再次获取第一对应关系和第二对应关系。It can be understood that, subsequently, if the first corresponding relationship and the second corresponding relationship do not change, the controller does not need to acquire the first corresponding relationship and the second corresponding relationship again.
一种可能的实现方式,控制器根据业务需求信息,在网络中为待传输数据建立管道,包括:控制器根据业务需求信息、第一对应关系和第二对应关系在网络中为待传输数据建立管道。A possible implementation manner, the controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information, including: the controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information, the first correspondence and the second correspondence. pipeline.
示例性的,以图4所示的网络为,控制器建立的管道包括转发设备404和转发设备405。Exemplarily, taking the network shown in FIG. 4 as an example, the pipeline established by the controller includes a forwarding device 404 and a forwarding device 405 .
进一步的,控制器根据业务需求信息、第一对应关系和第二对应关系在网络中为待传输数据建立管道,包括:控制器根据业务需求信息、第一对应关系和第二对应关系确定转发资源以及N个转发设备中,每个转发设备的转发表。Further, the controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information, the first correspondence and the second correspondence, including: the controller determines the forwarding resource according to the service requirement information, the first correspondence and the second correspondence. and the forwarding table of each forwarding device among the N forwarding devices.
其中,转发资源用于指示N个转发设备以及每个转发设备使用的资源。转发设备使用的资源用于指示待传输数据的带宽、待传输数据的时隙、待传输数据对应的线程中的一种或多种。应理解,在实际应用中转发设备使用的资源还包括其他信息,不予限制。The forwarding resource is used to indicate N forwarding devices and resources used by each forwarding device. The resource used by the forwarding device is used to indicate one or more of the bandwidth of the data to be transmitted, the time slot of the data to be transmitted, and the thread corresponding to the data to be transmitted. It should be understood that in practical applications, the resources used by the forwarding device also include other information, which is not limited.
其中,转发表包括入接口的标识,以及该入接口的标识对应的出接口的标识。示例性的,以图4所示的网络为例,若转发设备404通过接口1与网关设备402连接,转发设备404通过接口2与转发设备405连接,则转发设备404对应的转发表包括:接口1,以及与接口1对应的接口2。The forwarding table includes the identifier of the inbound interface and the identifier of the outbound interface corresponding to the identifier of the inbound interface. Exemplarily, taking the network shown in FIG. 4 as an example, if the forwarding device 404 is connected to the gateway device 402 through the interface 1, and the forwarding device 404 is connected to the forwarding device 405 through the interface 2, the forwarding table corresponding to the forwarding device 404 includes: 1, and interface 2 corresponding to interface 1.
示例性的,控制器根据待传输数据的源地址、待传输数据的目的地址、第一对应关系和第二对应关系确定与第一网关设备连接的第一转发设备和与第二网关设备连接的第二转发设备;控制器根据网络拓扑和业务需求信息确定第一转发设备和第二转发设备之间的转发设备,以及第一网关设备、第二网关设备和N个转发设备中每个转发设备使用的资源和转发表。其中,第一转发设备、第二转发设备以及第一转发设备和第二转发设备之间的转发设备包括在N个转发设备中。Exemplarily, the controller determines the first forwarding device connected to the first gateway device and the first forwarding device connected to the second gateway device according to the source address of the data to be transmitted, the destination address of the data to be transmitted, the first correspondence and the second correspondence. the second forwarding device; the controller determines the forwarding device between the first forwarding device and the second forwarding device, and each forwarding device among the first gateway device, the second gateway device and the N forwarding devices according to the network topology and service requirement information Resources and forwarding tables used. The first forwarding device, the second forwarding device, and the forwarding device between the first forwarding device and the second forwarding device are included in the N forwarding devices.
可以理解的,N值不同时,网络拓扑结构不同。It can be understood that when the value of N is different, the network topology is different.
示例性的,当N为1时,第一网关设备与第二网关设备通过一个转发设备连接。Exemplarily, when N is 1, the first gateway device and the second gateway device are connected through a forwarding device.
示例性的,当N为2时,第一网关设备与第一转发设备、第二转发设备、第二网关设备依次相连。以图4为例,第一网关设备为网关设备402,第一转发设备为转发设备404,第二转发设备为转发设备405,第二网关设备为网关设备403。Exemplarily, when N is 2, the first gateway device is connected to the first forwarding device, the second forwarding device, and the second gateway device in sequence. Taking FIG. 4 as an example, the first gateway device is the gateway device 402 , the first forwarding device is the forwarding device 404 , the second forwarding device is the forwarding device 405 , and the second gateway device is the gateway device 403 .
示例性的,当N为3时,网络的拓扑结构可以如图5所示。图5中,第一网关设备为网关设备502,第一转发设备为转发设备504,第二转发设备为转发设备505,第一转发设备和第二转发设备之间的转发设备为转发设备506,第二网关设备为网关设备503。Exemplarily, when N is 3, the topology of the network may be as shown in FIG. 5 . In FIG. 5, the first gateway device is the gateway device 502, the first forwarding device is the forwarding device 504, the second forwarding device is the forwarding device 505, and the forwarding device between the first forwarding device and the second forwarding device is the forwarding device 506, The second gateway device is the gateway device 503 .
可以理解的,当N大于3时,第一转发设备和第二转发设备之间的转发设备的个数大于1,也就是说,在这种情况下,第一转发设备和第二转发设备通过多个转发设备连接。It can be understood that when N is greater than 3, the number of forwarding devices between the first forwarding device and the second forwarding device is greater than 1, that is, in this case, the first forwarding device and the second forwarding device pass through. Multiple forwarding device connections.
可以理解的,控制器根据业务需求信息、第一对应关系和第二对应关系确定转发资源以及N个转发设备中,每个转发设备的转发表之后,可以分别向N个转发设备发送N个转发设备中每个转发设备对应的转发资源和转发表。控制器还向第一网关设备发送第一网关设备对应的转发资源和转发表,向第二网关设备发送第二网关设备对应的转发资源和转发表。It can be understood that the controller determines the forwarding resources and the N forwarding devices according to the service requirement information, the first corresponding relationship and the second corresponding relationship. After the forwarding table of each forwarding device, it can send N forwardings to the N forwarding devices respectively. Forwarding resources and forwarding tables corresponding to each forwarding device in the device. The controller also sends the forwarding resource and the forwarding table corresponding to the first gateway device to the first gateway device, and sends the forwarding resource and the forwarding table corresponding to the second gateway device to the second gateway device.
示例性的,以图4所示的网络为例,控制器向网关设备402发送网关设备402对应的转发资源和转发表;控制器向转发设备404发送转发设备404对应的转发资源和转发表;控制器向转发设备405发送转发设备405对应的转发资源和转发表;控制器向网关设备403发送网关设备403对应的转发资源和转发表。Exemplarily, taking the network shown in FIG. 4 as an example, the controller sends the forwarding resource and the forwarding table corresponding to the gateway device 402 to the gateway device 402; the controller sends the forwarding resource and the forwarding table corresponding to the forwarding device 404 to the forwarding device 404; The controller sends the forwarding resource and the forwarding table corresponding to the forwarding device 405 to the forwarding device 405 ; the controller sends the forwarding resource and the forwarding table corresponding to the gateway device 403 to the gateway device 403 .
可以理解的,本申请实施例中,N个转发设备中每个转发设备对应的转发资源、第一网关设备对应的转发资源和第二网关设备对应的转发资源都是待传输数据专用的资源。也就是说,上述每个转发设备对应的转发资源、第一网关设备对应的转发资源和第二网关设备对应的转发资源是用于传输上述待传输数据的,不能用于其他业务。因此,待传输数据在管道中传输时,可以满足业务需求信息中指示的需求。It can be understood that, in this embodiment of the present application, the forwarding resources corresponding to each of the N forwarding devices, the forwarding resources corresponding to the first gateway device, and the forwarding resources corresponding to the second gateway device are all resources dedicated to data to be transmitted. That is to say, the forwarding resources corresponding to each of the forwarding devices, the forwarding resources corresponding to the first gateway device, and the forwarding resources corresponding to the second gateway device are used for transmitting the data to be transmitted, and cannot be used for other services. Therefore, when the data to be transmitted is transmitted in the pipeline, the demand indicated in the business demand information can be satisfied.
一种可能的实现方式,步骤304之后,控制器向第一网关设备发送业务需求信息的响应信息。该响应信息用于指示管道是否建立成功。第一网关设备接收到该响应信息后,向终端发送该响应信息。In a possible implementation manner, after step 304, the controller sends the response information of the service requirement information to the first gateway device. The response information is used to indicate whether the pipeline is established successfully. After receiving the response information, the first gateway device sends the response information to the terminal.
可以理解的,在步骤304之后,终端通过该管道与业务服务器通信。It can be understood that after step 304, the terminal communicates with the service server through the pipeline.
基于图3所示的方法,终端可以通过第一网关设备向控制器发送用于指示待传输数据对网络的需求的业务需求信息。控制器接收到该业务需求信息后,可以根据该业务需求信息,在网络中为待传输数据建立满足待传输数据对网络的需求的管道。其中,管道中的转发设备、第一网关设备或第二网关设备使用的转发资源都是控制器根据业务需求信息为待传输数据配置的,因此,待传输数据在该管道中传输时,可以满足待传输数据对网络的需求,另外,还可以提高网络资源的利用率。Based on the method shown in FIG. 3 , the terminal may send, to the controller through the first gateway device, service requirement information for indicating the requirement of the data to be transmitted on the network. After receiving the service requirement information, the controller can, according to the service requirement information, establish a pipeline for the data to be transmitted in the network that meets the requirement of the data to be transmitted on the network. The forwarding resources used by the forwarding device, the first gateway device or the second gateway device in the pipeline are all configured by the controller for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline, it can satisfy the The network demand of the data to be transmitted can also be improved, and the utilization rate of network resources can also be improved.
可选的,在图3所示方法的第一种可能的实现方式中,终端与业务服务器通信的过程中,上述业务需求信息会发生变化。例如,终端用户切换视频的清晰度时,业务需求信息会发生变化。此时,终端需要通过第一网关设备向控制器发送更新需求信息,以便控制器根据更新需求信息,更新原先的管道或者重新建立管道。具体的,如图6所示,图3所示的方法还包括步骤601-步骤603。Optionally, in the first possible implementation manner of the method shown in FIG. 3 , during the communication between the terminal and the service server, the above-mentioned service requirement information may change. For example, when the end user switches the resolution of the video, the service requirement information will change. At this time, the terminal needs to send the update requirement information to the controller through the first gateway device, so that the controller can update the original pipeline or re-establish the pipeline according to the update demand information. Specifically, as shown in FIG. 6 , the method shown in FIG. 3 further includes steps 601 to 603 .
步骤601:终端向第一网关设备发送更新需求信息。Step 601: The terminal sends update requirement information to the first gateway device.
其中,该更新需求信息用于指示更新后的业务需求信息。Wherein, the update requirement information is used to indicate the updated service requirement information.
一种可能的实现方式,更新需求信息包括更新后的业务需求信息。示例性的,更新需求信息包括带宽信息1、时延信息1、丢包率1和时延抖动信息1。In a possible implementation manner, the updated requirement information includes the updated business requirement information. Exemplarily, the update requirement information includes bandwidth information 1, delay information 1, packet loss rate 1, and delay jitter information 1.
另一种可能的实现方式,更新需求信息包括更新后的业务需求信息中,与上述业务需求信息不同的信息。In another possible implementation manner, the updated demand information includes information different from the above-mentioned business demand information in the updated business demand information.
示例性的,以业务需求信息包括带宽信息1、时延信息1、丢包率1和时延抖动信息1,更新后的业务需求信息包括带宽信息1、时延信息1、丢包率1和时延抖动信息2为例,则更新需求信息包括时延抖动信息2。Exemplarily, the service requirement information includes bandwidth information 1, delay information 1, packet loss rate 1 and delay jitter information 1, and the updated service requirement information includes bandwidth information 1, delay information 1, packet loss rate 1 and Taking the delay jitter information 2 as an example, the update requirement information includes the delay jitter information 2 .
可以理解的,更新需求信息还可以包括终端的地址和业务服务器的地址,以便通知控制器该更新需求信息是针对哪条管道,或那个业务需求信息的。It can be understood that the update requirement information may also include the address of the terminal and the address of the service server, so as to inform the controller which pipeline the update requirement information is for, or which service requirement information is for.
对应的,第一网关设备接收来自终端的更新需求信息。Correspondingly, the first gateway device receives the update requirement information from the terminal.
步骤602:第一网关设备向控制器发送更新需求信息。Step 602: The first gateway device sends update requirement information to the controller.
对应的,控制器接收来自第一网关设备的更新需求信息。Correspondingly, the controller receives the update requirement information from the first gateway device.
步骤603:控制器根据更新需求信息,更新上述管道,或者重新在网络中建立管道。Step 603: The controller updates the above-mentioned pipeline according to the update requirement information, or re-establishes the pipeline in the network.
可以理解的,若更新需求信息包括更新后的业务需求信息中,与上述业务需求信息不同的信息,则控制接收到更新需求信息后,会先根据更新需求信息和业务需求信息确定更新后的业务需求信息。It can be understood that if the update requirement information includes information different from the above-mentioned business requirement information in the updated business requirement information, after receiving the update requirement information, the control will first determine the updated business according to the update requirement information and the business requirement information. demand information.
示例性的,以业务需求信息包括带宽信息1、时延信息1、丢包率1和时延抖动信息1,更新需求信息包括使用抖动信息2为例,则控制器可以确定更新后的业务需求信息包括带宽信息1、时延信息1、丢包率1和时延抖动信息2。Exemplarily, taking the service requirement information including bandwidth information 1, delay information 1, packet loss rate 1, and delay jitter information 1 as an example, and the update requirement information including using jitter information 2 as an example, the controller can determine the updated service requirement. The information includes bandwidth information 1, delay information 1, packet loss rate 1, and delay jitter information 2.
可以理解的,控制器确定了更新后的业务需求信息后,可以重新在网络中建立管道,也可以不重新建立管道。若控制器确定重新建立管道,控制器会将上述步骤304中建立的管道拆除,再重新建立管道。控制器重新在网络中建立管道的过程与步骤304中建立管道的过程类似,具体的,可以参考上述步骤304中建立管道的过程,不予赘述。若控制器确定不重新建立管道,可以更新上述管道。It can be understood that, after the controller determines the updated service requirement information, it can re-establish the pipeline in the network, or it can not re-establish the pipeline. If the controller determines to re-establish the pipeline, the controller will remove the pipeline established in the above step 304, and then re-establish the pipeline. The process of the controller re-establishing the pipeline in the network is similar to the process of establishing the pipeline in step 304. For details, reference may be made to the process of establishing the pipeline in the above-mentioned step 304, which will not be repeated. If the controller determines not to re-establish the pipeline, the pipeline can be updated.
一种可能的实现方式,控制器根据更新需求信息,更新上述管道,包括:控制器根据更新需求信息和网络拓扑,确定第一网关设备对应的转发资源、第二网关设备对应的转发资源和N个转发设备中每个转发设备对应的转发资源。In a possible implementation manner, the controller updates the above-mentioned pipeline according to the update requirement information, including: the controller determines the forwarding resources corresponding to the first gateway device, the forwarding resources corresponding to the second gateway device, and N according to the update requirement information and the network topology. Forwarding resources corresponding to each forwarding device in the forwarding devices.
可以理解的,控制重新在网络中建立了管道后,分别向N个转发设备发送N个转发设备中的每个转发设备对应的转发资源和转发表,向第一网关设备发送第一网关设备对应的转发资源和转发表,向第二网关设备发送第二网关设备对应的转发资源和转发表。It can be understood that after the control re-establishes the pipeline in the network, it sends the forwarding resources and the forwarding table corresponding to each of the N forwarding devices to the N forwarding devices, and sends the corresponding forwarding table of the first gateway device to the first gateway device. The forwarding resources and forwarding table corresponding to the second gateway device are sent to the second gateway device.
可以理解的,控制更新上述管道后,向N个转发设备发送该转发设备对应的转发资源,向第一网关设备发送第一网关设备对应的转发资源,向第二网关设备发送第二网关设备对应的转发资源。It can be understood that, after controlling and updating the above-mentioned pipeline, the forwarding resources corresponding to the forwarding device are sent to the N forwarding devices, the forwarding resources corresponding to the first gateway device are sent to the first gateway device, and the corresponding forwarding resources of the second gateway device are sent to the second gateway device. forwarding resources.
一种可能的实现方式,步骤603之后,控制器向第一网关设备发送更新需求信息的响应信息。该响应信息用于指示管道是否更新成功,或者管道是否重新建立成功。第一网关设备接收到该响应信息后,向终端发送该响应信息。In a possible implementation manner, after step 603, the controller sends response information for updating the requirement information to the first gateway device. The response information is used to indicate whether the pipeline is updated successfully, or whether the pipeline is re-established successfully. After receiving the response information, the first gateway device sends the response information to the terminal.
可以理解的,在步骤603之后,终端通过该更新后的管道,或重新建立的管道与业务服务器通信。It can be understood that after step 603, the terminal communicates with the service server through the updated pipeline or the re-established pipeline.
基于图6所示的方法,当业务需求信息发生变化时,终端可以通过第一网关设备向控制器发送更新需求信息。控制器接收到该更新需求信息后,可以根据该更新需求信息,更新原先建立的管道,或者重新建立管道。如此,当待传输数据在更新后的管道或重新建立的管道中传输时,可以满足待传输数据对网络的新需求。Based on the method shown in FIG. 6 , when the service requirement information changes, the terminal may send the update requirement information to the controller through the first gateway device. After receiving the update requirement information, the controller can update the originally established pipeline or re-establish the pipeline according to the update requirement information. In this way, when the data to be transmitted is transmitted in the updated pipeline or the re-established pipeline, the new demand of the data to be transmitted on the network can be satisfied.
可选的,在图3所示方法的第二种可能的实现方式中,终端与业务服务器结束通信时,终端可以通过第一网关设备向控制器发送访问结束通知消息,以便控制器拆除管道。具体的,如图7所示,图3所示的方法还包括步骤701-步骤703。Optionally, in the second possible implementation manner of the method shown in FIG. 3 , when the terminal ends communication with the service server, the terminal may send an access end notification message to the controller through the first gateway device, so that the controller removes the pipeline. Specifically, as shown in FIG. 7 , the method shown in FIG. 3 further includes steps 701 to 703 .
步骤701:终端向第一网关设备发送访问结束通知消息。Step 701: The terminal sends an access end notification message to the first gateway device.
其中,访问结束通知消息用于指示拆除控制器为终端和业务服务器建立的管道。The access end notification message is used to instruct to remove the pipeline established by the controller for the terminal and the service server.
一种可能的实现方式,访问结束通知消息包括终端的地址和业务服务器的地址,以便通知控制器该访问结束通知消息是针对哪条管道,或针对哪个业务需求信息的。In a possible implementation manner, the access end notification message includes the address of the terminal and the address of the service server, so as to notify the controller which pipeline or service requirement information the access end notification message is for.
对应的,第一网关设备接收来自终端的访问结束通知消息。Correspondingly, the first gateway device receives an access end notification message from the terminal.
步骤702:第一网关设备向控制器发送访问结束通知消息。Step 702: The first gateway device sends an access end notification message to the controller.
对应的,控制器接收来自第一网关设备的访问结束通知消息。Correspondingly, the controller receives an access end notification message from the first gateway device.
步骤703:控制器根据访问结束通知消息拆除上述管道。Step 703: The controller removes the above-mentioned pipeline according to the access end notification message.
示例性的,控制器向N个转发设备、第一网关设备和第二网关设备发送指示信息。该指示信息用于指示删除每个设备上的为待传输数据配置的转发资源和转发表。Exemplarily, the controller sends indication information to the N forwarding devices, the first gateway device and the second gateway device. The indication information is used to instruct to delete the forwarding resource and forwarding table configured for the data to be transmitted on each device.
可以理解的,上述步骤701-步骤703也可以在步骤603之后执行。It can be understood that the above steps 701 to 703 can also be executed after step 603 .
基于图7所示的方法,终端与业务服务器结束通信时,终端可以通过第一网关设备向控制器发送访问结束通知消息,以便控制器根据该访问结束通知消息拆除管道。如此,上述N个转发设备或N个转发设备对应的转发资源后续可以被分配给其他业务,可以提高网络中转发设备的利用率,以及资源的利用率。Based on the method shown in FIG. 7 , when the terminal ends communication with the service server, the terminal can send an access end notification message to the controller through the first gateway device, so that the controller removes the pipe according to the access end notification message. In this way, the N forwarding devices or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
上述图7所示的方法中,终端在通信结束时,通过第一网关设备通知控制器拆除管道。除此之外,在图3所示方法的第三种可能的实现方式中,第一网关设备也可以通知控制器拆除管道。在这种情况下,第一网关设备可以具备监控终端对网络的使用情况的功能。具体的,如图8所示,图3所示的方法还包括步骤801-步骤803。In the above method shown in FIG. 7 , when the communication ends, the terminal notifies the controller to remove the pipeline through the first gateway device. Besides, in a third possible implementation manner of the method shown in FIG. 3 , the first gateway device may also notify the controller to remove the pipeline. In this case, the first gateway device may have the function of monitoring the usage of the network by the terminal. Specifically, as shown in FIG. 8 , the method shown in FIG. 3 further includes steps 801 to 803 .
步骤801:第一网关设备确定停止使用控制器为待传输数据建立的管道。Step 801: The first gateway device determines to stop using the pipe established by the controller for the data to be transmitted.
第一网关设备可以在下述示例性的情况下,确定停止使用控制器为待传输数据建立的管道。The first gateway device may determine to stop using the pipe established by the controller for the data to be transmitted under the following exemplary circumstances.
示例性的,在预设时间内,第一网关设备未检测到终端通过管道与业务服务器通信,第一网关设备确定停止使用控制器为待传输数据建立的管道。Exemplarily, within a preset time, the first gateway device does not detect that the terminal communicates with the service server through the pipeline, and the first gateway device determines to stop using the pipeline established by the controller for the data to be transmitted.
示例性的,第一网关设备检测到终端会员身份到期时,确定停止使用控制器为待传输数据建立的管道。Exemplarily, when the first gateway device detects that the terminal membership expires, it determines to stop using the pipe established by the controller for the data to be transmitted.
示例性的,第一网关设备检测到终端的账户余额小于或等于门限值时,确定停止使用控制器为待传输数据建立的管道。Exemplarily, when the first gateway device detects that the account balance of the terminal is less than or equal to the threshold value, it determines to stop using the pipe established by the controller for the data to be transmitted.
步骤802:第一网关设备向控制器发送访问结束通知消息。Step 802: The first gateway device sends an access end notification message to the controller.
其中,访问结束通知消息用于指示拆除控制器为终端和业务服务器建立的管道。The access end notification message is used to instruct to remove the pipeline established by the controller for the terminal and the service server.
一种可能的实现方式,访问结束通知消息包括终端的地址和业务服务器的地址,以便通知控制器该访问结束通知消息是针对哪条管道,或针对哪个业务需求信息的。In a possible implementation manner, the access end notification message includes the address of the terminal and the address of the service server, so as to notify the controller which pipeline or service requirement information the access end notification message is for.
对应的,控制器接收来自第一网关设备的访问结束通知消息。Correspondingly, the controller receives an access end notification message from the first gateway device.
步骤803:控制器根据访问结束通知消息拆除上述管道。Step 803: The controller removes the above-mentioned pipe according to the access end notification message.
示例性的,控制器向N个转发设备、第一网关设备和第二网关设备发送指示信息。该指示信息用于指示删除每个设备上的为待传输数据配置的转发资源和转发表。Exemplarily, the controller sends indication information to the N forwarding devices, the first gateway device and the second gateway device. The indication information is used to instruct to delete the forwarding resource and forwarding table configured for the data to be transmitted on each device.
可以理解的,上述步骤801-步骤803也可以在步骤603之后执行。It can be understood that the above steps 801 to 803 can also be executed after step 603 .
基于图8所示的方法,第一网关设备确定停止使用控制器为待传输数据建立的管道后,可以向控制器发送访问结束通知消息,以便控制器根据该访问结束通知消息拆除管道。如此,上述N个转发设备或N个转发设备对应的转发资源后续可以被分配给其他业务,可以提高网络中转发设备的利用率,以及资源的利用率。Based on the method shown in FIG. 8 , after the first gateway device determines to stop using the pipe established by the controller for the data to be transmitted, it can send an access end notification message to the controller, so that the controller removes the pipe according to the access end notification message. In this way, the N forwarding devices or the forwarding resources corresponding to the N forwarding devices can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices and the utilization rate of the resources in the network.
可以理解的,在常规技术中,终端与业务服务器通过三次握手建立连接后,由于不知道网络的传输能力,终端和业务服务器通信时,会采用试探的方法传输数据。It can be understood that, in the conventional technology, after the terminal and the service server establish a connection through three-way handshake, since the terminal does not know the transmission capability of the network, when the terminal communicates with the service server, a tentative method is used to transmit data.
以业务服务器向终端发送数据为例,一开始业务服务器采用第一带宽向终端发送数据。在预设时间内,丢包率小于或等于阈值时,业务服务器采用第二带宽向终端发送数据,第二带宽大于第一带宽。若在预设时间内,丢包率小于或等于阈值,业务服务器采用第三带宽向 终端发送数据,第三带宽大于第二带宽;若在预设时间内,丢包率大于或等于阈值,业务服务器采用第四带宽向终端发送数据,第四带宽小于第二带宽。因此,在常规技术中,业务服务器向终端发送数据的过程中,吞吐量可以如图9A所示。在上述过程中,业务服务器要不断试探合适的带宽,会经常出现丢包的情况,而且,在数据开始传输的一段时间内,为了避免丢包,业务服务器使用的带宽较小,会产生时延。基于上述问题,终端可以与业务服务器协商网络参数,并通过协商后的网络参数通信。Taking the service server sending data to the terminal as an example, initially the service server uses the first bandwidth to send data to the terminal. Within the preset time, when the packet loss rate is less than or equal to the threshold, the service server uses the second bandwidth to send data to the terminal, and the second bandwidth is greater than the first bandwidth. If the packet loss rate is less than or equal to the threshold within the preset time, the service server uses the third bandwidth to send data to the terminal, and the third bandwidth is greater than the second bandwidth; if the packet loss rate is greater than or equal to the threshold within the preset time, the service The server uses a fourth bandwidth to send data to the terminal, and the fourth bandwidth is smaller than the second bandwidth. Therefore, in the conventional technology, in the process of the service server sending data to the terminal, the throughput can be as shown in FIG. 9A . In the above process, the service server has to constantly try to find the appropriate bandwidth, and packet loss will often occur. Moreover, within a period of time when the data starts to be transmitted, in order to avoid packet loss, the bandwidth used by the service server is small, which will cause delay. . Based on the above problem, the terminal can negotiate network parameters with the service server, and communicate through the negotiated network parameters.
可选的,在图3所示方法的第四种可能的实现方式中,终端可以通过管道通知业务服务器管道的网络参数,以便终端和业务服务器根据该网络参数通信。具体的,如图10所示,图3所示的方法还包括步骤1001-步骤1002。Optionally, in a fourth possible implementation manner of the method shown in FIG. 3 , the terminal may notify the service server of the network parameters of the pipe through the pipe, so that the terminal and the service server communicate according to the network parameters. Specifically, as shown in FIG. 10 , the method shown in FIG. 3 further includes steps 1001 to 1002 .
步骤1001:终端向业务服务器发送协商信息。Step 1001: The terminal sends negotiation information to the service server.
其中,协商信息用于通知业务服务器,管道的网络参数。示例性的,协商信息包括以下信息中的至少一种:带宽信息、时延信息或丢包率。其中,带宽信息用于指示该管道对应的带宽,时延信息用于指示该管道对应的时延,该丢包率为该管道对应的丢包率。The negotiation information is used to notify the service server of the network parameters of the pipeline. Exemplarily, the negotiation information includes at least one of the following information: bandwidth information, delay information or packet loss rate. The bandwidth information is used to indicate the bandwidth corresponding to the pipe, the delay information is used to indicate the delay corresponding to the pipe, and the packet loss rate is the packet loss rate corresponding to the pipe.
一种可能的实现方式,终端通过管道向业务服务器发送协商信息。In a possible implementation manner, the terminal sends negotiation information to the service server through a pipeline.
一种可能的实现方式,终端与业务服务器进行三次握手并建立连接之后,向业务服务器发送协商信息。In a possible implementation manner, after the terminal performs three-way handshake with the service server and establishes a connection, the terminal sends negotiation information to the service server.
对应的,业务服务器接收来自终端的协商信息。Correspondingly, the service server receives the negotiation information from the terminal.
步骤1002:终端根据网络参数与业务服务器通信。Step 1002: The terminal communicates with the service server according to the network parameters.
一种可能的实现方式,终端通过管道与业务服务器通信。In a possible implementation manner, the terminal communicates with the service server through a pipeline.
可以理解的,此时终端和业务服务器都知道了该管道的网络参数,因此,终端和业务服务器不需要采用试探的方法传输数据,而是采用上述管道的网络参数传输数据。在这种情况下,吞吐量可以如图9B所示。It is understandable that both the terminal and the service server know the network parameters of the pipeline at this time. Therefore, the terminal and the service server do not need to use a tentative method to transmit data, but use the network parameters of the pipeline to transmit data. In this case, the throughput can be as shown in Figure 9B.
基于图10所示的方法,终端可以通知业务服务器管道的网络参数,并和业务服务器根据该网络参数通信。如此,终端根据该网络参数和业务服务器通信时,可以获得较大,较稳定的吞吐量,并减少试探传输带来的丢包和时延。Based on the method shown in FIG. 10 , the terminal can notify the service server of the network parameters of the pipeline, and communicate with the service server according to the network parameters. In this way, when the terminal communicates with the service server according to the network parameters, a larger and more stable throughput can be obtained, and packet loss and delay caused by the tentative transmission can be reduced.
上述图3、图6、图7、图8和图10所示方法是以图1A所示的通信系统为例的。下面以图1B所示的通信系统为例介绍本申请实施例提供的建立管道的方法。The above-mentioned methods shown in FIG. 3 , FIG. 6 , FIG. 7 , FIG. 8 and FIG. 10 take the communication system shown in FIG. 1A as an example. The method for establishing a pipeline provided by an embodiment of the present application is described below by taking the communication system shown in FIG. 1B as an example.
可以理解的,图1B所示的通信系统中,终端和业务服务器通过两个不同域的网络通信的。在实际应用中,终端和业务服务器还可以通过三个或更多个不同域的网络通信。这种情况下建立管道的方法,与终端和业务服务器通过两个不同域的网络通信时,建立管道的方法类似,因此,可以参考下述图11-图15所示的方法。It can be understood that, in the communication system shown in FIG. 1B , the terminal and the service server communicate through two networks of different domains. In practical applications, the terminal and the service server may also communicate through three or more networks of different domains. The method for establishing a pipeline in this case is similar to the method for establishing a pipeline when the terminal and the service server communicate through networks of two different domains. Therefore, refer to the methods shown in Figures 11-15 below.
如图11所示,为本申请实施例提供的另一种建立管道的方法。该方法包括步骤1101-步骤1108。As shown in FIG. 11 , another method for establishing a pipeline is provided in this embodiment of the present application. The method includes steps 1101-1108.
步骤1101:终端105获取业务需求信息。Step 1101: The terminal 105 obtains service requirement information.
步骤1102:终端105向网关设备1071发送业务需求信息。Step 1102 : the terminal 105 sends the service requirement information to the gateway device 1071 .
步骤1103:网关设备1071向控制器1073发送业务需求信息。Step 1103: The gateway device 1071 sends the service requirement information to the controller 1073.
步骤1104:控制器1073根据业务需求信息,在网络107中为待传输数据建立管道1。Step 1104: The controller 1073 establishes a pipeline 1 in the network 107 for the data to be transmitted according to the service requirement information.
上述步骤1101-步骤1104的介绍可以参考上述步骤301-步骤304中对应的描述,不予赘述。For the introduction of the above steps 1101 to 1104, reference may be made to the corresponding descriptions of the above steps 301 to 304, which will not be repeated.
步骤1105:网关设备1071通过至少一个转发设备向网关设备1072发送业务需求信息。Step 1105: The gateway device 1071 sends the service requirement information to the gateway device 1072 through at least one forwarding device.
其中,该至少一个转发设备包括在网络107中。Wherein, the at least one forwarding device is included in the network 107 .
对应的,网关设备1072通过至少一个转发设备接收来自网关设备1071的业务需求信息。Correspondingly, the gateway device 1072 receives the service requirement information from the gateway device 1071 through at least one forwarding device.
需要说明的是,本申请实施例不限制步骤1103-步骤1104,和步骤1105的执行顺序。例如,可以先执行步骤1103-步骤1104,再执行步骤1105,也可以先执行步骤1105,再执行步骤1103-步骤1104,还可以同时执行步骤1103-步骤1104,以及步骤1105。It should be noted that this embodiment of the present application does not limit the execution order of steps 1103 to 1104 and step 1105 . For example, steps 1103-1104 may be performed first, followed by step 1105, or steps 1105 may be performed first, followed by steps 1103-1104, or steps 1103-1104 and step 1105 may be performed simultaneously.
步骤1106:网关设备1072向网关设备1081发送业务需求信息。Step 1106: The gateway device 1072 sends the service requirement information to the gateway device 1081.
对应的,网关设备1081接收来自网关设备1072的业务需求信息。Correspondingly, the gateway device 1081 receives the service requirement information from the gateway device 1072 .
步骤1107:网关设备1081向控制器1083发送业务需求信息。Step 1107: The gateway device 1081 sends the service requirement information to the controller 1083.
步骤1108:控制器1083根据业务需求信息,在网络108中为待传输数据建立管道2。Step 1108: The controller 1083 establishes a pipeline 2 in the network 108 for the data to be transmitted according to the service requirement information.
上述步骤1107-步骤1108的介绍可以参考上述步骤303-步骤304中对应的描述,不予赘述。For the introduction of the above steps 1107 to 1108, reference may be made to the corresponding descriptions of the above steps 303 to 304, which will not be repeated.
基于图11所示的方法,终端105可以通过网关设备1071向控制器1073发送用于指示待传输数据对网络的需求的业务需求信息。控制器1073接收到该业务需求信息后,可以根据该业务需求信息,在网络107中为待传输数据建立满足待传输数据对网络的需求的管道1。终端105还可以通过网关设备1071、网关设备1072和网关设备1081向控制器1083发送用于指示待传输数据对网络的需求的业务需求信息。控制器1083接收到该业务需求信息后,可以根据该业务需求信息,在网络108中为待传输数据建立满足待传输数据对网络的需求的管道2。其中,管道1中的转发设备、网关设备1071或网关设备1072使用的转发资源都是控制器1073根据业务需求信息为待传输数据配置的。管道2中的转发设备、网关设备1081或网关设备1082使用的转发资源都是控制器1083根据业务需求信息为待传输数据配置的。因此,待传输数据在该管道1和管道2中传输时,可以满足待传输数据对网络的需求,另外,还可以提高网络资源的利用率。Based on the method shown in FIG. 11 , the terminal 105 may send the service requirement information to the controller 1073 through the gateway device 1071 for indicating the requirement of the data to be transmitted on the network. After receiving the service requirement information, the controller 1073 can establish a pipeline 1 for the data to be transmitted in the network 107 that meets the network requirement of the data to be transmitted according to the service requirement information. The terminal 105 may also send, to the controller 1083 through the gateway device 1071 , the gateway device 1072 and the gateway device 1081 , service requirement information for indicating the network requirements of the data to be transmitted. After receiving the service requirement information, the controller 1083 can establish a pipeline 2 for the data to be transmitted in the network 108 that meets the network requirement of the data to be transmitted according to the service requirement information. The forwarding resources used by the forwarding device, the gateway device 1071 or the gateway device 1072 in the pipeline 1 are all configured by the controller 1073 for the data to be transmitted according to the service requirement information. The forwarding resources used by the forwarding device, the gateway device 1081 or the gateway device 1082 in the pipeline 2 are all configured by the controller 1083 for the data to be transmitted according to the service requirement information. Therefore, when the data to be transmitted is transmitted in the pipeline 1 and the pipeline 2, the demand of the data to be transmitted on the network can be met, and in addition, the utilization rate of network resources can be improved.
可选的,在图11所示方法的第一种可能的实现方式中,终端105与业务服务器106通信的过程中,上述业务需求信息会发生变化。例如,终端105用户切换视频的清晰度时,业务需求信息会发生变化。此时,终端105需要通过网关设备1071向控制器1073发送更新需求信息,以便控制器1073根据更新需求信息,更新原先的管道1或者重新建立管道3。终端105还需要通过网关设备1071、网关设备1072和网关设备1081向控制器1083发送更新需求信息,以便控制器1083根据更新需求信息,更新原先的管道2或者重新建立管道4。具体的,如图12所示,图11所示的方法还包括步骤1201-步骤1207。Optionally, in the first possible implementation manner of the method shown in FIG. 11 , during the communication between the terminal 105 and the service server 106 , the above-mentioned service requirement information will change. For example, when the user of the terminal 105 switches the definition of the video, the service requirement information will change. At this time, the terminal 105 needs to send the update requirement information to the controller 1073 through the gateway device 1071, so that the controller 1073 updates the original pipe 1 or re-establishes the pipe 3 according to the update requirement information. The terminal 105 also needs to send the update requirement information to the controller 1083 through the gateway device 1071, the gateway device 1072 and the gateway device 1081, so that the controller 1083 can update the original pipeline 2 or re-establish the pipeline 4 according to the update demand information. Specifically, as shown in FIG. 12 , the method shown in FIG. 11 further includes steps 1201 to 1207 .
步骤1201:终端105向网关设备1071发送更新需求信息。Step 1201 : the terminal 105 sends the update requirement information to the gateway device 1071 .
步骤1202:网关设备1071向控制器1073发送更新需求信息。Step 1202: The gateway device 1071 sends the update requirement information to the controller 1073.
步骤1203:控制器1073根据更新需求信息,更新上述管道1,或者重新在网络107中建立管道3。Step 1203 : The controller 1073 updates the above-mentioned pipeline 1 according to the update requirement information, or re-establishes the pipeline 3 in the network 107 .
上述步骤1201-步骤1203的介绍可以参考上述步骤601-步骤603中对应的描述,不予赘述。For the introduction of the above steps 1201 to 1203, reference may be made to the corresponding descriptions of the above steps 601 to 603, and details are not repeated.
步骤1204:网关设备1071通过至少一个转发设备向网关设备1072发送更新需求信息。Step 1204: The gateway device 1071 sends the update requirement information to the gateway device 1072 through at least one forwarding device.
其中,该至少一个转发设备包括在网络107中。Wherein, the at least one forwarding device is included in the network 107 .
对应的,网关设备1072通过至少一个转发设备接收来自网关设备1071的更新需求信息。Correspondingly, the gateway device 1072 receives the update requirement information from the gateway device 1071 through at least one forwarding device.
需要说明的是,本申请实施例不限制步骤1202-步骤1203,和步骤1204的执行顺序。例如,可以先执行步骤1202-步骤1203,再执行步骤1204,也可以先执行步骤1204,再执行步骤1202-步骤1203,还可以同时执行步骤1202-步骤1203,以及步骤1204。It should be noted that this embodiment of the present application does not limit the execution order of steps 1202 to 1203 and step 1204 . For example, step 1202-step 1203 may be performed first, and then step 1204 may be performed, or step 1204 may be performed first, then step 1202-step 1203 may be performed, or step 1202-step 1203 and step 1204 may be performed simultaneously.
步骤1205:网关设备1072向网关设备1081发送更新需求信息。Step 1205: The gateway device 1072 sends the update requirement information to the gateway device 1081.
对应的,网关设备1081接收来自网关设备1072的更新需求信息。Correspondingly, the gateway device 1081 receives the update requirement information from the gateway device 1072 .
步骤1206:网关设备1081向控制器1083发送更新需求信息。Step 1206: The gateway device 1081 sends the update requirement information to the controller 1083.
步骤1207:控制器1083根据更新需求信息,更新上述管道2,或者重新在网络108中建立管道4。Step 1207 : The controller 1083 updates the above-mentioned pipeline 2 according to the update requirement information, or re-establishes the pipeline 4 in the network 108 .
上述步骤1206-步骤1207的介绍可以参考上述步骤602-步骤603中对应的描述,不予赘述。For the introduction of the above steps 1206 to 1207, reference may be made to the corresponding descriptions of the above steps 602 to 603, and details are not repeated.
基于图12所示的方法,当业务需求信息发生变化时,终端105可以通过网关设备1071向控制器1073发送更新需求信息。控制器1073接收到该更新需求信息后,可以根据该更新需求信息,更新原先建立的管道1,或者重新建立管道3。终端105还可以通过网关设备1071、网关设备1072和网关设备1081向控制器1083发送更新需求信息。控制器1083接收到该更新需求信息后,可以根据该更新需求信息,更新原先建立的管道2,或者重新建立管道4。如此,当待传输数据在更新后的管道1或重新建立的管道3中传输时,可以满足待传输数据对网络的新需求,当待传输数据在更新后的管道2或重新建立的管道4中传输时,可以满足待传输数据对网络的新需求。Based on the method shown in FIG. 12 , when the service requirement information changes, the terminal 105 can send the update requirement information to the controller 1073 through the gateway device 1071 . After receiving the update requirement information, the controller 1073 can update the previously established pipeline 1 or re-establish the pipeline 3 according to the update requirement information. The terminal 105 may also send the update requirement information to the controller 1083 through the gateway device 1071 , the gateway device 1072 and the gateway device 1081 . After receiving the update requirement information, the controller 1083 can update the originally established pipeline 2 or re-establish the pipeline 4 according to the update demand information. In this way, when the data to be transmitted is transmitted in the updated pipeline 1 or the re-established pipeline 3, the new requirements of the network for the data to be transmitted can be satisfied. When the data to be transmitted is transmitted in the updated pipeline 2 or the re-established pipeline 4 During transmission, it can meet the new demands of the data to be transmitted on the network.
可选的,在图11所示方法的第二种可能的实现方式中,终端105与业务服务器106结束通信时,终端105可以通过网关设备1071向控制器1073发送访问结束通知消息,以便控制器1073拆除管道1。终端105还可以通过网关设备1071、网关设备1072和网关设备1081向控制器1083发送访问结束通知消息,以便控制器1083拆除管道2。具体的,如图13所示,图11所示的方法还包括步骤1301-步骤1307。Optionally, in the second possible implementation manner of the method shown in FIG. 11 , when the terminal 105 ends the communication with the service server 106, the terminal 105 may send an access end notification message to the controller 1073 through the gateway device 1071, so that the controller 1073 Pipe 1 removed. The terminal 105 may also send an access end notification message to the controller 1083 through the gateway device 1071 , the gateway device 1072 and the gateway device 1081 , so that the controller 1083 removes the pipe 2 . Specifically, as shown in FIG. 13 , the method shown in FIG. 11 further includes steps 1301 to 1307 .
步骤1301:终端105向网关设备1071发送访问结束通知消息。Step 1301 : The terminal 105 sends an access end notification message to the gateway device 1071 .
步骤1302:网关设备1071向控制器1073发送访问结束通知消息。Step 1302: The gateway device 1071 sends an access end notification message to the controller 1073.
步骤1303:控制器1073根据访问结束通知消息拆除上述管道1。Step 1303: The controller 1073 removes the above-mentioned pipe 1 according to the access end notification message.
上述步骤1301-步骤1303的介绍可以参考上述步骤701-步骤703中对应的描述,不予赘述。For the introduction of the above steps 1301 to 1303, reference may be made to the corresponding descriptions of the above steps 701 to 703, and details are not repeated.
步骤1304:网关设备1071通过至少一个转发设备向网关设备1072发送访问结束通知消息。Step 1304: The gateway device 1071 sends an access end notification message to the gateway device 1072 through at least one forwarding device.
其中,该至少一个转发设备包括在网络107中。Wherein, the at least one forwarding device is included in the network 107 .
对应的,网关设备1072通过至少一个转发设备接收来自网关设备1071的访问结束通知消息。Correspondingly, the gateway device 1072 receives the access end notification message from the gateway device 1071 through at least one forwarding device.
需要说明的是,本申请实施例不限制步骤1302-步骤1303,和步骤1304的执行顺序。例如,可以先执行步骤1302-步骤1303,再执行步骤1304,也可以先执行步骤1304,再执行步骤1302-步骤1303,还可以同时执行步骤1302-步骤1303,以及步骤1304。It should be noted that this embodiment of the present application does not limit the execution order of steps 1302 to 1303 and step 1304 . For example, steps 1302-1303 may be performed first, followed by step 1304, or steps 1304 may be performed first, followed by steps 1302-1303, or steps 1302-1303 and step 1304 may be performed simultaneously.
步骤1305:网关设备1072向网关设备1081发送访问结束通知消息。Step 1305: The gateway device 1072 sends an access end notification message to the gateway device 1081.
对应的,网关设备1081接收来自网关设备1072的访问结束通知消息。Correspondingly, the gateway device 1081 receives the access end notification message from the gateway device 1072 .
步骤1306:网关设备1081向控制器1083发送访问结束通知消息。Step 1306: The gateway device 1081 sends an access end notification message to the controller 1083.
步骤1307:控制器1083根据访问结束通知消息拆除上述管道2。Step 1307: The controller 1083 removes the above-mentioned pipe 2 according to the access end notification message.
上述步骤1306-步骤1307的介绍可以参考上述步骤702-步骤703中对应的描述,不予赘述。For the introduction of the above steps 1306 to 1307, reference may be made to the corresponding descriptions of the above steps 702 to 703, and details are not repeated.
基于图13所示的方法,终端105与业务服务器106结束通信时,终端105可以通过网关设备1071向控制器1073发送访问结束通知消息,以便控制器1073根据该访问结束通知消息拆除管道1。终端105可以通过网关设备1071、网关设备1072和网关设备1081向控制器1083 发送访问结束通知消息,以便控制器1083根据该访问结束通知消息拆除管道2。如此,上述管道1和管道2中的转发设备或管道1和管道2中的转发设备对应的转发资源后续可以被分配给其他业务,可以提高网络中转发设备的利用率,以及资源的利用率。Based on the method shown in FIG. 13 , when the terminal 105 ends the communication with the service server 106, the terminal 105 can send an access end notification message to the controller 1073 through the gateway device 1071, so that the controller 1073 can remove the pipe 1 according to the access end notification message. The terminal 105 may send an access end notification message to the controller 1083 through the gateway device 1071, the gateway device 1072 and the gateway device 1081, so that the controller 1083 removes the pipe 2 according to the access end notification message. In this way, the forwarding resources corresponding to the forwarding devices in the above-mentioned pipes 1 and 2 or the forwarding devices in the pipes 1 and 2 can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices in the network and the utilization rate of resources.
上述图13所示的方法中,终端105在通信结束时,通过网关设备1071通知控制器1073拆除管道1,通过网关设备1071、网关设备1072和网关设备1081通知控制器1083拆除管道2。除此之外,在图11所示方法的第三种可能的实现方式中,网关设备1071也可以通知控制器1073拆除管道1,网关设备1071还可以通过网关设备1072和网关设备1081通知控制器1083拆除管道2。在这种情况下,网关设备1071可以具备监控终端105对网络107的使用情况的功能。具体的,如图14所示,图11所示的方法还包括步骤1401-步骤1407。In the above method shown in FIG. 13 , when the communication ends, the terminal 105 notifies the controller 1073 to remove the pipe 1 through the gateway device 1071 , and notifies the controller 1083 to remove the pipe 2 through the gateway device 1071 , the gateway device 1072 and the gateway device 1081 . In addition, in the third possible implementation manner of the method shown in FIG. 11 , the gateway device 1071 can also notify the controller 1073 to remove the pipe 1, and the gateway device 1071 can also notify the controller through the gateway device 1072 and the gateway device 1081 1083 Remove pipe 2. In this case, the gateway device 1071 may have a function of monitoring the usage of the network 107 by the terminal 105 . Specifically, as shown in FIG. 14 , the method shown in FIG. 11 further includes steps 1401 to 1407 .
步骤1401:网关设备1071确定停止使用控制器1073为待传输数据建立的管道1,以及控制器1083为待传输数据建立的管道2。Step 1401: The gateway device 1071 determines to stop using the pipe 1 established by the controller 1073 for the data to be transmitted and the pipe 2 established by the controller 1083 for the data to be transmitted.
步骤1402:网关设备1071向控制器1073发送访问结束通知消息。Step 1402: The gateway device 1071 sends an access end notification message to the controller 1073.
步骤1403:控制器1073根据访问结束通知消息拆除上述管道1。Step 1403: The controller 1073 removes the above-mentioned pipe 1 according to the access end notification message.
上述步骤1401-步骤1403的介绍可以参考上述步骤801-步骤803中对应的描述,不予赘述。For the introduction of the above steps 1401 to 1403, reference may be made to the corresponding descriptions of the above steps 801 to 803, and details are not repeated.
步骤1404:网关设备1071通过至少一个转发设备向网关设备1072发送访问结束通知消息。Step 1404: The gateway device 1071 sends an access end notification message to the gateway device 1072 through at least one forwarding device.
其中,该至少一个转发设备包括在网络107中。Wherein, the at least one forwarding device is included in the network 107 .
对应的,网关设备1072通过至少一个转发设备接收来自网关设备1071的访问结束通知消息。Correspondingly, the gateway device 1072 receives the access end notification message from the gateway device 1071 through at least one forwarding device.
需要说明的是,本申请实施例不限制步骤1402-步骤1403,和步骤1404的执行顺序。例如,可以先执行步骤1402-步骤1403,再执行步骤1404,也可以先执行步骤1404,再执行步骤1402-步骤1403,还可以同时执行步骤1402-步骤1403,以及步骤1404。It should be noted that this embodiment of the present application does not limit the execution order of steps 1402 to 1403 and step 1404 . For example, steps 1402-1403 may be performed first, followed by step 1404, or steps 1404 may be performed first, followed by steps 1402-1403, or steps 1402-1403 and step 1404 may be performed simultaneously.
步骤1405:网关设备1072向网关设备1081发送访问结束通知消息。Step 1405: The gateway device 1072 sends an access end notification message to the gateway device 1081.
对应的,网关设备1081接收来自网关设备1072的访问结束通知消息。Correspondingly, the gateway device 1081 receives the access end notification message from the gateway device 1072 .
步骤1406:网关设备1081向控制器1083发送访问结束通知消息。Step 1406: The gateway device 1081 sends an access end notification message to the controller 1083.
步骤1407:控制器1083根据访问结束通知消息拆除上述管道2。Step 1407: The controller 1083 removes the above-mentioned pipe 2 according to the access end notification message.
上述步骤1406-步骤1407的介绍可以参考上述步骤802-步骤803中对应的描述,不予赘述。For the introduction of the above steps 1406 to 1407, reference may be made to the corresponding descriptions of the above steps 802 to 803, and details are not repeated.
基于图14所示的方法,网关设备1071确定停止使用控制器1073为待传输数据建立的管道1,以及控制器1083为待传输数据建立的管道2后,可以向控制器1073发送访问结束通知消息,以便控制器1073根据该访问结束通知消息拆除管道1。还可以通过网关设备1072和网关设备1082向控制器1083发送访问结束通知消息,以便控制器1083根据该访问结束通知消息拆除管道2。如此,上述管道1和管道2中的转发设备或管道1和管道2中的转发设备对应的转发资源后续可以被分配给其他业务,可以提高网络中转发设备的利用率,以及资源的利用率。Based on the method shown in FIG. 14 , after the gateway device 1071 determines to stop using the pipe 1 established by the controller 1073 for the data to be transmitted and the pipe 2 established by the controller 1083 for the data to be transmitted, it can send an access end notification message to the controller 1073 , so that the controller 1073 removes the pipe 1 according to the access end notification message. An access end notification message may also be sent to the controller 1083 through the gateway device 1072 and the gateway device 1082, so that the controller 1083 removes the pipe 2 according to the access end notification message. In this way, the forwarding resources corresponding to the forwarding devices in the above-mentioned pipes 1 and 2 or the forwarding devices in the pipes 1 and 2 can be subsequently allocated to other services, which can improve the utilization rate of the forwarding devices in the network and the utilization rate of resources.
可以理解的,在常规技术中,终端105与业务服务器106通过三次握手建立连接后,由于不知道网络的传输能力,终端105和业务服务器106通信时,会采用试探的方法传输数据。采用试探的方法传输数据的介绍可以参考上述图10所示方法中的介绍。在终端105和业务服务器106采用试探的方法传输数据的过程中,会经常出现丢包的情况,而且,在数据开始传输的一段时间内,为了避免丢包,使用的带宽较小,会产生时延。基于上述问题,终端105 可以与业务服务器106协商网络参数,并通过协商后的网络参数通信。It can be understood that in the conventional technology, after the terminal 105 and the service server 106 establish a connection through three-way handshake, since the terminal 105 does not know the transmission capability of the network, when communicating with the service server 106, the terminal 105 and the service server 106 will use a tentative method to transmit data. For the introduction of using the heuristic method to transmit data, reference may be made to the introduction in the method shown in FIG. 10 above. In the process that the terminal 105 and the service server 106 transmit data using the heuristic method, packet loss often occurs. Moreover, in a period of time when the data starts to be transmitted, in order to avoid packet loss, the bandwidth used is relatively small, which may occur when extension. Based on the above problem, the terminal 105 may negotiate network parameters with the service server 106, and communicate through the negotiated network parameters.
可选的,在图11所示方法的第四种可能的实现方式中,终端105可以通过管道1和管道2通知业务服务器106管道1和管道2的网络参数,以便终端105和业务服务器106根据该网络参数通信。具体的,如图15所示,图11所示的方法还包括步骤1501-步骤1502。Optionally, in the fourth possible implementation manner of the method shown in FIG. 11 , the terminal 105 may notify the service server 106 of the network parameters of the pipe 1 and the pipe 2 through the pipe 1 and the pipe 2, so that the terminal 105 and the service server 106 can The network parameters communicate. Specifically, as shown in FIG. 15 , the method shown in FIG. 11 further includes steps 1501 to 1502 .
步骤1501:终端105向业务服务器106发送协商信息。Step 1501 : The terminal 105 sends the negotiation information to the service server 106 .
步骤1502:终端105根据网络参数与业务服务器106通信。Step 1502: The terminal 105 communicates with the service server 106 according to the network parameters.
上述步骤1501-步骤1502的介绍可以参考上述步骤1001-步骤1002中对应的描述,不予赘述。For the introduction of the above steps 1501 to 1502, reference may be made to the corresponding descriptions of the above steps 1001 to 1002, and details are not repeated.
基于图15所示的方法,终端105可以通知业务服务器106管道1和管道2的网络参数,并和业务服务器106根据该网络参数通信。如此,终端根据该网络参数和业务服务器通信时,获得较大,较稳定的吞吐量,并减少试探传输带来的丢包和时延。Based on the method shown in FIG. 15 , the terminal 105 can notify the service server 106 of the network parameters of the pipeline 1 and the pipeline 2, and communicate with the service server 106 according to the network parameters. In this way, when the terminal communicates with the service server according to the network parameters, a larger and more stable throughput is obtained, and packet loss and delay caused by the tentative transmission are reduced.
上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,上述终端、第一网关设备、控制器或业务服务器等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法操作,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present application from the perspective of interaction between various network elements. It can be understood that, in order to implement the above-mentioned functions, the above-mentioned terminal, the first gateway device, the controller, or the service server, etc., include corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the unit and algorithm operations of each example described in conjunction with the embodiments disclosed herein can be implemented in hardware or in the form of a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对终端、第一网关设备、控制器或业务服务器进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the terminal, the first gateway device, the controller, or the service server may be divided into functional modules according to the foregoing method examples. For example, each functional module may be divided into each function, or two or more functions may be divided into two or more functional modules. integrated in a processing module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
比如,以采用集成的方式划分各个功能模块的情况下,图16示出了一种通信装置的结构示意图。该通信装置可以为控制器或者控制器中的芯片或者片上系统,或其他可实现上述终端设备功能的组合器件、部件等,该通信装置可以用于执行上述实施例中涉及的控制器的功能。For example, in the case of dividing each functional module in an integrated manner, FIG. 16 shows a schematic structural diagram of a communication device. The communication device may be a controller or a chip or a system-on-chip in the controller, or other combined devices, components, etc. that can realize the functions of the above terminal equipment, and the communication device may be used to execute the functions of the controller involved in the above embodiments.
作为一种可能的实现方式,图16所示的通信装置包括:通信模块1601和处理模块1602。As a possible implementation manner, the communication apparatus shown in FIG. 16 includes: a communication module 1601 and a processing module 1602 .
通信模块1601,用于接收来自第一网关设备的业务需求信息,该业务需求信息用于指示终端与业务服务器之间的待传输数据对该通信装置管理的网络的需求,该第一网关设备与该终端连接,该业务服务器与第二网关设备连接,该第一网关设备和该第二网关设备通过该网络连接。例如,结合图3,通信模块1601可以用于执行步骤303。The communication module 1601 is configured to receive service requirement information from the first gateway device, where the service requirement information is used to indicate the requirement of the network managed by the communication device for the data to be transmitted between the terminal and the service server, and the first gateway device is connected to the communication device. The terminal is connected, the service server is connected with a second gateway device, and the first gateway device and the second gateway device are connected through the network. For example, in conjunction with FIG. 3 , the communication module 1601 may be used to perform step 303 .
处理模块1602,用于根据该业务需求信息,在该网络中为该待传输数据建立管道,该管道包括N个转发设备,该待传输数据在该管道中传输时,满足该需求,N为大于或等于1的整数。例如,结合图3,处理模块1602可以用于执行步骤304。The processing module 1602 is configured to establish a pipeline for the data to be transmitted in the network according to the service requirement information, the pipeline includes N forwarding devices, and the data to be transmitted satisfies the requirement when transmitted in the pipeline, and N is greater than or an integer equal to 1. For example, in conjunction with FIG. 3 , processing module 1602 may be used to perform step 304 .
在一种可能的实现方式中,处理模块1602,具体用于根据该业务需求信息、第一对应关系和第二对应关系在该网络中为该待传输数据建立管道;其中,该第一对应关系为该第一网关设备的地址与该网络中的第一转发设备的用户网络接口UNI的对应关系;该第二对应关系为该第二网关设备的地址与该网络中的第二转发设备的UNI的对应关系;该第一转发设备与该第一网关设备连接,该第二转发设备与该第二网关设备连接。In a possible implementation manner, the processing module 1602 is specifically configured to establish a pipeline for the data to be transmitted in the network according to the service requirement information, the first correspondence and the second correspondence; wherein the first correspondence is the correspondence between the address of the first gateway device and the user network interface UNI of the first forwarding device in the network; the second correspondence is the address of the second gateway device and the UNI of the second forwarding device in the network The first forwarding device is connected with the first gateway device, and the second forwarding device is connected with the second gateway device.
在一种可能的实现方式中,处理模块1602,具体用于根据该业务需求信息、该第一对应 关系和该第二对应关系确定转发资源以及该N个转发设备中,每个转发设备的转发表;其中,该转发资源用于指示该N个转发设备以及每个转发设备使用的资源。In a possible implementation manner, the processing module 1602 is specifically configured to determine, according to the service requirement information, the first corresponding relationship and the second corresponding relationship, the forwarding resource and the forwarding value of each forwarding device among the N forwarding devices. Publish; wherein, the forwarding resource is used to indicate the N forwarding devices and the resource used by each forwarding device.
在一种可能的实现方式中,通信模块1601,还用于分别向该N个转发设备发送N个转发设备中的每个转发设备对应的转发资源和转发表。In a possible implementation manner, the communication module 1601 is further configured to send the forwarding resource and the forwarding table corresponding to each of the N forwarding devices to the N forwarding devices respectively.
在一种可能的实现方式中,通信模块1601,还用于接收来自该第一网关设备的更新需求信息,该更新需求信息用于指示更新后的业务需求信息。In a possible implementation manner, the communication module 1601 is further configured to receive update requirement information from the first gateway device, where the update requirement information is used to indicate the updated service requirement information.
在一种可能的实现方式中,通信模块1601,还用于接收来自该第一网关设备的访问结束通知消息,该访问结束通知消息用于指示拆除该管道。In a possible implementation manner, the communication module 1601 is further configured to receive an access end notification message from the first gateway device, where the access end notification message is used to instruct to remove the pipeline.
在一种可能的实现方式中,该业务需求信息包括服务水平协议信息。In a possible implementation manner, the business requirement information includes service level agreement information.
其中,上述方法实施例涉及的各操作的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Wherein, all relevant contents of the operations involved in the foregoing method embodiments can be cited in the functional descriptions of the corresponding functional modules, which will not be repeated here.
在本实施例中,该通信装置以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到该通信装置可以采用图2所示的形式。In this embodiment, the communication device is presented in the form of dividing each functional module in an integrated manner. "Module" herein may refer to a specific ASIC, circuit, processor and memory executing one or more software or firmware programs, integrated logic circuit, and/or other device that may provide the functions described above. In a simple embodiment, those skilled in the art can imagine that the communication device may take the form shown in FIG. 2 .
比如,图2中的处理器201可以通过调用存储器203中存储的计算机执行指令,使得通信装置执行上述方法实施例中的建立管道的方法。For example, the processor 201 in FIG. 2 may invoke the computer-executed instructions stored in the memory 203 to cause the communication apparatus to execute the method for establishing a pipeline in the foregoing method embodiments.
示例性的,图16中的通信模块1601和处理模块1602的功能/实现过程可以通过图2中的处理器201调用存储器203中存储的计算机执行指令来实现。或者,图16中的处理模块1602的功能/实现过程可以通过图2中的处理器201调用存储器203中存储的计算机执行指令来实现,图16中的通信模块1601的功能/实现过程可以通过图2中的通信接口204来实现。Exemplarily, the function/implementation process of the communication module 1601 and the processing module 1602 in FIG. 16 may be implemented by the processor 201 in FIG. 2 calling the computer-executed instructions stored in the memory 203 . Alternatively, the function/implementation process of the processing module 1602 in FIG. 16 can be implemented by the processor 201 in FIG. 2 calling the computer-executed instructions stored in the memory 203, and the function/implementation process of the communication module 1601 in FIG. 2 in the communication interface 204 to achieve.
由于本实施例提供的通信装置可执行上述的建立管道的方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。Since the communication device provided in this embodiment can execute the above-mentioned method for establishing a pipeline, reference can be made to the above-mentioned method embodiments for the technical effects that can be obtained, and details are not repeated here.
比如,以采用集成的方式划分各个功能模块的情况下,图17示出了一种通信装置的结构示意图。该通信装置可以为终端或者终端中的芯片或者片上系统,或其他可实现上述终端功能的组合器件、部件等,该通信装置可以用于执行上述实施例中涉及的终端的功能。For example, in the case of dividing each functional module in an integrated manner, FIG. 17 shows a schematic structural diagram of a communication device. The communication device may be a terminal or a chip or a system-on-chip in the terminal, or other combined devices, components, etc. that can realize the above-mentioned terminal functions, and the communication device may be used to perform the functions of the terminal involved in the above-mentioned embodiments.
作为一种可能的实现方式,图17所示的通信装置包括:处理模块1701和通信模块1702。As a possible implementation manner, the communication apparatus shown in FIG. 17 includes: a processing module 1701 and a communication module 1702 .
处理模块1701,用于获取业务需求信息,该业务需求信息用于指示该通信装置与业务服务器之间的待传输数据对控制器管理的网络的需求。例如,结合图3,处理模块1701可以用于执行步骤301。The processing module 1701 is configured to acquire service requirement information, where the service requirement information is used to indicate the requirement of the data to be transmitted between the communication device and the service server on the network managed by the controller. For example, in conjunction with FIG. 3 , the processing module 1701 may be used to perform step 301 .
通信模块1702,用于向第一网关设备发送该业务需求信息。例如,结合图3,通信模块1702可以用于执行步骤302。The communication module 1702 is configured to send the service requirement information to the first gateway device. For example, in conjunction with FIG. 3 , the communication module 1702 may be used to perform step 302 .
在一种可能的实现方式中,通信模块1702,还用于向该业务服务器发送协商信息,该协商信息用于通知该业务服务器,管道的网络参数,该管道为该控制器为该待传输数据建立的,该管道包括N个转发设备,所待传输数据在该管道中传输时,满足该需求,N为大于或等于1的整数;通信模块1702,还用于根据该网络参数与该业务服务器通信。In a possible implementation manner, the communication module 1702 is further configured to send negotiation information to the service server, where the negotiation information is used to notify the service server of the network parameters of the pipeline, where the pipeline is the controller for the data to be transmitted established, the pipeline includes N forwarding devices, when the data to be transmitted is transmitted in the pipeline, the requirement is met, and N is an integer greater than or equal to 1; the communication module 1702 is also used to communicate with the service server according to the network parameters communication.
在一种可能的实现方式中,该协商信息包括以下信息中的至少一种:带宽信息、时延信息或丢包率。In a possible implementation manner, the negotiation information includes at least one of the following information: bandwidth information, delay information, or packet loss rate.
在一种可能的实现方式中,通信模块1702,还用于向该第一网关设备发送更新需求信息,该更新需求信息用于指示更新后的业务需求信息。In a possible implementation manner, the communication module 1702 is further configured to send update requirement information to the first gateway device, where the update requirement information is used to indicate the updated service requirement information.
在一种可能的实现方式中,通信模块1702,还用于向该第一网关设备发送访问结束通知 消息,该访问结束通知消息用于指示拆除该控制器为该通信装置和该业务服务器建立的管道。In a possible implementation manner, the communication module 1702 is further configured to send an access end notification message to the first gateway device, where the access end notification message is used to instruct the controller to remove the communication device and the service server established by the controller pipeline.
在一种可能的实现方式中,该业务需求信息包括服务水平协议信息。In a possible implementation manner, the business requirement information includes service level agreement information.
其中,上述方法实施例涉及的各操作的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Wherein, all relevant contents of the operations involved in the foregoing method embodiments can be cited in the functional descriptions of the corresponding functional modules, which will not be repeated here.
在本实施例中,该通信装置以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到该通信装置可以采用图2所示的形式。In this embodiment, the communication device is presented in the form of dividing each functional module in an integrated manner. "Module" herein may refer to a specific ASIC, circuit, processor and memory executing one or more software or firmware programs, integrated logic circuit, and/or other device that may provide the functions described above. In a simple embodiment, those skilled in the art can imagine that the communication device may take the form shown in FIG. 2 .
比如,图2中的处理器201可以通过调用存储器203中存储的计算机执行指令,使得通信装置执行上述方法实施例中的建立管道的方法。For example, the processor 201 in FIG. 2 may invoke the computer-executed instructions stored in the memory 203 to cause the communication apparatus to execute the method for establishing a pipeline in the foregoing method embodiments.
示例性的,图17中的处理模块1701和通信模块1702的功能/实现过程可以通过图2中的处理器201调用存储器203中存储的计算机执行指令来实现。或者,图17中的处理模块1701的功能/实现过程可以通过图2中的处理器201调用存储器203中存储的计算机执行指令来实现,图17中的通信模块1702的功能/实现过程可以通过图2中的通信接口204来实现。Exemplarily, the function/implementation process of the processing module 1701 and the communication module 1702 in FIG. 17 may be implemented by the processor 201 in FIG. 2 calling the computer-executed instructions stored in the memory 203 . Alternatively, the function/implementation process of the processing module 1701 in FIG. 17 can be implemented by the processor 201 in FIG. 2 calling the computer-executed instructions stored in the memory 203, and the function/implementation process of the communication module 1702 in FIG. 2 in the communication interface 204 to achieve.
由于本实施例提供的通信装置可执行上述的建立管道的方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。Since the communication device provided in this embodiment can execute the above-mentioned method for establishing a pipeline, reference can be made to the above-mentioned method embodiments for the technical effects that can be obtained, and details are not repeated here.
比如,以采用集成的方式划分各个功能模块的情况下,图18示出了一种通信装置的结构示意图。该通信装置可以为第一网关设备或者第一网关设备中的芯片或者片上系统,或其他可实现上述终端设备功能的组合器件、部件等,该通信装置可以用于执行上述实施例中涉及的第一网关设备的功能。For example, in the case of dividing each functional module in an integrated manner, FIG. 18 shows a schematic structural diagram of a communication apparatus. The communication device may be a first gateway device or a chip or a system-on-chip in the first gateway device, or other combined devices, components, etc. that can realize the functions of the above-mentioned terminal device, and the communication device can be used to execute the first step involved in the above-mentioned embodiment. A function of the gateway device.
作为一种可能的实现方式,图18所示的通信装置包括:处理模块1801和通信模块1802。As a possible implementation manner, the communication apparatus shown in FIG. 18 includes: a processing module 1801 and a communication module 1802 .
处理模块1801,用于获取业务需求信息,该业务需求信息用于指示终端与业务服务器之间的待传输数据对控制器管理的网络的需求。例如,结合图3,处理模块1801可以用于执行步骤302。The processing module 1801 is configured to acquire service requirement information, where the service requirement information is used to indicate the requirement of the data to be transmitted between the terminal and the service server on the network managed by the controller. For example, in conjunction with FIG. 3 , processing module 1801 may be used to perform step 302 .
通信模块1802,用于向该控制器发送该业务需求信息。例如,结合图3,通信模块1802可用于执行步骤303。The communication module 1802 is configured to send the service requirement information to the controller. For example, in conjunction with FIG. 3 , the communication module 1802 may be used to perform step 303 .
在一种可能的实现方式中,处理模块1801,具体用于通过通信模块接收来自该终端的业务需求信息。In a possible implementation manner, the processing module 1801 is specifically configured to receive the service requirement information from the terminal through the communication module.
在一种可能的实现方式中,处理模块1801,具体用于获取该待传输数据的目的地址,和/或,该待传输数据的业务类型;处理模块1801,还具体用于根据该目的地址和/或该业务类型确定该业务需求信息。In a possible implementation manner, the processing module 1801 is specifically configured to obtain the destination address of the data to be transmitted, and/or the service type of the data to be transmitted; the processing module 1801 is also specifically configured to obtain the destination address and/or the service type of the data to be transmitted; /or the business type determines the business requirement information.
在一种可能的实现方式中,通信模块1802,用于接收来自该终端的更新需求信息,该更新需求信息用于指示更新后的业务需求信息;通信模块1802,还用于向该控制器发送该更新需求信息。In a possible implementation manner, the communication module 1802 is configured to receive the update requirement information from the terminal, where the update requirement information is used to indicate the updated service requirement information; the communication module 1802 is further configured to send the update requirement information to the controller The update request information.
在一种可能的实现方式中,通信模块1802,还用于接收来自该终端的访问结束通知消息,该访问结束通知消息用于指示拆除该控制器为该待传输数据建立的管道;通信模块1802,还用于备向该控制器发送该访问结束通知消息。In a possible implementation manner, the communication module 1802 is further configured to receive an access end notification message from the terminal, where the access end notification message is used to instruct to remove the pipe established by the controller for the data to be transmitted; the communication module 1802 , and is also used to send the access end notification message to the controller.
在一种可能的实现方式中,处理模块1801,还用于确定停止使用该控制器为该待传输数据建立的管道;通信模块1802,还用于向该控制器发送该访问结束通知消息,该访问结束通知消息用于指示拆除该该控制器为该待传输数据建立的管道。In a possible implementation manner, the processing module 1801 is further configured to determine to stop using the pipeline established by the controller for the data to be transmitted; the communication module 1802 is further configured to send the access end notification message to the controller, the The access end notification message is used to instruct to remove the pipe established by the controller for the data to be transmitted.
在一种可能的实现方式中,该业务需求信息包括服务水平协议信息。In a possible implementation manner, the business requirement information includes service level agreement information.
其中,上述方法实施例涉及的各操作的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Wherein, all relevant contents of the operations involved in the foregoing method embodiments can be cited in the functional descriptions of the corresponding functional modules, which will not be repeated here.
在本实施例中,该通信装置以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到该通信装置可以采用图2所示的形式。In this embodiment, the communication device is presented in the form of dividing each functional module in an integrated manner. "Module" herein may refer to a specific ASIC, circuit, processor and memory executing one or more software or firmware programs, integrated logic circuit, and/or other device that may provide the functions described above. In a simple embodiment, those skilled in the art can imagine that the communication device may take the form shown in FIG. 2 .
比如,图2中的处理器201可以通过调用存储器203中存储的计算机执行指令,使得通信装置执行上述方法实施例中的建立管道的方法。For example, the processor 201 in FIG. 2 may invoke the computer-executed instructions stored in the memory 203 to cause the communication apparatus to execute the method for establishing a pipeline in the foregoing method embodiments.
示例性的,图18中的处理模块1801和通信模块1802的功能/实现过程可以通过图2中的处理器201调用存储器203中存储的计算机执行指令来实现。或者,图18中的处理模块1801的功能/实现过程可以通过图2中的处理器201调用存储器203中存储的计算机执行指令来实现,图18中的通信模块1802的功能/实现过程可以通过图2中的通信接口204来实现。Exemplarily, the functions/implementation process of the processing module 1801 and the communication module 1802 in FIG. 18 may be implemented by the processor 201 in FIG. 2 calling the computer-executed instructions stored in the memory 203 . Alternatively, the function/implementation process of the processing module 1801 in FIG. 18 can be implemented by the processor 201 in FIG. 2 calling the computer-executed instructions stored in the memory 203, and the function/implementation process of the communication module 1802 in FIG. 2 in the communication interface 204 to achieve.
由于本实施例提供的通信装置可执行上述的建立管道的方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。Since the communication device provided in this embodiment can execute the above-mentioned method for establishing a pipeline, reference can be made to the above-mentioned method embodiments for the technical effects that can be obtained, and details are not repeated here.
比如,以采用集成的方式划分各个功能模块的情况下,图19示出了一种通信装置的结构示意图。该通信装置可以为业务服务器或者业务服务器中的芯片或者片上系统,或其他可实现上述业务服务器功能的组合器件、部件等,该通信装置可以用于执行上述实施例中涉及的业务服务器的功能。For example, in the case of dividing each functional module in an integrated manner, FIG. 19 shows a schematic structural diagram of a communication device. The communication device may be a service server or a chip or a system-on-chip in the service server, or other combined devices, components, etc. that can implement the above-mentioned service server function, and the communication device may be used to perform the functions of the service server involved in the above embodiments.
作为一种可能的实现方式,图19所示的通信装置包括:通信模块1901。As a possible implementation manner, the communication apparatus shown in FIG. 19 includes: a communication module 1901 .
通信模块1901,用于接收来自终端的协商信息,该协商信息用于通知该通信装置,管道的网络参数,该管道为控制器为该终端和该通信装置之间的待传输数据建立的,该管道包括该N个转发设备,所待传输数据在该管道中传输时,满足该待传输数据对该控制器管理的网络的需求,N为大于或等于1的整数。例如,结合图10,通信模块1901可以用于执行步骤1001。The communication module 1901 is used to receive negotiation information from the terminal, the negotiation information is used to notify the communication device, the network parameters of the pipeline, the pipeline is established by the controller for the data to be transmitted between the terminal and the communication device, the The pipeline includes the N forwarding devices. When the data to be transmitted is transmitted in the pipeline, the requirements of the to-be-transmitted data for the network managed by the controller are met, and N is an integer greater than or equal to 1. For example, in conjunction with FIG. 10 , a communication module 1901 may be used to perform step 1001 .
通信模块1901,还用于根据该网络参数与该终端通信。例如,结合图10,通信模块1901还可以用于执行步骤1002。The communication module 1901 is further configured to communicate with the terminal according to the network parameter. For example, in conjunction with FIG. 10 , the communication module 1901 may also be used to perform step 1002 .
在一种可能的实现方式中,该协商信息包括以下信息中的至少一种:带宽信息、时延信息或丢包率。In a possible implementation manner, the negotiation information includes at least one of the following information: bandwidth information, delay information, or packet loss rate.
其中,上述方法实施例涉及的各操作的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Wherein, all relevant contents of the operations involved in the foregoing method embodiments can be cited in the functional descriptions of the corresponding functional modules, which will not be repeated here.
在本实施例中,该通信装置以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到该通信装置可以采用图2所示的形式。In this embodiment, the communication device is presented in the form of dividing each functional module in an integrated manner. "Module" herein may refer to a specific ASIC, circuit, processor and memory executing one or more software or firmware programs, integrated logic circuit, and/or other device that may provide the functions described above. In a simple embodiment, those skilled in the art can imagine that the communication device may take the form shown in FIG. 2 .
比如,图2中的处理器201可以通过调用存储器203中存储的计算机执行指令,使得通信装置执行上述方法实施例中的建立管道的方法。For example, the processor 201 in FIG. 2 may invoke the computer-executed instructions stored in the memory 203 to cause the communication apparatus to execute the method for establishing a pipeline in the foregoing method embodiments.
示例性的,图19中的通信模块1901的功能/实现过程可以通过图2中的处理器201调用存储器203中存储的计算机执行指令来实现。或者,图19中的通信模块1901的功能/实现过程可以通过图2中的通信接口204来实现。Exemplarily, the function/implementation process of the communication module 1901 in FIG. 19 may be implemented by the processor 201 in FIG. 2 calling the computer-executed instructions stored in the memory 203 . Alternatively, the function/implementation process of the communication module 1901 in FIG. 19 may be implemented through the communication interface 204 in FIG. 2 .
由于本实施例提供的通信装置可执行上述的建立管道的方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。Since the communication device provided in this embodiment can execute the above-mentioned method for establishing a pipeline, reference can be made to the above-mentioned method embodiments for the technical effects that can be obtained, and details are not repeated here.
图20为本申请实施例提供的一种芯片的结构示意图。芯片200包括一个或多个处理器2001以及接口电路2002。可选的,所述芯片200还可以包含总线2003。其中:FIG. 20 is a schematic structural diagram of a chip according to an embodiment of the present application. The chip 200 includes one or more processors 2001 and an interface circuit 2002 . Optionally, the chip 200 may further include a bus 2003 . in:
处理器2001可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器2001中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器2001可以是通用处理器、数字通信器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 2001 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 2001 or an instruction in the form of software. The above-mentioned processor 2001 may be a general purpose processor, a digital communicator (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components . Various methods and steps disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
接口电路2002用于数据、指令或者信息的发送或者接收。处理器2001可以利用接口电路2002接收的数据、指令或者其它信息,进行加工,可以将加工完成信息通过接口电路2002发送出去。The interface circuit 2002 is used for sending or receiving data, instructions or information. The processor 2001 can use the data, instructions or other information received by the interface circuit 2002 to perform processing, and can send the processing completion information through the interface circuit 2002 .
可选的,芯片200还包括存储器,存储器可以包括只读存储器和随机存取存储器,并向处理器提供操作指令和数据。存储器的一部分还可以包括非易失性随机存取存储器(NVRAM)。Optionally, the chip 200 further includes a memory, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor. A portion of the memory may also include non-volatile random access memory (NVRAM).
可选的,存储器存储了可执行软件模块或者数据结构,处理器可以通过调用存储器存储的操作指令(该操作指令可存储在操作系统中),执行相应的操作。Optionally, the memory stores executable software modules or data structures, and the processor may execute corresponding operations by calling operation instructions stored in the memory (the operation instructions may be stored in the operating system).
可选的,芯片200可以使用在本申请实施例涉及的通信装置(包括控制器、终端、第一网关设备、第二网关设备或业务服务器)中。可选的,接口电路2002可用于输出处理器2001的执行结果。关于本申请的一个或多个实施例提供的建立管道的方法可参考前述各个实施例,这里不再赘述。Optionally, the chip 200 may be used in a communication apparatus (including a controller, a terminal, a first gateway device, a second gateway device, or a service server) involved in the embodiments of the present application. Optionally, the interface circuit 2002 can be used to output the execution result of the processor 2001 . For the method for establishing a pipeline provided by one or more embodiments of the present application, reference may be made to the foregoing embodiments, and details are not repeated here.
需要说明的,处理器2001、接口电路2002各自对应的功能既可以通过硬件设计实现,也可以通过软件设计来实现,还可以通过软硬件结合的方式来实现,这里不作限制。It should be noted that the respective functions of the processor 2001 and the interface circuit 2002 can be implemented by hardware design, software design, or a combination of software and hardware, which is not limited here.
图21示出了的一种通信系统的组成示意图,如图21所示,该通信系统210中可以包括:控制器2101、终端2102、网关设备2103和业务服务器2104。需要说明的是,图21仅为示例性附图,本申请实施例不限定图21所示通信系统210包括的网元以及网元的个数。FIG. 21 shows a schematic diagram of the composition of a communication system. As shown in FIG. 21 , the communication system 210 may include: a controller 2101 , a terminal 2102 , a gateway device 2103 and a service server 2104 . It should be noted that FIG. 21 is only an exemplary drawing, and the embodiment of the present application does not limit the network elements and the number of network elements included in the communication system 210 shown in FIG. 21 .
其中,控制器2101具有上述图16所示通信装置的功能,可以用于接收来自网关设备2103的业务需求信息,并根据业务需求信息,在该网络中为该待传输数据建立管道。The controller 2101 has the function of the communication device shown in FIG. 16, and can be used to receive service requirement information from the gateway device 2103, and establish a pipeline for the data to be transmitted in the network according to the service requirement information.
终端2102具有上述图17所示通信装置的功能,可以用于获取业务需求信息,并向网关设备2103发送该业务需求信息。The terminal 2102 has the functions of the communication device shown in FIG. 17 , and can be used to acquire service requirement information and send the service requirement information to the gateway device 2103 .
网关设备2103具有上述图18所示通信装置的功能,可以用于获取业务需求信息,并向控制器2101发送该业务需求信息。The gateway device 2103 has the function of the communication device shown in FIG. 18 , and can be used to acquire service requirement information and send the service requirement information to the controller 2101 .
业务服务器2104具有上述图19所示通信装置的功能,可以用于接收来自终端2102的协商信息,并根据该网络参数与终端2102通信。The service server 2104 has the function of the communication device shown in FIG. 19, and can be used to receive negotiation information from the terminal 2102, and communicate with the terminal 2102 according to the network parameters.
可选的,通信系统210还包括调度服务器2105。Optionally, the communication system 210 further includes a scheduling server 2105 .
调度服务器2105可以用于为终端2102确定要访问的业务服务器2104。The scheduling server 2105 may be used to determine the service server 2104 to be accessed for the terminal 2102 .
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到该通信系统210对应网元的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional description of the corresponding network element of the communication system 210, and details are not repeated here.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。From the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated as required. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be Incorporation may either be integrated into another device, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place, or may be distributed to multiple different places . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, which are stored in a storage medium , including several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, and other media that can store program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this, and any changes or substitutions within the technical scope disclosed in the present application should be covered within the protection scope of the present application. . Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (28)
- 一种建立管道的方法,其特征在于,所述方法包括:A method for establishing a pipeline, characterized in that the method comprises:控制器接收来自第一网关设备的业务需求信息,所述业务需求信息用于指示终端与业务服务器之间的待传输数据对所述控制器管理的网络的需求,所述第一网关设备与所述终端连接,所述业务服务器与第二网关设备连接,所述第一网关设备和所述第二网关设备通过所述网络连接;The controller receives service requirement information from the first gateway device, where the service requirement information is used to indicate the requirements of the data to be transmitted between the terminal and the service server on the network managed by the controller, the first gateway device and the the terminal is connected, the service server is connected with a second gateway device, and the first gateway device and the second gateway device are connected through the network;所述控制器根据所述业务需求信息,在所述网络中为所述待传输数据建立管道,所述管道包括N个转发设备,所述待传输数据在所述管道中传输时,满足所述需求,N为大于或等于1的整数。The controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information, the pipeline includes N forwarding devices, and when the data to be transmitted is transmitted in the pipeline, the demand, N is an integer greater than or equal to 1.
- 根据权利要求1所述的方法,其特征在于,所述控制器根据所述业务需求信息,在所述网络中为所述待传输数据建立管道,包括:The method according to claim 1, wherein the controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information, comprising:所述控制器根据所述业务需求信息、第一对应关系和第二对应关系在所述网络中为所述待传输数据建立管道;The controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information, the first correspondence and the second correspondence;其中,所述第一对应关系为所述第一网关设备的地址与所述网络中的第一转发设备的用户网络接口UNI的对应关系;所述第二对应关系为所述第二网关设备的地址与所述网络中的第二转发设备的UNI的对应关系;所述第一转发设备与所述第一网关设备连接,所述第二转发设备与所述第二网关设备连接。The first correspondence is the correspondence between the address of the first gateway device and the user network interface UNI of the first forwarding device in the network; the second correspondence is the address of the second gateway device. The correspondence between the address and the UNI of the second forwarding device in the network; the first forwarding device is connected to the first gateway device, and the second forwarding device is connected to the second gateway device.
- 根据权利要求2所述的方法,其特征在于,所述控制器根据所述业务需求信息、第一对应关系和第二对应关系在所述网络中为所述待传输数据建立管道,包括:The method according to claim 2, wherein the controller establishes a pipeline for the data to be transmitted in the network according to the service requirement information, the first correspondence and the second correspondence, comprising:所述控制器根据所述业务需求信息、所述第一对应关系和所述第二对应关系确定转发资源以及所述N个转发设备中,每个转发设备的转发表;determining, by the controller, forwarding resources and a forwarding table of each forwarding device among the N forwarding devices according to the service requirement information, the first corresponding relationship and the second corresponding relationship;其中,所述转发资源用于指示所述N个转发设备以及每个转发设备使用的资源。The forwarding resource is used to indicate the N forwarding devices and the resource used by each forwarding device.
- 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, wherein the method further comprises:所述控制器分别向所述N个转发设备发送所述N个转发设备中的每个转发设备对应的转发资源和转发表。The controller sends the forwarding resource and the forwarding table corresponding to each of the N forwarding devices to the N forwarding devices respectively.
- 根据权利要求1-4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:所述控制器接收来自所述第一网关设备的更新需求信息,所述更新需求信息用于指示更新后的业务需求信息。The controller receives update demand information from the first gateway device, where the update demand information is used to indicate updated service demand information.
- 根据权利要求1-5中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-5, wherein the method further comprises:所述控制器接收来自所述第一网关设备的访问结束通知消息,所述访问结束通知消息用于指示拆除所述管道。The controller receives an access end notification message from the first gateway device, where the access end notification message is used to instruct the pipe to be removed.
- 根据权利要求1-6中任一项所述的方法,其特征在于,所述业务需求信息包括服务水平协议信息。The method according to any one of claims 1-6, wherein the business requirement information includes service level agreement information.
- 一种建立管道的方法,其特征在于,所述方法包括:A method for establishing a pipeline, characterized in that the method comprises:终端获取业务需求信息,所述业务需求信息用于指示所述终端与业务服务器之间的待传输数据对控制器管理的网络的需求;The terminal acquires service requirement information, where the service requirement information is used to indicate the requirement of the data to be transmitted between the terminal and the service server on the network managed by the controller;所述终端向第一网关设备发送所述业务需求信息。The terminal sends the service requirement information to the first gateway device.
- 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, wherein the method further comprises:所述终端向所述业务服务器发送协商信息,所述协商信息用于通知所述业务服务器,管道的网络参数,所述管道为所述控制器为所述待传输数据建立的,所述管道包括N个转发设备,所待传输数据在所述管道中传输时,满足所述需求,N为大于或等于1的整数;The terminal sends negotiation information to the service server, where the negotiation information is used to notify the service server of network parameters of a pipeline, the pipeline is established by the controller for the data to be transmitted, and the pipeline includes N forwarding devices, when the data to be transmitted is transmitted in the pipeline, the requirements are met, and N is an integer greater than or equal to 1;所述终端根据所述网络参数与所述业务服务器通信。The terminal communicates with the service server according to the network parameter.
- 根据权利要求9所述的方法,其特征在于,所述协商信息包括以下信息中的至少一种:带宽信息、时延信息或丢包率。The method according to claim 9, wherein the negotiation information includes at least one of the following information: bandwidth information, delay information or packet loss rate.
- 根据权利要求8-10中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 8-10, wherein the method further comprises:所述终端向所述第一网关设备发送更新需求信息,所述更新需求信息用于指示更新后的业务需求信息。The terminal sends update demand information to the first gateway device, where the update demand information is used to indicate the updated service demand information.
- 根据权利要求8-11中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 8-11, wherein the method further comprises:所述终端向所述第一网关设备发送访问结束通知消息,所述访问结束通知消息用于指示拆除所述控制器为所述终端和所述业务服务器建立的管道。The terminal sends an access end notification message to the first gateway device, where the access end notification message is used to instruct to remove the pipe established by the controller for the terminal and the service server.
- 根据权利要求8-12中任一项所述的方法,其特征在于,所述业务需求信息包括服务水平协议信息。The method according to any one of claims 8-12, wherein the business requirement information includes service level agreement information.
- 一种建立管道的方法,其特征在于,所述方法包括:A method for establishing a pipeline, characterized in that the method comprises:第一网关设备获取业务需求信息,所述业务需求信息用于指示终端与业务服务器之间的待传输数据对控制器管理的网络的需求;The first gateway device acquires service requirement information, where the service requirement information is used to indicate the requirement of the data to be transmitted between the terminal and the service server on the network managed by the controller;所述第一网关设备向所述控制器发送所述业务需求信息。The first gateway device sends the service requirement information to the controller.
- 根据权利要求14所述的方法,其特征在于,所述第一网关设备获取业务需求信息,包括:The method according to claim 14, wherein the obtaining of the service requirement information by the first gateway device comprises:所述第一网关设备接收来自所述终端的业务需求信息。The first gateway device receives service requirement information from the terminal.
- 根据权利要求14所述的方法,其特征在于,所述第一网关设备获取业务需求信息,包括:The method according to claim 14, wherein the obtaining of the service requirement information by the first gateway device comprises:所述第一网关设备获取所述待传输数据的目的地址,和/或,所述待传输数据的业务类型;obtaining, by the first gateway device, the destination address of the data to be transmitted, and/or the service type of the data to be transmitted;所述第一网关设备根据所述目的地址和/或所述业务类型确定所述业务需求信息。The first gateway device determines the service requirement information according to the destination address and/or the service type.
- 根据权利要求14-16中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 14-16, wherein the method further comprises:所述第一网关设备接收来自所述终端的更新需求信息,所述更新需求信息用于指示更新后的业务需求信息;receiving, by the first gateway device, update requirement information from the terminal, where the update requirement information is used to indicate the updated service requirement information;所述第一网关设备向所述控制器发送所述更新需求信息。The first gateway device sends the update requirement information to the controller.
- 根据权利要求14-17中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 14-17, wherein the method further comprises:所述第一网关设备接收来自所述终端的访问结束通知消息,所述访问结束通知消息用于指示拆除所述控制器为所述待传输数据建立的管道;receiving, by the first gateway device, an access end notification message from the terminal, where the access end notification message is used to instruct to remove the pipe established by the controller for the data to be transmitted;所述第一网关设备向所述控制器发送所述访问结束通知消息。The first gateway device sends the access end notification message to the controller.
- 根据权利要求14-17中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 14-17, wherein the method further comprises:所述第一网关设备确定停止使用所述控制器为所述待传输数据建立的管道;The first gateway device determines to stop using the pipeline established by the controller for the data to be transmitted;所述第一网关设备向所述控制器发送访问结束通知消息,所述访问结束通知消息用于指示拆除所述控制器为所述待传输数据建立的管道。The first gateway device sends an access end notification message to the controller, where the access end notification message is used to instruct to remove the pipe established by the controller for the data to be transmitted.
- 根据权利要求14-19中任一项所述的方法,其特征在于,所述业务需求信息包 括服务水平协议信息。The method according to any one of claims 14-19, wherein the business requirement information includes service level agreement information.
- 一种建立管道的方法,其特征在于,所述方法包括:A method for establishing a pipeline, characterized in that the method comprises:业务服务器接收来自终端的协商信息,所述协商信息用于通知业务服务器,管道的网络参数,所述管道为控制器为所述终端和所述业务服务器之间的待传输数据建立的,所述管道包括N个转发设备,所待传输数据在所述管道中传输时,满足所述待传输数据对所述控制器管理的网络的需求,N为大于或等于1的整数;The service server receives negotiation information from the terminal, and the negotiation information is used to notify the service server of network parameters of the pipeline, the pipeline is established by the controller for the data to be transmitted between the terminal and the service server, and the The pipeline includes N forwarding devices, and when the data to be transmitted is transmitted in the pipeline, the requirements of the data to be transmitted on the network managed by the controller are met, and N is an integer greater than or equal to 1;所述业务服务器根据所述网络参数与所述终端通信。The service server communicates with the terminal according to the network parameter.
- 根据权利要求21所述的方法,其特征在于,所述协商信息包括以下信息中的至少一种:带宽信息、时延信息或丢包率。The method according to claim 21, wherein the negotiation information includes at least one of the following information: bandwidth information, delay information or packet loss rate.
- 一种通信装置,其特征在于,包括:通信模块和处理模块;所述通信模块和所述处理模块用于支持所述通信装置执行如权利要求1-7中任一项所述的方法。A communication device, comprising: a communication module and a processing module; the communication module and the processing module are used to support the communication device to execute the method according to any one of claims 1-7.
- 一种通信装置,其特征在于,包括:处理模块和通信模块;所述处理模块和所述通信模块用于支持所述通信装置执行如权利要求8-13中任一项所述的方法。A communication device, comprising: a processing module and a communication module; the processing module and the communication module are used to support the communication device to execute the method according to any one of claims 8-13.
- 一种通信装置,其特征在于,包括:处理模块和通信模块;所述处理模块和所述通信模块用于支持所述通信装置执行如权利要求14-20中任一项所述的方法。A communication device, comprising: a processing module and a communication module; the processing module and the communication module are used to support the communication device to execute the method according to any one of claims 14-20.
- 一种通信装置,其特征在于,包括:通信模块;所述通信模块用于支持所述通信装置执行如权利要求21-22中任一项所述的方法。A communication device, comprising: a communication module; the communication module is configured to support the communication device to perform the method according to any one of claims 21-22.
- 一种通信装置,其特征在于,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得所述装置执行如权利要求1至7中任一项所述的方法,或者执行如权利要求8至13中任一项所述的方法,或者执行如权利要求14至20中任一项所述的方法,或者执行如权利要求21至22中任一项所述的方法。A communication device, characterized in that it comprises: a processor coupled with a memory, the memory is used to store a program or an instruction, when the program or instruction is executed by the processor, the device causes the device performing a method as claimed in any one of claims 1 to 7, or performing a method as claimed in any one of claims 8 to 13, or performing a method as claimed in any one of claims 14 to 20, Or perform a method as claimed in any one of claims 21 to 22.
- 一种通信系统,其特征在于,包括:如权利要求23所述的装置,和/或,如权利要求24所述的装置,和/或,如权利要求25所述的装置,和/或,如权利要求26所述的装置。A communication system, characterized in that it comprises: the device as claimed in claim 23, and/or the device as claimed in claim 24, and/or the device as claimed in claim 25, and/or, The apparatus of claim 26.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010617458.7 | 2020-06-30 | ||
CN202010617458.7A CN113872998A (en) | 2020-06-30 | 2020-06-30 | Method and device for building pipeline |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022001530A1 true WO2022001530A1 (en) | 2022-01-06 |
Family
ID=78981706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/096552 WO2022001530A1 (en) | 2020-06-30 | 2021-05-27 | Method and apparatus for establishing pipeline |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113872998A (en) |
WO (1) | WO2022001530A1 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100514912C (en) * | 2005-08-19 | 2009-07-15 | 华为技术有限公司 | Method of realizing Pipe model based on distinction service |
WO2010017176A1 (en) * | 2008-08-08 | 2010-02-11 | Telcordia Technologies, Inc. | Systems and methods for qos provisioning and assurance for point-to-point sip sessions in diffserv-enabled mpls networks |
CN102104915A (en) * | 2009-12-22 | 2011-06-22 | 中国移动通信集团公司 | PMIP-based QoS control method and system |
CN105991712A (en) * | 2015-02-12 | 2016-10-05 | 林琳 | Network accelerating device |
CN106470168A (en) * | 2015-08-22 | 2017-03-01 | 华为技术有限公司 | A kind of data transmission method, the switch using the method and network control system |
CN108471629A (en) * | 2017-02-23 | 2018-08-31 | 华为技术有限公司 | The control method of business service quality, equipment and system in transmission network |
-
2020
- 2020-06-30 CN CN202010617458.7A patent/CN113872998A/en active Pending
-
2021
- 2021-05-27 WO PCT/CN2021/096552 patent/WO2022001530A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100514912C (en) * | 2005-08-19 | 2009-07-15 | 华为技术有限公司 | Method of realizing Pipe model based on distinction service |
WO2010017176A1 (en) * | 2008-08-08 | 2010-02-11 | Telcordia Technologies, Inc. | Systems and methods for qos provisioning and assurance for point-to-point sip sessions in diffserv-enabled mpls networks |
CN102104915A (en) * | 2009-12-22 | 2011-06-22 | 中国移动通信集团公司 | PMIP-based QoS control method and system |
CN105991712A (en) * | 2015-02-12 | 2016-10-05 | 林琳 | Network accelerating device |
CN106470168A (en) * | 2015-08-22 | 2017-03-01 | 华为技术有限公司 | A kind of data transmission method, the switch using the method and network control system |
CN108471629A (en) * | 2017-02-23 | 2018-08-31 | 华为技术有限公司 | The control method of business service quality, equipment and system in transmission network |
Also Published As
Publication number | Publication date |
---|---|
CN113872998A (en) | 2021-12-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110313163B (en) | Load balancing in distributed computing systems | |
US11277313B2 (en) | Data transmission method and corresponding device | |
WO2020140729A1 (en) | Data transmission method and apparatus, computer readable medium, and electronic device | |
CN109729040B (en) | Method, apparatus and computer readable medium for selection of a protocol | |
KR102559934B1 (en) | Method and device for vehicle internet message notification | |
CN108471629A (en) | The control method of business service quality, equipment and system in transmission network | |
WO2019242638A1 (en) | Load balancing method and device | |
CN105556929A (en) | Network element and method of running applications in a cloud computing system | |
WO2020238292A1 (en) | Method for determining service transmission requirement, apparatus, and system | |
WO2021254001A1 (en) | Session establishment method, apparatus and system and computer storage medium | |
US20230269164A1 (en) | Method and apparatus for sending route calculation information, device, and storage medium | |
CN108512779B (en) | Control information transmission method, server and system | |
EP4319310A1 (en) | Message forwarding method, apparatus and system, and computer-readable storage medium | |
JP2023523773A (en) | Communication method and related equipment | |
WO2021078058A1 (en) | Resource scheduling method, apparatus and device, and computer-readable storage medium | |
WO2022001530A1 (en) | Method and apparatus for establishing pipeline | |
CN116010130B (en) | Cross-card link aggregation method, device, equipment and medium for DPU virtual port | |
US20150373095A1 (en) | Method and apparatus for determining service quality profile on data distribution service | |
CN113783963B (en) | Data transmission method, server node, gateway equipment and network system | |
WO2023217187A1 (en) | Service response method and apparatus, device, and storage medium | |
EP4322494A1 (en) | Data transmission method, apparatus and system | |
WO2022089645A1 (en) | Communication method, apparatus, device, system, and computer readable storage medium | |
WO2023185286A1 (en) | Communication method and apparatus | |
US11595297B2 (en) | Multi-VPN multi link traffic routing | |
CN112769698B (en) | Method and device for realizing routing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21834415 Country of ref document: EP Kind code of ref document: A1 |