WO2023088362A1 - 网络流量处理方法、装置、介质及电子设备 - Google Patents

网络流量处理方法、装置、介质及电子设备 Download PDF

Info

Publication number
WO2023088362A1
WO2023088362A1 PCT/CN2022/132560 CN2022132560W WO2023088362A1 WO 2023088362 A1 WO2023088362 A1 WO 2023088362A1 CN 2022132560 W CN2022132560 W CN 2022132560W WO 2023088362 A1 WO2023088362 A1 WO 2023088362A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
network traffic
scheduling
scheduling policy
outlet
Prior art date
Application number
PCT/CN2022/132560
Other languages
English (en)
French (fr)
Inventor
王锦昌
Original Assignee
贵州白山云科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 贵州白山云科技股份有限公司 filed Critical 贵州白山云科技股份有限公司
Publication of WO2023088362A1 publication Critical patent/WO2023088362A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6255Queue scheduling characterised by scheduling criteria for service slots or service orders queue load conditions, e.g. longest queue first
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Definitions

  • Embodiments of the present disclosure relate to but are not limited to a network traffic processing method, device, medium, and electronic equipment.
  • SD-WAN Software Defined Wide Area Network, software-defined wide area network
  • the present disclosure provides a network traffic processing method, device, medium and electronic equipment.
  • a network traffic processing method is provided, which is applied to a user terminal device, including:
  • the network traffic processing method before receiving the network traffic sent by the target terminal, the network traffic processing method further includes:
  • a scheduling policy is received, where the scheduling policy includes a source IP address and/or a destination IP address, a scheduling mode, and at least one designated network egress.
  • the determining the scheduling policy corresponding to the network traffic according to the address information corresponding to the network traffic includes:
  • the scheduling mode includes an intelligent load mode
  • selecting a target network exit from multiple network exits to be selected includes:
  • the scheduling mode of the scheduling strategy is the smart load mode
  • the identifying the target network outlet from the at least one designated network outlet according to the running status of each designated network outlet in the at least one designated network outlet includes:
  • a target network outlet is identified from the at least one designated network outlet according to the expected load ratio corresponding to each designated network outlet.
  • the scheduling mode further includes a custom mode
  • identifying the target network egress from multiple network egresses to be selected includes:
  • the scheduling mode of the scheduling strategy is a self-defined mode, obtaining the preset expected load ratio corresponding to each designated network outlet in the at least one designated network outlet;
  • a target network outlet is identified from the at least one designated network outlet according to the expected load ratio corresponding to each designated network outlet.
  • the network traffic processing method further includes:
  • the network traffic processing method further includes:
  • the network egress includes a default network egress, and when the scheduling policy corresponding to the network traffic cannot be determined, the network traffic is scheduled to the default network egress.
  • a network traffic processing method is provided, which is applied to a central controller, including:
  • the obtaining the scheduling policy corresponding to the user terminal equipment includes:
  • the target terminal In response to the editing request for the scheduling policy sent by the target terminal, instruct the target terminal to display a scheduling policy editing interface, where the scheduling policy editing interface includes at least one scheduling policy editing option;
  • the at least one scheduling policy editing option According to the editing information received by the at least one scheduling policy editing option, generate and store the scheduling policy corresponding to the user terminal device.
  • the obtaining the scheduling policy corresponding to the user terminal equipment includes:
  • the scheduling policy corresponding to the user terminal equipment is received.
  • a network traffic processing device which is applied to user terminal equipment, including:
  • a request receiving module configured to receive network traffic sent by the target terminal
  • Determine the scheduling policy module configured to determine the scheduling policy corresponding to the network traffic according to the address information corresponding to the network traffic;
  • the network exit selection module is configured to select a target network exit from multiple network exits to be selected according to the scheduling strategy
  • a scheduling module configured to schedule the network traffic to the target network egress, so as to transmit the network traffic through the target network egress.
  • the network traffic processing device further includes:
  • the scheduling strategy receiving module is configured to receive the scheduling strategy, the scheduling strategy includes source IP address and/or destination IP address, scheduling mode and at least one designated network exit.
  • the network traffic processing device further includes:
  • the detection module is configured to obtain the network usage rates of multiple network outlets, and prohibit dispatching network traffic to the network outlets whose network usage rates are greater than a predetermined threshold.
  • a network traffic processing device applied to a central controller including:
  • a scheduling policy acquisition module is configured to acquire the corresponding scheduling policy of the user terminal equipment
  • a scheduling policy delivery module configured to send the scheduling policy to the user terminal equipment, so that the user terminal equipment schedules the received network traffic according to the scheduling policy.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed, the steps of the above-mentioned network traffic processing method are implemented.
  • a computer device including a processor, a memory, and a computer program stored on the memory, when the processor executes the computer program, it implements the network traffic processing method as described above step.
  • This disclosure provides a network traffic processing method. After receiving the network traffic sent by the target terminal, the user terminal device determines the scheduling policy corresponding to the network traffic according to the address information corresponding to the network traffic, and selects the network traffic from multiple network exits according to the scheduling policy. Select the target network egress, and dispatch network traffic to the target network egress.
  • the access traffic can be distributed to multiple network outlets, so that multiple types of networks can coexist, improve the utilization rate of each network outlet, and solve the problem that the traditional network can only be transmitted through a single outlet Defects in network transmission ensure the quality of network transmission.
  • Fig. 1 is a flow chart showing a method for processing network traffic according to an exemplary embodiment of the present disclosure.
  • Fig. 2 and Fig. 3 are schematic diagrams of terminal interfaces applicable to the network traffic processing method shown in an exemplary embodiment of the present disclosure.
  • Fig. 4 is a flow chart showing a method for processing network traffic according to an exemplary embodiment of the present disclosure.
  • Fig. 5 is a block diagram showing a network traffic processing device according to an exemplary embodiment of the present disclosure.
  • Fig. 6 is a block diagram showing a network traffic processing device according to an exemplary embodiment of the present disclosure.
  • Fig. 7 is a block diagram showing a network traffic processing device according to an exemplary embodiment of the present disclosure.
  • Fig. 8 is a block diagram showing a network traffic processing device according to an exemplary embodiment of the present disclosure.
  • Fig. 9 is a block diagram of a computer device according to an exemplary embodiment of the present disclosure.
  • SD-WAN Software Defined Wide Area Network, software-defined wide area network
  • access traffic is always sent from a single network outlet, while Other network outlets are idle, with low utilization.
  • access traffic is greater than the bandwidth of the network outlet, it is easy to cause traffic congestion, resulting in a decrease in network quality.
  • Fig. 1 is a flowchart showing a method for processing network traffic according to an exemplary embodiment of the present disclosure.
  • the network traffic processing method can be applied to user terminal equipment, at least including steps S11 to S14, described in detail as follows:
  • Step S11 receiving network traffic sent by the target terminal.
  • the user terminal equipment may be a CPE (Customer Premise Equipment) device.
  • the network used by the user (such as an enterprise intranet, etc.) is first connected to the user terminal equipment, and then the user terminal equipment is connected to multiple network outlets , to route network traffic through each network egress.
  • the user terminal device may also be any other electronic device with a data transfer function, such as a router, switch, server, and so on.
  • the target terminal may be a terminal device that uses the above-mentioned network for communication, and it may include one or more of electronic devices such as smart phones, tablet computers, laptop computers, desktop computers, smart wearable devices, Internet of Things devices, or vehicle-mounted computers. It should be noted that the target terminal may also be any other electronic device with a data access function and a network connection function, which is not specifically limited in the present disclosure.
  • Network traffic can be information flow generated by the target terminal based on user operations and transmitted in the network.
  • the network traffic can be various forms of information flow.
  • network traffic can be an access request for a certain resource. It may include but not limited to video, image, audio, or document; the network traffic may also be an upload request for a certain resource, and so on.
  • the network traffic may also be an information flow automatically generated by the target terminal based on business needs, which is not particularly limited in the present disclosure.
  • a terminal device may generate network traffic and transmit it in a network, and the terminal device may send the generated network traffic to a user terminal device.
  • static routing or dynamic routing may be set so that the target terminal sends network traffic to the user terminal device, so that the user terminal device performs subsequent processing on the received network traffic.
  • Step S12 according to the address information corresponding to the network traffic, determine the scheduling policy corresponding to the network traffic.
  • the scheduling policy may be preset policy information for scheduling the received network traffic.
  • Those skilled in the art can pre-set one or more scheduling strategies according to actual implementation needs, so as to implement scheduling of network traffic received by user terminal equipment according to the scheduling strategy, and distribute network traffic to various network outlets, thereby improving The utilization rate of each network outlet ensures the quality of network transmission.
  • the dispatch policy can be set to dispatch network traffic from important departments to the dedicated line network to ensure the business efficiency and security of important departments.
  • dispatch requests of average importance to the Internet egress to reduce traffic costs.
  • the address information of the network traffic may be a source IP address and/or a destination IP address of the network traffic.
  • those skilled in the art may set a corresponding scheduling strategy according to each source IP address and/or destination IP address, and save the corresponding relationship between each source IP address and/or destination IP address and the scheduling strategy, Therefore, when the user terminal device receives network traffic, it can query and determine the corresponding scheduling policy according to the address information of the network traffic.
  • Step S13 Select a target network exit from multiple network exits to be selected according to the scheduling policy.
  • the multiple network outlets to be selected refer to the multiple network outlets ordered by the user.
  • the user terminal device may select a target network egress from multiple network egresses according to a scheduling policy corresponding to the network traffic, so as to transmit the network traffic through the target network egress.
  • a scheduling policy corresponding to the network traffic
  • the present disclosure does not limit the number of target network exits.
  • the number of target network exits may be one or multiple, and the multiple in the present disclosure refers to any number of two or more.
  • the scheduling policy may include information related to the egress of the target network, such as identification information of the egress of the target network.
  • the user terminal device can identify a target network egress from multiple network egresses based on the scheduling policy, so as to schedule network traffic through the target network egress.
  • Step S14 dispatching the network traffic to the target network egress, so as to transmit the network traffic through the target network egress.
  • the user terminal device can schedule network traffic to the target network egress, so as to transmit the network traffic through the target network egress, that is, through the target network egress, the network traffic is sent to its destination IP address to send.
  • the access traffic can be distributed to multiple network outlets, so that multiple types of networks can coexist, improve the utilization rate of each network outlet, and solve the problem that the traditional network can only be transmitted through a single outlet Defects in network transmission ensure the quality of network transmission.
  • the network traffic processing method before the user terminal device receives the network traffic sent by the target terminal, the network traffic processing method further includes:
  • a scheduling policy is received, and the scheduling policy includes a source IP address and/or a destination IP address, a scheduling mode, and at least one designated network exit.
  • the central controller may provide a scheduling strategy editing function, such as a scheduling strategy editing interface or an API interface for editing scheduling strategies.
  • a scheduling strategy editing function such as a scheduling strategy editing interface or an API interface for editing scheduling strategies.
  • the user can edit the scheduling policy at the central controller, and the central controller sends the edited scheduling policy to the user terminal device.
  • the central controller can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, and can also provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network Cloud servers for basic cloud computing services such as services, cloud communications, middleware services, domain name services, security services, CDNs, edge clouds, and big data and artificial intelligence platforms are not specifically limited in this disclosure.
  • the scheduling policy may include but not limited to source IP address and/or destination IP address, scheduling mode and at least one specified network egress.
  • the source IP address may be IP address information of the target terminal
  • the destination IP address may be a destination address to be accessed by network traffic.
  • the designated network egress may be a network egress designated by the user to transmit specific network traffic, for example, the user may designate according to business needs, or based on parameter information such as the bandwidth of each network egress.
  • the user can select some network outlets from the ordered network outlets as designated network outlets.
  • the network outlets ordered by the user include network outlets A, B, C, and D.
  • the user can select network outlets A and B as the designated network outlets of the network traffic, that is, network outlet A Both B and B can be used to transmit the network traffic whose source IP address is a, and so on.
  • the user can formulate a scheduling policy according to the source IP address of the network traffic. For example, set the source IP address to the IP address of the production department, and specify the network egress as the SD-WAN network egress. In order to enable the network traffic of the production department to be transmitted through the SD-WAN network egress, data security is improved.
  • the user can also formulate a scheduling policy according to the destination IP address of the network traffic. For example, set the destination IP address as the address of a certain website, and specify the network egress as the Internet network egress. In order to make the network traffic to visit a certain website be transmitted through the Internet network egress, and reduce traffic charges.
  • the user may also formulate a scheduling policy based on the source IP address and destination IP address of network traffic.
  • the source IP address is the IP address of the finance department
  • the destination IP address is the IP address of the tax department
  • the designated network egress is the leased line network egress.
  • the number of specified network outlets can be one or more, and the multiple in this disclosure can be any number of two or more, and the user can determine the corresponding number when setting the scheduling policy according to actual implementation needs.
  • Designate a network egress which is not specifically limited in the present disclosure.
  • the dispatch mode may be a selection mode for determining the target network exit from at least one designated network exit.
  • the target network exit may be determined from the at least one designated network exit according to different selection rules.
  • the central controller may provide at least one scheduling mode for the user to select, and the user may select the corresponding scheduling mode when editing the scheduling policy according to actual implementation needs.
  • the scheduling mode may include the smart load mode.
  • the user can formulate various scheduling strategies conveniently and flexibly according to the prompts on the interface.
  • the user may specify different or the same network egress for network traffic with different source IP addresses and/or destination IP addresses.
  • the user may specify different or the same network egress for network traffic with different source IP addresses and/or destination IP addresses.
  • the dedicated line network egress For example, for the network traffic of the source IP address of an important department, specify the dedicated line network egress; for the network traffic whose destination IP address is the branch company, specify the SDWAN network egress, and for ordinary network traffic, specify the Internet egress.
  • Different services and network traffic of different importance are transmitted through different network exits to ensure the security of important services and important data.
  • the request traffic is distributed to multiple network outlets to ensure the network quality of each network outlet.
  • the scheduling mode can be a custom mode, that is, the user can specify at least one network outlet for network traffic, and set the load ratio for the specified network outlet, so that at least one specified network outlet can be set according to the load ratio set by the user Network traffic is scheduled at the network egress.
  • step S12 determines the scheduling policy corresponding to the network traffic, including:
  • the user terminal device can store the received scheduling policy locally, and when the user terminal device receives the network traffic that needs to be transmitted, it can analyze the network traffic and obtain the source of the network traffic IP address and/or destination IP address, based on the source IP address and/or destination IP address, query the locally stored scheduling policy to determine whether there is a scheduling policy corresponding to the source IP address and/or destination IP address of the network traffic .
  • the user terminal device can query according to the source IP address of the network traffic, or query according to the destination IP address of the network traffic, and can also query based on the source IP address and the destination IP address of the network traffic.
  • the scheduling policy corresponding to the network traffic is determined, and then the scheduling of the network traffic is realized, which can ensure the accuracy of the scheduling policy determination and make traffic control more convenient.
  • the scheduling mode includes a smart load mode
  • selecting the target network exit from multiple network exits to be selected includes:
  • the target network outlet is identified from the at least one designated network outlet according to the running status of each designated network outlet in the at least one designated network outlet.
  • the smart load mode may be a selection mode for determining a target network outlet from at least one designated network outlet based on the running status of each designated network outlet.
  • the scheduling mode is the intelligent load mode
  • the user terminal device can obtain the running status of each designated network outlet, and identify the target network outlet according to the running status of each designated network outlet.
  • the running state may include, but not limited to, one or more of network traffic value, bandwidth occupancy rate, jitter, and delay of a specified network egress. For example, when there is one designated network outlet, the designated network outlet is identified as the target network outlet; when there are multiple designated network outlets, the user terminal device can identify one or more designated network outlets with the best operating status The egress is identified as the destination network egress.
  • the user terminal device may also identify the target network egress from the at least one specified network egress based on the load balancing algorithm and according to the running status of each specified network egress in the at least one specified network egress.
  • the load balancing algorithm can select the designated network outlet with the lowest network load as the target network outlet, and/or perform load distribution according to the number of concurrent network flows, and/or perform load distribution according to the average waiting time of network flows over any period of time. Load distribution, and/or load distribution according to address information corresponding to network traffic, and so on. It should be understood that the load balancing algorithm may also perform load distribution in a manner other than the above distribution manner, which is not specifically limited in the present disclosure.
  • identifying the target network outlet from the at least one designated network outlet includes:
  • a target network outlet is identified from at least one designated network outlet according to the expected load ratio corresponding to each designated network outlet.
  • the expected load ratio can be that the transmission amount of network traffic undertaken by each network outlet in the subsequent predetermined time period accounts for the same type of network traffic (that is, the network traffic with the same source IP address and/or destination IP address) in the predetermined time period.
  • the proportion of the total transmission volume For example, if the expected load ratio of a certain network egress is 50%, then 50% of the network traffic received within a predetermined time period in the future will be transmitted by the network egress. It can be understood that if under a certain scheduling strategy, the expected load ratio of each designated network outlet in the scheduling strategy is determined, then the network traffic corresponding to the scheduling strategy received within a predetermined period of time can be calculated according to the expected load ratio. ratio for transmission.
  • the user terminal device in the smart load mode, can determine the expected load ratio of each designated network outlet in real time according to the operating status of each designated network outlet; in another example, the user terminal device can also The previous determination result is multiplexed, and the received network traffic is transmitted. For example, the user terminal equipment determines the expected load ratio of each specified network outlet according to a certain scheduling policy. If within the valid time, the user terminal device receives a certain network traffic and determines the same scheduling policy, then the user terminal device can determine the target network outlet to transmit the network traffic according to the previously determined expected load ratio of each designated network outlet . Therefore, it is not necessary to repeat the calculation multiple times, and the calculation resources of the user terminal equipment are saved.
  • the user terminal device can determine the expected load ratio of each network outlet according to the operating status of each designated network outlet.
  • the expected load ratio can be determined according to the load balancing method, or according to the remaining bandwidth of each outlet, etc. The situation is OK.
  • the target network outlet of 50% of the network traffic conforming to the scheduling policy is determined as network outlet 1, and the other 50% of the network traffic
  • the destination network egress for network traffic is identified as network egress 2.
  • the remaining bandwidth of network egress 1 is 1G
  • the remaining bandwidth of network egress 2 is 2G
  • the target network egress of 33% of the network traffic conforming to the scheduling policy is determined as network egress 1
  • the remaining The target network egress of the network traffic is determined as network egress 2.
  • the scheduling strategy is the intelligent scheduling mode and there are multiple designated network outlets
  • the network traffic is scheduled according to the expected load ratio according to the operating status of the designated network outlets, preventing multiple designated The load of some specified network outlets in the network outlets is too high, which leads to the degradation of the network quality of the network outlets.
  • the scheduling mode also includes a custom mode
  • identifying the target network exit from the multiple network exits to be selected includes:
  • the scheduling mode of the scheduling policy is a custom mode, obtain the expected load ratio corresponding to each designated network outlet in the preset at least one designated network outlet;
  • a target network outlet is identified from the at least one designated network outlet according to the expected load ratio corresponding to each designated network outlet.
  • the custom mode may be a mode in which scheduling is performed based on the expected load ratio of each designated network outlet preset by the user.
  • the user may select at least one network outlet from the ordered network outlets as the specified network outlet, and specify a corresponding expected load ratio for each designated network outlet.
  • the network traffic can be transmitted according to the expected load ratio of each designated network outlet preset by the user.
  • the expected load ratio corresponding to each designated network outlet can be obtained from the scheduling strategy, and then based on the expected load ratio of each designated network outlet, A target network egress is identified from the at least one specified network egress.
  • the scheduling mode corresponding to a certain scheduling policy is custom mode, and the specified network egress is network egress 1 and network egress 2, the expected load ratio of network egress 1 is 30%, and the expected load ratio of network egress 2 is 70%, then The user terminal may schedule 30% of the network traffic corresponding to the scheduling policy to network egress 1, and schedule the remaining 70% to network egress 2.
  • user terminal equipment can be scheduled based on the expected load ratio corresponding to the specified network outlet preset by the user, without the need to calculate the expected load ratio, which not only ensures the utilization rate of each network outlet, but also The efficiency of traffic scheduling is improved.
  • the network traffic processing method further includes:
  • the network usage rate may be the ratio of the current load of the network egress to the maximum allowable load.
  • the user terminal device will also detect the network usage rate of each network outlet in real time, and when the network usage rate of a certain network outlet reaches or exceeds a predetermined threshold, it will no longer send traffic to the network. Egress scheduling traffic. Even if the egress is the designated network egress in the scheduling policy, the user terminal device will no longer dispatch network traffic to the network egress.
  • the predetermined threshold may be 70% or 80%, and the above values are only exemplary, and the present disclosure does not make any special limitation thereto.
  • the network traffic processing method further includes:
  • the network egress includes a default network egress, and when the scheduling policy corresponding to the network traffic cannot be determined, the network traffic is scheduled to the default network egress.
  • the network traffic may be scheduled to a default network egress.
  • the default network exit can be specified as any one of multiple network exits.
  • the user only sets one dispatch policy: dispatch the network traffic accessing a certain destination IP address to the egress of the leased line network.
  • the network traffic is dispatched to the exit of the dedicated line network, and the internal network client accesses the destination IP address through the dedicated line network to obtain important data and improve data security and timeliness.
  • the network traffic accessing other destination addresses is dispatched to the default network egress.
  • the default network egress is the Internet egress, and the traffic of non-important data is sent through the Internet egress, which can not only meet the Internet access needs of internal network users, but also reduce the cost of private line network.
  • the traffic occupation of the private line avoids the degradation of the network quality caused by the traffic congestion of the dedicated line network, and at the same time reduces the traffic cost of the dedicated line network.
  • the user may also determine the default network egress according to the relevant information of the network egress, such as the bandwidth and delay of the network egress.
  • the relevant information of the network egress such as the bandwidth and delay of the network egress.
  • Fig. 4 is a flowchart showing a method for processing network traffic according to an exemplary embodiment.
  • the network traffic processing method is applied to the central dispatching controller, and the network traffic processing method includes at least step S41 to step S42, which are described in detail as follows:
  • Step S41 acquiring a scheduling policy corresponding to the user terminal device.
  • the central dispatching controller can provide the user with a dispatching policy editing function, and the user can edit the dispatching policy on the user terminal equipment owned by the central controller, and the central controller can obtain the edited information of the user.
  • Scheduling policy and correspondingly storing the scheduling policy and the user terminal equipment, for example, establishing a correspondence table between the scheduling policy and the identification information of the user terminal equipment.
  • Step S42 sending the scheduling policy to the user terminal equipment, so that the user terminal equipment schedules the received network traffic according to the scheduling policy.
  • the central dispatching controller may send the obtained dispatching policy of the user terminal device to the user terminal device. It is worth noting that when a network service provider provides network services to multiple users, it can determine the corresponding relationship between users and user terminal equipment based on the unique identifiers of users (such as enterprise identification codes, ID card numbers, user accounts, contact numbers, etc.). Send the scheduling policy of the user to the user terminal equipment belonging to the user. After receiving the scheduling policy of the user, the user terminal device deploys the scheduling policy locally, and after receiving the network traffic, it can determine the scheduling policy corresponding to the network traffic, and perform scheduling according to the scheduling policy.
  • a network service provider provides network services to multiple users, it can determine the corresponding relationship between users and user terminal equipment based on the unique identifiers of users (such as enterprise identification codes, ID card numbers, user accounts, contact numbers, etc.).
  • the user terminal device deploys the scheduling policy locally, and after receiving the network traffic, it can determine the scheduling policy
  • the access traffic can be distributed to multiple network outlets, so that multiple types of network outlets can coexist, improve the utilization rate of each network outlet, and solve the problem that traditional networks can only
  • the defect of network transmission is transmitted through a single outlet, which ensures the quality of network transmission.
  • the central controller acquires a scheduling policy corresponding to the user terminal equipment, including:
  • the target terminal In response to the editing request for the scheduling policy sent by the target terminal, instruct the target terminal to display a scheduling policy editing interface, where the scheduling policy editing interface includes at least one scheduling policy editing option;
  • a scheduling policy corresponding to the user terminal device is generated and stored.
  • the scheduling strategy editing interface may be an editing interface for configuring scheduling strategies, and the user may add, delete, and modify scheduling strategies in the scheduling strategy editing interface.
  • the scheduling strategy editing interface may include at least one scheduling strategy editing option, such as scheduling strategy name option, source IP address input option, destination IP address input option, scheduling mode selection option, specified network outlet setting option or expected load ratio setting options, etc.
  • the user can log in to the device management interface provided by the central controller through the target terminal, and click a specific area (such as a "policy configuration" button, etc.) in the device management interface to generate an edit request for the scheduling policy
  • the target terminal may send the editing request to the central controller.
  • the central controller can instruct the target terminal to display the scheduling strategy editing interface, for example, the scheduling strategy editing interface can be sent to the target terminal as response information, so that the target terminal displays the scheduling strategy editing interface, and the scheduling strategy
  • the policy editing interface may include at least one scheduling policy editing option for users to edit.
  • the dispatching policy editing interface can send the editing information received by the dispatching policy edit option to the central controller, and the central controller will generate and store the dispatching policy corresponding to the user terminal device. For example, a corresponding relationship between a scheduling policy and a user's unique identifier is established to ensure the accuracy of dispatching the policy.
  • obtaining a scheduling policy corresponding to a user terminal device includes:
  • the scheduling policy corresponding to the user terminal equipment is received.
  • the central controller can open an API interface to the user, and the user uploads the scheduling policy to the central controller through the API interface, and then the central controller automatically sends it to the user terminal device. It is convenient for users to formulate scheduling strategies at any time, and perform operations such as updating and deleting uploaded scheduling strategies.
  • a company has subscribed to network services such as the Internet, dedicated line network, and SD-WAN.
  • network services such as the Internet, dedicated line network, and SD-WAN.
  • scheduling strategies have been formulated:
  • Scheduling strategy 1 The source address is the IP address of the finance department, the destination address is the IP address of the tax department, the egress scheduling mode is smart load mode, and the designated network egress is dedicated line network egress 1;
  • Scheduling strategy 2 The source address is the IP address of the intranet of the company headquarters, the destination address is the IP address of the branch, the egress scheduling mode is smart load mode, and the designated egress is SD-WAN network egress 2;
  • the default network egress is Internet egress 3.
  • the company uploads the above scheduling policy to the central controller through a dedicated API interface, and the central controller sends it to the user terminal equipment at the headquarters.
  • the network traffic of the finance department accessing the tax department complies with dispatching policy 1, and the user terminal device dispatches the network traffic to exit 1 of the private line network.
  • dispatching policy 1 the user terminal device dispatches the network traffic to exit 1 of the private line network.
  • ordinary Internet access requests from the financial department do not comply with dispatching strategy 1 or 2, and are dispatched to Internet exit 3 by user terminal equipment.
  • the request from the company headquarters to visit each branch company complies with scheduling policy 2, and the user terminal equipment schedules network traffic to SD-WAN network egress 2.
  • the network usage rate of the SD-WAN network egress 2 has reached the predetermined threshold. If the network traffic is dispatched to the SD-WAN network egress 2, the SD-WAN network will Exit 2 is congested or even collapsed.
  • the user terminal equipment can detect the network usage rate of each network outlet in real time.
  • the network usage rate of SD-WAN network outlet 2 reaches the predetermined threshold, the network traffic of the company headquarters to visit each branch will no longer be dispatched to the SD-WAN network.
  • the network traffic of the company headquarters accessing each branch can be dispatched to the private line network exit 1 and the Internet exit 3.
  • the scheduling policy 2 is adjusted, and the specified network outlets are: SD-WAN network outlet 2, with a load ratio of 70%; leased line network outlet 1, with a load ratio of 30%.
  • the adjusted scheduling policy 2 is re-uploaded to the central controller, and the central controller sends it to the user terminal equipment in the headquarters to update the scheduling policy 2.
  • the user terminal device can flexibly schedule the network traffic according to the scheduling policy, schedule the request traffic to multiple network outlets, improve the utilization rate of the network outlet, and prevent a certain network from If the export load is too large, network congestion will occur, which improves network transmission efficiency.
  • Fig. 5 is a block diagram of a network traffic processing device according to an exemplary embodiment.
  • the network traffic processing device is applied to user terminal equipment, including: a request receiving module 501 , a scheduling policy determination module 502 , a network egress selection module 503 , and a scheduling module 504 .
  • the request receiving module 501 is configured to receive network traffic sent by the target terminal.
  • the determining scheduling policy module 502 is configured to determine a scheduling policy corresponding to network traffic according to address information corresponding to network traffic.
  • the network egress selection module 503 is configured to select a target network egress from multiple network egresses to be selected according to a scheduling policy.
  • the scheduling module 504 is configured to schedule the network traffic to the target network egress, so as to transmit the network traffic through the target network egress.
  • the determining scheduling policy module 502 is also configured to obtain the source IP address and/or the destination IP address of the network traffic; and determine the scheduling policy corresponding to the source IP address and/or the destination IP address.
  • the network egress identification module 503 is also configured to:
  • the target network outlet is identified from the at least one designated network outlet according to the running status of each designated network outlet in the at least one designated network outlet.
  • the network egress identification module 503 is also configured to:
  • the scheduling mode of the scheduling policy is a custom mode, obtain the expected load ratio corresponding to each designated network outlet in the preset at least one designated network outlet;
  • a target network outlet is identified from at least one designated network outlet according to the expected load ratio corresponding to each designated network outlet.
  • the scheduling module 504 is further configured to schedule the network traffic to a default network egress when the scheduling policy module 502 fails to determine the scheduling policy corresponding to the network traffic.
  • Fig. 6 is a block diagram of a network traffic processing device according to an exemplary embodiment.
  • the network traffic processing device further includes a scheduling policy receiving module 601 .
  • the scheduling policy receiving module 601 is configured to receive a scheduling policy, where the scheduling policy includes a source IP address and/or a destination IP address, a scheduling mode, and at least one target network egress.
  • Fig. 7 is a block diagram of a network traffic processing device according to an exemplary embodiment. Referring to Figure 7,
  • the network traffic processing device also includes a detection module 701 .
  • the detection module 701 is configured to detect the network usage of multiple outlets in real time, and when the usage of a certain outlet reaches a preset threshold, the scheduling module 504 no longer dispatches traffic to the network outlet.
  • Fig. 8 is a block diagram of a network traffic processing device according to an exemplary embodiment.
  • the network traffic processing device is applied to a central controller, and includes: a scheduling policy acquisition module 801 and a scheduling policy delivery module 802 .
  • the scheduling policy acquiring module 801 is configured to acquire a scheduling policy corresponding to the user terminal equipment.
  • the scheduling policy sending module 802 is configured to send the scheduling policy to the user terminal equipment, so that the user terminal equipment schedules the received network traffic according to the scheduling policy.
  • Fig. 9 is a block diagram showing a computer device 900 used in a network traffic processing apparatus according to an exemplary embodiment.
  • computer device 900 may be provided as a server.
  • a computer device 900 includes a processor 901 , and the number of processors can be set to one or more as required.
  • the computer device 900 also includes a memory 902 for storing instructions executable by the processor 901 , such as application programs. The number of memories can be set to one or more as required. It can store one or more applications.
  • the processor 901 is configured to execute instructions to execute the above-mentioned method for processing network traffic.
  • the embodiments of the present disclosure may be provided as a method, an apparatus (device), or a computer program product. Accordingly, the present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein.
  • Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data , including but not limited to RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can be used in Any other medium, etc. that stores desired information and can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
  • the device realizes the function specified in one or more processes of the flowchart and/or one or more blocks of the block diagram
  • a network traffic processing method After receiving the network traffic sent by the target terminal, the user terminal equipment determines the scheduling policy corresponding to the network traffic according to the address information corresponding to the network traffic, and exits from multiple networks according to the scheduling policy. Select the target network egress in , and dispatch the network traffic to the target network egress.
  • the access traffic can be distributed to multiple network outlets, so that multiple types of networks can coexist, improve the utilization rate of each network outlet, and solve the problem that the traditional network can only be transmitted through a single outlet Defects in network transmission ensure the quality of network transmission.

