Data processing method, system and storage medium

By acquiring the current traffic data and target threshold of the switch, determining and forwarding the scheduled traffic data, the problem of low scheduling traffic efficiency in the prior art is solved, and smoother traffic scheduling and improved efficiency are achieved.

CN114598647BActive Publication Date: 2024-12-10ALIBABA (CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210114705.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-30
Publication Date
2024-12-10
Estimated Expiration
2042-01-30

AI Technical Summary

Technical Problem

The prior art cannot achieve precise scheduling during traffic scheduling, resulting in low efficiency of scheduling traffic, wasted bandwidth, and affect service quality in short-term traffic bursts.

Method used

By obtaining the current traffic data and target traffic thresholds of the switch in the content distribution network, determine the scheduled traffic data that needs to be scheduled and forward it to the switch to adjust the current traffic data and achieve smoother traffic scheduling.

Benefits of technology

It improves the efficiency of scheduling traffic, solves the problem of low scheduling traffic efficiency, and ensures the smoothness of traffic scheduling and service quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114598647B_ABST
    Figure CN114598647B_ABST
Patent Text Reader

Abstract

The present invention discloses a data processing method, system and storage medium. The method comprises: obtaining current flow data of a first port of a switch in a content distribution network; determining the scheduling flow data to be scheduled based on the current flow data and a target flow threshold; forwarding the scheduling flow data to the switch, wherein the scheduling flow data is used to enable the second port or the first port of the switch to obtain the scheduling flow data to adjust the current flow data of the first port. The present invention solves the technical problem of low efficiency of scheduling flow caused by the inability to perform particularly accurate flow scheduling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of Internet technology and data processing, and in particular to a data processing method, system and storage medium. Background Art

[0002] At present, when performing traffic scheduling, traffic is usually scheduled by relying on the Domain Name System (DNS), but it is not possible to perform particularly accurate traffic scheduling. If the traffic scheduled to the corresponding node is small, the packet port traffic cannot run, wasting bandwidth; if the traffic scheduled to the corresponding node is large, then when a short-term traffic burst occurs, the packet port traffic will exceed the limit, affecting the service quality, thereby causing a technical problem of low efficiency in scheduling traffic.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a data processing method, system and storage medium to at least solve the technical problem of low efficiency in scheduling traffic due to the inability to perform particularly accurate traffic scheduling.

[0005] According to one aspect of an embodiment of the present invention, a data processing method is provided, comprising: obtaining current traffic data of a first port of a switch in a content distribution network; determining scheduling traffic data that needs to be scheduled based on the current traffic data and a target traffic threshold; and forwarding the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable a second port or a first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port.

[0006] Optionally, the method further includes: acquiring predetermined flow data of the switch; and determining a target flow threshold based on the predetermined flow data.

[0007] Optionally, the predetermined flow data of the switch is obtained, and the method includes: obtaining a first type of predetermined flow data corresponding to the first port of the switch; obtaining a second type of predetermined flow data corresponding to the second port of the switch; determining a target flow threshold based on the predetermined flow data, and the method includes: determining the target flow threshold based on the first type of predetermined flow data and the second type of predetermined flow data.

[0008] Optionally, based on the current flow data and the target flow threshold, the scheduling flow data to be scheduled is determined, and the method includes: in response to the current flow data exceeding the target flow threshold, determining the first scheduling flow data to be scheduled to the second port.

[0009] Optionally, the scheduling traffic data is forwarded to the switch, and the method includes: forwarding a first data packet to a second port through a server, wherein the first data packet is obtained by adding a first identifier to the first scheduling traffic data.

[0010] Optionally, the first identifier of the first data packet is identified by the switch, and the first data packet is forwarded by the switch to the second port to reduce current traffic data of the first port.

[0011] Optionally, based on the current flow data and the target flow threshold, the scheduling flow data to be scheduled is determined, and the method includes: in response to the current flow data not exceeding the target flow threshold, determining the second scheduling flow data to be scheduled to the first port.

[0012] Optionally, the scheduling traffic data is forwarded to the switch, and the method includes: forwarding a second data packet to the first port through the server, wherein the second data packet is obtained by adding a second identifier to the second scheduling traffic data.

[0013] Optionally, the second identifier of the second data packet is identified by the switch, and the second data packet is forwarded by the switch to the first port to increase current traffic data of the first port.

[0014] Optionally, the method further includes: determining corresponding virtual resources based on the adjusted current traffic data.

[0015] According to one aspect of an embodiment of the present invention, a data processing method is provided from a server side, comprising: obtaining scheduling traffic data that needs to be scheduled, wherein the scheduling traffic data is obtained by current traffic data of a first port of a switch in a content distribution network and a target traffic threshold; forwarding the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable a second port or a first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port.

[0016] According to another aspect of an embodiment of the present invention, a data processing device is also provided, including: a first acquisition unit, used to acquire current traffic data of a first port of a switch in a content distribution network; a determination unit, used to determine scheduling traffic data that needs to be scheduled based on the current traffic data and a target traffic threshold; a first forwarding unit, used to forward the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable a second port or a first port of the switch to acquire the scheduling traffic data to adjust the current traffic data of the first port.

[0017] According to another aspect of an embodiment of the present invention, a data processing device is provided from the server side, including: a second acquisition unit, used to acquire scheduling traffic data that needs to be scheduled, wherein the scheduling traffic data is obtained by current traffic data of the first port of the switch in the content distribution network and a target traffic threshold; a second forwarding unit, used to forward the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable the second port or the first port of the switch to acquire the scheduling traffic data to adjust the current traffic data of the first port.

[0018] The embodiment of the present invention further provides a computer-readable storage medium, which includes a stored program, wherein when the program is executed by a processor, the device where the computer-readable storage medium is located is controlled to execute the data processing method of the embodiment of the present disclosure.

[0019] The embodiment of the present invention further provides a processor, which is used to run a program, wherein the data processing method of the embodiment of the present invention is executed when the program is run.

[0020] An embodiment of the present invention also provides a data processing system, which may include: a processor; a memory connected to the processor, and used to provide the processor with instructions for processing the following processing steps: obtaining current traffic data of a first port of a switch in a content distribution network; determining scheduling traffic data that needs to be scheduled based on the current traffic data and a target traffic threshold; forwarding the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable a second port or a first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port.

[0021] In an embodiment of the present invention, a new traffic forwarding mode is adopted to determine the scheduling traffic data that needs to be scheduled based on the current traffic data and the target traffic threshold, and then forward it to the switch to adjust the current traffic data, thereby achieving the purpose of making the traffic scheduling smoother, thereby achieving the technical effect of improving the efficiency of scheduling traffic, and thus solving the technical problem of low efficiency of scheduling traffic caused by the inability to perform particularly accurate traffic scheduling. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0023] Figure 1 is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a data processing method according to an embodiment of the present disclosure;

