Method, device, equipment, storage medium and program product for realizing flow scheduling

By receiving domain name resolution requests in SD-WAN and determining the virtual network address for traffic redirection, the problem of data flow errors or loss in traffic scheduling involving multiple VPNs is solved, and the effectiveness of traffic scheduling and network performance are improved.

CN118368243BActive Publication Date: 2024-09-03BEIJING VOLCANO ENGINE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410780710.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-03
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

In software-defined wide area networks (SD-WAN), the traffic scheduling process involving multiple virtual private networks (VPNs) can easily lead to data flow errors or loss, affecting the effectiveness of traffic scheduling.

Method used

By receiving domain name resolution requests, the virtual network address of the domain name to be resolved is determined and sent to the business application as the traffic destination address to implement traffic redirection and ensure effective transmission of data in the SD-WAN network.

Benefits of technology

It improves the effectiveness of traffic scheduling, reduces network delay, improves network performance, and avoids mistransmission or missing data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118368243B
    Figure CN118368243B
Patent Text Reader

Abstract

The present disclosure relates to the field of network communication technology, and discloses a method, apparatus, device, storage medium and program product for implementing traffic scheduling. The present disclosure provides a method for implementing traffic scheduling, including: receiving a domain name resolution request sent from a first business application on a first terminal device, and performing domain name resolution on the domain name resolution request to determine a domain name to be resolved; if the domain name to be resolved is a target domain name, determining a first virtual network address corresponding to the domain name to be resolved from a preset network segment, and using the first virtual network address as a first traffic destination address corresponding to the domain name to be resolved, wherein the preset network segment includes multiple virtual network addresses; sending the first traffic destination address to a first business application on the first terminal device, so that the first business application performs data transmission based on the first traffic destination address. Traffic redirection is used to ensure the effectiveness of traffic scheduling in the SD‑WAN network, reduce network latency, and thus help improve network performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field, and in particular to a method, apparatus, device, storage medium, and program product for implementing traffic scheduling. Background Art

[0002] Software Defined Wide Area Network (SD-WAN) is a virtual WAN architecture that allows enterprises or other organizations to securely connect users to business applications using any combination of transmission services. One of the core functions of SD-WAN is traffic scheduling. Through intelligent routing algorithms and traffic scheduling mechanisms, SD-WAN can automatically select the best network path based on real-time network traffic conditions to ensure efficient transmission of network traffic and good performance of business applications.

[0003] In related technologies, enterprises can control the connection between the business application on the terminal device and the server of the business application through the software service model provided by SD-WAN (for example: SaaS, Software as a Service) to obtain the required data. When the business application and the server of the business application are deployed in different areas, they can be connected through a preset virtual private network (VPN) to obtain the required data. However, when there are a large number of VPNs involved in the traffic scheduling process, data flow errors or data loss are prone to occur, affecting the effectiveness of traffic scheduling. Summary of the invention

[0004] In view of this, the present disclosure provides a method, apparatus, device, storage medium and program product for implementing traffic scheduling to solve the problem that data cannot be effectively transmitted during cross-region transmission.

[0005] In a first aspect, the present disclosure provides a method for implementing traffic scheduling, which is applied to a client of a security management application, and the method includes:

[0006] Receiving a domain name resolution request sent from a first service application on a first terminal device, performing domain name resolution on the domain name resolution request, and determining a resolution result of the domain name to be resolved, wherein the first terminal device is a terminal device where a client of the security management application is located;

[0007] Receiving a resolution result of the domain name to be resolved fed back by the software defined wide area network;

[0008] If the domain name to be resolved is the target domain name, a first virtual network address corresponding to the domain name to be resolved is determined from a preset network segment, and the first virtual network address is used as a first traffic destination address corresponding to the domain name to be resolved, wherein the preset network segment includes multiple virtual network addresses;

[0009] The first traffic destination address is sent to a first service application on a first terminal device, so that the first service application performs data transmission based on the first traffic destination address.

[0010] In a second aspect, the present disclosure provides a device for implementing traffic scheduling, which is applied to a client of a security management application, and the device includes:

[0011] A first processing module is used to receive a domain name resolution request sent by a first service application on a first terminal device, and perform domain name resolution on the domain name resolution request to determine a resolution result of the domain name to be resolved, wherein the first terminal device is a terminal device where a client of the security management application is located;

[0012] A first receiving module, configured to receive the resolution result of the domain name to be resolved fed back by the software defined wide area network;

[0013] a second processing module, configured to determine a first virtual network address corresponding to the domain name to be resolved from a preset network segment if the domain name to be resolved is a target domain name, and use the first virtual network address as a first traffic destination address corresponding to the domain name to be resolved, wherein the preset network segment includes a plurality of virtual network addresses;

[0014] The first sending module is used to send the first traffic destination address to the first service application on the first terminal device, so that the first service application performs data transmission based on the first traffic destination address.

[0015] In a third aspect, the present disclosure provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the method for implementing traffic scheduling according to the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0016] In a fourth aspect, the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for implementing traffic scheduling according to the first aspect or any corresponding embodiment thereof.

[0017] In a fifth aspect, the present invention provides a computer program product, including computer instructions, which are used to enable a computer to execute the method for implementing traffic scheduling according to the above-mentioned first aspect or any corresponding embodiment thereof.

[0018] The method for implementing traffic scheduling provided in this embodiment can, when the domain name to be resolved is the target domain name, determine the first virtual network address corresponding to the domain name to be resolved from the preset network segment by means of traffic redirection, and send the first virtual network address as the first traffic destination address corresponding to the domain name to be resolved to the first business application, so that when the first business application accesses the domain name to be resolved, it can transmit data through the first traffic destination address, thereby ensuring the effectiveness of traffic scheduling in the SD-WAN network, reducing network delays, and helping to improve network performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 is a schematic diagram of a network architecture based on SD-WAN according to an embodiment of the present disclosure;

[0021] Figure 2 is a flow chart of a method for implementing traffic scheduling according to an embodiment of the present disclosure;

[0022] Figure 3 is a flow chart of another method for implementing traffic scheduling according to an embodiment of the present disclosure;

[0023] Figure 4 is a flow chart of another method for implementing traffic scheduling according to an embodiment of the present disclosure;

[0024] Figure 5 is a flow chart of yet another method for implementing traffic scheduling according to an embodiment of the present disclosure;

[0025] Figure 6 is a flow chart of a method for implementing traffic scheduling according to an embodiment of the present disclosure;

[0026] Figure 7 is a flow chart of another method for implementing traffic scheduling according to an embodiment of the present disclosure;

[0027] Figure 8 is a flow chart of another method for implementing traffic scheduling according to an embodiment of the present disclosure;

[0028] Fig. 9 is a flow chart of another method for implementing traffic scheduling according to an embodiment of the present disclosure;

