Search

CN-122001819-A - Service distribution method and routing equipment

CN122001819ACN 122001819 ACN122001819 ACN 122001819ACN-122001819-A

Abstract

The application provides a service distribution method and routing equipment, wherein the routing equipment is accessed to the Internet through a wired WAN, and the routing equipment is accessed to the Internet through a wireless WAN. After the routing equipment acquires the data stream generated by the first application, the data stream with the service type of low-delay service type is sent to the wired WAN, and the data stream with the service type of non-low-delay service type is shunted to the wired WAN and the wireless WAN, so that the routing equipment can avoid the situation that the low-delay data stream is sent to the wireless WAN when the wireless network is overlapped on the basis of the wired network, and further, the use experience of the low-delay service of a user can be ensured.

Inventors

  • YANG LIN
  • PENG YICHENG
  • YAN HAORAN

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260508
Application Date
20241106

Claims (10)

  1. 1. A traffic splitting method, applied to a routing device, the routing device accessing the internet through a wired WAN, and the routing device accessing the internet through a wireless WAN, the method comprising: Acquiring a data stream generated by a first application; determining the service type of the data flow; When the service type is a low-delay service type, sending the data stream to the wired WAN to transmit the data stream through the wired WAN; And when the service type is a non-low-delay service type, the data stream is split into the wired WAN and the wireless WAN so as to be transmitted through the wired WAN and the wireless WAN.
  2. 2. The method of claim 1, wherein the obtaining the data stream generated by the first application comprises: the data stream is acquired during the process of the routing equipment running the first application, or And acquiring the data stream from the first device in the process of running the first application by the first device.
  3. 3. The method of claim 2, wherein when the data stream is a data stream of the first device, the determining a traffic type of the data stream comprises: when the data stream is a preamble stream, carrying out service identification on the data stream to determine the service type of the data stream, wherein the preamble stream comprises a data packet generated when the first application is started; and when the data stream is a core stream, determining the service type of the data stream according to the identification of the first equipment, wherein the core stream comprises data packets generated in the running process after the first application is started.
  4. 4. A method according to claim 3, wherein said determining the traffic type of the data stream based on the identification of the first device comprises: When the mapping relation between the stored equipment identifier and the low-delay service type comprises the first equipment identifier, determining that the service type of the data stream is the low-delay service type; and when the mapping relation between the stored equipment identifier and the low-delay service type does not contain the identifier of the first equipment, determining the service type of the data stream as the non-low-delay service type.
  5. 5. The method according to claim 3 or 4, wherein when the data flow is the preamble flow and the traffic type of the data flow is the low latency traffic type, the method further comprises: And storing the identification of the first equipment into a mapping relation between the identification of the equipment and the low-delay service type.
  6. 6. The method according to claim 4 or 5, wherein when the data flow is the core flow and the traffic type of the data flow is the low latency traffic type, the method further comprises: Carrying out flow statistics on the data flow, and determining the number of core flow data packets of the data flow in at least one first time length nearest to the current moment; when the number of core stream data packets of the data stream in at least one first time length nearest to the current moment is smaller than or equal to a preset value, determining that the transmission condition of the data stream is transmission end; And deleting the identifier of the first device from the stored mapping relation between the identifier of the device and the low-delay service type.
  7. 7. The method of any of claims 1-6, wherein the sending the data stream to the wired WAN to transmit the data stream over the wired WAN when the traffic type is a low latency traffic type comprises: Adding a first mark in each data packet in a plurality of data packets contained in the data stream to obtain a plurality of first data packets, wherein the first mark is used for indicating the data packets to be transmitted through the wired WAN; The plurality of first data packets are sent to the wired WAN.
  8. 8. The method of any of claims 1-7, wherein the splitting the data stream to the wired WAN and wireless WAN to transmit the data stream over the wired WAN and the wireless WAN when the traffic type is a non-low latency traffic type comprises: transmitting a plurality of second data packets contained in the data stream to the wired WAN; transmitting a plurality of third data packets contained in the data stream to the wireless WAN; The ratio of the number of the second data packets to the number of the third data packets is the split ratio of the wired WAN to the wireless WAN.
  9. 9. A routing device, comprising one or more processors, one or more memories, and one or more programs; Wherein the one or more programs are stored in the one or more memories, which when invoked by the one or more processors, cause the routing device to perform the method of any of claims 1-8.
  10. 10. A program product, characterized in that the program product, when run on a routing device, causes the routing device to perform the method of any of claims 1 to 8.