[0024] Figure 2is a flow chart of a data processing method according to an embodiment of the present invention;

[0025] Figure 3 is a flow chart of a data processing method provided from the server side according to an embodiment of the present invention;

[0026] Figure 4 This is a schematic diagram of a CDN providing external services according to an embodiment of the present disclosure;

[0027] Figure 5 is a schematic diagram of a CDN service for a single packet port node according to an embodiment of the present disclosure;

[0028] Figure 6 It is an architectural diagram of an egress scheduling method for optimizing CDN billing according to an embodiment of the present disclosure;

[0029] Figure 7 is a schematic diagram of a data processing device according to an embodiment of the present invention;

[0030] Figure 8 is a schematic diagram of a data processing device provided from a server side according to an embodiment of the present invention;

[0031] Fig. 9 It is a structural block diagram of a computer terminal according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0034] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:

[0035] The basic idea of ​​the Content Delivery Network (CDN) is to avoid the bottlenecks and links on the Internet that may affect the speed and stability of data transmission as much as possible, so as to make the content transmission faster and more stable. By placing node servers in various places on the network to form a layer of intelligent virtual network on the existing Internet, the CDN system can redirect the user's request to the service node closest to the user in real time based on comprehensive information such as network traffic and the connection and load status of each node, as well as the distance to the user and the response time;

[0036] The Domain Name System is a distributed database on the Internet that maps domain names to Internet Protocol (IP) addresses, allowing users to access the Internet more conveniently without having to remember IP numbers that can be read directly by machines.

[0037] 95% billing means that 95% of the bandwidth is billed, and the highest 5% is not billed;

[0038] Port-based billing means you need to pay the operator whether you use it or not.

[0039] Log analysis can be a module that performs traffic analysis based on CDN access logs;

[0040] Routing policy can be a strategy for traffic leaving the switch.

[0041] Example 1

[0042] According to an embodiment of the present invention, a method embodiment of data processing is also 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 a 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.

[0043] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal (or mobile device) for implementing a data processing method. Figure 1As shown, the computer terminal 10 (or mobile device 10) may include one or more (shown as 102a, 102b, ..., 102n in the figure) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0044] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As involved in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0045] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the data processing method in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, realizing the above-mentioned data processing method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 10 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.

[0046] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0047] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).

[0048] Figure 1 The hardware structure block diagram shown can be used not only as an exemplary block diagram of the above-mentioned computer terminal 10 (or mobile device), but also as an exemplary block diagram of the above-mentioned server. In an optional embodiment, Figure 2 The block diagram shows the use of the above Figure 1 The computer terminal 10 (or mobile device) is shown as an embodiment.

[0049] Under the above operating environment, this application provides Figure 2 A data processing method is shown.

[0050] Figure 2 is a flow chart of a data processing method according to an embodiment of the present invention. Figure 3 As shown, the data processing method may include the following steps:

[0051] Step S202: obtaining current flow data of a first port of a switch in a content distribution network.

[0052] In the technical solution provided in the above step S202 of the present invention, packet port billing is a billing method that requires payment to the operator regardless of whether it is used or not, 95 port billing is a billing method that charges 95% of the bandwidth flow, and the highest 5% is not charged, 95 billing ports and packet ports are two billing logics when renting bandwidth, and the two constitute a new bandwidth combination method in this application. The purpose of the content distribution network is to enable users to obtain the required content nearby, solve the network congestion, and improve the response speed of users visiting the website.

[0053] In this embodiment, current traffic data of a first port of a switch in a content delivery network is obtained, for example, packet port traffic of a switch in a content delivery network (CDN) is obtained.

[0054] In this embodiment, the current traffic data of the first port may be packet port traffic. When the switch traffic increases or decreases, a strategy may be further formulated by obtaining the packet port traffic.