[0029] Fig.10 is a structural block diagram of a device for implementing traffic scheduling according to an embodiment of the present disclosure;

[0030] Fig.11 It is a schematic diagram of the hardware structure of the computer device of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0031] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0032] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.

[0033] Herein, unless explicitly stated, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.

[0034] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0035] It is understandable that before using the technical solutions disclosed in the various embodiments of the present disclosure, the types, scopes of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to relevant users and their authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. The relevant users may include any type of right holders, such as individuals, enterprises, and groups.

[0036] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly prompt the relevant user that the operation requested to be performed will require obtaining and using the information of the relevant user, so that the relevant user can independently choose whether to provide information to software or hardware such as an electronic device, application, server or storage medium that executes the operation of the technical solution of the present disclosure based on the prompt message.

[0037] As an optional but non-limiting implementation, in response to receiving an active request from a relevant user, a prompt message is sent to the relevant user, for example, in the form of a pop-up window, in which the prompt message may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide information to the electronic device.

[0038] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0039] Office security usually involves the security management of networks, identities, and terminals. By implementing private network networking, access control, terminal management in private networks, and information security protection, digital office can be made safer, more efficient, and easier to use. Security management at the network level can ensure that private networks such as office networks can operate safely and efficiently, thereby ensuring that business data can be safely transmitted and stored. Security management at the identity level can improve the efficiency and security of identity authentication for users accessing private networks. Security management at the terminal level can achieve unified management of terminal devices within the private network, data leakage prevention, and terminal threat protection, thereby ensuring the security of corporate data.

[0040] In actual applications, the security management of networks, identities, and terminals can achieve technical linkage in multiple technical branches such as networking strategies, network access and control, remote access, unified terminal management, terminal detection and response, enterprise data leakage prevention, and identity authentication management, making digital office simpler, more efficient, and easier to implement.

[0041] At present, the traditional Wide Area Network (WAN) architecture does not take cloud computing into consideration. Therefore, when large organizations use the traditional WAN architecture, they need to backhaul the traffic of each branch network to the central location where the advanced security inspection service is applied or the headquarters data center for advanced security inspection and services. However, the delay caused by the backhaul will affect the performance of business applications. Especially with the development of cloud computing technology, the problems brought by the traditional WAN architecture are becoming more and more obvious.

[0042] In contrast, Software Defined Wide Area Network (SD-WAN) is a virtual WAN architecture that allows large organizations to securely connect users to business applications using any combination of transmission services. SD-WAN's network architecture is more flexible. SD-WAN supports hosting of business applications in the Internet data center within the enterprise, in the public cloud or private cloud, and in software as a service (SaaS), providing a higher level of business application performance.

[0043] One of the core functions of SD-WAN is traffic scheduling. Through intelligent routing algorithms and traffic scheduling mechanisms, SD-WAN can automatically select the best network path for application services and optimize bandwidth utilization based on real-time network traffic conditions. When configuring SD-WAN devices, you need to set intelligent routing rules and traffic scheduling priorities to ensure efficient transmission of network traffic and good performance of business applications.

[0044] In the related technology, enterprises can control the first business application (referring to the client, such as the client of the application (Application, App) and / or the client of the World Wide Web (Web)) to connect with the server of the business application to obtain the required data through the software service model provided by SD-WAN (for example, SaaS, Software as a Service). When the first business application and the server of the business application are deployed in different areas, a connection can be established with the server to be accessed through a preset virtual private network (VPN) to obtain the required data. However, when a large number of VPNs are involved in the traffic scheduling process, it is easy for data flow errors or data loss to occur during data forwarding, thereby affecting the effectiveness of traffic scheduling.

[0045] In view of this, according to an embodiment of the present disclosure, a method embodiment for implementing traffic scheduling is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0046] The network architecture based on software-defined wide area network (hereinafter referred to as SD-WAN) adopted in the embodiments of the present disclosure mainly includes: a client for security management applications for internal members of an enterprise, a client-side device of SD-WAN (hereinafter referred to as CPE), a point of access (hereinafter referred to as POP), a central domain name system, and a control plane. Figure 1 The contents shown, the uses of each component in the network architecture of the present disclosure are as follows:

[0047] (1) The client of the security management application is deployed on various terminal devices in the enterprise's internal network. When internal enterprise members access business applications hosted in Internet data centers, public clouds, private clouds, and application resources such as SaaS applications through the business application client on the terminal device, the client of the security management application will perform relevant traffic scheduling based on the server corresponding to each business application (such as SaaS applications, business applications hosted in Internet data centers, public clouds, and private clouds).

[0048] (2) CPE is deployed in the enterprise's headquarters, branch network, Internet Data Center (IDC) or cloud service (such as public cloud, private cloud), etc. CPE acts as a branch gateway to connect to the client of the security management application of the organization / region, and is used to aggregate all proxy traffic of the organization / region (such as traffic of the client of the security management application).

[0049] (3) The POP is connected to a physically close CPE and is used to forward the traffic aggregated by the CPE.

[0050] (4) The control plane is used to configure application information, such as the name of the application and its domain name. In addition, the control plane is also used to configure the routing strategy corresponding to each application, for example, the CPE information corresponding to each application as the egress gateway, and the egress gateway is geographically close to the application server. The control plane sends the configuration content to the client, CPE, POP, central domain name system and other components of the security management application, and uniformly manages all the clients, CPE, POP, and central domain name system of the security management application.

[0051] (5) The central domain name system is connected to the client and CPE of the security management application. The central domain name system is used to forward the domain name resolution request of the security management application client for a certain application domain name to the corresponding CPE serving as the egress gateway to resolve the network address of the server corresponding to the application domain name.

[0052] In this embodiment, a method for implementing traffic scheduling is provided, which can be used for a client of a security management application. Figure 2 is a flow chart of a method for implementing traffic scheduling according to an embodiment of the present disclosure. Figure 2 As shown, the process includes the following steps:

[0053] Step S201, receiving a domain name resolution request sent from a first business application on a first terminal device, and forwarding the domain name resolution request to a software-defined wide area network, so as to obtain a resolution result of the domain name to be resolved corresponding to the domain name resolution request through the central domain name system based on the interaction between the software-defined wide area network and the central domain name system.

[0054] Among them, the first terminal device is the terminal device where the client of the security management application is located. The first business application can be any business application on the first terminal device. The type of the first business application can include but is not limited to any of the following application types: office, collaborative communication, productivity, etc. The specific application type can be determined based on actual business needs. For example: office business applications can be document editing software, calendar and task management tools, etc. Collaborative communication business applications can be instant messaging applications, video conferencing software, etc. Productivity business applications can be mind mapping software, note-taking applications, photo taking and file scanning tools, etc.