Description

Service distribution method and routing equipment Technical Field The embodiment of the application relates to the technical field of communication, in particular to a service distribution method and routing equipment. Background With the increasing requirement of people on internet experience, in order to reduce cost, operators often adopt a mode of overlapping wireless networks on the basis of wired networks to improve the network bandwidth of the fixed network broadband user so as to ensure the internet experience of the fixed network broadband user. Currently, operators implement the superposition of wireless networks on top of wired networks by providing subscribers with routing devices (e.g., customer premise equipment (customer premise equipment, CPE)) that support both wired and wireless uplinks. However, after receiving the data stream of the service, the routing device distributes the data stream of the service to the wired network and the wireless network according to the default distribution ratio, so that part of low-delay service is distributed to the wireless network with poor network stability, and the internet surfing experience of the user is affected. Disclosure of Invention The embodiment of the application provides a service distribution method and routing equipment, which are used for guaranteeing the Internet surfing experience of a user. The first aspect provides a traffic splitting method, which is applied to a routing device. The routing equipment is accessed to the Internet through a wired WAN, and the routing equipment can also be accessed to the Internet through a wireless WAN. The method comprises the following steps: The routing device obtains the data stream generated by the first application and determines the service type of the data stream, when the service type is a low-delay service type, the routing device can send the data stream to the wired WAN to transmit the data stream through the wired WAN, and when the service type is a non-low-delay service type, the routing device can split the data stream to the wired WAN and the wireless WAN to transmit the data stream through the wired WAN and the wireless WAN. In the method, the routing equipment can determine the service type of the data stream before transmitting the data stream, distinguish the low-delay service from the non-low-delay service so as to send the low-delay service to the wired WAN, and shunt the non-low-delay service to the wired WAN and the wireless WAN, so that the data stream of the low-delay service can be prevented from being sent to the wireless WAN when the wireless network is overlapped on the basis of the wired network, and further, the use experience of the low-delay service of a user can be ensured, and the surfing experience of the user is ensured. In one possible design, the routing device may obtain the data stream during the running of the first application by the routing device, or the routing device may obtain the data stream from the first device during the running of the first application by the first device. In one possible design, when the data stream is a data stream of the first device and the data stream is a preamble stream, the routing device may perform service identification on the data stream to determine a service type of the data stream, where the preamble stream includes a data packet generated when the first application is started, and when the data stream is a data stream of the first device and the data stream is a core stream, the routing device may determine the service type of the data stream according to an identifier of the first device, where the core stream includes a data packet generated in an operation process after the first application is started. Through the design, the routing equipment can identify the service type of the preamble flow of the first equipment and determine the service type of the preamble flow of the first equipment, so that the routing equipment can determine the service type of the core flow of the first equipment according to the identification of the first equipment of the service type of the determined preamble flow, and the transmission path of the data flow of the first equipment can be determined according to the service type of the preamble flow, and the transmission path of the data flow in the transmission process is ensured to be unchanged. In one possible design, when the mapping relationship between the stored identifier of the device and the low-latency service type includes the identifier of the first device, the routing device may determine that the service type of the data stream is a low-latency service type, and when the mapping relationship between the stored identifier of the device and the low-latency service type does not include the identifier of the first device, the routing device may determine that the service type of the data stream is a non-low-latency service type. By means of the design, the routing equipment