[0055] In this embodiment, optionally, predetermined traffic data of the switch is obtained, for example, the log (analysis) module counts the traffic size of two types of export types of the switch, wherein the two export types may be packet port types and 95 billing port types, and then the target traffic threshold is determined based on the predetermined data, for example, the policy center module formulates a policy in detail according to the uploaded switch traffic and the corresponding threshold, wherein the log (analysis) module may obtain the traffic details of each very important person (VIP for short) for subsequent policy production, and may also obtain the traffic details of the packet port type and 95 billing port type of the switch for subsequent policy production.

[0056] Step S204: Determine the scheduling flow data that needs to be scheduled based on the current flow data and the target flow threshold.

[0057] In the technical solution provided in the above step S204 of the present invention, the target flow threshold may be a value determined according to the total flow of the packet port.

[0058] In this embodiment, the scheduling traffic data that needs to be scheduled can be determined based on the current traffic data and the target traffic threshold. For example, when the total traffic of the packet port exceeds the set threshold, the policy center calculates the traffic that needs to be transferred to the 95 billing port; when the total traffic of the packet port is less than the set threshold, the policy center calculates the traffic that needs to be transferred to the packet port.

[0059] In this embodiment, in response to the current traffic data exceeding the target traffic threshold, it may be determined that the first scheduling traffic data needs to be scheduled to the second port, wherein the second port may be a 95 billing port, and the first scheduling traffic data may be the traffic that needs to be scheduled to the 95 billing port, or, in response to the current traffic data not exceeding the target traffic threshold, it may be determined that the second scheduling traffic data needs to be scheduled to the first port, wherein the first port may be a packet port, and the second scheduling traffic data may be the traffic that needs to be scheduled to the packet port.

[0060] Step S206: forwarding the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable the second port or the first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port.

[0061] In the technical solution provided in the above step S206 of the present invention, the scheduling traffic data can be forwarded to the switch. For example, when the packet port traffic exceeds the threshold, the traffic that needs to be transferred to the 95 billing port is calculated. The policy center calculates a new policy for transferring to 95 billing based on the VIP traffic and the original policy, and passes the policy to the execution module. The execution module sends the policy to all servers, and the server forwards the data packet to the switch to adjust the current traffic data of the packet port.

[0062] In this embodiment, the scheduling traffic data can be used to enable the second port or the first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port. For example, when the current traffic data of the first port (packet port) of the switch exceeds the target traffic threshold, the scheduling traffic data that needs to be transferred to the second port (95 billing port) is calculated. After the switch receives the data packet corresponding to the above scheduling traffic data, the second port (95 billing port) calls out the above scheduling traffic data from the first port (packet port) to reduce the current traffic data of the first port.

[0063] Through the above steps S202 to S206 of the present application, the current traffic data of the first port of the switch in the content distribution network is obtained; based on the current traffic data and the target traffic threshold, the scheduling traffic data that needs to be scheduled is determined; the scheduling traffic data is forwarded to the switch, wherein the scheduling traffic data is used to enable the second port or the first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port. That is to say, in the present application, a new traffic forwarding mode is defined, based on the current traffic data and the target traffic threshold, the scheduling traffic data that needs to be scheduled is determined, and then forwarded to the switch to adjust the current traffic data, so that the traffic scheduling is smoother, the efficiency of the scheduling traffic is improved, and the technical problem of low efficiency of scheduling traffic is solved, and the technical effect of improving the efficiency of scheduling traffic is achieved.

[0064] The above method of this embodiment is further introduced below.

[0065] As an optional implementation, in step S202, current flow data of a first port of a switch in a content distribution network is obtained, and the method further includes: obtaining predetermined flow data of the switch; and determining a target flow threshold based on the predetermined flow data.

[0066] In this embodiment, predetermined flow data of the switch is obtained, for example, the log (analysis) module counts the flow sizes of two types of outlets of the switch, wherein the two types of outlets may be a packet port type and a 95 billing outlet type.

[0067] In this embodiment, the target traffic threshold is determined based on predetermined traffic data. For example, after the log (analysis) module sends the data to the policy center, the policy center module formulates the corresponding threshold in detail according to the sent switch traffic.

[0068] As an optional implementation, obtaining the predetermined flow data of the switch includes: obtaining the first type of predetermined flow data corresponding to the first port of the switch; obtaining the second type of predetermined flow data corresponding to the second port of the switch; determining the target flow threshold based on the predetermined flow data, including: determining the target flow threshold based on the first type of predetermined flow data and the second type of predetermined flow data.

[0069] In this embodiment, the first type of predetermined traffic data may be packet port type traffic data, and the second type of predetermined traffic data may be 95 billing port type traffic data.

[0070] In this embodiment, the target traffic threshold can be determined based on the first type of predetermined traffic data and the second type of predetermined traffic data. For example, after the log (analysis) module uploads the data to the policy center, the policy center formulates a detailed policy based on the uploaded switch traffic to determine the target traffic threshold.

[0071] As an optional implementation, step S204, based on the current flow data and the target flow threshold, determines the scheduling flow data that needs to be scheduled, the method includes: in response to the current flow data exceeding the target flow threshold, determines the first scheduling flow data that needs to be scheduled to the second port.

[0072] In this embodiment, in response to the current traffic data exceeding the target traffic threshold, the first scheduling traffic data that needs to be scheduled to the second port can be determined. For example, when it is detected that the packet port traffic exceeds the threshold, a signal is generated to represent the information. In response to the signal, the traffic that needs to be scheduled to the 95 billing port is calculated.