[0055] A domain name can be understood as a name used by humans to identify and access specific network resources on the Internet, which is convenient for users to remember and use. However, in the process of network connection, when the first business application establishes a connection with the server to be accessed, it needs to rely on the Internet Protocol (IP) address corresponding to the domain name. An IP address can be understood as a digital address used to uniquely identify a device in a computer network.

[0056] Therefore, when a domain name resolution request is received from the first business application, it indicates that the first business application needs to obtain the IP address corresponding to the server to be accessed. Therefore, the obtained domain name resolution request is forwarded to the SD-WAN, so as to utilize the interaction between the SD-WAN and the central domain name system. The central domain name system performs domain name resolution on the domain name resolution request to obtain the resolution result of the domain name to be resolved, which can not only improve the efficiency of domain name resolution, but also help save the processing time of the client of the security management application and reduce the access delay in the traffic scheduling process, so as to facilitate the SD-WAN to better manage the network and the first terminal devices corresponding to the clients of each security management application.

[0057] Step S202: receiving a resolution result of the domain name to be resolved fed back by the software defined wide area network.

[0058] The destination address of the traffic to be accessed is obtained through the domain name to be resolved, and an effective connection is established with the server to be accessed, which helps to ensure the effectiveness of traffic scheduling in the SD-WAN network.

[0059] Step S203: If the domain name to be resolved is the target domain name, a first virtual network address corresponding to the domain name to be resolved is determined from the preset network segment, and the first virtual network address is used as a first traffic destination address corresponding to the domain name to be resolved.

[0060] Pre-configure the client of the security management application with a preset network segment that can process data under the virtual network to clarify which virtual network addresses can access the virtual network. The preset network segment includes multiple virtual network addresses. For example: if the preset network segment is xx.xxx.0.0 / 16, the preset network segment has 65024 virtual network addresses that can access the virtual network, including xx.xxx.0.1~xx.xxx.255.254.

[0061] In order to ensure the network performance of the virtual network, a target domain name that can be used to process data using the virtual network is pre-configured, so as to limit the terminals that access the virtual network by means of domain name control, and avoid excessive access. That is, the target domain name can be understood as a domain name that is pre-determined to convert the corresponding traffic destination address into the first virtual network address. Preferably, the target domain name can be configured by creating a routing table.

[0062] After obtaining the domain name to be resolved, in order to determine whether the domain name to be resolved can be converted into a virtual network address, the domain name to be resolved is matched with the target domain name. If the domain name to be resolved is the target domain name, the first virtual network address corresponding to the domain name to be resolved is determined from the preset network segment, and the first virtual network address is used as the first traffic destination address corresponding to the domain name to be resolved, so as to enable the first business application to establish a connection with the virtual network through traffic redirection, thereby improving the efficiency of data processing.

[0063] Step S204: Send the first traffic destination address to the first service application on the first terminal device, so that the first service application performs data transmission based on the first traffic destination address.

[0064] The first traffic destination address is sent to the first business application on the first terminal device, so that the first business application can clearly identify the target IP address to be connected, so that targeted connections can be made during subsequent data transmission, thereby effectively avoiding the occurrence of mis-transmission or missed transmission of data, and helping to ensure the effectiveness of traffic scheduling in the SD-WAN network.

[0065] The method for implementing traffic scheduling provided in this embodiment can, when the domain name to be resolved is the target domain name, determine the first virtual network address corresponding to the domain name to be resolved from the preset network segment by means of traffic redirection, and send the first virtual network address as the first traffic destination address corresponding to the domain name to be resolved to the first business application, so that when the first business application accesses the domain name to be resolved, it can transmit data through the first traffic destination address, thereby ensuring the effectiveness of traffic scheduling in the SD-WAN network, reducing network delays, and helping to improve network performance.

[0066] In some optional implementations, the process of forwarding the domain name resolution request to the software-defined wide area network may include the following steps:

[0067] Step a1, obtaining a plurality of domain names to be scheduled, wherein the plurality of domain names to be scheduled are encapsulated into a Bloom filter, and the Bloom filter is used to indicate the existence of the plurality of domain names to be scheduled;

[0068] Step a2 performs Bloom calculation on the target domain name and the Bloom filter to obtain a matching result between the target domain name and a plurality of domain names to be scheduled;

[0069] Step a3, determining the scheduling status of the target domain name based on the matching result;

[0070] Step a4: If the target domain name is the domain name to be scheduled, the domain name resolution request is forwarded to the software-defined wide area network.

[0071] Specifically, multiple domain names to be scheduled are domain names of business applications configured by the SD-WAN control plane. For each domain name to be scheduled, the hash function provided by the Bloom filter can be used to map the domain name to be scheduled to different positions of the preset bit array in the Bloom filter, and the values ​​of these positions are set to 1. When it is necessary to query the matching status of the target domain name with multiple domain names to be scheduled, the hash function provided by the Bloom filter can be used to hash map the target domain name (that is, the Bloom calculation mentioned above), map the target domain name to the position of the preset bit array, and check whether the values ​​of these positions are all 1. If the values ​​of all mapped positions are 1, it indicates that the target domain name exists in the multiple domain names to be scheduled. If the value of any position is 0, it indicates that the target domain name does not exist in the multiple domain names to be scheduled. Therefore, when the data volume of the domain name to be scheduled is large, the domain name matching efficiency can be effectively improved. Among them, if the target domain name does not exist in the multiple domain names to be scheduled, the scheduling status of the target domain name is determined to be that the target domain name is not the domain name to be scheduled. If the target domain name exists in the multiple domain names to be scheduled, the scheduling status of the target domain name is determined to be that the target domain name is the domain name to be scheduled.

[0072] The scheduling status of the target domain name is used to indicate whether the target domain name needs to be scheduled. Based on the correspondence between the pre-configured domain name and the egress gateway, it can be determined whether the client of the security management application needs to schedule the traffic corresponding to the target domain name across regions to the egress gateway or server corresponding to the target domain name to obtain the scheduling status of the target domain name. Exemplarily, assuming that the server corresponding to the target domain name and the client of the security management application are in the same region, the target domain name can be regarded as a domain name that does not need to be scheduled. Assuming that the server corresponding to the target domain name and the client of the security management application are in different regions, the target domain name can be regarded as a domain name that needs to be scheduled.

[0073] If the target domain name matches any domain name to be scheduled, the scheduling status of the target domain name is determined to be that the target domain name is the domain name to be scheduled. If the target domain name does not match any domain name to be scheduled, the scheduling status of the target domain name is determined to be that the target domain name is not the domain name to be scheduled.

[0074] Therefore, when it is determined that the target domain name is the domain name to be scheduled, forwarding the domain name resolution request to the software-defined wide area network can effectively improve the effectiveness of traffic scheduling in the SD-WAN network.

[0075] In this embodiment, a method for implementing traffic scheduling is provided, which can be used for the client of the above-mentioned security management application. Figure 3 is a flow chart of a method for implementing traffic scheduling according to an embodiment of the present disclosure. Figure 3 As shown, the process includes the following steps:

[0076] Step S301, receiving a domain name resolution request sent by a first service application on a first terminal device, and forwarding the domain name resolution request to a software-defined wide area network, so as to obtain a resolution result of a domain name to be resolved corresponding to the domain name resolution request through the central domain name system based on the interaction between the software-defined wide area network and the central domain name system. Figure 2 Step S201 of the illustrated embodiment will not be described in detail here.

[0077] Step S302: Receive the resolution result of the domain name to be resolved fed back by the software-defined wide area network. Figure 2 Step S202 of the illustrated embodiment will not be described in detail here.

[0078] Step S303: If the domain name to be resolved is the target domain name, a first virtual network address corresponding to the domain name to be resolved is determined from the preset network segment, and the first virtual network address is used as the first traffic destination address corresponding to the domain name to be resolved.

[0079] Specifically, the above step S303 includes:

[0080] Step S3031: If the domain name to be resolved is the target domain name, then according to the operating status of multiple virtual network addresses in the preset network segment, a virtual network address that is currently in an idle state is used as the first virtual network address.

[0081] When it is determined that the domain name to be resolved is the target domain name, a virtual network address that is currently in an idle state in the preset network segment is determined according to the operating states of multiple virtual network addresses in the preset network segment.

[0082] In some examples, if there is only one virtual network address currently in an idle state, the virtual network address currently in an idle state is used as the first virtual network address.

[0083] In other examples, if there are multiple virtual network addresses currently in an idle state, the process of determining the first virtual network address includes: determining multiple candidate virtual network addresses currently in an idle state according to the network planning order of the multiple virtual network addresses, and then taking the candidate virtual network address with the highest network planning order among the multiple candidate virtual network addresses as the first virtual network address. That is, according to the network planning order of the multiple virtual network addresses, the virtual network address that is currently in an idle state and has the highest order is taken as the first virtual network address, and then when determining the first virtual network address, it helps to improve the efficiency of determining the first virtual network address, reduce the possibility of address conflicts, and thus help improve the maintainability and reliability of virtual network address allocation. For example: if multiple virtual network addresses in the preset network segment are: IP1, IP2 and IP3, among which IP1 is in an occupied state, and IP2 and IP3 are in an idle state, according to the network planning order, IP2 is preferentially selected as the first virtual network address.

[0084] Step S3032: Determine the first target network address corresponding to the domain name to be resolved based on the preset mapping relationship between the domain name and the Internet protocol.

[0085] In order to map the domain name to be resolved to an available network address so that the first business application can access and communicate through the address, the mapping relationship between the preset domain name and the Internet protocol is resolved to determine the first target network address corresponding to the domain name to be resolved.

[0086] Step S3033: convert the first target network address into a first virtual network address, and use the first virtual network address as the first traffic destination address corresponding to the domain name to be resolved.

[0087] Since the domain name to be resolved is the target domain name, the first target network address is subjected to Network Address Translation (NAT) processing, and the first target network address is converted into a first virtual network address, and the first virtual network address is used as the first traffic destination address corresponding to the domain name to be resolved, so that when the first business application accesses data through the domain name to be resolved, it can establish a connection with the first virtual network address, and then access the network resources or services corresponding to the first virtual network address. For example: if the domain name to be resolved is a.com, then through the result of parsing the mapping relationship between the preset domain name and the Internet protocol, it can be determined that the first target network address corresponding to a.com is IP1. When the determined first virtual network address is IP11, IP1 is converted into IP11, and IP11 is used as the first traffic destination address corresponding to a.com.

[0088] Step S304: Send the first traffic destination address to the first service application on the first terminal device, so that the first service application performs data transmission based on the first traffic destination address. Figure 2 Step S204 of the illustrated embodiment will not be described in detail here.

[0089] The method for implementing traffic scheduling provided in this embodiment can ensure the accuracy and reliability of domain name resolution through the preset mapping relationship between domain names and Internet protocols, and then convert the determined first target network address into a first virtual network address, thereby avoiding the occurrence of access to erroneous or illegal Internet Protocol URLs, thereby enabling efficient data transmission, improving the speed and efficiency of network access, and reducing network delays.

[0090] In some optional embodiments, before executing the above step S303, the conversion relationship between the first target network address and the first virtual network address is saved, so that when the subsequent first business application transmits data through the client of the security management application, the first target network address corresponding to the first virtual network address can be quickly determined, thereby simplifying the traffic scheduling process, thereby helping to ensure the continuity and reliability of traffic scheduling in the SD-WAN network and improving the efficiency of data access.

[0091] In some other optional implementations, the client of the security management application can forward the data request sent by the first business application to the corresponding server according to the saved conversion relationship, so that the data required by the first business application can be correctly transmitted back to the first business application, thereby helping to improve network efficiency and performance. Figure 4 shown. Figure 4 1 is a flow chart of a method for implementing traffic scheduling according to an embodiment of the present invention, and the flow chart includes the following steps:

[0092] Step S401: receiving a data request sent by a first service application on a first terminal device, and determining a data packet to be transmitted and a traffic destination address corresponding to the data packet through the data request.

[0093] In order to enable the computer device to clearly understand the data that the first business application needs to transmit and the corresponding traffic destination address, a data request is sent to the computer device to request to establish a data connection with the traffic destination address.

[0094] A data packet is the basic unit in the network transmission process, which contains information about traffic scheduling, such as source address, destination address, data content, etc. In network communication, the information in a data request is usually broken down into one or more data packets and transmitted to the destination address through the network.

[0095] Therefore, when the client of the security management application receives the data request sent by the first business application, it can determine the data packet to be transmitted and the flow destination address corresponding to the data packet by parsing the data request. The flow destination address can be understood as the target address where the first business application needs to transmit data.

[0096] Step S402: If the traffic destination address is a virtual network address within a preset network segment, and the traffic destination address is a first traffic destination address, a first target network address corresponding to the first traffic destination address is determined through a conversion relationship.

[0097] Since the virtual network address in the preset network segment can only be accessed in the corresponding virtual network, in order to determine whether the first business application can directly access the traffic destination address for data transmission, it is determined whether the traffic destination address is a virtual network address in the preset network segment. If the traffic destination address is a virtual network address in the preset network segment, and the traffic destination address is the first traffic destination address, then according to the pre-stored conversion relationship, the first target network address corresponding to the first traffic destination address is determined, so that the client of the security management application can clearly understand the Internet address to which the first business application actually wants to transmit data.

[0098] Step S403, if the designated traffic exit address does not exist in the data packet, the first traffic destination address is replaced with the first target network address to obtain an updated first data packet.

[0099] Determine whether there is a designated traffic exit address in the data packet. If there is no designated traffic exit address in the data packet, it indicates that the data packet does not need to be forwarded to other computer devices by traffic forwarding. Therefore, the first traffic destination address in the data packet can be replaced with the first target network address to update the data packet and obtain an updated first data packet to ensure that the data packet corresponding to the data request can be sent to the correct destination address.

