CN115567602A - CDN node back-to-source method, device and computer readable storage medium - Google Patents
CDN node back-to-source method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN115567602A CN115567602A CN202210981597.7A CN202210981597A CN115567602A CN 115567602 A CN115567602 A CN 115567602A CN 202210981597 A CN202210981597 A CN 202210981597A CN 115567602 A CN115567602 A CN 115567602A
- Authority
- CN
- China
- Prior art keywords
- cdn node
- source
- target
- layer
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000004927 fusion Effects 0.000 claims abstract description 29
- 230000008569 process Effects 0.000 claims description 10
- 238000004891 communication Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000012358 sourcing Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the disclosure provides a CDN node back-source method, equipment and a computer readable storage medium. The method comprises the following steps: the scheduling server determines source returning information according to an access request sent by the client and sends the source returning information to the client, wherein the source returning information comprises information of a target fusion CDN node and a target upper-layer CDN node corresponding to the access request; the client sends a request to the target fusion CDN node according to the source returning information, wherein the request comprises information of the target upper layer CDN node; if the target fusion CDN node does not have the resource corresponding to the access request, the target fusion CDN node sends a source returning request to an upper CDN node to which the target fusion CDN node belongs, and the source returning request comprises information of the target upper CDN node; and if the upper-layer CDN node does not have the resource corresponding to the back-source request, the upper-layer CDN node sends the back-source request to the target upper-layer CDN node. In this way, the bandwidth and the server pressure of a source station machine room can be reduced, and the overall operation cost of the source station is saved.
Description
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to a CDN node back-source method, device, and computer-readable storage medium.
Background
The source station is generally concentrated in a single province or a single IDC room, and when a large number of third-party companies are accessed, the upper-layer CDN nodes of each third-party company respectively send back source access requests to the source station. Resulting in a source station that needs to provide a large amount of server IDC bandwidth for individual use by each third party company. The maintenance and operation costs of the source station increase linearly as the number of third party companies connected thereto increases.
Disclosure of Invention
The disclosure provides a CDN node back-source method, a CDN node back-source device and a computer readable storage medium.
According to a first aspect of the present disclosure, a CDN node back-source method is provided, where the method includes:
the scheduling server determines source returning information according to an access request sent by the client and sends the source returning information to the client, wherein the source returning information comprises information of a target fusion CDN node and a target upper-layer CDN node corresponding to the access request;
the client sends a request to the target fusion CDN node according to the source returning information, wherein the request comprises information of the target upper layer CDN node;
if the target fusion CDN node does not have the resource corresponding to the access request, the target fusion CDN node sends a source returning request to an upper CDN node to which the target fusion CDN node belongs, and the source returning request comprises information of the target upper CDN node;
and if the upper-layer CDN node does not have the resource corresponding to the back-source request, the upper-layer CDN node sends the back-source request to the target upper-layer CDN node.
In some implementation manners of the first aspect, both an upper CDN node to which the target fusion CDN node belongs and a target upper CDN node are located in the virtual back-to-source resource pool;
the virtual back-source resource pool is composed of a plurality of upper-layer CDN nodes.
In some implementations of the first aspect, the determining, by the scheduling server, the source return information according to the access request sent by the client includes:
the scheduling server determines a target fused CDN node corresponding to the access request from fused CDN nodes in the CDN system according to a load balancing strategy;
and the scheduling server determines a target upper-layer CDN node corresponding to the access request from the upper-layer CDN nodes in the virtual source returning resource pool according to the source returning scheduling strategy.
In some implementation manners of the first aspect, the determining, by the scheduling server, a target upper CDN node corresponding to the access request from upper CDN nodes in the virtual back-to-source resource pool according to the back-to-source scheduling policy includes:
the scheduling server acquires the downloading speed, the time delay and the packet loss rate of each upper-layer CDN node in the virtual back source resource pool;
according to weights respectively corresponding to the downloading speed, the time delay and the packet loss rate, carrying out weighted summation on the downloading speed, the time delay and the packet loss rate so as to obtain the comprehensive performance of each upper-layer CDN node;
and the scheduling server sequences the upper CDN nodes according to the comprehensive performance of the upper CDN nodes and selects the node positioned at the first position as a target upper CDN node corresponding to the access request.
In some implementations of the first aspect, the method further comprises: the process that the scheduling server selects a target upper-layer CDN node corresponding to the access request is a dynamic scheduling process;
and if the comprehensive performance of the selected target upper-layer CDN node is changed in the scheduling process, the scheduling server reselects the node positioned at the first position as the target upper-layer CDN node according to the real-time comprehensive performance of each upper-layer CDN node when executing the next scheduling task.
In some implementations of the first aspect, the method further comprises:
and if the target upper-layer CDN node does not have the resource corresponding to the back-source request, the target upper-layer CDN node sends the back-source request to the source station.
In some implementations of the first aspect, the method further comprises:
if the target upper-layer CDN node does not have the resource corresponding to the back source request, the target upper-layer CDN node sends back source requests to other upper-layer CDN nodes in the virtual back source resource pool;
and if the resources corresponding to the back-source request do not exist in other upper-layer CDN nodes in the virtual back-source resource pool, the other upper-layer CDN nodes send back-source requests to the source station.
According to a second aspect of the present disclosure, there is provided an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
According to a third aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method as described above.
In the method, the virtual source returning resource pool is used as the virtual source station, the flexible source returning strategy is set, and compared with the fixed source returning strategy in the prior art, the method has the advantages that the bandwidth and the server pressure of a source station machine room are greatly reduced under the condition that the user experience is not reduced or even improved, and the total operation cost of the source station is saved.
It should be understood that the statements herein reciting aspects are not intended to limit the critical or essential features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. The accompanying drawings are included to provide a further understanding of the present disclosure, and are not intended to limit the disclosure thereto, and the same or similar reference numerals will be used to indicate the same or similar elements, where:
fig. 1 is a flowchart illustrating a CDN node back-source method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating a CDN node back-source method according to an embodiment of the present disclosure;
FIG. 3 illustrates a schematic diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In order to solve the problems in the background art, embodiments of the present disclosure provide a CDN node back-sourcing method, device, and computer-readable storage medium.
Specifically, the scheduling server determines source returning information according to an access request sent by a client and sends the source returning information to the client, wherein the source returning information comprises information of a target fusion CDN node and a target upper-layer CDN node corresponding to the access request; the client sends a request to the target fusion CDN node according to the source returning information, wherein the request comprises information of the target upper layer CDN node; if the target fusion CDN node does not have the resource corresponding to the access request, the target fusion CDN node sends a source returning request to an upper CDN node to which the target fusion CDN node belongs, and the source returning request comprises information of the target upper CDN node; and if the upper-layer CDN node does not have the resource corresponding to the back-source request, the upper-layer CDN node sends the back-source request to the target upper-layer CDN node.
The upper-layer CDN node in the virtual back-to-source resource pool is preferentially used as the virtual source station, so that the mode of directly returning to the source station is avoided, and the purposes of saving the bandwidth of the source station and the server resource and reducing the operation cost of the source station are achieved.
The CDN node back-sourcing method, device and computer-readable storage medium provided by the embodiments of the present disclosure are described in detail with reference to the accompanying drawings.
Fig. 1 shows a flowchart of a CDN node back-source method provided by the embodiment of the present disclosure. As shown in fig. 1, a CDN node back-source method 100 may include the following steps:
and S110, the scheduling server determines source returning information according to the access request sent by the client and sends the source returning information to the client, wherein the source returning information comprises information of a target fusion CDN node and a target upper layer CDN node corresponding to the access request.
In some embodiments, after receiving an access request sent by a client, a scheduling server determines a target fused CDN node corresponding to the access request from fused CDN nodes in a CDN system according to a load balancing policy; and simultaneously, according to a back source scheduling strategy, determining a target upper-layer CDN node corresponding to the access request from the upper-layer CDN nodes in the virtual back source resource pool.
The virtual back-source resource pool can be composed of upper-layer CDN nodes of a plurality of different companies and can be used as a virtual source station. And a plurality of upper CDN nodes in the virtual back source resource pool are mutually connected and can carry out communication and data transmission.
In some embodiments, the dispatch server preferentially uses the virtual back-source resource pool as a virtual source station to provide back-source services to clients. Therefore, even if more converged CDN nodes are accessed, the source station resources do not need to be expanded.
Taking company a and company B as an example, converging all the accessed upper-layer CDN nodes of company a and company B into a virtual back-to-source resource pool, using the virtual back-to-source resource pool as a virtual source station, and returning to the source station for back-to-source if all the upper-layer CDN nodes in the virtual back-to-source resource pool do not contain resources corresponding to the back-to-source request. If the company C wants to access some fused CDN nodes, the fused CDN nodes do not directly return to the source station in use, but first send a return request to each upper CDN node in the virtual return resource pool. In this way, the bandwidth of the source station and the pressure of the server can be reduced while the access requirements of a plurality of third-party companies are met, and the overall operation cost of the company to which the source station belongs is saved.
In some embodiments, the converged CDN node and the upper CDN nodes in the virtual back-to-source resource pool may each be multiple nodes of multiple different companies.
In some embodiments, the scheduling server forms a virtual back-to-source resource pool with all the accessed third-party upper-layer CDN nodes, and dynamically selects an appropriate back-to-source node from the virtual back-to-source resource pool for use by users with different IP addresses.
In some embodiments, after receiving an access request sent by a client, a scheduling server returns an IP address of a load balancing device to the client, the client sends the access request to the load balancing device, and the load balancing device allocates a target fused CDN node corresponding to the access request to the client according to the access request sent by the client and the IP address of the client.
In some embodiments, the scheduling server acquires the download speed, the time delay and the packet loss rate of each upper-layer CDN node in the virtual back-source resource pool, performs weighted summation on the download speed, the time delay and the packet loss rate according to weights corresponding to the download speed, the time delay and the packet loss rate respectively to obtain the comprehensive performance of each upper-layer CDN node, sorts the upper-layer CDN nodes according to their comprehensive performance, and selects a node located first in the upper-layer CDN nodes as a target upper-layer CDN node corresponding to the access request.
And S120, the client sends a request to the target fusion CDN node according to the source returning information, wherein the request comprises the information of the target upper layer CDN node.
And S130, if the target fused CDN node does not have the resource corresponding to the access request, the target fused CDN node sends a source returning request to an upper CDN node to which the target fused CDN node belongs, wherein the source returning request comprises information of the target upper CDN node.
S140, if the upper CDN node does not have a resource corresponding to the back-to-source request, the upper CDN node sends the back-to-source request to the target upper CDN node.
In some embodiments, the process of selecting the target upper CDN node corresponding to the access request by the scheduling server is a dynamic scheduling process. And if the comprehensive performance of the selected target upper-layer CDN node is changed in the scheduling process, the scheduling server reselects the node positioned at the first position as the target upper-layer CDN node according to the real-time comprehensive performance of each upper-layer CDN node when executing the next scheduling task.
In some embodiments, if the target upper CDN node does not have a resource corresponding to the back-to-source request, the target upper CDN node sends the back-to-source request to the source station.
In some embodiments, if the target upper CDN node does not have a resource corresponding to the back-to-source request, the target upper CDN node sends back-to-source requests to other upper CDN nodes in the virtual back-to-source resource pool; and if the resources corresponding to the back-source request do not exist in other upper-layer CDN nodes in the virtual back-source resource pool, the other upper-layer CDN nodes send back-source requests to the source station.
The following describes the client 1 in detail with reference to fig. 2 as an example.
As shown in fig. 2, all the accessed upper CDN nodes of company a, company B, and company C are aggregated into a virtual back source resource pool. When a client 1 requests to access a certain resource, after receiving an access request sent by the client 1, a scheduling server determines a target fused CDN node corresponding to the access request from fused CDN nodes in a CDN system according to a load balancing strategy; meanwhile, according to the back-to-source scheduling policy, a target upper-layer CDN node corresponding to the access request is determined from upper-layer CDN nodes in the virtual back-to-source resource pool, and corresponding back-to-source information is generated and sent to the client 1.
The client 1 sends an access request to the target fusion CDN node according to the back source information, and at this time, the access request sent by the client 1 also carries the back source information.
When the target fused CDN node does not have the resource corresponding to the access request of the client 1, the target fused CDN node carries the source returning information and sends the source returning request to the upper CDN node to which the target fused CDN node belongs.
And when the upper-layer CDN node to which the target fusion CDN node belongs does not have resources corresponding to the back-source request, the upper-layer CDN node sends the back-source request to the target upper-layer CDN node according to the back-source information.
And when the target upper-layer CDN node does not have the resource corresponding to the back-source request, the target upper-layer CDN node sends the corresponding back-source request to the source station according to the back-source request.
And after acquiring the corresponding resources from the source station, the target upper CDN node responds to a source returning request of the upper CDN node to which the target fused CDN node belongs, after acquiring the corresponding resources, the node responds to an access request of the target fused CDN node, and after acquiring the corresponding resources, the target fused CDN node responds to an access request of the client 1.
In some embodiments, when there is no resource corresponding to the back-to-source request in the target upper CDN node, the target upper CDN node sends a corresponding back-to-source request to other upper CDN nodes in the virtual resource pool according to the back-to-source request; when other upper-layer CDN nodes in the virtual resource pool do not have resources corresponding to the back-to-source request sent by the target upper-layer CDN node, the other upper-layer CDN nodes send corresponding back-to-source requests to the source station according to the back-to-source requests sent by the target upper-layer CDN nodes.
Other upper-layer CDN nodes respond to a source returning request of a target upper-layer CDN node after acquiring corresponding resources from a source station, respond to a source returning request of the upper-layer CDN node to which the target fusion CDN node belongs after the target upper-layer CDN node acquires the corresponding resources, respond to an access request of the target fusion CDN node after the node acquires the corresponding resources, and respond to an access request of a client 1 after the target fusion CDN node acquires the corresponding resources.
After the source returning response is finished, when the client 1 requests to access the same resource again, the target fused CDN node can quickly respond to the access request according to the resource obtained in the previous source returning scheduling.
When the client 1 requests to access different resources, the scheduling server performs a new round of source returning scheduling according to the source returning method in the above embodiment.
According to the embodiment of the disclosure, the following technical effects are achieved:
compared with the fixed source returning strategy in the prior art, the method greatly reduces the bandwidth and the server pressure of a source station machine room under the condition of ensuring that the user experience is not reduced or even improved, and saves the total operation cost of the source station.
It is noted that while for simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently. Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a computer readable storage medium.
FIG. 3 shows a schematic block diagram of an electronic device 300 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
The device 300 comprises a computing unit 301 which may perform various suitable actions and processes in accordance with a computer program stored in a Read Only Memory (ROM) 302 or a computer program loaded from a storage unit 308 into a Random Access Memory (RAM) 303. In the RAM303, various programs and data required for the operation of the device 300 can also be stored. The calculation unit 301, the ROM302, and the RAM303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Various components in device 300 are connected to I/O interface 305, including: an input unit 306 such as a keyboard, a mouse, or the like; an output unit 307 such as various types of displays, speakers, and the like; a storage unit 308 such as a magnetic disk, optical disk, or the like; and a communication unit 309 such as a network card, modem, wireless communication transceiver, etc. The communication unit 309 allows the device 300 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 301 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 301 performs the various methods and processes described above, such as the method 100. For example, in some embodiments, the method 100 may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 308. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 300 via ROM302 and/or communication unit 309. When the computer program is loaded into RAM303 and executed by the computing unit 301, one or more steps of the method 100 described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to perform the method 100 by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel or sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions of the present disclosure can be achieved.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.
Claims (9)
1. A CDN node back-source method is characterized by comprising the following steps:
the scheduling server determines source returning information according to an access request sent by a client and sends the source returning information to the client, wherein the source returning information comprises information of a target fusion CDN node and a target upper layer CDN node corresponding to the access request;
the client sends a request to the target fusion CDN node according to the source returning information, wherein the request comprises the information of the target upper layer CDN node;
if the target fusion CDN node does not have the resource corresponding to the access request, the target fusion CDN node sends a source returning request to an upper layer CDN node to which the target fusion CDN node belongs, wherein the source returning request comprises information of the target upper layer CDN node;
and if the upper CDN node does not have the resource corresponding to the back source request, the upper CDN node sends the back source request to the target upper CDN node.
2. The method of claim 1,
the upper CDN node to which the target fusion CDN node belongs and the target upper CDN node are both positioned in a virtual back-to-source resource pool;
the virtual back source resource pool is composed of a plurality of upper-layer CDN nodes.
3. The method of claim 2, wherein the scheduling server determines the source information according to the access request sent by the client, and comprises:
the scheduling server determines a target fused CDN node corresponding to the access request from fused CDN nodes in a CDN system according to a load balancing strategy;
and the scheduling server determines a target upper-layer CDN node corresponding to the access request from upper-layer CDN nodes in the virtual source-returning resource pool according to a source-returning scheduling strategy.
4. The method of claim 3, wherein the determining, by the scheduling server, a target upper-layer CDN node corresponding to the access request from upper-layer CDN nodes in the virtual back-to-source resource pool according to a back-to-source scheduling policy comprises:
the scheduling server acquires the downloading speed, the time delay and the packet loss rate of each upper-layer CDN node in the virtual back source resource pool;
according to weights respectively corresponding to the downloading speed, the time delay and the packet loss rate, carrying out weighted summation on the downloading speed, the time delay and the packet loss rate so as to obtain the comprehensive performance of each upper-layer CDN node;
and the scheduling server sequences the upper CDN nodes according to the comprehensive performance of the upper CDN nodes, and selects the node positioned at the first position as the target upper CDN node corresponding to the access request.
5. The method of claim 4, further comprising:
the process that the scheduling server selects the target upper-layer CDN node corresponding to the access request is a dynamic scheduling process;
and if the comprehensive performance of the selected target upper-layer CDN node changes in the scheduling process, the scheduling server reselects the node positioned at the first position as the target upper-layer CDN node according to the real-time comprehensive performance of each upper-layer CDN node when executing the next scheduling task.
6. The method of claim 2, further comprising:
and if the target upper CDN node does not have the resource corresponding to the back source request, the target upper CDN node sends the back source request to the source station.
7. The method of claim 6, further comprising:
if the target upper-layer CDN node does not have the resource corresponding to the back source request, the target upper-layer CDN node sends back source requests to other upper-layer CDN nodes in the virtual back source resource pool;
and if other upper-layer CDN nodes in the virtual source returning resource pool do not have resources corresponding to the source returning request, the other upper-layer CDN nodes send source returning requests to the source station.
8. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
9. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210981597.7A CN115567602A (en) | 2022-08-15 | 2022-08-15 | CDN node back-to-source method, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210981597.7A CN115567602A (en) | 2022-08-15 | 2022-08-15 | CDN node back-to-source method, device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115567602A true CN115567602A (en) | 2023-01-03 |
Family
ID=84739942
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210981597.7A Pending CN115567602A (en) | 2022-08-15 | 2022-08-15 | CDN node back-to-source method, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115567602A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115842863A (en) * | 2023-02-24 | 2023-03-24 | 天翼云科技有限公司 | Cache node scheduling method, device and equipment, and medium |
-
2022
- 2022-08-15 CN CN202210981597.7A patent/CN115567602A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115842863A (en) * | 2023-02-24 | 2023-03-24 | 天翼云科技有限公司 | Cache node scheduling method, device and equipment, and medium |
CN115842863B (en) * | 2023-02-24 | 2023-06-23 | 天翼云科技有限公司 | Cache node scheduling method, device and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113037869A (en) | Method and apparatus for back-sourcing of content distribution network system | |
CN112966200A (en) | Service degradation method and rendering server | |
CN114911598A (en) | Task scheduling method, device, equipment and storage medium | |
CN115567602A (en) | CDN node back-to-source method, device and computer readable storage medium | |
CN105430028A (en) | Service calling method, service providing method, and node | |
CN113419865A (en) | Cloud resource processing method, related device and computer program product | |
CN115514718B (en) | Data interaction method, control layer and equipment based on data transmission system | |
CN113726881B (en) | Communication connection establishment method, related device and computer readable storage medium | |
CN112667368A (en) | Task data processing method and device | |
EP4142258A1 (en) | Edge computing network, data transmission method and apparatus, device and storage medium | |
CN113905248B (en) | Live video data transmission method, device, equipment and storage medium | |
CN115599571A (en) | Data processing method and device, electronic equipment and storage medium | |
CN115190180A (en) | Method and device for scheduling network resource request during sudden increase of network resource request | |
CN114265692A (en) | Service scheduling method, device, equipment and storage medium | |
CN108696598B (en) | Method and device for transparently transmitting message received by stateless service through long connection under micro-service architecture | |
CN113778645A (en) | Task scheduling method, device and equipment based on edge calculation and storage medium | |
CN114205414A (en) | Data processing method, device, electronic equipment and medium based on service grid | |
CN113568706A (en) | Container adjusting method and device for service, electronic equipment and storage medium | |
CN114793234B (en) | Message processing method, device, equipment and storage medium | |
CN115086300B (en) | Video file scheduling method and device | |
CN114726901B (en) | Container access method, device, equipment and storage medium | |
CN113285833B (en) | Method and device for acquiring information | |
CN116996481B (en) | Live broadcast data acquisition method and device, electronic equipment and storage medium | |
CN113762510B (en) | Data processing method and device for target model, electronic equipment and medium | |
CN114221906B (en) | Flow control method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20230419 Address after: Room 07, Room 42301, 23rd Floor (23), Building 4, Yard 7, Qingnian Road, Chaoyang District, Beijing, 100123 Applicant after: LeTV Cloud Network Technology (Beijing) Co.,Ltd. Address before: 100025 1508, 12 / F, building 3, 105 yaojiayuan Road, Chaoyang District, Beijing Applicant before: LECLOUD COMPUTING Co.,Ltd. |