[0073] For example, when it is detected that the current flow data of the first port (packet port) of the switch exceeds the target flow threshold, the scheduling flow data that needs to be dropped to the second port (95 billing port) is calculated. After the switch receives the data packet corresponding to the above scheduling flow data, the second port (95 billing port) calls out the above scheduling flow data from the first port (packet port) to reduce the current flow data of the first port, thereby achieving the purpose of the current flow data of the first port (packet port) of the switch falling below the target flow threshold, making the flow scheduling smoother, improving the efficiency of scheduling flow, and achieving the technical effect of improving the efficiency of scheduling flow.

[0074] As an optional implementation, step S206, forwarding the scheduling traffic data to the switch, the method includes: forwarding the first data packet to the second port through the server, wherein the first data packet is obtained by adding a first identifier to the first scheduling traffic data.

[0075] In this embodiment, the first data packet can be forwarded to the second port through the server. For example, when the packet port traffic exceeds the threshold, it is calculated that the traffic needs to be transferred to the 95 billing port. The policy center calculates a new policy for transferring to 95 billing based on the member (Very Important Person, referred to as VIP) traffic and the original policy, and passes the policy to the execution module. Assuming that the VIP to be scheduled is VIP-A1, the execution module sends the policy to all servers. The server marks the data packet with source IP as VIP-A1 with export label 1 and forwards the data packet to the 95 billing port. The export label 1 is used to indicate that the data packet is transferred to the 95 billing port.

[0076] In this embodiment, the second identifier is used to represent the egress label 1 for forwarding the data packet to the 95 billing port, wherein the egress label can be represented by 0, in order to distinguish the server's forwarding strategy for the data packet, and its representation form is not limited here.

[0077] As an optional implementation manner, the first identifier of the first data packet is identified by the switch, and the first data packet is forwarded by the switch to the second port to reduce current traffic data of the first port.

[0078] In this embodiment, a data packet leaving the server will have an egress label field added to it. The switch will recognize this field and forward it according to established rules. Two policy models are configured under the switch to match and forward the label of the data packet (the egress label field).

[0079] In this embodiment, after receiving the corresponding data packet, the switch calculates the hash and sends it to a certain 95 billing port, so that the switch packet port traffic drops below the threshold.

[0080] As an optional implementation, step S204, based on the current flow data and the target flow threshold, determines the scheduling flow data that needs to be scheduled. The method includes: in response to the current flow data not exceeding the target flow threshold, determines the second scheduling flow data that needs to be scheduled to the first port.

[0081] In this embodiment, in response to the current traffic data not exceeding the target traffic threshold, the second scheduling traffic data that needs to be scheduled to the first port is determined. For example, when it is detected that the packet port traffic is less than the threshold, a signal for indicating the information is generated. In response to the signal, the policy center selects a suitable VIP based on the record and modifies the forwarding policy of the VIP to packet port billing. It is assumed that the VIP that needs to be adjusted is VIP-A.

[0082] As an optional implementation, step S206, forwarding the scheduling traffic data to the switch, the method includes: forwarding the second data packet to the first port through the server, wherein the second data packet is obtained by adding a second identifier to the second scheduling traffic data.

[0083] In this embodiment, the second data packet can be forwarded to the first port through the server. For example, when the packet port traffic is already less than the threshold, the policy center selects a suitable VIP based on the record, and modifies the VIP's forwarding policy to packet port billing. Assuming that the VIP that needs to be adjusted is VIP-A, the execution module sends the policy to all servers. The server forwarding module adds the export label 0 to the data packet with the source IP as VIP-A according to the policy, and forwards the data packet to the packet port, where the export label 0 is used to indicate that the data packet is forwarded to the packet port.

[0084] In this embodiment, the second identifier is used to represent the egress label 0 for forwarding the data packet to the packet port, wherein the egress label can be represented by 0, in order to distinguish the server's forwarding strategy for the data packet, and its representation form is not limited here.

[0085] As an optional implementation manner, the second identifier of the second data packet is identified by the switch, and the second data packet is forwarded by the switch to the first port to increase the current traffic data of the first port.

[0086] In this embodiment, a data packet leaving the server will have an egress tag field added to it, and the switch will recognize this field. When the switch receives the corresponding data packet, it will calculate the hash and send it to a packet port, thereby increasing the switch packet port traffic.

[0087] As an optional implementation, the method further includes: determining corresponding virtual resources based on the adjusted current traffic data.

[0088] In this embodiment, the virtual resources may be fees that need to be paid to the operator.

[0089] In this embodiment, the corresponding virtual resources are determined based on the adjusted current traffic data. For example, when providing external services, the CDN must rent the bandwidth of the operator, and the fees to be paid to the operator can be determined based on the adjusted current traffic.

[0090] In the disclosed embodiment, predetermined flow data of the switch is obtained; a target flow threshold is determined based on the predetermined flow data; in response to the current flow data exceeding the target flow threshold, first scheduling flow data that needs to be scheduled to the second port is determined; in response to the current flow data not exceeding the target flow threshold, second scheduling flow data that needs to be scheduled to the first port is determined; corresponding virtual resources are determined based on the adjusted current flow data, that is, based on the current flow data and the target flow threshold, the scheduling flow data that needs to be scheduled is determined, and then forwarded to the switch to adjust the current flow data, so that the flow scheduling is smoother, the efficiency of the scheduling flow is improved, and the technical problem of low efficiency of scheduling flow is solved, thereby achieving the technical effect of improving the efficiency of scheduling flow.