[0100] Step S404: Send the updated first data packet to the server corresponding to the first target network address to obtain a first response packet corresponding to the first data packet.

[0101] The updated first data packet is sent to the server corresponding to the first target network address, so that the server corresponding to the destination address of the destination traffic can perform targeted data processing based on the received first data packet, and then obtain a first response packet corresponding to the first data packet.

[0102] In some optional implementations, the above step S404 includes:

[0103] Step b1, determining a target access point corresponding to a target egress gateway;

[0104] Step b2: sending the updated first data packet to the target egress gateway based on the target access point and the first target network address.

[0105] It should be noted that there are multiple access points in the SD-WAN, and each access point corresponds to one or more egress gateways. In actual operation, the correspondence between each egress gateway and the access point can be obtained to query the target access point corresponding to the target egress gateway. The target egress gateway is used to send the first data packet to the server corresponding to the first target network address.

[0106] The first data packet is sent to the target egress gateway via the target access point corresponding to the target egress gateway. Therefore, the data flow of the first data packet can be controlled by using the target access point to improve the accuracy of data transmission.

[0107] The method for implementing traffic scheduling provided in this embodiment can ensure that the data packet corresponding to the data request can be correctly transmitted to the valid target address when the first target network address corresponding to the domain name is not configured. It can not only effectively reduce the configuration cost of the client of the security management application, but also ensure the effectiveness of traffic scheduling, and thus effectively avoid access to wrong or illegal Internet Protocol URLs, thereby improving the speed and efficiency of network access.

[0108] In some optional implementations, the above method further comprises the following steps:

[0109] Step S405: receiving a first response packet sent by the server corresponding to the first target network address.

[0110] The first response packet is generated after the server corresponding to the first target network address receives the first data packet and responds to the request content of the data request sent by the first business application after clarifying the request content.

[0111] When the first response packet is received, it indicates that the server corresponding to the first target network address has responded to the data request in a targeted manner and successfully obtained the traffic of the server corresponding to the first target network address.

[0112] Step S406, modify the first target network address in the first response packet to the first traffic destination address, and obtain an updated second response packet.

[0113] In order to ensure that the response of the server corresponding to the first target network address can be effectively received by the first business application, the first target network address in the first response packet is modified to the first traffic destination address, thereby obtaining an updated second response packet.

[0114] Step S407: Send a second response packet to the first service application on the first terminal device to respond to the data request.

[0115] The method for implementing traffic scheduling provided in this embodiment can establish a connection between the first business application and the server corresponding to the first target network address by means of URL conversion when the first target network address corresponding to the domain name is not configured, which can effectively avoid access to an erroneous or illegal Internet Protocol URL and improve the speed and efficiency of network access.

[0116] In some optional implementation scenarios, such as Figure 5 As shown, when the first business application on the first terminal device needs to access data, a data request is sent to the client of the security management application. The data request includes the traffic source address of the target device itself and the traffic destination address. For example: in the data packet, the traffic source address is IP1, and the traffic destination address is IP2. When it is determined that the traffic destination address is a virtual network address within the preset network segment and is the first traffic destination address, the first target network address IP21 corresponding to the first traffic destination address IP2 is determined according to the conversion relationship corresponding to the first traffic destination address. In the case that there is no specified traffic exit address in the data packet, IP2 in the data packet is replaced with IP21, thereby obtaining the updated first data packet. That is, in the first data packet, the traffic source address is IP1, and the target IP address is IP21. The first data packet is sent to the server corresponding to the first target network address to obtain a first response packet.

[0117] The server corresponding to the first target network address returns the generated first response packet to the client of the security management application. Since the traffic source address in the first response packet is IP21, in order to ensure that the response of the server corresponding to the first target network address can be effectively received by the first business application, IP21 in the first response packet is modified to IP2, and then an updated second response packet is obtained. That is, in the second response packet, the traffic source address is IP2, and the target IP address is IP1. The second response packet is sent to the first business application on the first terminal device to respond to the data request, thereby realizing traffic scheduling between the first business application and the server corresponding to the first target network address.

[0118] In this embodiment, a method for implementing traffic scheduling is provided, which can be used for the client of the above-mentioned security management application. Figure 6 is a flow chart of a method for implementing traffic scheduling according to an embodiment of the present disclosure. Figure 6 As shown, the process includes the following steps:

[0119] Step S601: receiving a data request sent by a first service application on a first terminal device, and determining a data packet to be transmitted and a traffic destination address corresponding to the data packet through the data request.

[0120] Step S602: If the traffic destination address is a virtual network address within a preset network segment, and the traffic destination address is a first traffic destination address, a first target network address corresponding to the first traffic destination address is determined through a conversion relationship.

[0121] Step S603, if the designated traffic exit address does not exist in the data packet, the first traffic destination address is replaced with the first target network address to obtain an updated first data packet.

[0122] Step S604: Send the updated first data packet to the server corresponding to the first target network address to obtain a first response packet corresponding to the first data packet.

[0123] Step S605, if there is a designated traffic exit address in the data packet, the first traffic destination address is replaced with the designated traffic exit address, and the first target network address is added to the Internet address option of the data packet to obtain an updated second data packet.

[0124] If there is a designated traffic exit address in the data packet, it indicates that the data packet needs to be forwarded to the client of other security management applications by means of traffic forwarding. Since the Internet address option field in the data packet format is a custom field, in order to enable the client of the security management application along the way to clarify the traffic transmission direction and the final destination address of the data packet according to the received data packet during the transmission of the data packet, the first traffic destination address is replaced with the designated traffic exit address, and the first destination network address is added to the Internet address option of the data packet, so as to ensure that the data request can be effectively transmitted to the destination address without changing the data packet format, thereby obtaining the updated second data packet.

[0125] Step S606, sending the updated second data packet to the server corresponding to the specified traffic exit address to obtain a third response packet corresponding to the second data packet.

[0126] The method for implementing traffic scheduling provided in this embodiment replaces the first traffic destination address in the data packet with the specified traffic exit address during data packet forwarding, and adds the first target network address to the Internet address option of the data packet. This allows the clients of security management applications along the way to clarify the traffic transmission direction and the final target address of the data packet based on the received data packet without the need for pre-configuration of the clients of other security management applications. This not only ensures the continuity and reliability of traffic scheduling in the SD-WAN network, but also helps to improve the efficiency of data access.

[0127] In this embodiment, a method for implementing traffic scheduling is provided, which can be used for the client of the above-mentioned security management application. Figure 7 is a flow chart of a method for implementing traffic scheduling according to an embodiment of the present disclosure. Figure 7 As shown, the process includes the following steps:

[0128] Step S701: receiving a data request sent by a first service application on a first terminal device, and determining a data packet to be transmitted and a traffic destination address corresponding to the data packet through the data request.

[0129] Step S702: If the traffic destination address is a virtual network address within a preset network segment, and the traffic destination address is a first traffic destination address, a first target network address corresponding to the first traffic destination address is determined through a conversion relationship.

[0130] Step S703: If the designated traffic exit address does not exist in the data packet, the first traffic destination address is replaced with the first target network address to obtain an updated first data packet.

[0131] Step S704: Send the updated first data packet to the server corresponding to the first target network address to obtain a first response packet corresponding to the first data packet.

[0132] Step S705, if there is a designated traffic exit address in the data packet, the first traffic destination address is replaced with the designated traffic exit address, and the first target network address is added to the Internet address option of the data packet to obtain an updated second data packet.

[0133] Step S706, sending the updated second data packet to the server corresponding to the specified traffic exit address to obtain a third response packet corresponding to the second data packet.

[0134] Step S707, receiving a third response packet sent by the server corresponding to the specified traffic export address.

[0135] The second response packet is generated after the server corresponding to the designated traffic egress address receives the second data packet and responds after clarifying the request content of the data request sent by the first business application.

[0136] When the third response packet is received, it indicates that the server corresponding to the specified traffic export address has responded to the data request in a targeted manner and successfully obtained the traffic of the server corresponding to the specified traffic export address.

[0137] Step S708, modify the designated traffic exit address in the third response packet to the first traffic destination address, and obtain an updated fourth response packet.

[0138] In order to ensure that the response from the server corresponding to the specified traffic export address can be effectively received by the first business application, the first target network address in the third response packet is modified to the first traffic destination address, thereby obtaining an updated fourth response packet.

[0139] Step S709: Send a fourth response packet to the first service application on the first terminal device to respond to the data request.

[0140] The method for implementing traffic scheduling provided in this embodiment can enable the client of the security management application along the way to clarify the traffic transmission direction and the final target address of the data packet based on the received data packet when the first target network address corresponding to the domain name is not configured, thereby prompting the first business application to transmit data with the Internet Protocol website that it needs to access for its purpose, thereby not only ensuring the continuity and reliability of traffic scheduling in the SD-WAN network, but also helping to improve the efficiency of data access.

[0141] In some optional implementation scenarios, such as Figure 8As shown, when the first business application on the first terminal device needs to access data, a data request is sent to the client of the security management application. The data request includes the traffic source address of the target device itself and the traffic destination address. For example: the data packet corresponding to the data request includes the traffic source address as IP3 and the destination IP address as IP4. When it is determined that the destination IP address is a virtual network address within the preset network segment and is the first traffic destination address, the first target network address IP41 corresponding to the first traffic destination address is determined according to the conversion relationship corresponding to the first traffic destination address. If there is a specified traffic outlet address IP5 in the data packet, IP4 in the data packet is replaced with IP5, and IP41 is added to the Internet address option of the data packet, thereby obtaining an updated second data packet. That is, in the second data packet, the traffic source address is IP3, the destination IP address is IP5, and the Internet address option (IP Option) is IP41. The second data packet is sent to the server corresponding to the specified traffic outlet address to obtain a third response packet.

[0142] The server corresponding to the designated traffic exit address returns the generated third response packet to the client of the security management application. Since the traffic source address in the third response packet is IP5, in order to ensure that the response of the server corresponding to the designated traffic exit address can be effectively received by the first business application, the IP5 in the third response packet is modified to IP4, thereby obtaining an updated fourth response packet. That is, in the fourth response packet, the traffic source address is IP4, and the target IP address is IP3. The fourth response packet is sent to the first business application on the first terminal device in response to the data request, thereby realizing traffic scheduling between the first business application and the server corresponding to the designated traffic exit address.

[0143] In some optional implementations, if the traffic destination address is not a virtual network address within a preset network segment, the traffic destination address is determined to be a public Internet access address, and the data packet can be directly sent to the server corresponding to the traffic destination address to obtain a response packet corresponding to the data packet. The response packet corresponding to the data packet sent by the server corresponding to the traffic destination address is received, and the response packet corresponding to the data packet is sent to the first service application on the first terminal device to respond to the data request, thereby realizing communication transmission between the first service application and the traffic destination address.

[0144] In this embodiment, a method for implementing traffic scheduling is provided, which can be used for a client of a security management application. Fig. 9 is a flow chart of a method for implementing traffic scheduling according to an embodiment of the present disclosure. Fig. 9 As shown, the process includes the following steps:

[0145] Step S901, receiving a domain name resolution request sent from a first business application on a first terminal device, and forwarding the domain name resolution request to a software-defined wide area network, so as to obtain a resolution result of the domain name to be resolved corresponding to the domain name resolution request through the central domain name system based on the interaction between the software-defined wide area network and the central domain name system.

[0146] Step S902: receiving the resolution result of the domain name to be resolved fed back by the software defined wide area network.

[0147] Step S903: If the domain name to be resolved is the target domain name, a first virtual network address corresponding to the domain name to be resolved is determined from the preset network segment, and the first virtual network address is used as the first traffic destination address corresponding to the domain name to be resolved.

[0148] Step S904: Send the first traffic destination address to the first service application on the first terminal device, so that the first service application performs data transmission based on the first traffic destination address.

[0149] Step S905, if the domain name to be resolved is not the target domain name, then based on the preset mapping relationship between the domain name and the Internet protocol, determine the first target network address corresponding to the domain name to be resolved, and use the first target network address as the second traffic destination address corresponding to the domain name to be resolved.

[0150] If the domain name to be resolved is not the target domain name, it means that the domain name to be resolved cannot be converted into the virtual network address provided by the client of the security management application. Therefore, in order to ensure the effectiveness of traffic scheduling in the SD-WAN network, the mapping relationship between the preset domain name and the Internet protocol is resolved to clarify the first target network address corresponding to the domain name to be resolved, and the first target network address is used as the second traffic destination address corresponding to the domain name to be resolved.

[0151] Step S906: Send the second traffic destination address to the first service application on the first terminal device, so that the first service application performs data transmission based on the second traffic destination address.

[0152] The method for implementing traffic scheduling provided in this embodiment determines the traffic destination address corresponding to the domain name to be resolved by comparing domain names, which can make the traffic scheduling method more flexible and efficient, and thus make the traffic scheduling method between the first business application and the domain name to be accessed more convenient, which can effectively improve the network response performance.