Landscapes

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

Abstract

本公开是关于一种网络流量处理方法、装置、介质及设备。网络流量处理方法应用于用户终端设备,包括:接收由目标终端发送的网络流量;根据网络流量对应的地址信息,确定网络流量对应的调度策略;根据调度策略,从待选的多个网络出口中选择出目标网络出口;将网络流量调度至目标网络出口,以通过目标网络出口对网络流量进行传输。

Description

网络流量处理方法、装置、介质及电子设备
本公开基于2021年11月19日提交中国专利局、申请号为202111391916.0,发明名称为“网络流量处理方法、装置、介质及电子设备”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本公开作为参考。
技术领域
本公开实施例涉及但不限于一种网络流量处理方法、装置、介质及电子设备。
背景技术
当用户订购了互联网、专线网络、SD-WAN(SD-WAN,Software Defined Wide Area Network,即软件定义广域网)网络等多个网络出口时,常出现访问流量总是从单一网络出口发出,而其他网络出口处于空闲状态,利用率低下。且当访问流量大于网络出口带宽时,容易造成流量拥塞,导致网络质量下降。由此,如何提高网络出口的利用率,进而保证网络传输质量成为了亟待解决的技术问题。
发明内容
以下是对本公开详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
为至少部分克服相关技术中存在的问题,本公开提供一种网络流量处理方法、装置、介质及电子设备。
根据本公开的第一方面,提供一种网络流量处理方法,应用于用户终端设备,包括:
接收由目标终端发送的网络流量;
根据所述网络流量对应的地址信息,确定所述网络流量对应的调度策略;
根据所述调度策略,从待选的多个网络出口中选择出目标网络出口;
将所述网络流量调度至所述目标网络出口,以通过所述目标网络出口对所述网络流量进行传输。
在本公开一些示例性的实施例中,在所述接收由目标终端发送的网络流量之前,网络流量处理方法还包括:
接收调度策略,所述调度策略包括源IP地址和/或目的IP地址、调度模式以及至少一个指定网络出口。
在本公开一些示例性的实施例中,所述根据所述网络流量对应的地址信息,确定所述网络流量对应的调度策略包括:
获取所述网络流量的源IP地址和/或目的IP地址;
确定与所述源IP地址和/或所述目的IP地址对应的调度策略。
在本公开一些示例性的实施例中,所述调度模式包括智能负载模式;
所述根据所述调度策略,从待选的多个网络出口中选择出目标网络出口包括:
当所述调度策略的调度模式为智能负载模式时,根据所述至少一个指定网络出口中各指定网络出口的运行状态,从所述至少一个指定网络出口中识别出目标网络出口。
在本公开一些示例性的实施例中,所述根据所述至少一个指定网络出口中各指定网络出口的运行状态,从所述至少一个指定网络出口中识别出目标网络出口,包括:
根据所述至少一个指定网络出口中各指定网络出口的运行状态,确定各指定网络出口对应的期望负载比例;
根据各指定网络出口对应的期望负载比例,从所述至少一个指定网络出口中识别出目标网络出口。
在本公开一些示例性的实施例中,所述调度模式还包括自定义模式;
所述根据所述调度策略,从待选的多个网络出口中识别出目标网络出口包括:
当所述调度策略的调度模式为自定义模式时,获取预先设定的所述至少一个指定网络出口中各指定网络出口对应的期望负载比例;
根据各指定网络出口对应的期望负载比例,从所述至少一个指定网络出口中识别出目标网络出口。
在本公开一些示例性的实施例中,网络流量处理方法还包括:
获取多个所述网络出口的网络使用率;
禁止向所述网络使用率大于预定阈值的所述网络出口调度网络流量。
在本公开一些示例性的实施例中,在所述根据所述网络流量对应的地址信息,确定所述网络流量对应的调度策略之后,网络流量处理方法还包括:
所述网络出口包括默认网络出口,当未能确定所述网络流量对应的调度策略时,将所述网络流量调度至默认网络出口。
根据本公开的第二方面,提供一种网络流量处理方法,应用于中央控制器,包括:
获取用户终端设备对应的调度策略;
将所述调度策略向所述用户终端设备进行发送,以使所述用户终端设备根据所述调度策略对接收到的网络流量进行调度。
在本公开一些示例性的实施例中,所述获取用户终端设备对应的调度策略,包括:
响应于由目标终端发送的针对调度策略的编辑请求,指示所述目标终端显示调度策略编辑界面,所述调度策略编辑界面包括至少一个调度策略编辑选项;
根据所述至少一个调度策略编辑选项接收到的编辑信息,生成并存储所述用户终端设备对应的调度策略。
在本公开一些示例性的实施例中,所述获取用户终端设备对应的调度策略,包括:
基于预先设定的API接口,接收用户终端设备对应的调度策略。
根据本公开的第三方面,提供一种网络流量处理装置,应用于用户终端设备,包括:
请求接收模块,设置为接收由目标终端发送的网络流量;
确定调度策略模块,设置为根据所述网络流量对应的地址信息,确定所述网络流量对应的调度策略;
网络出口选择模块,设置为根据所述调度策略,从待选的多个网络出口中选择出目标网络出口;
调度模块,设置为将所述网络流量调度至所述目标网络出口,以通过所述目标网络出口对所述网络流量进行传输。
在本公开一些示例性的实施例中,网络流量处理装置还包括:
调度策略接收模块,设置为接收调度策略,所述调度策略包括源IP地址和/或目的IP地址、调度模式以及至少一个指定网络出口。
在本公开一些示例性的实施例中,网络流量处理装置还包括:
探测模块,设置为获取多个所述网络出口的网络使用率,禁止向所述网络使用率大于预定阈值的所述网络出口调度网络流量。
根据本公开的第四方面,提供一种网络流量处理装置,应用于中央控制器,包括:
调度策略获取模块,设置为获取用户终端设备对应的调度策略;
调度策略下发模块,设置为将所述调度策略向所述用户终端设备进行发送,以使所述用户终端设备根据所述调度策略对接收到的网络流量进行调度。
根据本公开的第五方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被执行时实现如上所述的网络流量处理方法的步骤。
根据本公开的第六方面,提供一种计算机设备,包括处理器、存储器和存储于所述存储器上的计算机程序,所述处理器执行所述计算机程序时实现如上所述的网络流量处理方法的步骤。
本公开通过提供一种网络流量处理方法,用户终端设备接收到由目标终端发送的网络流量后,根据网络流量对应的地址信息,确定网络流量对应的调度策略,根据调度策略从多个网络出口中选择出目标网络出口,将网络流量调度至目标网络出口。可以实现在用户订购了多种网络出口的场景下,将访问流量 分散到多个网络出口上,使得多类型的网络共存,提高各个网络出口的使用率,解决了传统网络只能通过单一出口传输网络传输的缺陷,保证了网络传输质量。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。在阅读并理解了附图和详细描述后,可以明白其他方面。
附图说明
构成本公开的一部分的附图用来提供对本公开的进一步理解,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:
图1是根据本公开一示例性实施例示出的一种网络流量处理方法的流程图。
图2和图3是可应用于本公开一示例性实施例示出的网络流量处理方法的终端界面示意图。
图4是根据本公开一示例性实施例示出的一种网络流量处理方法的流程图。
图5是根据本公开一示例性实施例示出的一种网络流量处理装置的框图。
图6是根据本公开一示例性实施例示出的一种网络流量处理装置的框图。
图7是根据本公开一示例性实施例示出的一种网络流量处理装置的框图。
图8是根据本公开一示例性实施例示出的一种网络流量处理装置的框图。
图9是根据本公开一示例性实施例示出的一种计算机设备的框图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互任意组合。
当用户订购了互联网、专线网络、SD-WAN((SD-WAN,Software Defined Wide Area Network,即软件定义广域网)网络等多个网络出口时,常出现访问流量 总是从单一网络出口发出,而其他网络出口处于空闲状态,利用率低下。且当访问流量大于网络出口带宽时,容易造成流量拥塞,导致网络质量下降。
为解决以上问题,本公开提供一种网络流量处理方法。图1是根据本公开一示例性实施例示出的网络流量处理方法的流程图。参考图1,该网络流量处理方法可以应用于用户终端设备,至少包括步骤S11至步骤S14,详细介绍如下:
步骤S11,接收由目标终端发送的网络流量。
其中,用户终端设备可以为CPE(Customer Premise Equipment)设备,在一示例中,用户所使用的网络(例如企业内网等)首先连接到用户终端设备,再由用户终端设备连接到多个网络出口,以通过各个网络出口传输网络流量。在其他实施例中,用户终端设备也可以是其他具有数据中转功能的任意电子设备,例如路由器、交换机、服务器等等。
目标终端可以是使用上述网络进行通信的终端设备,其可以包括智能手机、平板电脑、便携式电脑、台式电脑、智能穿戴式设备、物联网设备或者车载电脑等电子设备中的一种或多种。需要说明的,目标终端也可以是其他具有数据访问功能以及网络连接功能的任意电子设备,本公开对此不作特殊限定。
网络流量可以是基于用户操作而由目标终端生成的、在网络中进行传输的信息流,该网络流量可以是各种形式的信息流,例如网络流量可以是对某一资源的访问请求,该资源可以包括但不限于视频、图像、音频或者文档等;该网络流量也可以是针对某一资源的上传请求,等等。在其他示例中,网络流量也可以是由目标终端基于业务需要而自动生成的信息流,本公开对此不作特殊限定。
在本公开一示例性实施例中,终端设备可以生成网络流量并在网络中进行传输,该终端设备可以将生成的网络流量向用户终端设备进行发送。在一示例中,可以通过设置静态路由或动态路由的方式,使得目标终端将网络流量发送到用户终端设备,以使该用户终端设备针对接收到的网络流量进行后续处理。
步骤S12,根据网络流量对应的地址信息,确定网络流量对应的调度策略。
其中,调度策略可以是预先设定的、用以对接收到的网络流量进行调度的策略信息。本领域技术人员可以根据实际实现需要,预先设定一个或多个调度策略,以根据该调度策略实现对用户终端设备接收到的网络流量进行调度,将网络流量分散到各个网络出口上,从而提高对各个网络出口的利用率,保证网 络传输质量。
以上述网络为企业内网为例,调度策略可以设置为将来自重要部门的网络流量调度至专线网络,保证重要部门的业务效率和安全性。或者,将重要性一般的请求调度至互联网出口,降低流量成本。或者,将大量的网络流量按比例调度至多个网络出口,降低单一网络出口的压力。
网络流量的地址信息可以是网络流量的源IP地址和/或目的IP地址。在一示例中,本领域技术人员可以根据各源IP地址和/或目的IP地址,设定对应的调度策略,并保存各源IP地址和/或目的IP地址与调度策略之间的对应关系,从而使得用户终端设备在接收到网络流量时,能够根据该网络流量的地址信息,查询并确定对应的调度策略。
步骤S13,根据调度策略,从待选的多个网络出口中选择出目标网络出口。
其中,待选的多个网络出口是指用户订购的多个网络出口。用户终端设备可以根据网络流量对应的调度策略,从多个网络出口中选择出目标网络出口,以通过该目标网络出口对该网络流量进行传输。需要说明的,本公开并不限定目标网络出口的数量,目标网络出口的数量可以是一个,也可以是多个,本公开所述多个即两个或两个以上的任意数量。
需要说明的,根据不同的调度策略,可以选择不同的网络出口作为目标网络出口,也可以选择相同的网络出口作为目标网络出口,以实现对网络流量的调度,本公开对此不作特殊限定。在本公开一示例性实施例中,调度策略可以包含与目标网络出口相关的信息,例如目标网络出口的标识信息等。由此,用户终端设备可以基于调度策略,从多个网络出口中识别出目标网络出口,以通过该目标网络出口中对网络流量进行调度。
步骤S14,将网络流量调度至目标网络出口,以通过目标网络出口对网络流量进行传输。
在本公开一示例性实施例中,用户终端设备可以将网络流量调度至目标网络出口,以通过目标网络出口对该网络流量进行传输,即通过该目标网络出口,将该网络流量向其目的IP地址进行发送。
基于图1所示的实施例,通过用户终端设备接收到由目标终端发送的网络流量后,根据网络流量对应的地址信息,确定网络流量对应的调度策略,根据调度策略从多个网络出口中选择出目标网络出口,将网络流量调度至目标网络 出口。可以实现在用户订购了多种网络出口的场景下,将访问流量分散到多个网络出口上,使得多类型的网络共存,提高各个网络出口的使用率,解决了传统网络只能通过单一出口传输网络传输的缺陷,保证了网络传输质量。
在本公开一示例性实施例中,在用户终端设备接收由目标终端发送的网络流量之前,网络流量处理方法还包括:
接收调度策略,调度策略包括源IP地址和/或目的IP地址、调度模式以及至少一个指定网络出口。
在该实施例中,中央控制器可以提供调度策略编辑功能,例如调度策略编辑界面或者用于编辑调度策略的API接口等。用户可以在中央控制器处对调度策略进行编辑,并由中央控制器将编辑完成的调度策略向用户终端设备进行发送。
需要说明的,中央控制器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、边缘云以及大数据和人工智能平台等基础云计算服务的云服务器,本公开对此不作特殊限定。
在该实施例中,调度策略可以包括但不限于源IP地址和/或目的IP地址、调度模式以及至少一个指定网络出口。其中,源IP地址可以是目标终端的IP地址信息,目的IP地址可以是网络流量所欲访问的目的地址。指定网络出口可以是由用户进行指定的、用以传输特定网络流量的网络出口,例如用户可以根据业务需要进行指定、或者基于各网络出口的带宽等参数信息进行指定等。
用户可以根据不同的源IP地址和/或目的IP地址的网络流量,从订购的多个网络出口中选择部分网络出口作为指定网络出口。例如,用户所订购的网络出口包括网络出口A、B、C和D,针对源IP地址为a的网络流量,用户可以选择网络出口A和B作为该网络流量的指定网络出口,即网络出口A和B都可以用于传输该源IP地址为a的网络流量,等等。
在一示例中,用户可以根据网络流量的源IP地址制定调度策略。例如,设置源IP地址为生产部门的IP地址,指定网络出口为SD-WAN网络出口。以使生产部门的网络流量经SD-WAN网络出口传输,提高数据的安全性。
另一示例中,用户也可以根据网络流量的目的IP地址制定调度策略。例如, 设置目的IP地址为某网站的地址,指定网络出口为互联网网络出口。以使访问某网站的网络流量经互联网网络出口传输,降低流量费用。
再一示例中,用户还可以综合网络流量的源IP地址和目的IP地址制定调度策略。例如,源IP地址为财务部门的IP地址,目的IP地址为税务部门的IP地址,指定网络出口为专线网络出口。以使公司财务部门与税务部门之间的网络流量经专线网络出口传输,提高数据的安全性,并保证传输效率。
需要说明的,指定网络出口的数量可以是一个或者多个,本公开所述多个可以是两个或者两个以上的任意数量,用户可以根据实际实现需要,在设置调度策略时确定对应数量的指定网络出口,本公开对此不作特殊限定。
调度模式可以是用以从至少一个指定网络出口中确定目标网络出口的选择模式,在不同调度模式下,可以遵循不同的选择规则从至少一个指定网络出口中确定出目标网络出口。在一示例中,中央控制器可以提供至少一种调度模式以供用户进行选择,用户可以根据实际实现需要,在编辑调度策略时选择对应的调度模式。
图2和图3是可应用于本公开一示例性实施例示出的网络流量处理方法的终端界面示意图。如图2所示,调度模式可以包括智能负载模式,在智能负载模式下,用户根据界面的提示,可以方便灵活地制定各种各样的调度策略。例如,用户可以为不同源IP地址和/或目的IP地址的网络流量,指定不同或相同的网络出口。例如,为重要部门的源IP地址的网络流量,指定专线网络出口;为目的IP地址为分公司的网络流量指定SDWAN网络出口,普通的网络流量指定为互联网出口。实现不同业务,不同重要性的网络流量经不同的网络出口进行传输,保证重要业务,重要数据的安全。并将请求流量分散到多个网络出口,保障各个网络出口的网络质量。
又如图3所示,调度模式可以为自定义模式,即用户可以为网络流量指定至少一个网络出口,并为指定的网络出口设置负载比例,以根据用户所设定的负载比例在至少一个指定网络出口中对网络流量进行调度。
在一示例性实施例中,步骤S12,根据网络流量对应的地址信息,确定网络流量对应的调度策略,包括:
获取网络流量的源IP地址和/或目的IP地址;
确定与源IP地址和/或目的IP地址对应的调度策略。
在该实施例中,用户终端设备可以将接收到的调度策略在本地进行存储,当用户终端设备接收到需要进行传输的网络流量后,可以对该网络流量进行解析,并获取该网络流量的源IP地址和/或目的IP地址,基于该源IP地址和/或目的IP地址对本地存储的调度策略中进行查询,确定是否存在与网络流量的源IP地址和/或目的IP地址对应的调度策略。具体地,用户终端设备既可以根据网络流量的源IP地址进行查询,也可以根据网络流量的目标IP地址进行查询,还可以综合网络流量的源IP地址和目的IP地址进行查询。
由此,根据网络流量的源IP地址和/或目的IP地址确定网络流量对应的调度策略,进而实现对网络流量的调度,可以保证调度策略确定的准确性,流量管控更加便捷。
在一示例性实施例中,调度模式包括智能负载模式;
根据调度策略,从待选的多个网络出口中选择出目标网络出口包括:
当调度策略的调度模式为智能负载模式时,根据至少一个指定网络出口中各指定网络出口的运行状态,从至少一个指定网络出口中识别出目标网络出口。
在该实施例中,智能负载模式可以是基于各指定网络出口的运行状态,从至少一个指定网络出口中确定目标网络出口的选择模式。当调度模式为智能负载模式时,用户终端设备可以获取各指定网络出口的运行状态,根据各个指定网络出口的运行状态,识别出目标网络出口。需要说明的,运行状态可以包括但不限于指定网络出口的网络流量值、带宽占用率、抖动、延迟中的一个或多个。例如,当指定网络出口为一个时,将该指定网络出口识别为目标网络出口;当而指定网络出口为多个时,用户终端设备则可以将其中运行状态最好的一个或多个指定网路出口识别为目标网络出口。
在本公开一示例性实施例中,用户终端设备也可以基于负载均衡算法,根据至少一个指定网络出口中各指定网络出口的运行状态,从至少一个制定网络出口中识别出目标网络出口。具体地,负载均衡算法可以选择具有最低网络负载的指定网络出口作为目标网络出口、和/或根据并发网络流量的数量进行负载分配、和/或根据任意时间段上的网络流量的平均等待时间进行负载分配、和/或根据网络流量对应的地址信息进行负载分配,等等。应该理解的,负载均衡算法也可以采用除上述分配方式以外的方式进行负载分配,本公开对此不作特殊限定。
在一示例性实施例中,根据至少一个指定网络出口中各指定网络出口的运行状态,从至少一个指定网络出口中识别出目标网络出口,包括:
根据至少一个指定网络出口中各指定网络出口的运行状态,确定各指定网络出口对应的期望负载比例;
根据各指定网络出口对应的期望负载比例,从至少一个指定网络出口中识别出目标网络出口。
其中,期望负载比例可以是各网络出口在之后预定时间段内所承担的网络流量的传输量占该预定时间段内相同类型网络流量(即同一源IP地址和/或目的IP地址的网络流量)的总传输量的比例。例如,某一网络出口的期望负载比例为50%,则在未来预定时间段内接收到的网络流量中的50%都由该网络出口进行传输。可以理解的,若在某一调度策略下,确定了该调度策略中各指定网络出口的期望负载比例,则在预定时间段内接收到的与该调度策略对应的网络流量皆可以按照该期望负载比例进行传输。
在一示例中,在智能负载模式下,用户终端设备可以实时根据各指定网络出口的运行状态,确定各指定网络出口的期望负载比例;在另一示例中,用户终端设备也可以在有效时间内复用在先的确定结果,对接收到的网络流量进行传输。例如,用户终端设备根据某一调度策略,确定了各指定网络出口的期望负载比例。若在有效时间内,用户终端设备接收到某一网络流量确定了相同的调度策略,则用户终端设备可以根据之前确定的各指定网络出口的期望负载比例,确定目标网络出口对该网络流量进行传输。由此,无需多次重复计算,节省了用户终端设备的计算资源。
在该实施例中,用户终端设备可以根据各指定网络出口的运行状态,确定各网络出口的期望负载比例,例如,期望负载比例可以根据负载均衡的方式确定,也可以根据各个出口的剩余带宽等情况确定。
例如,当指定网络出口为两个,且两个指定网络出口运行状态正常,将符合调度策略的网络流量中的50%的网络流量的目标网络出口确定为网络出口1,对于另外的50%的网络流量的目标网络出口确定为网络出口2。
或者,两个网络出口中,网络出口1的剩余带宽为1G,网络出口2的剩余带宽为2G,将符合调度策略的网络流量中的33%的流量的目标网络出口确定为网络出口1,剩余的网络流量的目标网络出口确定为网络出口2。
需要说明的是,以上仅为示例性举例,本领域技术人员可以根据实际实现需要,配置对应的期望负载比例的确定方式,其也可以是采用现有的确定方式,本公开对此不作特殊限定。
由此,在该实施例中,当调度策略为智能调度模式,且具有多个指定网络出口的情况下,将网络流量根据指定网络出口的运行状态,按期望负载比例进行调度,防止多个指定网络出口中的部分指定网络出口出现负载过高,进而导致网络出口的网络质量下降的情况发生。
在一示例性实施例中,调度模式还包括自定义模式;
根据调度策略,从待选的多个网络出口中识别出目标网络出口包括:
当调度策略的调度模式为自定义模式时,获取预先设定的至少一个指定网络出口中各指定网络出口对应的期望负载比例;
根据各指定网络出口对应的期望负载比例,从所述至少一个指定网络出口中识别出目标网络出口。
其中,自定义模式可以是基于用户预先设定的各指定网络出口的期望负载比例进行调度的模式。具体地,用户在配置调度策略时,可以从订购的多个网络出口中选择至少一个网络出口作为制定网络出口,并为各指定网络出口指定对应的期望负载比例。由此,当用户终端设备确定调度策略对应自定义模式时,则可以根据用户预先设定的各指定网络出口的期望负载比例对网络流量进行传输。
在该实施例中,当用户终端设备确定调度策略的调度模式为自定义模式时,可以从该调度策略中获取各指定网络出口对应的期望负载比例,再基于各指定网络出口的期望负载比例,从至少一个指定网络出口中识别出目标网络出口。
例如,某一调度策略对应的调度模式为自定义模式,指定网络出口为网络出口1和网络出口2,网络出口1的期望负载比例为30%,网络出口2的期望负载比例为70%,则用户终端可以将与该调度策略对应的网络流量中的30%调度到网络出口1,剩余的70%调度至网络出口2。
由此,在自定义模式下,用户终端设备可以基于用户预先设定的指定网络出口对应的期望负载比例进行调度,无需进行期望负载比例的计算,既保证了对各网络出口的利用率,也提高了流量调度的效率。
在一示例性实施例中,网络流量处理方法,还包括:
获取多个网络出口的网络使用率;
禁止向所述网络使用率大于预定阈值的所述网络出口调度网络流量。
其中,网络使用率可以是网络出口当前的负载占允许的最大负载的比例。
应该理解的,当某个网络出口的网络使用率过大,如果继续向该网络出口调度网络流量,则会导致该网络出口出现流量拥塞的情况,进而导致网络质量下降甚至网络出口故障。因此,在本公开提供的网络流量处理方法中,用户终端设备还会实时探测各个网络出口的网络使用率,当某个网络出口的网络使用率达到或超过预定阈值后,则不再向该网络出口调度流量。即使该出口为调度策略中的指定网络出口,用户终端设备也不再将网络流量调度至该网络出口。由此,可以防止将过多的网络流量调度至同一网络出口,或者,在对大量网络流量未设置调度策略时,被调度至默认网络出口,导致某一网路出口达到流量上限,造成流量拥塞。
需要说明的,本领域技术人员可以根据在先经验设定该预定阈值,例如该预定阈值可以为70%或者80%等,以上数值仅为示例性举例,本公开对此不作特殊限定。
在一示例性实施例中,在根据所述网络流量对应的地址信息,确定网络流量对应的调度策略之后,网络流量处理方法还包括:
网络出口包括默认网络出口,当未能确定网络流量对应的调度策略时,将网络流量调度至默认网络出口。
在该实施例中,如果用户终端设备中未存储与接收到的网络流量的源IP地址和/或目的IP地址对应的调度策略,则可以将该网络流量调度至默认网络出口。默认网络出口可以指定为多个网络出口中的任一网络出口。
例如,用户只设置了一条调度策略:将访问某目的IP地址的网络流量调度至专线网络出口。在内部网络客户端访问该目的IP地址时,网络流量被调度至专线网络出口,内部网络的客户端通过专线网络访问目的IP地址,获取重要数据,提高数据的安全性和及时性。而访问其他目标地址的网络流量,被调度至默认网络出口,例如默认网络出口为互联网出口,非重要性数据的流量通过互联网出口发出,既能满足内部网络用户的上网需求,又能降低专线网络的流量占用,避免专线网络由于流量拥塞造成的网络质量下降,同时降低专线网络的 流量费用。
在一示例中,用户也可以根据网络出口的相关信息从而确定默认网络出口,例如网络出口的带宽、延时等。由此,可以保证默认网络出口的传输性能,以保证网络流量的传输效率。
图4是根据一示例性实施例示出的网络流量处理方法的流程图。参考图4,网络流量处理方法应用于中央调度控制器,该网络流量处理方法至少包括步骤S41至步骤S42,详细介绍如下:
步骤S41,获取用户终端设备对应的的调度策略。
在该实施例中,中央调度控制器可以向用户提供调度策略编辑功能,用户可以在中央控制器处,对所拥有的用户终端设备进行调度策略的编辑,中央控制器则可以获取用户编辑完成的调度策略,并将该调度策略与用户终端设备对应存储,例如建立调度策略与用户终端设备的标识信息之间的对应关系表等。
步骤S42,将调度策略向用户终端设备进行发送,以使用户终端设备根据调度策略对接收到的网络流量进行调度。
在该实施例中,中央调度控制器可以将获取到的用户终端设备的调度策略后,向该用户终端设备进行发送。值得注意的是,网络服务商为多个用户提供网络服务时,可以根据用户唯一标识(例如企业标识编码、身份证编号、用户账号、联系电话等等)确定用户和用户终端设备的对应关系,将用户的调度策略下发到隶属于该用户的用户终端设备。用户终端设备接收到用户的调度策略后,将调度策略部署在本地,在接收到网络流量后,即可以确定该网络流量对应的调度策略,并根据调度策略进行调度。
由此,可以实现在用户订购了多种网络出口的场景下,将访问流量分散到多个网络出口上,使得多类型的网络出口共存,提高各个网络出口的使用率,解决了传统网络只能通过单一出口传输网络传输的缺陷,保证了网络传输质量。
在一示例性实施例中,中央控制器获取用户终端设备对应的调度策略,包括:
响应于由目标终端发送的针对调度策略的编辑请求,指示目标终端显示调度策略编辑界面,调度策略编辑界面包括至少一个调度策略编辑选项;
根据至少一个调度策略编辑选项接收到的编辑信息,生成并存储用户终端 设备对应的调度策略。
其中,调度策略编辑界面可以是用以配置调度策略的编辑界面,用户可以在该调度策略编辑界面中增删、修改调度策略。该调度策略编辑界面中可以包括至少一个调度策略编辑选项,例如调度策略名称选项、源IP地址输入选项、目的IP地址输入选项、调度模式选择选项、指定网络出口设定选项或期望负载比例设定选项,等等。
在该实施例中,用户可以通过目标终端登录中央控制器提供的设备管理界面,并在该设备管理界面中点击特定区域(例如“策略配置”按键等),以生成针对调度策略的编辑请求,目标终端可以将该编辑请求向中央控制器进行发送。中央控制器在接收到该编辑请求后,可以指示该目标终端显示调度策略编辑界面,例如可以将调度策略编辑界面作为响应信息向目标终端进行发送,使得目标终端显示该调度策略编辑界面,该调度策略编辑界面可以包括至少一个调度策略编辑选项,以供用户进行编辑。
调度策略编辑界面可以将调度策略编辑选项接收到的编辑信息,发送至中央控制器,由中央控制器生成并存储用户终端设备对应的调度策略。例如,建立调度策略与用户唯一标识之间的对应关系,以保证调度策略下发的准确性。
在一示例性实施例中,获取用户终端设备对应的调度策略,包括:
基于预先设定的API接口,接收用户终端设备对应的调度策略。
在该实施例中,中央控制器可以向用户开放API接口,用户通过API接口将调度策略上传至中央控制器,再由中央控制器自动下发至用户终端设备。方便用户随时制定调度策略,对已经上传的调度策略进行更新、删除等操作。
为更好地理解本公开提供的网络流量处理方法,举例进行说明:
某公司订购了互联网、专线网络、SD-WAN等网络服务,为了方便对公司业务流量的管理,制定了如下调度策略:
调度策略1:源地址为财务部门的IP地址,目的地址为税务部门的IP地址,出口调度模式为智能负载模式,指定网络出口为专线网络出口1;
调度策略2:源地址为公司总部内网的IP地址,目的地址为分公司的IP地址,出口调度模式为智能负载模式,指定出口为SD-WAN网络出口2;
默认网络出口为互联网出口3。
该公司将上述调度策略通过专用API接口,上传至中央控制器,由中央控制器下发至总部的用户终端设备。
财务部门访问税务部门的网络流量,符合调度策略1,用户终端设备将网络流量调度至专线网络出口1。而财务部门普通的上网请求,不符合调度策略1,也不符合调度策略2,被用户终端设备调度至互联网出口3。
公司总部访问各个分公司的请求,符合调度策略2,用户终端设备将网络流量调度至SD-WAN网络出口2。
一般的上网业务的流量的源地址和目的地址没有对应的调度策略,用户终端设备将网络流量调度至互联网出口3。
实现了将不同类型,不同重要程度的网络流量分别调度至不同的网络出口,保障各个业务数据的稳定传输,提高效率。
假设,由于总部和各个分公司的业务数据量过大,导致SD-WAN网络出口2的网络使用率达到了预定阈值,如果再向SD-WAN网络出口2调度网络流量,会导致SD-WAN网络出口2拥塞甚至崩溃。
因此,可以由用户终端设备实时探测各个网络出口的网络使用率,当SD-WAN网络出口2的网络使用率达到预定阈值后,公司总部访问各个分公司的网络流量不再调度至SD-WAN网络出口2,而是可以根据专线网络出口1和互联网出口3的网络使用率,将公司总部访问各个分公司的网络流量向专线网络出口1和互联网出口3调度。或者将该网络流量调度至默认网络出口即互联网出口3
此外,如果SD-WAN网络出口2的使用率长时间达到预定阈值,还可以对调度策略2进行调整,例如,源地址为公司总部内网的IP地址,目的地址为分公司的IP地址,出口调度模式为自定义,指定网络出口为:SD-WAN网络出口2,负载比例70%;专线网络出口1,负载比例30%。将调整后的调度策略2重新上传到中央控制器,由中央控制器下发至总部的用户终端设备,对调度策略2进行更新。
用户终端设备再接收到公司总部访问各个分公司的网络流量时,将其中70%的网络流量调度至SD-WAN网络出口2,30%的网络流量调度至专线网络出口1。
通过以上实施例,本公开提供的网络流量处理方法,用户终端设备可以根据调度策略对网络流量进行灵活调度,将请求流量调度至多个网络出口,提高网络出口的利用率,同时可以防止某个网络出口的负载过大出现网络拥塞,提 高网络传输效率。
图5是根据一示例性实施例示出的网络流量处理装置的框图。参考图5,网络流量处理装置应用于用户终端设备,包括:请求接收模块501,确定调度策略模块502,网络出口选择模块503,调度模块504。
该请求接收模块501被配置为接收由目标终端发送的网络流量。
该确定调度策略模块502被配置为根据网络流量对应的地址信息,确定网络流量对应的调度策略。
该网络出口选择模块503被配置为根据调度策略,从待选的多个网络出口中选择出目标网络出口。
该调度模块504被配置为将网络流量调度至目标网络出口,以通过目标网络出口对网络流量进行传输。
该确定调度策略模块502还被配置为获取网络流量的源IP地址和/或目的IP地址;确定与源IP地址和/或目的IP地址对应的调度策略。
该网络出口识别模块503还被配置为:
当调度策略的调度模式为智能负载模式时,根据至少一个指定网络出口中各指定网络出口的运行状态,从至少一个指定网络出口中识别出目标网络出口。
该网络出口识别模块503还被配置为:
当调度策略的调度模式为自定义模式时,获取预先设定的至少一个指定网络出口中各指定网络出口对应的期望负载比例;
根据各指定网络出口对应的期望负载比例,从至少一个指定网络出口中识别出目标网络出口。
该调度模块504还被配置为当调度策略模块502未能确定网络流量对应的调度策略时,将网络流量调度至默认网络出口。
图6是根据一示例性实施例示出的网络流量处理装置的框图。参考图6,网络流量处理装置还包括调度策略接收模块601。
该调度策略接收模块601被配置为接收调度策略,调度策略包括源IP地址和/或目的IP地址、调度模式以及至少一个目标网络出口。
图7是根据一示例性实施例示出的网络流量处理装置的框图。参考图7,
网络流量处理装置还包括探测模块701。
该探测模块701被配置为实时探测多个出口的网络使用率,当某个出口使用率达到预设阈值时,使调度模块504不再向该网络出口调度流量。
图8是根据一示例性实施例示出的网络流量处理装置的框图。参考图8,网络流量处理装置应用于中央控制器,包括:调度策略获取模块801,调度策略下发模块802。
该调度策略获取模块801被配置为获取用户终端设备对应的调度策略。
该调度策略下发模块802被配置为将调度策略向用户终端设备进行发送,以使用户终端设备根据调度策略对接收到的网络流量进行调度。
图9是根据一示例性实施例示出的一种用于网络流量处理装置的计算机设备900的框图。例如,计算机设备900可以被提供为一服务器。参照图9,计算机设备900包括处理器901,处理器的个数可以根据需要设置为一个或者多个。计算机设备900还包括存储器902,用于存储可由处理器901的执行的指令,例如应用程序。存储器的个数可以根据需要设置一个或者多个。其存储的应用程序可以为一个或者多个。处理器901被配置为执行指令,以执行上述网络流量处理方法。
本领域技术人员应明白,本公开的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质上实施的计算机程序产品的形式。计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质,包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质等。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
本公开是参照根据本公开实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或 方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在本公开中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的物品或者设备中还存在另外的相同要素。
尽管已描述了本公开的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本公开范围的所有变更和修改。
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开的意图也包含这些改动和变型在内。
工业实用性
本公开中通过提供一种网络流量处理方法,用户终端设备接收到由目标终端发送的网络流量后,根据网络流量对应的地址信息,确定网络流量对应的调度策略,根据调度策略从多个网络出口中选择出目标网络出口,将网络流量调度至目标网络出口。可以实现在用户订购了多种网络出口的场景下,将访问流 量分散到多个网络出口上,使得多类型的网络共存,提高各个网络出口的使用率,解决了传统网络只能通过单一出口传输网络传输的缺陷,保证了网络传输质量。

Claims (15)

  1. 一种网络流量处理方法,应用于用户终端设备,包括:
    接收由目标终端发送的网络流量;
    根据所述网络流量对应的地址信息,确定所述网络流量对应的调度策略;
    根据所述调度策略,从待选的多个网络出口中选择出目标网络出口;
    将所述网络流量调度至所述目标网络出口,以通过所述目标网络出口对所述网络流量进行传输。
  2. 如权利要求1所述的网络流量处理方法,其中,在所述接收由目标终端发送的网络流量之前,还包括:
    接收调度策略,所述调度策略包括源IP地址和/或目的IP地址、调度模式以及至少一个指定网络出口。
  3. 如权利要求2所述的网络流量处理方法,其中,所述根据所述网络流量对应的地址信息,确定所述网络流量对应的调度策略包括:
    获取所述网络流量的源IP地址和/或目的IP地址;
    确定与所述源IP地址和/或所述目的IP地址对应的调度策略。
  4. 如权利要求2或3所述的网络流量处理方法,其中,所述调度模式包括智能负载模式;
    所述根据所述调度策略,从待选的多个网络出口中选择出目标网络出口包括:
    当所述调度策略的调度模式为智能负载模式时,根据所述至少一个指定网络出口中各指定网络出口的运行状态,从所述至少一个指定网络出口中识别出目标网络出口。
  5. 如权利要求4所述的网络流量处理方法,其中,所述根据所述至少一个指定网络出口中各指定网络出口的运行状态,从所述至少一个指定网络出口中识别出目标网络出口,包括:
    根据所述至少一个指定网络出口中各指定网络出口的运行状态,确定各指定网络出口对应的期望负载比例;
    根据各指定网络出口对应的期望负载比例,从所述至少一个指定网络出口中识别出目标网络出口。
  6. 如权利要求4所述的网络流量处理方法,其中,所述调度模式还包括自定义模式;
    所述根据所述调度策略,从待选的多个网络出口中识别出目标网络出口包括:
    当所述调度策略的调度模式为自定义模式时,获取预先设定的所述至少一个指定网络出口中各指定网络出口对应的期望负载比例;
    根据各指定网络出口对应的期望负载比例,从所述至少一个指定网络出口中识别出目标网络出口。
  7. 如权利要求1所述的网络流量处理方法,其中,所述方法还包括:
    获取多个所述网络出口的网络使用率;
    禁止向所述网络使用率大于预定阈值的所述网络出口调度网络流量。
  8. 如权利要求1所述的网络流量处理方法,其中,在所述根据所述网络流量对应的地址信息,确定所述网络流量对应的调度策略之后,所述方法还包括:
    所述网络出口包括默认网络出口,当未能确定所述网络流量对应的调度策略时,将所述网络流量调度至默认网络出口。
  9. 一种网络流量处理方法,应用于中央控制器,包括:
    获取用户终端设备对应的调度策略;
    将所述调度策略向所述用户终端设备进行发送,以使所述用户终端设备根据所述调度策略对接收到的网络流量进行调度。
  10. 如权利要求9所述的网络流量处理方法,其中,所述获取用户终端设备对应的调度策略,包括:
    响应于由目标终端发送的针对调度策略的编辑请求,指示所述目标终端显示调度策略编辑界面,所述调度策略编辑界面包括至少一个调度策略编辑选项;
    根据所述至少一个调度策略编辑选项接收到的编辑信息,生成并存储所述用户终端设备对应的调度策略。
  11. 根据权利要求9所述的网络流量处理方法,其中,所述获取用户终端设备对应的调度策略,包括:
    基于预先设定的API接口,接收用户终端设备对应的调度策略。
  12. 一种网络流量处理装置,应用于用户终端设备,包括:
    请求接收模块,设置为接收由目标终端发送的网络流量;
    确定调度策略模块,设置为根据所述网络流量对应的地址信息,确定所述网络流量对应的调度策略;
    网络出口选择模块,设置为根据所述调度策略,从待选的多个网络出口中选择出目标网络出口;
    调度模块,设置为将所述网络流量调度至所述目标网络出口,以通过所述目标网络出口对所述网络流量进行传输。
  13. 一种网络流量处理装置,应用于中央控制器,包括:
    调度策略获取模块,设置为获取用户终端设备对应的调度策略;
    调度策略下发模块,设置为将所述调度策略向所述用户终端设备进行发送,以使所述用户终端设备根据所述调度策略对接收到的网络流量进行调度。
  14. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被执行时实现如权利要求1-11中任意一项所述方法的步骤。
  15. 一种计算机设备,包括处理器、存储器和存储于所述存储器上的计算机程序,其中,所述处理器执行所述计算机程序时实现如权利要求1-11中任意一项所述方法的步骤。
PCT/CN2022/132560 2021-11-19 2022-11-17 网络流量处理方法、装置、介质及电子设备 WO2023088362A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111391916.0A CN116155829A (zh) 2021-11-19 2021-11-19 网络流量处理方法、装置、介质及电子设备
CN202111391916.0 2021-11-19

Publications (1)

Publication Number Publication Date
WO2023088362A1 true WO2023088362A1 (zh) 2023-05-25

Family

ID=86356914

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/132560 WO2023088362A1 (zh) 2021-11-19 2022-11-17 网络流量处理方法、装置、介质及电子设备

Country Status (2)

Country Link
CN (1) CN116155829A (zh)
WO (1) WO2023088362A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117609814A (zh) * 2024-01-24 2024-02-27 广东奥飞数据科技股份有限公司 一种sd-wan智能流量调度优化方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638407A (zh) * 2012-04-17 2012-08-15 北京星网锐捷网络技术有限公司 报文转发方法、装置及网络设备
CN104796348A (zh) * 2015-04-03 2015-07-22 华为技术有限公司 基于sdn的idc网络出口流量均衡调整方法、设备及系统
US20170026461A1 (en) * 2015-07-24 2017-01-26 Cisco Technology, Inc. Intelligent load balancer
CN111314236A (zh) * 2020-04-14 2020-06-19 杭州迪普科技股份有限公司 报文转发方法及装置
CN112087382A (zh) * 2019-06-14 2020-12-15 华为技术有限公司 一种服务路由方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638407A (zh) * 2012-04-17 2012-08-15 北京星网锐捷网络技术有限公司 报文转发方法、装置及网络设备
CN104796348A (zh) * 2015-04-03 2015-07-22 华为技术有限公司 基于sdn的idc网络出口流量均衡调整方法、设备及系统
US20170026461A1 (en) * 2015-07-24 2017-01-26 Cisco Technology, Inc. Intelligent load balancer
CN112087382A (zh) * 2019-06-14 2020-12-15 华为技术有限公司 一种服务路由方法及装置
CN111314236A (zh) * 2020-04-14 2020-06-19 杭州迪普科技股份有限公司 报文转发方法及装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MIAO, YUANZHAO; LIU, ZHINAN: "Constructing Multi-Export Campus Network with Policy-Based Routing of Boundary Firewall", COMPUTER ERA, no. 04, 15 April 2020 (2020-04-15), XP009546665 *
TIAN, AIBAO: "Analysis and Research on the Export Strategy of Multi-operator Network in Colleges and Universities", MICROCOMPUTER APPLICATIONS, no. 12, 20 December 2017 (2017-12-20), XP009546664 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117609814A (zh) * 2024-01-24 2024-02-27 广东奥飞数据科技股份有限公司 一种sd-wan智能流量调度优化方法及系统
CN117609814B (zh) * 2024-01-24 2024-05-07 广东奥飞数据科技股份有限公司 一种sd-wan智能流量调度优化方法及系统

Also Published As

Publication number Publication date
CN116155829A (zh) 2023-05-23

Similar Documents

Publication Publication Date Title
US11570154B2 (en) Interfaces to manage direct network peerings
US9106561B2 (en) Configuration of a virtual service network
US11792115B2 (en) Interfaces to manage inter-region connectivity for direct network peerings
US10771533B2 (en) Adaptive communication control device
CN105553870B (zh) 业务请求的分配方法和装置
US20090178058A1 (en) Application Aware Networking
US11822453B2 (en) Methods and systems for status determination
US10469559B2 (en) Quality of service for web real-time communication networks
US20210367902A1 (en) Method and devices for domain name bandwidth adjustment
US11950125B2 (en) Consistent Quality of Service policy in a software defined enterprise
WO2023088362A1 (zh) 网络流量处理方法、装置、介质及电子设备
US10630577B2 (en) Subscriberless differentiated routing system and method
WO2020114608A1 (en) Method and apparatus for mapping network slices onto network infrastructures with sla guarantee
US8266303B2 (en) Managing network connections
CN114153581A (zh) 数据处理方法、装置、计算机设备和存储介质
CN111800441A (zh) 数据处理方法、系统、装置、用户端服务器、用户端及管控服务器
CN113517985A (zh) 文件数据处理方法、装置、电子设备及计算机可读介质
US11444998B2 (en) Bit rate reduction processing method for data file, and server
CN109413117B (zh) 分布式数据计算方法、装置、服务器及计算机存储介质
CN110011850B (zh) 云计算系统中服务的管理方法和装置
CN107404504B (zh) 通信方法、装置及系统
CN114978998B (zh) 一种流量控制方法、装置、终端及存储介质
CN114430375A (zh) 多线路机房带宽的调度方法、装置、设备及介质
WO2021017970A1 (zh) 一种调度访问请求的方法、装置、介质及设备
WO2022237670A1 (zh) 基于5g的边缘节点调度方法、装置、介质及设备

Legal Events

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

Ref document number: 22894893

Country of ref document: EP

Kind code of ref document: A1