[0091] The embodiment of the present invention also provides a data processing method from the server side.

[0092] Figure 3 1 is a flow chart of a data processing method provided from the server side according to an embodiment of the present invention. Figure 4 As shown, the method may include the following steps:

[0093] Step S302: Obtain scheduling traffic data that needs to be scheduled, wherein the scheduling traffic data is obtained from current traffic data of a first port of a switch in a content distribution network and a target traffic threshold.

[0094] In the technical solution provided in the above step S302 of the present invention, the server can obtain the scheduling traffic data that needs to be scheduled. For example, the server obtains the scheduling traffic data that needs to be forwarded to the 95 billing port or packet port based on the current traffic data and the target traffic threshold of the packet port of the switch in the CDN.

[0095] Step S304: forwarding the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable the second port or the first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port.

[0096] In the technical solution provided in the above step S304 of the present invention, the server can forward the scheduling traffic data to the switch. For example, after the server obtains the scheduling traffic data that needs to be forwarded to the 95 billing port or the packet port based on the current traffic data of the packet port of the switch in the CDN and the target traffic threshold, the server adds an exit label to the data packet and forwards it to the switch to adjust the current traffic data of the packet port.

[0097] Through the above steps S302 to S304 of the present application, the scheduling traffic data that needs to be scheduled is obtained, wherein the scheduling traffic data is obtained by the current traffic data of the first port of the switch in the content distribution network and the target traffic threshold; the scheduling traffic data is forwarded to the switch, wherein the scheduling traffic data is used to enable the second port or the first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port, that is, based on the current traffic data and the target traffic threshold, the scheduling traffic data that needs to be scheduled is determined, and then forwarded to the switch to adjust the current traffic data, so that the traffic scheduling is smoother, the efficiency of the scheduling traffic is improved, and the technical problem of low efficiency of the scheduling traffic is solved, and the technical effect of improving the efficiency of the scheduling traffic is achieved.

[0098] The preferred implementation manner of the above method of this embodiment is further introduced below.

[0099] Figure 4 FIG. 1 is a schematic diagram of a CDN providing services to the outside according to an embodiment of the present disclosure. Figure 4 As shown in the figure, when CDN provides external services, it must rent bandwidth from operators. There are multiple billing logics when renting bandwidth, mainly 95 billing and packet port billing. Using as much packet port traffic as possible will reduce the overall bandwidth usage cost of CDN, but relying on DNS scheduling cannot make particularly accurate traffic scheduling. If the traffic scheduled to the corresponding node is small, the packet port traffic will not run, wasting bandwidth; if the traffic scheduled to the corresponding node is large, then when there is a short-term traffic burst, the packet port traffic will exceed the limit, affecting the service quality.

[0100] Figure 5 Schematic diagram of a CDN service for a single packet port node according to an embodiment of the present disclosure. Figure 5 As shown in the figure, if only the packet port billing method is used under a node, there will be problems such as insufficient or too high traffic affecting the processing quality.

[0101] Figure 6 is an architectural diagram of an egress scheduling method for optimizing CDN billing according to an embodiment of the present disclosure. Figure 6 As shown, the function of the log analysis module can be: obtaining the traffic details of each VIP through the log analysis module 605 for subsequent policy production; obtaining the traffic details of the two billing type ports of the switch 601 through log analysis for subsequent policy production.

[0102] The data packet format can be expressed as follows:

[0103] Source address (MAC) Destination address (MAC) Egress label Source IP Destination IP Payload (Payload).

[0104] The normal IPV4 data format can be expressed as follows:

[0105] Source MAC Destination MAC Egress Label Source IP Destination IP Payload.

[0106] In this architecture, a data packet leaving the server 602 will have an egress label field added, and the switch 601 will recognize this field and forward it according to the established rules.

[0107] The switch policy can be to configure two policy models under the switch to match and forward the label of the data packet (the field of the egress label). For example, egress label 0: forward the data packet to the packet port; egress label 1: forward the data packet to 95 billing.

[0108] The process is described as follows:

[0109] When the traffic on switch 601 increases:

[0110] 1) The log (analysis) module 605 counts the traffic size of each VIP every minute; and counts the traffic size of two types of switches;

[0111] 2) The log (analysis) module 605 sends the data to the policy center;

[0112] 3) The policy center 604 formulates a detailed policy based on the switch traffic sent up, and when the packet port traffic exceeds the threshold, calculates the traffic that needs to be transferred to the 95 billing port (total packet port traffic - threshold);

[0113] 4) The policy center 604 calculates a new policy for billing to 95 based on the VIP traffic and the original policy, and passes the policy to the execution module 603. Here, it is assumed that the VIP to be scheduled is VIP-A1, and it is recorded;

[0114] 5) The execution module 603 sends the policy to all servers 602. The server forwarding module adds the egress label 1 to the data packet with the source IP address VIP-A1 according to the policy, and forwards the data packet to the switch;

[0115] 6) After receiving the corresponding receipt packet, the switch 601 performs hash calculation and sends it to a certain 95 billing port;

[0116] 7) The traffic on port 601 of the switch drops below the threshold.

[0117] When the switch traffic drops:

[0118] 1) The log (analysis) module 605 counts the traffic size of each VIP every minute; and counts the traffic size of two types of switches;