[0153] As one or more specific application embodiments of the embodiments of the present disclosure, the first business application sends a domain name resolution request to the client of the security management application. The client of the security management application receives the domain name resolution request sent by the first business application on the first terminal device, and performs domain name resolution on the domain name resolution request, thereby obtaining the domain name to be resolved: a.com. The domain name to be resolved is matched with the target domain name. If the domain name to be resolved is the target domain name, the virtual network address currently in an idle state is used as the first virtual network address according to the running status of multiple virtual network addresses in the preset network segment. For example: the first virtual network address may be IP5. Based on the mapping relationship between the preset domain name and the Internet protocol, the first target network address IP51 corresponding to the domain name to be resolved is determined. IP51 is converted into IP5, and IP5 is used as the first traffic destination address corresponding to a.com. According to the mapping relationship between a.com and IP5, a domain name resolution response packet is created, and the domain name resolution response packet is sent to the first business application on the first terminal device, so that the first business application can know that the IP address corresponding to a.com is IP5, and then data transmission can be performed based on IP5 in the future.

[0154] In this embodiment, a device for implementing traffic scheduling is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0155] This embodiment provides a device for implementing traffic scheduling, such as Fig.10 As shown, including:

[0156] The first processing module 1001 is used to receive a domain name resolution request sent by a first service application on a first terminal device, and forward the domain name resolution request to a software-defined wide area network, so as to obtain a resolution result of a domain name to be resolved corresponding to the domain name resolution request through the central domain name system based on the interaction between the software-defined wide area network and the central domain name system, wherein the first terminal device is a terminal device where a client of the security management application is located;

[0157] The first receiving module 1002 is used to receive the resolution result of the domain name to be resolved fed back by the software defined wide area network.

[0158] The second processing module 1003 is used to determine a first virtual network address corresponding to the domain name to be resolved from a preset network segment if the domain name to be resolved is a target domain name, and use the first virtual network address as a first traffic destination address corresponding to the domain name to be resolved, wherein the preset network segment includes multiple virtual network addresses;

[0159] The first sending module 1004 is used to send the first traffic destination address to the first service application on the first terminal device, so that the first service application performs data transmission based on the first traffic destination address.

[0160] In some optional implementations, the second processing module 1103 includes:

[0161] A screening unit, configured to use a virtual network address that is currently in an idle state as a first virtual network address according to the operating states of multiple virtual network addresses in a preset network segment;

[0162] A first determining unit, configured to determine a first target network address corresponding to the domain name to be resolved based on a preset mapping relationship between the domain name and the Internet protocol;

[0163] The first conversion unit is used to convert the first target network address into a first virtual network address, and use the first virtual network address as a first traffic destination address corresponding to the domain name to be resolved.

[0164] In some optional implementations, before the first sending module 1004 sends the first traffic destination address to the first service application on the first terminal device, the apparatus further includes:

[0165] The storage unit is used to store the conversion relationship between the first target network address and the first virtual network address.

[0166] In some optional implementations, if there are multiple virtual network addresses currently in an idle state, the device for determining the first virtual network address includes:

[0167] A screening module, used for determining a plurality of candidate virtual network addresses that are currently in an idle state according to a network planning sequence of the plurality of virtual network addresses;

[0168] The third processing module is used to use the candidate virtual network address with the highest network planning order among the multiple candidate virtual network addresses as the first virtual network address.

[0169] In some optional embodiments, the device comprises:

[0170] A second receiving module is used to receive a data request sent by a first service application on a first terminal device, and determine a data packet to be transmitted and a traffic destination address corresponding to the data packet through the data request;

[0171] a fourth processing module, configured to determine, by a conversion relationship, a first target network address corresponding to the first flow destination address if the flow destination address is a virtual network address within a preset network segment and the flow destination address is a first flow destination address;

[0172] A first updating module, configured to replace the first traffic destination address with the first target network address if the designated traffic exit address does not exist in the data packet, so as to obtain an updated first data packet;

[0173] The second sending module is used to send the updated first data packet to the server corresponding to the first target network address to obtain a first response packet corresponding to the first data packet.

[0174] In some optional embodiments, the device further comprises:

[0175] A third receiving module, used to receive a first response packet sent by the server corresponding to the first target network address;

[0176] A second updating module, used to modify the first target network address in the first response packet to the first traffic destination address, to obtain an updated second response packet;

[0177] The third sending module is used to send the second response packet to the first service application on the first terminal device to respond to the data request.

[0178] In some optional embodiments, the device further comprises:

[0179] A third updating module is used to replace the first traffic destination address with the designated traffic exit address if there is a designated traffic exit address in the data packet, and add the first target network address to the Internet address option of the data packet to obtain an updated second data packet;

[0180] The fourth sending module is used to send the updated second data packet to the server corresponding to the specified traffic export address to obtain a third response packet corresponding to the second data packet.

[0181] In some optional embodiments, the device further comprises:

[0182] A fourth receiving module, used to receive a third response packet sent by the server corresponding to the specified traffic export address;

[0183] The fourth updating unit is used to modify the designated traffic exit address in the third response packet to the first traffic destination address to obtain an updated fourth response packet.

[0184] The fifth sending module is used to send a fourth response packet to the first service application on the first terminal device to respond to the data request.

[0185] In some optional implementations, the second sending module includes:

[0186] A second determining unit, configured to determine a target access point corresponding to a target egress gateway, the target egress gateway being configured to send the first data packet to a server corresponding to the first target network address;

[0187] The data packet sending unit is used to send the updated first data packet to the target egress gateway based on the target access point and the first target network address.

[0188] In some optional embodiments, the device further comprises:

[0189] a fifth processing module, configured to determine, if the domain name to be resolved is not the target domain name, a first target network address corresponding to the domain name to be resolved based on a preset mapping relationship between the domain name and the Internet protocol, and use the first target network address as a second traffic destination address corresponding to the domain name to be resolved;

[0190] The sixth sending module is used to send the second traffic destination address to the first service application on the first terminal device, so that the first service application performs data transmission based on the second traffic destination address.

[0191] In some optional implementations, the first processing module 1001 includes:

[0192] An acquisition unit, used for acquiring a plurality of domain names to be scheduled, wherein the plurality of domain names to be scheduled are encapsulated into a Bloom filter, and the Bloom filter is used for indicating the existence of the plurality of domain names to be scheduled;

[0193] A first processing unit, configured to perform Bloom calculation on the target domain name and the Bloom filter to obtain a matching result between the target domain name and a plurality of domain names to be scheduled;

[0194] A second processing unit, configured to determine a scheduling status of the target domain name based on the matching result;

[0195] The third processing unit is used to forward the domain name resolution request to the software defined wide area network if the target domain name is the domain name to be scheduled.

[0196] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0197] The device for implementing traffic scheduling in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0198] The present disclosure also provides a computer device having the above Fig.10 The device for implementing traffic scheduling is shown.

[0199] See also Fig.11 , Fig.11 is a schematic diagram of a computer device provided by an optional embodiment of the present disclosure, such as Fig.11 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.11 A processor 10 is taken as an example.

[0200] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0201] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0202] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, a business application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0203] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0204] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Fig.11 The example of connecting through bus is taken in the following.

[0205] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device may be a touch screen.

