Flow scheduling system and method of PCDN node line
By monitoring dial-up status and bandwidth on PCDN nodes in real time, calculating service quality scores for dynamic scheduling, the problem of bandwidth control is solved, network performance and user experience are improved, and operation and maintenance costs are reduced.
Patent Information
- Application Number
- CN202410928135.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-11
AI Technical Summary
In the existing technology, it is difficult to effectively manage the bandwidth control of multiple dial-up bandwidth lines on PCDN node machines, resulting in rate reduction or low utilization, resulting in reduced service quality and wasted cost.
A traffic scheduling system for PCDN node lines is designed. The dial-up status and bandwidth of each business line are obtained in real time through the indicator collector deployed on the node machine, the service quality score is calculated, and the dispatch controller is dispatched on the dispatch center node according to the dial-up status. , bandwidth, packet loss rate and download speed are dynamically scheduled to optimize resource allocation.
It achieves more reasonable resource allocation, improves network resource utilization and overall performance, improves user experience, and reduces manual intervention and operation and maintenance costs through automated scheduling.
Smart Images

Figure CN118764446A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computer technology, and in particular relates to a traffic scheduling system and method for a PCDN node line. Background Art
[0002] In the related art, there are usually multiple dial-up bandwidth lines on a PCDN node machine. Each line corresponds to a dial-up Internet IP and has a fixed upstream bandwidth limit. However, this value is small and difficult to control. If the line bandwidth is too high, it may cause rate drop, account re-dial and other problems, resulting in reduced service quality. If the line bandwidth is too small, it will cause low node utilization and cost waste. Therefore, how to better control the line bandwidth has become an urgent problem to be solved. Summary of the invention
[0003] In view of the above deficiencies in the prior art, the purpose of the invention is to provide a traffic scheduling system and method for PCDN node lines, which can more reasonably allocate PCDN node resources, avoid resource waste, improve the utilization rate of overall network resources, and can perform dynamic scheduling according to real-time network conditions, so that network resources can be more reasonably allocated and the overall performance of the network can be improved.
[0004] In a first aspect of the present invention, a traffic scheduling system for a PCDN node line is proposed, comprising: an indicator collector deployed on a PCDN node machine, used to report the dialing status of each service line on the PCDN node machine and the real-time bandwidth of each service line obtained in real time to a scheduling controller deployed on a scheduling center node through a management line; the scheduling controller is used to calculate the service quality score of each service line according to the dialing status of each service line, the real-time broadband coefficient score of each service line, the packet loss rate coefficient score of each service line, and the download speed coefficient score of each service line, and when receiving a user's request for allocating PCDN node resources, the service line corresponding to the highest score among the service quality scores of each service line provides service to the user.
[0005] Furthermore, it also includes: the scheduling controller sends a detection request to each of the service lines, and when each of the service lines receives the detection request, records the packet loss rate of each of the service lines and the download speed of each of the service lines.
[0006] Furthermore, it also includes: when the scheduling controller receives the real-time bandwidth of each business line, it calculates the real-time broadband coefficient score of each business line according to the real-time bandwidth and the bandwidth upper limit of each business line, wherein a first difference between the bandwidth upper limit and the real-time bandwidth of each business line is determined; a first product of the percentage of bandwidth coefficient and the first difference is determined; and a ratio of the first product to the bandwidth upper limit is used as the real-time broadband coefficient score for calculating each business line.
[0007] Furthermore, when recording the packet loss rate of each business line, the packet loss rate coefficient score of each business line is calculated according to the percentage of the packet loss coefficient and the packet loss rate of each business line, wherein the product of the percentage of the packet loss coefficient and the packet loss rate of each business line is used as the packet loss rate coefficient score of each business line.
[0008] Furthermore, when recording the download speed of each business line, the download speed coefficient score of each business line is calculated according to the percentage of the download speed coefficient and the download speed of each business line, wherein the second product of the percentage of the download speed coefficient and the download speed of each business line is determined; and the ratio of the second product to the target download speed is used as the download speed coefficient score of each business line.
[0009] Furthermore, the service quality score of each business line is calculated according to the dialing status of each business line, the real-time broadband coefficient score of each business line, the packet loss rate coefficient score of each business line, and the download speed coefficient score of each business line, including: determining a first sum of the real-time broadband coefficient score of each business line and the download speed coefficient score of each business line; determining a second difference between the first sum and the packet loss rate coefficient score of each business line; and determining the service quality score of each business line according to the dialing status of each business line and the second difference.
[0010] Furthermore, the service quality score of each business line is determined based on the dialing status of each business line and the second difference, including: when the dialing status of the business line is abnormal, the service quality score of the business line is zero; when the business line status is normal, the second difference is used as the service quality score of the business line; and the service quality score of each business line is obtained.
[0011] In a second aspect of the present invention, a traffic scheduling method for PCDN node lines is proposed, comprising: obtaining in real time the dialing status of each service line on a PCDN node machine and the real-time bandwidth of each service line; calculating the real-time broadband coefficient score of each service line, the packet loss rate coefficient score of each service line, and the download speed coefficient score of each service line; calculating the service quality score of each service line according to the dialing status of each service line, the real-time broadband coefficient score of each service line, the packet loss rate coefficient score of each service line, and the download speed coefficient score of each service line, and upon receiving a user's request for allocating PCDN node resources, providing service to the user by the service line corresponding to the highest score among the service quality scores of each service line.
[0012] According to the third aspect of the present invention, an electronic device is proposed, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in the second aspect of the present invention.
[0013] According to a fourth aspect of the present invention, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the second aspect of the present invention.
[0014] The beneficial effects of the present invention are as follows:
[0015] The traffic scheduling system and method of the PCDN node line according to the embodiment of the present invention, through the indicator collector deployed on the PCDN node machine, reports the dialing status of each service line on the PCDN node machine and the real-time bandwidth of each service line to the scheduling controller deployed on the scheduling center node through the management line, so that the scheduling controller calculates the service quality score of each service line according to the dialing status of each service line, the real-time broadband coefficient score of each service line, the packet loss rate coefficient score of each service line, and the download speed coefficient score of each service line, and when receiving the user's request for allocation of PCDN node resources, the service line corresponding to the highest score in the service quality score of each service line is used to provide services to the user. Thus, by real-time monitoring of the dialing status and real-time bandwidth of each service line, PCDN node resources can be more reasonably allocated, resource waste can be avoided, and the utilization rate of the overall network resources can be improved. Dynamic scheduling can be performed according to the real-time network status, so that network resources are more reasonably allocated, and the overall performance of the network is improved. According to the service quality score of each service line, the optimal service line is allocated to the user, which can improve the user's network speed and stability, thereby improving the user experience, and through the automated traffic scheduling system, manual intervention can be reduced and operation and maintenance costs can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings are only used to illustrate specific embodiments and are not considered to limit the present invention. In the entire drawings, the same reference symbols represent the same components. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings.
[0017] Figure 1 is a schematic diagram of a traffic scheduling system for a PCDN node line according to an embodiment of the present invention;
[0018] Figure 2 is a schematic diagram of a traffic scheduling system for a PCDN node line according to a specific embodiment of the present invention;
[0019] Figure 3 is a flow chart of a traffic scheduling method for a PCDN node line according to an embodiment of the present invention;
[0020] Figure 4 It is a structural block diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present invention.
[0022] Furthermore, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts disclosed in the present invention.
[0023] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the orientation or position relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. The terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0024] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of methods and systems consistent with some aspects of the present invention as detailed in the appended claims.
[0025] PCDN (Peer-to-Peer Content Delivery Network) bandwidth is a traffic transmission service provided on the public Internet, mainly used to deliver large media files, software, games and other high-bandwidth content to users. PCDN service providers use online nodes to store content on the nodes closest to users, thereby shortening content transmission time and improving content transmission efficiency and speed.
[0026] PCDN provides a peer-to-peer (P2P) content transmission service, which uses data uploaded by users to store content in a distributed network and quickly transmits content by optimizing routing and network latency. The advantages of PCDN are that it can distribute traffic faster, more reliably, and more effectively, while also reducing the load on the source server and bandwidth, thereby reducing costs.
[0027] In CDN application scenarios, in order to improve the carrying capacity of PCDN node resources, it is often necessary to aggregate the bandwidth capabilities of multiple small accounts, that is, to allocate more dial-up lines on a PCDN node machine. When using PCDN node resources, it is necessary to dispatch to the public IP of the dial-up line on the PCDN node machine to provide services to users.
[0028] In the prior art, there are usually multiple dial-up bandwidth lines on a PCDN node machine. Each line corresponds to a dial-up Internet IP and has a fixed upstream bandwidth limit. However, this value is small and difficult to control. If the line bandwidth is too high, it may cause rate drop, account re-dial and other problems, resulting in reduced service quality. If the line bandwidth is too small, the node utilization rate will be too low, resulting in cost waste. Therefore, how to better control the line bandwidth has become an urgent problem to be solved.
[0029] To this end, the present invention proposes a traffic scheduling system, method and related equipment for a PCDN node line. Specifically, the traffic scheduling system, method and related equipment for a PCDN node line according to an embodiment of the present invention are described below with reference to the accompanying drawings.
[0030] Figure 1 It is a schematic diagram of a traffic scheduling system for a PCDN node line according to an embodiment of the present invention. It should be noted that the traffic scheduling system for a PCDN node line according to an embodiment of the present invention can be applied to the traffic scheduling method for a PCDN node line according to an embodiment of the present invention.
[0031] like Figure 1 As shown in FIG. 1 , the traffic scheduling system of the PCDN node line includes:
[0032] The indicator collector 120 deployed on the PCDN node machine 110 is used to report the dial-up status of each service line on the PCDN node machine 110 and the real-time bandwidth of each service line to the dispatch controller 140 deployed on the dispatch center node 130 through the management line;
[0033] The scheduling controller 140 is used to calculate the service quality score of each business line according to the dialing status of each business line, the real-time broadband coefficient score of each business line, the packet loss rate coefficient score of each business line, and the download speed coefficient score of each business line, and upon receiving a request for allocation of PCDN node resources from user 150, the business line corresponding to the highest score among the service quality scores of each business line provides service to user 150.
[0034] According to the traffic scheduling system of the PCDN node line of the embodiment of the present invention, the dialing status of each service line on the PCDN node machine and the real-time bandwidth of each service line are reported to the scheduling controller deployed on the scheduling center node through the management line through the indicator collector deployed on the PCDN node machine, so that the scheduling controller calculates the service quality score of each service line according to the dialing status of each service line, the real-time broadband coefficient score of each service line, the packet loss rate coefficient score of each service line, and the download speed coefficient score of each service line, and when receiving the user's request for allocation of PCDN node resources, the service line corresponding to the highest score in the service quality score of each service line provides service to the user. Thus, by real-time monitoring of the dialing status and real-time bandwidth of each service line, PCDN node resources can be more reasonably allocated, resource waste can be avoided, and the utilization rate of the overall network resources can be improved. Dynamic scheduling can be performed according to the real-time network status, so that network resources are more reasonably allocated, and the overall performance of the network is improved. According to the service quality score of each service line, the optimal service line is allocated to the user, which can improve the user's network speed and stability, thereby improving the user experience, and through the automated traffic scheduling system, manual intervention can be reduced and operation and maintenance costs can be reduced.
[0035] In an embodiment of the present invention, the scheduling controller 140, upon receiving the real-time bandwidth of each service line, calculates the real-time bandwidth coefficient score of each service line according to the real-time bandwidth and the bandwidth upper limit of each service line, wherein a first difference between the bandwidth upper limit and the real-time bandwidth of each service line is determined; a first product of the percentage of the bandwidth coefficient and the first difference is determined; and a ratio of the first product to the bandwidth upper limit is used as the real-time bandwidth coefficient score for calculating each service line. For example, the bandwidth upper limit is 1000Mbps.
[0036] In the embodiment of the present invention, the scheduling controller 140 sends a detection request to each service line, and when each service line receives the detection request, records the packet loss rate and the download speed of each service line.
[0037] In an embodiment of the present invention, when recording the packet loss rate of each service line, the packet loss rate coefficient score of each service line is calculated according to the percentage of the packet loss coefficient and the packet loss rate of each service line, wherein the product of the percentage of the packet loss coefficient and the packet loss rate of each service line is used as the packet loss rate coefficient score of each service line.
[0038] In an embodiment of the present invention, when recording the download speed of each business line, the download speed coefficient score of each business line is calculated according to the percentage of the download speed coefficient and the download speed of each business line, wherein the second product of the percentage of the download speed coefficient and the download speed of each business line is determined; and the ratio of the second product to the target download speed is used as the download speed coefficient score of each business line.
[0039] In an embodiment of the present invention, when the real-time broadband coefficient score of each business line, the packet loss rate coefficient score of each business line, and the download speed coefficient score of each business line are calculated, the first sum of the real-time broadband coefficient score of each business line and the download speed coefficient score of each business line can be determined; the second difference between the first sum and the packet loss rate coefficient score of each business line can be determined; and the service quality score of each business line can be determined according to the dialing status of each business line and the second difference.
[0040] Among them, when the dialing state of the service line is abnormal, the service quality score of the service line is zero; when the service line state is normal, the second difference is used as the service quality score of the service line; and the service quality score of each service line is obtained.
[0041] In an embodiment of the present invention, when the service quality scores of each service line are obtained, the service quality scores of multiple service lines can be sorted in descending order to obtain the target service line with the highest service quality score, and the target service line can provide services to users.
[0042] In a specific embodiment of the present invention, Figure 2 As shown in the figure, 1) the lines on the PCDN node machine are divided into management lines and business lines in advance. Generally, one or two management lines are allocated, which are not used for external services and are used to transmit management control instructions. Business lines are used to serve real user requests; 2) the indicator collector Agent (i.e. Figure 2 3) Deploy the scheduling controller Manager (i.e. Figure 24) The indicator collector Agent periodically checks the dialing status of each service line on the PCDN node machine; 5) The indicator collector Agent periodically collects the real-time bandwidth of each service line on the PCDN node machine; 6) The indicator collector Agent periodically reports the dialing status of each service line and the real-time bandwidth of each service line to the dispatch controller Manager through the management line; 7) The dispatch controller Manager periodically sends a certain amount of detection requests to each service line on the PCDN node machine, and records the packet loss rate and download speed; 8) The dispatch controller periodically calculates the service quality score of each service line of the PCDN node according to the dialing status, real-time bandwidth, packet loss rate and download speed of each service line on the PCDN node machine; Among them, First, calculate the broadband coefficient score of each service line: broadband coefficient score = 40*(broadband upper limit - real-time bandwidth) / broadband upper limit, 40 is the percentage of bandwidth coefficient; calculate the packet loss rate coefficient score of each service line: packet loss rate coefficient score = 50*packet loss rate, 50 is the percentage of packet loss coefficient; calculate the download speed coefficient score of each service line: download speed coefficient score = 10*download speed / maximum download speed, 10 is the percentage of download speed coefficient; finally, calculate the service quality score of each service line: service quality score = dial-up status*(broadband coefficient score + download speed coefficient score - packet loss rate coefficient score); when receiving the user's request for allocation of PCDN node resources, the service line corresponding to the highest score among the service quality scores of each service line will provide services to the user.
[0043] For example, step S1: divide the lines on the PCDN node machine into management lines and business lines. Generally, one or two management lines are allocated, which are not used for external services and are used to transmit management control instructions. The business lines are used to serve real user requests. The embodiments are as follows:
[0044] Line Name IP Address Line Type
[0045] Line 1 1.1.1.1 Management Line;
[0046] Line 22.2.2.2 Business Line;
[0047] Line 33.3.3.3 Business Line;
[0048] Line 4 4.4.4.4 Business Line;
[0049] Step S2: Deploy the indicator collector Agent on the PCDN node machine;
[0050] Step S3: deploy the scheduling controller Manager on the scheduling center node;
[0051] Step S4: The indicator collector Agent periodically checks the dial-up status of each service line on the PCDN node machine; the embodiment is:
[0052]
[0053] Step S5: The indicator collector Agent periodically collects the real-time bandwidth of each service line on the PCDN node machine; the embodiment is:
[0054]
[0055] Step S6: The indicator collector Agent periodically uploads the service line dial-up status and the service line real-time bandwidth to the scheduling controller Manager through the UDP protocol interface of the management line;
[0056] Step S7: The scheduling controller Manager periodically sends a certain amount of detection requests to each service line on the PCDN node, and records the packet loss rate and download speed; the embodiment is:
[0057]
[0058] Step S8: The scheduling controller periodically calculates the service quality score of each service line of the PCDN node according to the dial-up status, real-time bandwidth, packet loss rate and download speed of each service line on the PCDN node;
[0059] The broadband coefficient score is calculated first: broadband coefficient score = 40*(broadband upper limit - real-time bandwidth) / broadband upper limit; the embodiment is:
[0060]
[0061] Calculate the packet loss rate coefficient score: packet loss rate coefficient score = 50*packet loss rate; the embodiment is:
[0062]
[0063] Then calculate the download speed coefficient score: download speed coefficient score = 10*download speed / maximum download speed; the embodiment is:
[0064]
[0065] Finally, the service quality score of the service line is calculated: service quality score = dial-up status * (bandwidth coefficient score + download speed coefficient score - packet loss rate coefficient score); the embodiment is:
[0066]
[0067]
[0068] The user requests the dispatching controller Manager to allocate PCDN node resources; the dispatching controller Manager returns the PCDN node line IP with the highest current service quality score to provide service to the user. In the embodiment, service line 2 has the highest service quality score, and line 2 IP 2.2.2.2 is returned.
[0069] In order to make it easier for those skilled in the art to understand the present invention, Figure 3 A method for scheduling traffic on a PCDN node line according to an embodiment of the present invention is as follows: Figure 3 As shown, the traffic scheduling method of the PCDN node line includes:
[0070] S310, obtaining the dial-up status of each service line and the real-time bandwidth of each service line on the PCDN node machine in real time.
[0071] In an embodiment of the present invention, the indicator collector deployed on the PCDN node machine can report the dialing status of each business line on the PCDN node machine and the real-time bandwidth of each business line obtained in real time to the scheduling controller deployed on the scheduling center node through the management line, so that the scheduling controller can receive and obtain the dialing status of each business line and the real-time bandwidth of each business line in real time.
[0072] S320, calculating the real-time broadband coefficient score of each service line, the packet loss rate coefficient score of each service line, and the download speed coefficient score of each service line.
[0073] In an embodiment of the present invention, when the real-time bandwidth of each business line is received, the real-time broadband coefficient score of each business line is calculated based on the real-time bandwidth and the broadband upper limit of each business line, wherein a first difference between the broadband upper limit and the real-time bandwidth of each business line is determined; a first product of the percentage of the bandwidth coefficient and the first difference is determined; and the ratio of the first product to the broadband upper limit is used as the real-time broadband coefficient score for calculating each business line.
[0074] In an embodiment of the present invention, a detection request may be sent to each service line, and when each service line receives the detection request, the packet loss rate and the download speed of each service line are recorded.
[0075] In an embodiment of the present invention, when recording the packet loss rate of each service line, the packet loss rate coefficient score of each service line is calculated according to the percentage of the packet loss coefficient and the packet loss rate of each service line, wherein the product of the percentage of the packet loss coefficient and the packet loss rate of each service line is used as the packet loss rate coefficient score of each service line.
[0076] In an embodiment of the present invention, when recording the download speed of each business line, the download speed coefficient score of each business line is calculated according to the percentage of the download speed coefficient and the download speed of each business line, wherein the second product of the percentage of the download speed coefficient and the download speed of each business line is determined; and the ratio of the second product to the target download speed is used as the download speed coefficient score of each business line.
[0077] S330, calculates the service quality score of each business line according to the dialing status of each business line, the real-time broadband coefficient score of each business line, the packet loss rate coefficient score of each business line, and the download speed coefficient score of each business line, and upon receiving the user's request for allocating PCDN node resources, provides services to the user by the business line corresponding to the highest score among the service quality scores of each business line.
[0078] In an embodiment of the present invention, a first sum of the real-time broadband coefficient score of each service line and the download speed coefficient score of each service line is determined; a second difference between the first sum and the packet loss rate coefficient score of each service line is determined; and a service quality score of each service line is determined based on the dialing status of each service line and the second difference.
[0079] Among them, when the dialing state of the service line is abnormal, the service quality score of the service line is zero; when the service line state is normal, the second difference is used as the service quality score of the service line; and the service quality score of each service line is obtained.
[0080] When the service quality scores of the various service lines are obtained, the service quality scores of the multiple service lines may be sorted in descending order to obtain the target service line with the highest service quality score, and the target service line may provide services to the user.
[0081] According to the traffic scheduling method of the PCDN node line of the embodiment of the present invention, the dialing status of each service line on the PCDN node machine and the real-time bandwidth of each service line are obtained in real time; the real-time bandwidth coefficient score of each service line, the packet loss rate coefficient score of each service line, and the download speed coefficient score of each service line are calculated; the service quality score of each service line is calculated according to the dialing status of each service line, the real-time broadband coefficient score of each service line, the packet loss rate coefficient score of each service line, and the download speed coefficient score of each service line, and when receiving the user's request for allocation of PCDN node resources, the service line corresponding to the highest score in the service quality score of each service line is used to provide services to the user. By real-time monitoring of the dialing status and real-time bandwidth of each service line, the method can more reasonably allocate PCDN node resources, avoid resource waste, and improve the utilization rate of the overall network resources. It can perform dynamic scheduling according to the real-time network status, so that network resources are more reasonably allocated, and the overall performance of the network is improved. According to the service quality score of each service line, the optimal service line is allocated to the user, which can improve the user's network speed and stability, thereby improving the user experience, and through the automated traffic scheduling system, it can reduce manual intervention and reduce operation and maintenance costs.
[0082] 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 by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, 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, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0083] According to one aspect of an embodiment of the present invention, an electronic device is provided.
[0084] Figure 4 Schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Figure 4 As shown, the electronic device may include one or more ( Figure 4Only one is shown in the figure) processor 102 (processor 102 may include but is not limited to a microprocessor (Microprocessor Unit, referred to as MPU) or a programmable logic device (Programmable logic device, referred to as PLD)) and a memory 104 for storing data. In an exemplary embodiment, the electronic device may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 4 The structure shown is only for illustration and does not limit the structure of the above terminal device. Figure 4 More or fewer components as shown, or with Figure 4 Equivalent functions or comparisons shown Figure 4 A different configuration with more features is shown.
[0085] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the traffic scheduling method of the PCDN node line in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above 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 instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the terminal 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.
[0086] 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 switching device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as 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.
[0087] The present invention provides a non-transient computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute a traffic scheduling method for a PCDN node line.
[0088] The applicant of the present invention has made a detailed explanation and description of the implementation examples of the present invention in conjunction with the drawings in the specification. However, those skilled in the art should understand that the above implementation examples are only preferred implementation schemes of the present invention, and the detailed description is only to help readers better understand the spirit of the present invention, but not to limit the scope of protection of the present invention. On the contrary, any improvements or modifications based on the inventive spirit of the present invention should fall within the scope of protection of the present invention.
[0089] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0090] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
[0091] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the above embodiments, or replace some of the technical features therein by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. Any changes or replacements that can be easily thought of by those skilled in the art within the technical scope disclosed in the present invention should be covered within the protection scope of the present invention.
Claims
1. A traffic scheduling system for a PCDN node line, characterized in that: include: The indicator collector deployed on the PCDN node machine is used to report the dial-up status of each service line on the PCDN node machine and the real-time bandwidth of each service line obtained in real time to the dispatch controller deployed on the dispatch center node through the management line; The scheduling controller is used to calculate the service quality score of each business line according to the dialing status of each business line, the real-time broadband coefficient score of each business line, the packet loss rate coefficient score of each business line, and the download speed coefficient score of each business line, and upon receiving the user's request for allocating PCDN node resources, the business line corresponding to the highest score among the service quality scores of each business line provides service to the user.
2. The traffic scheduling system for PCDN node lines according to claim 1, characterized in that: Also includes: The scheduling controller sends a detection request to each of the service lines, and records the packet loss rate of each of the service lines and the download speed of each of the service lines when each of the service lines receives the detection request.
3. The traffic scheduling system for PCDN node lines according to claim 1, characterized in that: Also includes: The scheduling controller, upon receiving the real-time bandwidth of each service line, calculates the real-time bandwidth coefficient score of each service line according to the real-time bandwidth and the bandwidth upper limit of each service line, wherein: Determine a first difference between the bandwidth upper limit and the real-time bandwidth of each service line; Determine a first product of the percentage of the bandwidth coefficient and the first difference; The ratio of the first product to the bandwidth upper limit is used as a score for calculating the real-time bandwidth coefficient of each service line.
4. The traffic scheduling system for PCDN node lines according to claim 2, characterized in that: When the packet loss rate of each service line is recorded, the packet loss rate coefficient score of each service line is calculated according to the percentage of the packet loss coefficient and the packet loss rate of each service line, wherein: The product of the percentage of the packet loss coefficient and the packet loss rate of each service line is used as the packet loss rate coefficient score of each service line.
5. The traffic scheduling system for PCDN node lines according to claim 2, characterized in that: When recording the download speed of each service line, the download speed coefficient score of each service line is calculated according to the percentage of the download speed coefficient and the download speed of each service line, wherein: Determine a second product of the percentage of the download speed coefficient and the download speed of each service line; The ratio of the second product to the target download speed is used as the download speed coefficient score of each service line.
6. The traffic scheduling system for PCDN node lines according to claim 1, characterized in that: Calculating the service quality score of each service line according to the dialing status of each service line, the real-time broadband coefficient score of each service line, the packet loss rate coefficient score of each service line, and the download speed coefficient score of each service line, including: Determine a first sum of the real-time broadband coefficient score of each service line and the download speed coefficient score of each service line; Determine a second difference between the first sum and the packet loss rate coefficient scores of each service line; The service quality score of each service line is determined according to the dialing status of each service line and the second difference.
7. The traffic scheduling system for PCDN node lines according to claim 6, characterized in that: Determining the service quality score of each service line according to the dialing state of each service line and the second difference includes: When the dialing status of the service line is abnormal, the service quality score of the service line is zero; When the service line state is normal, using the second difference as the service quality score of the service line; The service quality score of each service line is obtained.
8. A traffic scheduling method for a PCDN node line, characterized in that: include: Obtaining the dial-up status of each service line on the PCDN node machine and the real-time bandwidth of each service line in real time; Calculating the real-time broadband coefficient score of each service line, the packet loss rate coefficient score of each service line, and the download speed coefficient score of each service line; The service quality score of each business line is calculated according to the dialing status of each business line, the real-time broadband coefficient score of each business line, the packet loss rate coefficient score of each business line, and the download speed coefficient score of each business line. Upon receiving the user's request for allocating PCDN node resources, the service line corresponding to the highest score among the service quality scores of the business lines provides service to the user.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of claim 8.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to claim 8.
Citation Information
Cited By
Telegraf-based Pcdn account management platform and Pcdn account management method
CN119728165A