[0119] 2) The log (analysis) module 605 sends the data to the policy center;

[0120] 3) The policy center 604 formulates a detailed policy based on the switch traffic sent up, and finds that the packet port traffic is already less than the threshold;

[0121] 4) Select a suitable VIP based on the records and modify the VIP forwarding policy to port-based billing. Here, it is assumed that the VIP to be adjusted is VIP-A.

[0122] 5) The execution module 603 sends the policy to all servers 602. The server forwarding module adds the egress label 0 to the data packet whose source IP is VIP-A according to the policy, and forwards the data packet to the switch;

[0123] 6) After receiving the corresponding receipt packet, the switch 601 calculates the hash and sends it to a packet port;

[0124] 7) The packet port traffic of switch 601 increases.

[0125] In the disclosed embodiment, a new forwarding mode is defined that does not rely on the default route configured on the switch (the default route has a coarse granularity). There is a forwarding module on each server, so the flow control is refined to the server-VIP combination, making flow scheduling smoother, improving the efficiency of scheduling flow, solving the technical problem of low efficiency in scheduling flow, and achieving the technical effect of improving the efficiency of scheduling flow.

[0126] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0127] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0128] Example 2

[0129] According to an embodiment of the present invention, there is also provided a method for implementing the above Figure 2 A data processing device according to the data processing method shown.

[0130] Figure 7 Schematic diagram of a data processing device according to an embodiment of the present invention. Figure 7 As shown, the data processing device 700 may include: a first acquiring unit 701 , a determining unit 702 , and a first forwarding unit 703 .

[0131] A first acquisition unit 701 is used to acquire current traffic data of a first port of a switch in a content distribution network;

[0132] A determination unit 702, configured to determine the scheduling flow data to be scheduled based on the current flow data and the target flow threshold;

[0133] The first forwarding unit 703 is used to forward the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable the second port or the first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port.

[0134] Optionally, the first acquisition unit 701 includes: a first acquisition module and a first determination module, wherein the first acquisition module may include: a first acquisition subunit and a second acquisition subunit, and the first determination module may include: a first determination subunit. The first acquisition module is used to acquire the predetermined flow data of the switch; the first determination module is used to determine the target flow threshold based on the predetermined flow data; the first acquisition subunit is used to acquire the first type of predetermined flow data corresponding to the first port of the switch; the second acquisition subunit is used to acquire the second type of predetermined flow data corresponding to the second port of the switch; the first determination subunit is used to determine the target flow threshold based on the first type of predetermined flow data and the second type of predetermined flow data.

[0135] Optionally, the determination unit 702 includes: a first determination module and a second determination module. The first determination module is used to determine the first scheduling flow data that needs to be scheduled to the second port in response to the current flow data exceeding the target flow threshold; the second determination module is used to determine the second scheduling flow data that needs to be scheduled to the first port in response to the current flow data not exceeding the target flow threshold.

[0136] Optionally, the first forwarding unit 702 includes: a first forwarding module and a second forwarding module, wherein the first forwarding module may include: a first forwarding subunit, and the second forwarding module may include: a second forwarding subunit. The first forwarding module is used to forward the first data packet to the second port through the server, wherein the first data packet is obtained by adding a first identifier to the first scheduling traffic data; the second forwarding module is used to forward the second data packet to the first port through the server, wherein the second data packet is obtained by adding a second identifier to the second scheduling traffic data; the first forwarding subunit is used for the first identifier of the first data packet to be identified by the switch, and the first data packet is forwarded by the switch to the second port to reduce the current traffic data of the first port; the second forwarding subunit is used for the second identifier of the second data packet to be identified by the switch, and the second data packet is forwarded by the switch to the first port to increase the current traffic data of the first port.

[0137] Optionally, the device further includes: a third determination module, wherein the third determination module is configured to determine corresponding virtual resources based on the adjusted current traffic data.

[0138] In the embodiment of the present disclosure, the current traffic data of the first port of the switch in the content distribution network is obtained through the first acquisition unit 701; the determination unit 702 determines the scheduling traffic data that needs to be scheduled based on the current traffic data and the target traffic threshold; the first forwarding unit 703 forwards the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable the second port or the first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port, that is, based on the current traffic data and the target traffic threshold, the scheduling traffic data that needs to be scheduled is determined, and then forwarded to the switch to adjust the current traffic data, so that the traffic scheduling is smoother, the efficiency of the scheduling traffic is improved, the technical problem of low efficiency of the scheduling traffic is solved, and the technical effect of improving the efficiency of the scheduling traffic is achieved.

[0139] It should be noted that the first acquisition unit 701, the determination unit 702 and the first forwarding unit 703 correspond to steps S202 to S206 in Example 1, and the three units and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules as part of the device can be run in the computer terminal 10 provided in Example 1.

[0140] According to an embodiment of the present invention, a method for implementing the above-mentioned Figure 3 A data processing device according to the data processing method shown.

[0141] Figure 8 Schematic diagram of a data processing device provided from the server side according to an embodiment of the present invention. Figure 8 As shown, the data processing device 800 may include: a second acquiring unit 801 and a second forwarding unit 802 .

[0142] The second acquisition unit 801 is used to acquire the scheduling traffic data that needs to be scheduled, wherein the scheduling traffic data is obtained by the current traffic data of the first port of the switch in the content distribution network and the target traffic threshold;

[0143] The second forwarding unit 802 is used to forward the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable the second port or the first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port.