[0206] The embodiments of the present disclosure also provide a computer-readable storage medium. The above-mentioned method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0207] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0208] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0209] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to the computer device, business application, server, storage medium or other software or hardware that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0210] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the computer device.

[0211] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0212] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for implementing traffic scheduling, characterized in that: Applied to a client of a security management application, the method comprises: Receiving a domain name resolution request sent by a first service application on a first terminal device, and forwarding the domain name resolution request to a software-defined wide area network, so as to obtain a resolution result of a domain name to be resolved corresponding to the domain name resolution request through the central domain name system based on the interaction between the software-defined wide area network and a central domain name system, wherein the first terminal device is a terminal device where a client of the security management application is located; Receiving the resolution result of the domain name to be resolved fed back by the software defined wide area network; If the domain name to be resolved is a target domain name, a first virtual network address corresponding to the domain name to be resolved is determined from a preset network segment, and the first virtual network address is used as a first traffic destination address corresponding to the domain name to be resolved, so that the first service application is connected to the virtual network corresponding to the preset network segment by way of traffic redirection, wherein the preset network segment includes a plurality of virtual network addresses, and the target domain name is a predetermined domain name that can convert the corresponding traffic destination address into the first virtual network address; The first traffic destination address is sent to the first service application on the first terminal device, so that the first service application performs data transmission based on the first traffic destination address.

2. The method according to claim 1, characterized in that The step of determining a first virtual network address corresponding to the domain name to be resolved from a preset network segment, and using the first virtual network address as a first traffic destination address corresponding to the domain name to be resolved, includes: According to the operation status of multiple virtual network addresses in the preset network segment, a virtual network address that is currently in an idle state is used as the first virtual network address; Determine a first target network address corresponding to the domain name to be resolved based on a preset mapping relationship between the domain name and the Internet protocol; The first target network address is converted into the first virtual network address, and the first virtual network address is used as the first traffic destination address corresponding to the domain name to be resolved.

3. The method according to claim 2, characterized in that If there are multiple virtual network addresses currently in an idle state, the method for determining the first virtual network address includes: Determine a plurality of candidate virtual network addresses that are currently in an idle state according to the network planning order of the plurality of virtual network addresses; The candidate virtual network address with the highest network planning order among the multiple candidate virtual network addresses is used as the first virtual network address.

4. The method according to claim 2 or 3, characterized in that: Before sending the first traffic destination address to the first service application on the first terminal device, the method further includes: A conversion relationship between the first target network address and the first virtual network address is saved.

5. The method according to claim 4, characterized in that The method further comprises: Receiving a data request sent by the first service application on the first terminal device, and determining a data packet to be transmitted and a traffic destination address corresponding to the data packet through the data request; If the traffic destination address is a virtual network address within the preset network segment, and the traffic destination address is the first traffic destination address, determining the first target network address corresponding to the first traffic destination address through the conversion relationship; If the designated traffic egress address does not exist in the data packet, the first traffic destination address is replaced with the first target network address to obtain an updated first data packet; The updated first data packet is sent to the server corresponding to the first target network address to obtain a first response packet corresponding to the first data packet.

6. The method according to claim 5, characterized in that The method further comprises: Receiving the first response packet sent by the server corresponding to the first target network address; Modify the first target network address in the first response packet to the first traffic destination address to obtain an updated second response packet; The second response packet is sent to the first service application on the first terminal device to respond to the data request.

7. The method according to claim 5, characterized in that The method further comprises: If the designated traffic exit address exists in the data packet, the first traffic destination address is replaced with the designated traffic exit address, and the first target network address is added to the Internet address option of the data packet to obtain an updated second data packet; The updated second data packet is sent to the server corresponding to the designated traffic exit address to obtain a third response packet corresponding to the second data packet.

8. The method according to claim 7, characterized in that The method further comprises: Receive the third response packet sent by the server corresponding to the designated traffic exit address; Modify the designated traffic egress address in the third response packet to the first traffic destination address to obtain an updated fourth response packet; The fourth response packet is sent to the first service application on the first terminal device to respond to the data request.

9. The method according to claim 5, characterized in that The sending the updated first data packet to the server corresponding to the first target network address includes: Determining a target access point corresponding to a target egress gateway, wherein the target egress gateway is used to send the first data packet to a server corresponding to the first target network address; Based on the target access point and the first target network address, the updated first data packet is sent to the target egress gateway.

10. The method according to claim 1, characterized in that The method further comprises: If the domain name to be resolved is not the target domain name, determining a first target network address corresponding to the domain name to be resolved based on a preset mapping relationship between domain names and Internet protocols, and using the first target network address as a second traffic destination address corresponding to the domain name to be resolved; The second traffic destination address is sent to the first service application on the first terminal device, so that the first service application on the first terminal device performs data transmission based on the second traffic destination address.

11. The method according to claim 1, characterized in that: The forwarding of the domain name resolution request to the software defined wide area network includes: Acquire a plurality of domain names to be scheduled, wherein the plurality of domain names to be scheduled are encapsulated into a Bloom filter, and the Bloom filter is used to indicate the existence of the plurality of domain names to be scheduled; Performing Bloom calculation on the target domain name and the Bloom filter to obtain a matching result between the target domain name and the multiple domain names to be scheduled; Determine the scheduling status of the target domain name based on the matching result; If the target domain name is a domain name to be scheduled, the domain name resolution request is forwarded to the software defined wide area network.

12. A device for implementing traffic scheduling, characterized in that: Applied to a client of a security management application, the device comprises: a first processing module, configured to receive a domain name resolution request sent by a first service application on a first terminal device, and forward the domain name resolution request to a software-defined wide area network, so as to obtain a resolution result of a domain name to be resolved corresponding to the domain name resolution request through the central domain name system based on the interaction between the software-defined wide area network and a central domain name system, wherein the first terminal device is a terminal device where a client of the security management application is located; A first receiving module, configured to receive the resolution result of the domain name to be resolved fed back by the software defined wide area network; a second processing module, configured to determine, if the domain name to be resolved is a target domain name, a first virtual network address corresponding to the domain name to be resolved from a preset network segment, and use the first virtual network address as a first traffic destination address corresponding to the domain name to be resolved, so as to establish a connection between the first service application and the virtual network corresponding to the preset network segment by way of traffic redirection, wherein the preset network segment includes a plurality of virtual network addresses, and the target domain name is a predetermined domain name that can convert the corresponding traffic destination address into the first virtual network address; The first sending module is used to send the first traffic destination address to the first service application on the first terminal device, so that the first service application performs data transmission based on the first traffic destination address.

13. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for realizing traffic scheduling according to any one of claims 1 to 11 by executing the computer instructions.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for realizing traffic scheduling according to any one of claims 1 to 11.

15. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions are used to enable a computer to execute the method for realizing traffic scheduling according to any one of claims 1 to 11.