[0144] It should be noted that the second acquisition unit 801 and the second forwarding unit 802 correspond to steps S302 to S304 in Example 1, and the examples and application scenarios implemented by the two units and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned module as part of the device can be run in the computer terminal 10 provided in Example 1.

[0145] Example 3

[0146] The embodiment of the present invention can provide a data processing system, which can be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal can also be replaced by a terminal device such as a mobile terminal.

[0147] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.

[0148] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the data processing method of the embodiment of the present disclosure: obtaining the current traffic data of the first port of the switch in the content distribution network; determining the scheduling traffic data that needs to be scheduled based on the current traffic data and the target traffic threshold; forwarding the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable the second port or the first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port.

[0149] Optionally, Fig. 9 is a structural block diagram of a computer terminal according to an embodiment of the present invention. Fig. 9 As shown, the computer terminal A may include: one or more (only one is shown in the figure) processors 902 , a memory 904 , and a transmission device 906 .

[0150] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the data processing method and device in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned data processing method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal A 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.

[0151] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: obtain the current traffic data of the first port of the switch in the content distribution network; determine the scheduling traffic data that needs to be scheduled based on the current traffic data and the target traffic threshold; forward the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable the second port or the first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port.

[0152] Optionally, the processor may also execute program codes of the following steps: obtaining predetermined flow data of the switch; and determining a target flow threshold based on the predetermined flow data.

[0153] Optionally, the processor may also execute program code of the following steps: obtaining predetermined flow data of the switch, including: obtaining first type of predetermined flow data corresponding to the first port of the switch; obtaining second type of predetermined flow data corresponding to the second port of the switch; determining a target flow threshold based on the predetermined flow data, including: determining the target flow threshold based on the first type of predetermined flow data and the second type of predetermined flow data.

[0154] Optionally, the processor may also execute program code of the following steps: in response to current traffic data exceeding a target traffic threshold, determining first scheduling traffic data that needs to be scheduled to the second port.

[0155] Optionally, the processor may also execute program code of the following steps: forwarding a first data packet to a second port through a server, wherein the first data packet is obtained by adding a first identifier to first scheduling traffic data.

[0156] Optionally, the processor may further execute program code of the following steps: the first identifier of the first data packet is identified by the switch, and the first data packet is forwarded by the switch to the second port to reduce current traffic data of the first port.

[0157] Optionally, the processor may also execute program code of the following steps: in response to the current flow data not exceeding the target flow threshold, determining second scheduling flow data that needs to be scheduled to the first port.

[0158] Optionally, the processor may also execute program code of the following steps: forwarding a second data packet to the first port through the server, wherein the second data packet is obtained by adding a second identifier to the second scheduling traffic data.

[0159] Optionally, the processor may further execute program code of the following steps: the second identifier of the second data packet is identified by the switch, and the second data packet is forwarded by the switch to the first port to increase current traffic data of the first port.

[0160] Optionally, the processor may also execute program code of the following steps: determining corresponding virtual resources based on the adjusted current traffic data.

[0161] Optionally, the processor may also execute program code of the following steps: obtaining scheduling traffic data to be scheduled, wherein the scheduling traffic data is obtained by current traffic data of a first port of a switch in a content distribution network and a target traffic threshold; forwarding the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable a second port or a first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port.

[0162] By adopting the embodiment of the present invention, a solution for optimizing the egress scheduling method of CDN billing is provided. By defining a new traffic forwarding mode, based on the current traffic data and the target traffic threshold, the scheduled traffic data to be scheduled is determined, and then forwarded to the switch to adjust the current traffic data, so that the traffic scheduling is smoother, thereby achieving the purpose of improving the efficiency of scheduling traffic, and thus solving the technical problem of low efficiency of scheduling traffic caused by the inability to perform particularly accurate traffic scheduling.

[0163] It can be understood by those skilled in the art that Fig. 9 The structure shown is for illustration only, and the computer terminal may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Fig. 9 The structure of the electronic device is not limited. For example, the computer terminal 10 may also include Fig. 9 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Fig. 9 Different configurations are shown.

[0164] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0165] The embodiment of the present invention further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the data processing method provided in the first embodiment.

[0166] Optionally, in this embodiment, the above storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.

[0167] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps: obtaining current traffic data of a first port of a switch in a content distribution network; determining scheduling traffic data that needs to be scheduled based on the current traffic data and a target traffic threshold; and forwarding the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable a second port or a first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port.

[0168] Optionally, the computer-readable storage medium is further configured to store program codes for executing the following steps: obtaining predetermined flow data of the switch; and determining a target flow threshold based on the predetermined flow data.

[0169] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: obtaining predetermined flow data of the switch, including: obtaining first type of predetermined flow data corresponding to the first port of the switch; obtaining second type of predetermined flow data corresponding to the second port of the switch; determining a target flow threshold based on the predetermined flow data, including: determining the target flow threshold based on the first type of predetermined flow data and the second type of predetermined flow data.

[0170] Optionally, the computer-readable storage medium is further configured to store program code for executing the following steps: in response to current traffic data exceeding a target traffic threshold, determining first scheduling traffic data that needs to be scheduled to the second port.

[0171] Optionally, the computer-readable storage medium is further configured to store program code for executing the following steps: forwarding a first data packet to a second port via a server, wherein the first data packet is obtained by adding a first identifier to first scheduling traffic data.

[0172] Optionally, the computer-readable storage medium is further configured to store program code for executing the following steps: the first identifier of the first data packet is identified by the switch, and the first data packet is forwarded by the switch to the second port to reduce current traffic data of the first port.

[0173] Optionally, the computer-readable storage medium is further configured to store program code for executing the following steps: in response to the current flow data not exceeding the target flow threshold, determining second scheduling flow data that needs to be scheduled to the first port.

[0174] Optionally, the computer-readable storage medium is further configured to store program code for executing the following steps: forwarding a second data packet to the first port via the server, wherein the second data packet is obtained by adding a second identifier to the second scheduling traffic data.

[0175] Optionally, the computer-readable storage medium is further configured to store program code for executing the following steps: the second identifier of the second data packet is identified by the switch, and the second data packet is forwarded by the switch to the first port to increase current traffic data of the first port.

[0176] Optionally, the computer-readable storage medium is further configured to store program code for executing the following steps: determining corresponding virtual resources based on the adjusted current traffic data.

[0177] Optionally, the computer-readable storage medium is further configured to store program codes for executing the following steps: obtaining scheduling traffic data that needs to be scheduled, wherein the scheduling traffic data is obtained by current traffic data of a first port of a switch in a content distribution network and a target traffic threshold; forwarding the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable a second port or a first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port

[0178] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0179] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0180] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0181] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0182] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0183] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0184] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A data processing method, It is characterized in that include: Acquire current traffic data of a first port of a switch in a content distribution network; Determine the scheduling flow data that needs to be scheduled based on the current flow data and the target flow threshold; Forwarding the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable the second port or the first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port; Among them, forwarding the scheduling traffic data to the switch includes: forwarding the scheduling traffic data to the switch through a server, wherein the scheduling traffic data corresponds to an export label, and the export label is used to indicate the port of the switch to which the scheduling traffic data is forwarded, and the scheduling traffic data is the traffic data of the member object.

2. The method according to claim 1, It is characterized in that The method further comprises: Acquiring predetermined flow data of the switch; The target flow rate threshold is determined based on the predetermined flow rate data.

3. The method according to claim 2, It is characterized in that Acquiring the predetermined flow data of the switch, comprising: acquiring the first type of predetermined flow data corresponding to the first port of the switch; acquiring the second type of predetermined flow data corresponding to the second port of the switch; Determining the target flow threshold based on the predetermined flow data includes: determining the target flow threshold based on the first type of predetermined flow data and the second type of predetermined flow data.

4. The method according to claim 1, It is characterized in that Determining the scheduling flow data that needs to be scheduled based on the current flow data and the target flow threshold includes: In response to the current flow data exceeding the target flow threshold, first scheduling flow data that needs to be scheduled to the second port is determined.

5. The method according to claim 4, It is characterized in that Forwarding the scheduling traffic data to the switch includes: The first data packet is forwarded to the second port through the server, wherein the first data packet is obtained by adding a first identifier to the first scheduling traffic data.

6. The method according to claim 5, It is characterized in that The first identifier of the first data packet is identified by the switch, and the first data packet is forwarded by the switch to the second port to reduce the current traffic data of the first port.

7. The method according to claim 1, It is characterized in that Based on the current flow data and the target flow threshold, determining the flow data to be scheduled includes: In response to the current flow data not exceeding the target flow threshold, second scheduling flow data that needs to be scheduled to the first port is determined.

8. The method according to claim 7, It is characterized in that Forwarding the scheduling traffic data to the switch includes: The second data packet is forwarded to the first port through the server, wherein the second data packet is obtained by adding a second identifier to the second scheduling traffic data.

9. The method according to claim 8, It is characterized in that The second identifier of the second data packet is identified by the switch, and the second data packet is forwarded by the switch to the first port to increase the current traffic data of the first port.

10. The method according to any one of claims 1 to 9, It is characterized in that The method further comprises: The corresponding virtual resources are determined based on the adjusted current traffic data.

11. A data processing method, It is characterized in that include: Acquire scheduling traffic data that needs to be scheduled, wherein the scheduling traffic data is obtained by current traffic data of a first port of a switch in a content distribution network and a target traffic threshold; Forwarding the scheduling traffic data to the switch, wherein the scheduling traffic data is used to enable the second port or the first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port; Among them, forwarding the scheduling traffic data to the switch includes: forwarding the scheduling traffic data to the switch through a server, wherein the scheduling traffic data corresponds to an export label, and the export label is used to indicate the port of the switch to which the scheduling traffic data is forwarded, and the scheduling traffic data is the traffic data of the member object.

12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed by a processor, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 11.

13. A data processing system, It is characterized in that include: processor; A memory, connected to the processor, for providing the processor with instructions for processing the following processing steps: obtaining current traffic data of a first port of a switch in a content distribution network; Determine the scheduling flow data that needs to be scheduled based on the current flow data and the target flow threshold; The scheduling traffic data is forwarded to the switch, wherein the scheduling traffic data is used to enable the second port or the first port of the switch to obtain the scheduling traffic data to adjust the current traffic data of the first port; wherein the forwarding of the scheduling traffic data to the switch includes: forwarding the scheduling traffic data to the switch through a server, wherein the scheduling traffic data corresponds to an export tag, and the export tag is used to indicate the port of the switch to which the scheduling traffic data is forwarded, and the scheduling traffic data is the traffic data of the member object.