CN114172964B - Scheduling method, device, communication equipment and storage medium of content distribution network - Google Patents

Scheduling method, device, communication equipment and storage medium of content distribution network Download PDF

Info

Publication number
CN114172964B
CN114172964B CN202111300698.5A CN202111300698A CN114172964B CN 114172964 B CN114172964 B CN 114172964B CN 202111300698 A CN202111300698 A CN 202111300698A CN 114172964 B CN114172964 B CN 114172964B
Authority
CN
China
Prior art keywords
cdn
client
cdns
alternative
determining
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.)
Active
Application number
CN202111300698.5A
Other languages
Chinese (zh)
Other versions
CN114172964A (en
Inventor
冯鑫
崔国珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shareit Information Technology Co Ltd
Original Assignee
Beijing Shareit Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Shareit Information Technology Co Ltd filed Critical Beijing Shareit Information Technology Co Ltd
Priority to CN202111300698.5A priority Critical patent/CN114172964B/en
Publication of CN114172964A publication Critical patent/CN114172964A/en
Application granted granted Critical
Publication of CN114172964B publication Critical patent/CN114172964B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the disclosure discloses a scheduling method, a scheduling device, communication equipment and a computer storage medium of a Content Delivery Network (CDN). The method comprises the following steps: obtaining predetermined dimension parameters of different alternative CDNs, wherein the predetermined dimension parameters are at least used for indicating: the performance of the alternative CDN and/or the service price of the alternative CDN are/is selected; determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters; and determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client. Compared with the mode that only a specific CDN can be selected for the client to schedule, the CDN meeting the requirements better can be determined from the alternative CDNs for the client to schedule, scheduling efficiency is improved, and better experience is brought to the clients.

Description

Scheduling method, device, communication equipment and storage medium of content distribution network
Technical Field
The disclosure relates to the field of CDN scheduling, but not limited to the technical field of CDN scheduling, and in particular relates to a scheduling method, device, communication equipment and storage medium of a content delivery network CDN.
Background
The content delivery network (CDN, content Delivery Network) distributes the content to be accessed by the user to the node nearest to the user through a network intelligent strategy, so that the response speed of the accessed website is improved, and meanwhile, the problems of insufficient bandwidth and the like in the traffic peak time are effectively solved. CDNs typically employ techniques such as distributed caching, load balancing, and content redirection. By pushing content from the origin server to the network edge device, the user's content access can be responded quickly at nearby locations. Meanwhile, the load pressure of the central source server is relieved, the load flow of the backbone network is reduced, the end-to-end time delay is also reduced, and the service quality and the user experience are improved.
In the related art, the CDN cannot be reasonably scheduled, the scheduling efficiency is low, and a good experience cannot be brought to the user.
Disclosure of Invention
The embodiment of the disclosure discloses a scheduling method, a scheduling device, communication equipment and a storage medium of a content distribution network.
According to a first aspect of an embodiment of the present disclosure, there is provided a method for scheduling a content delivery network CDN, the method including:
obtaining predetermined dimension parameters of different alternative CDNs, wherein the predetermined dimension parameters are at least used for indicating: the performance of the alternative CDN and/or the service price of the alternative CDN are/is selected;
Determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters;
and determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client.
In one embodiment, the target CDNs determined by the clients at different regional locations from the different alternative CDNs are different.
In one embodiment, the predetermined dimensional parameters include at least one of:
CDN playing performance parameters;
network performance quality index;
and selecting the service price of the alternative CDN.
In one embodiment, the determining, according to the predetermined dimension parameter, a scheduling priority of selecting a different CDN candidate includes:
determining scheduling priorities of different alternative CDNs according to the fluctuation parameters of the alternative CDNs determined by the standard deviation of the data of the predetermined dimension parameters,
the data of the predetermined dimension parameter is data acquired in a predetermined time length.
In one embodiment, the method further comprises:
establishing a local domain name resolution system (DNS);
acquiring an internet protocol address IP of the client by using the DNS;
And determining the position of the area where the client is located according to the IP.
In one embodiment, the method further comprises:
acquiring a service code of the service of the client;
and determining the CDN domain name of the corresponding resource type of the service of the client based on the service code.
In one embodiment, the method further comprises:
and establishing a Software Development Kit (SDK) for client access, wherein the SDK is at least used for the client to access the CDN.
In one embodiment, the SDK is configured to obtain, from the client, a service code of a specified service and/or a CDN domain name of a specified service resource.
According to a second aspect of the embodiments of the present disclosure, there is provided a scheduling apparatus of a content delivery network CDN, the apparatus including:
the acquiring module is configured to acquire predetermined dimension parameters of different alternative CDNs, where the predetermined dimension parameters are at least used to indicate: the performance of the alternative CDN and/or the service price of the alternative CDN are/is selected;
a determining module for: determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters; and determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client.
In one embodiment, the determining module is further configured to determine that the target CDN determined by the client at a different regional location from the different alternative CDNs is different.
In one embodiment, the acquisition module is further configured to the predetermined dimensional parameters, including at least one of:
CDN playing performance parameters;
network performance quality index;
and selecting the service price of the alternative CDN.
In one embodiment, the determining module is further configured to: determining the scheduling priority of different CDNs according to the fluctuation parameters of the CDNs determined by the standard deviation of the data of the predetermined dimension parameters,
the data of the predetermined dimension parameter is data acquired in a predetermined time length.
In one embodiment, the apparatus further comprises a setup module, wherein,
the building module is used for building a local domain name resolution system (DNS);
the acquisition module is further configured to acquire an internet protocol address IP of the client by using the DNS;
and the determining module is further used for determining the area position where the client is located according to the IP.
In one embodiment of the present invention, in one embodiment,
the acquisition module is also used for acquiring the service codes of the services of the client;
The determining module is further configured to determine a CDN domain name of a resource type corresponding to a service of the client based on the service code.
In one embodiment, the apparatus further comprises a setup module, wherein,
the establishing module is configured to establish a software development kit SDK for accessing a client, where the SDK is at least used for accessing the client to the CDN.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to: for executing the executable instructions, implementing the methods described in any of the embodiments of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer storage medium storing a computer executable program which, when executed by a processor, implements the method of any embodiment of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
in an embodiment of the present disclosure, predetermined dimension parameters of different alternative CDNs are obtained, where the predetermined dimension parameters are at least used to indicate: the performance of the alternative CDN and/or the service price of the alternative CDN are/is selected; determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters; and determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client. Therefore, the target CDN for the client to dispatch can be determined from the different alternative CDNs according to the dispatching priority determined by the predetermined dimension parameter and the area position of the client, and compared with a mode that only a specific CDN can be selected for the client to dispatch, the CDN meeting the requirements can be determined from the alternative CDNs for the client to dispatch, the dispatching efficiency is improved, and better experience is brought to the client.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1A is a flow chart illustrating a method for scheduling a content delivery network CDN according to an exemplary embodiment.
Fig. 1B is a flowchart illustrating a method for scheduling a content delivery network CDN according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method for scheduling a content delivery network CDN according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating a method for scheduling a content delivery network CDN according to an exemplary embodiment.
Fig. 4 is a flow chart illustrating a method for scheduling a content delivery network CDN according to an exemplary embodiment.
Fig. 5 is a flow chart illustrating a method for scheduling a content delivery network CDN according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a scheduling apparatus of a content delivery network CDN according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a scheduling apparatus of a content delivery network CDN according to an exemplary embodiment.
Fig. 8 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
For ease of understanding by those skilled in the art, the embodiments of the present disclosure enumerate a plurality of implementations to clearly illustrate the technical solutions of the embodiments of the present disclosure. Of course, those skilled in the art will appreciate that the various embodiments provided in the embodiments of the disclosure may be implemented separately, may be implemented in combination with the methods of other embodiments of the disclosure, and may be implemented separately or in combination with some methods of other related technologies; the embodiments of the present disclosure are not so limited.
As shown in fig. 1A, in this embodiment, a method for scheduling a CDN is provided, where the method includes:
step 11, acquiring predetermined dimension parameters of different alternative CDNs, wherein the predetermined dimension parameters are at least used for indicating: the performance of the alternative CDN and/or the service price of the alternative CDN are/is selected;
step 12, determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters;
and step 13, determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client.
Here, the scheduling method of the CDN may be performed by a CDN platform.
Here, the client may acquire data from the CDN and provide a content service (e.g., a service in which the content service may be a short video service) to a user. The client may be an application running on a hardware platform. The client may be an application running on the terminal, for example. Here, the terminal may be, but is not limited to, a computer device, a mobile phone, a wearable device, a vehicle-mounted terminal, a Road Side Unit (RSU), a smart home terminal, an industrial sensing device, and/or a medical device, etc.
Here, the CDN is a layer of intelligent virtual network based on the existing internet, which is formed by placing node servers around the network. The CDN can redirect the user's request to the service node nearest to the user in real time according to the network flow, the connection of each node, the load condition, the distance to the user, the response time and other comprehensive information, and the purpose is to select the node relatively nearer to the user to send the content required by the user to the user, thereby relieving the network congestion condition and improving the response speed of the website. It should be noted that the CDN may also be an evolved CDN, which is not limited herein.
In one embodiment, the preset dimension parameters of different alternative CDNs can be acquired according to a preset period; determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters; and determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client. In this way, the target CDN may be determined periodically, so that the CDN scheduled by the client is a preferred CDN.
Here, the predetermined period may be determined according to a quality requirement parameter of a service provided by the client. Illustratively, if the quality requirement parameter of the service provided by the client is greater than the parameter threshold, the predetermined period is greater than the period threshold; or if the quality requirement parameter of the service provided by the client is smaller than the parameter threshold, the preset period is smaller than the period threshold. In this way, the predetermined period can be adapted to the quality requirement of the service provided by the client, and the client can be provided with a preferred CDN in time.
In one embodiment, when the moving speed of the platform where the client is located is greater than or equal to a preset speed, preset dimension parameters of different alternative CDNs are obtained; determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters; and determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client. Therefore, when the mobility of the platform where the client is located is enhanced, the area position where the client is located can be updated in time. Therefore, the target CDN for the client to dispatch can be timely determined from the different alternative CDNs.
Here, the predetermined speed may be determined according to a deployment density of the CDN. Illustratively, if the deployment density of the CDN is greater than a density threshold, the predetermined speed is less than a speed threshold; or if the deployment density of the CDN is less than a density threshold, the predetermined speed is greater than a speed threshold. As such, the predetermined speed may be adapted to the deployment density of the CDN.
In one embodiment, when a client receives a CDN scheduling instruction of a user, acquiring preset dimension parameters of different alternative CDNs; determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters; and determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client. Thus, the CDN scheduling instruction can be responded in time, and the target CDN for the client to schedule can be determined from the different alternative CDNs in time.
In one embodiment, the predetermined dimension parameters of different alternative CDNs are obtained when the alternative CDNs are updated (e.g., CDNs are added newly) or the servers of the CDNs are updated; determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters; and determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client. In this way, the target CDN can be updated in time, and the target CDN for the client to dispatch can be determined from the different alternative CDNs in time.
In one embodiment, when a platform where a client is located enters a predetermined area, acquiring predetermined dimension parameters of different alternative CDNs; determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters; and determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client. In this way, the target CDN for the client to dispatch can be determined from the different alternative CDNs in time according to the position update of the platform where the client is located.
In one embodiment, the predetermined dimension parameter is a ratio of a performance parameter of the alternative CDN to a cost performance of a service price of the alternative CDN. In one embodiment, the ratio of the cost performance of different alternative CDNs is obtained. Determining scheduling priorities of different alternative CDNs according to the ratio of the cost performance; and determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client.
In one embodiment, the ratio of the cost performance is greater than a predetermined value, and the scheduling priority of the alternative CDN is greater than a predetermined priority; or the ratio of the cost performance is smaller than a preset value, and the scheduling priority of the alternative CDN is smaller than the preset priority. Illustratively, the ratio of the cost performance of the first alternative CDN is greater than the first value, and the scheduling priority of the alternative CDN is a first predetermined priority; the ratio of the cost performance of the second alternative CDN is smaller than the first value, and the scheduling priority of the alternative CDN is a second preset priority; wherein the first predetermined priority is higher than the second predetermined priority. As such, the higher the cost performance of the alternative CDN, the higher the priority level of the alternative CDN. It should be noted that the higher the scheduling priority of the alternative CDN, the more the alternative CDN will be preferentially invoked.
In one embodiment, a set of alternative CDNs may be provided, the set of alternative CDNs comprising a plurality of alternative CDNs. It may be to obtain predetermined dimension parameters of different alternative CDNs contained in the alternative CDN set. Determining scheduling priorities of different alternative CDNs in the alternative CDN set according to the predetermined dimension parameters; and determining a target CDN for the client to dispatch from different alternative CDNs in the alternative CDN set according to the dispatching priority and the regional position of the client. It should be noted that the alternative CDN set may be maintained through a list, where maintaining the CDN set includes, but is not limited to, deleting an alternative CDN and adding an alternative CDN.
Here, the alternative CDNs included in the alternative CDN set may be determined according to a geographic range determined by the platform where the client is located. Illustratively, the CDNs contained in the alternative CDN set are CDNs deployed within the geographic scope.
In one embodiment, the predetermined dimension parameters of different alternative CDNs may be obtained; determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters; and selecting an alternative CDN which is in the area where the client is located and has the highest scheduling priority order from the different alternative CDNs according to the scheduling priority and the area position where the client is located, and determining the alternative CDN as a target CDN for the client to schedule.
In one embodiment, the predetermined dimension parameters of different alternative CDNs may be obtained; determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters; and selecting an alternative CDN which is closest to the client and has the highest dispatching priority sequence in the area where the client is located from the different alternative CDNs according to the dispatching priority and the area position where the client is located, and determining the alternative CDN as a target CDN for the dispatching of the client.
In one embodiment, the predetermined dimension parameters of different alternative CDNs may be obtained; determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters; and determining a plurality of target CDNs for the client to dispatch from the different alternative CDNs according to the dispatching priority and the regional position of the client. Here, the plurality of target CDNs may be CDNs of which scheduling priorities among the different alternative CDNs are greater than a predetermined priority.
It should be noted that, the target CDN for the client to schedule may also be determined from the different alternative CDNs according to the scheduling priority, the location of the area where the client is located, the content distribution information, and so on.
Referring to fig. 1B, for a better understanding of the embodiments of the present disclosure, the following is further described by way of an exemplary embodiment:
step a1, a CDN platform acquires a user playing performance log and calculates in real time through a link stream by constructing an access software development kit (SDK, application Programming Interface) and integrating the access software development kit into an own short video APP to obtain a basic alternative CDN playing performance index, wherein the playing performance index comprises: the method comprises the steps of PV playing, UV playing, time consuming of a first frame, average jamming times, average jamming duration, playing success rate, 1.5 seconds playing success rate and the like.
In step a2, the playing performance of the alternative CDN in the designated area can be comprehensively evaluated through the indexes, which provides a scheduling index of a first dimension (i.e., a predetermined dimension parameter) for intelligent scheduling.
And b3, periodically requesting fixed cache files of different alternative CDNs in a designated area through the SDK, and acquiring and calculating by using the Flink real-time stream to obtain network quality performance indexes of the alternative CDN dimension, wherein the network quality performance indexes provide scheduling indexes (namely preset dimension parameters) of a second dimension for intelligent scheduling.
And c4, acquiring the cost of the alternative CDN, and determining the cost as a third dimension scheduling index (a preset dimension parameter).
And d5, calculating the volatility of each alternative CDN by combining three-dimensional data through the standard deviation of the multi-day data through an intelligent analysis platform, and determining the calling priority through the score ranking obtained by summing absolute values.
And e6, determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client.
In an embodiment of the present disclosure, predetermined dimension parameters of different alternative CDNs are obtained, where the predetermined dimension parameters are at least used to indicate: the performance of the alternative CDN and/or the service price of the alternative CDN are/is selected; determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters; and determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client. Therefore, according to the scheduling priority determined by the predetermined dimension parameter and the area position of the client, the target CDN for scheduling the client can be determined from the different alternative CDNs, and compared with the mode of selecting a specific CDN for scheduling the client, the CDN which meets the requirements better can be determined from the alternative CDNs for scheduling the client, so that the scheduling efficiency is improved, and better experience is brought to the client.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
In one embodiment, the target CDNs determined by the clients at different regional locations from the different alternative CDNs are different.
In this way, the alternative CDNs for different regions according to the region location may be determined as the target CDN for the client.
Here, it should be noted that users in different areas may be scheduled to the client for use by a self-built DNS schedule.
Here, the platform where the client is located may move in different area locations. At different times, the location of the client may be different.
In one embodiment, the predetermined dimensional parameters include at least one of:
CDN playing performance parameters;
network performance quality index;
and selecting the service price of the alternative CDN.
Here, the CDN playing performance parameter may include at least one of a playing browsing amount PV, a number of playing visitors UV, a time consumption of a first frame, an average number of jams, an average length of jams, a playing success rate, and a playing success rate of 1.5 seconds.
As shown in fig. 2, in this embodiment, a method for scheduling a CDN is provided, where the method includes:
step 21, determining scheduling priorities of different alternative CDNs according to the volatility parameters of the alternative CDNs determined by the standard deviation of the data of the predetermined dimension parameters;
the data of the predetermined dimension parameter is data acquired in a predetermined time length.
In one embodiment, if the volatility parameter of the alternative CDN determined by the standard deviation of the data of the predetermined dimension parameter is greater than a parameter threshold, determining that the scheduling priority of the alternative CDN is less than the predetermined priority; or if the fluctuation parameter of the alternative CDN determined by the standard deviation of the data of the predetermined dimension parameter is smaller than the parameter threshold, determining that the scheduling priority of the alternative CDN is greater than the predetermined priority.
In one embodiment, the predetermined length of time may be determined based on a required accuracy parameter.
Illustratively, if the required accuracy parameter is greater than a parameter threshold, determining that the predetermined length of time is greater than a length of time threshold; or if the required accuracy parameter is smaller than a parameter threshold, determining that the preset duration is smaller than a duration threshold. As such, the predetermined time period may be adapted to the required accuracy parameter.
In one embodiment, the scheduling priority of the alternative CDNs is determined according to the sum of absolute values of the volatility parameters of the alternative CDNs, which are determined according to the standard deviation of the data of the predetermined dimension parameters. In one embodiment, the larger the sum, the lower the scheduling priority of the corresponding alternative CDN. Thus, the scheduling priority of the alternative CDN may be determined according to the magnitude of the sum of the absolute values.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
As shown in fig. 3, in this embodiment, a method for scheduling a CDN is provided, where the method includes:
step 31, establishing a local domain name resolution system DNS;
step 32, obtaining an internet protocol address IP of the client by using the DNS;
and step 33, determining the area position of the client according to the IP.
In one embodiment, the CDN platform self-builds a local domain name resolution system (DNS, domain Name System) to obtain the real source IP of the client by resolving DNS user datagram protocol (UDP, user Datagram Protocol) messages, and queries the exact location of the domain of the client according to an IP library. Here, clients in different geographic areas may be assigned different IPs.
In one embodiment, a local domain name resolution system DNS is established; periodically utilizing the DNS to acquire an Internet protocol address IP of the client; and determining the position of the area where the client is located according to the IP.
Here, the geographic area may be divided into multiple areas according to the deployment of alternative CDNs. Determining the location of the region where the client is located may be determining that the client is located in one of the divided regions.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
As shown in fig. 4, in this embodiment, a method for scheduling a CDN is provided, where the method includes:
step 41, acquiring a service code of the service of the client;
step 42, determining the CDN domain name of the resource type corresponding to the service of the client based on the service code.
Here, the service codes of the services of different service types and/or different resource types of the clients are different. For example, the traffic codes for the first type of traffic are first traffic codes and the traffic codes for the second type of traffic are second traffic codes. The service code may be carried in a request message sent by the client to the CDN. After the request message carrying the service code is obtained, the CDN domain name of the corresponding resource type of the service of the client can be determined based on the service code.
In an exemplary embodiment, the CDN platform provides an access manner by constructing an access SDK and providing a RESTFul API for other service parties, and only needs to determine a unique service code for the client, and configure domain names of different specified resource types through the unique service code to implement access of the client. The client can acquire the CDN domain name of the specified resource type specified by the specified client through integrating the SDK and calling the interface.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
As shown in fig. 5, in this embodiment, a method for scheduling a CDN is provided, where the method includes:
step 51, establishing a software development kit SDK for accessing a client, wherein the SDK is at least used for accessing the client to the CDN.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
In one embodiment, the SDK is configured to obtain, from the client, a service code of a specified service and/or a CDN domain name of a specified service resource.
Here, the SDK may be a mobile phone SDK and a service server SDK
In one embodiment, the CDN platform sends the SDK that obtains the CDN domain name to the client. The service server SDK may obtain the CDN domain name for final use for delivery to the client.
As shown in fig. 6, in this embodiment, a scheduling apparatus for a content delivery network CDN is provided, where the apparatus includes:
an obtaining module 61, configured to obtain predetermined dimension parameters of different alternative CDNs, where the predetermined dimension parameters are at least used to indicate: the performance of the alternative CDN and/or the service price of the alternative CDN are/is selected;
a determining module 62 for: determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters; and determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client.
In one embodiment, the determining module 62 is further configured to determine that the target CDN determined by the client at a different regional location from the different alternative CDNs is different.
In one embodiment, the obtaining module 61 is further configured to obtain the predetermined dimension parameter, including at least one of:
CDN playing performance parameters;
network performance quality index;
and selecting the service price of the alternative CDN.
In one embodiment, the determining module 62 is further configured to: determining the scheduling priority of different CDNs according to the fluctuation parameters of the CDNs determined by the standard deviation of the data of the predetermined dimension parameters,
the data of the predetermined dimension parameter is data acquired in a predetermined time length.
In one embodiment, the apparatus further comprises a setup module 63, wherein,
the establishing module 63 is configured to establish a local domain name resolution system DNS;
the obtaining module 61 is further configured to obtain an internet protocol address IP of the client using the DNS;
the determining module 62 is further configured to determine, according to the IP, the location of the area where the client is located.
In one embodiment of the present invention, in one embodiment,
the acquiring module 61 is further configured to acquire a service code of a service of the client;
the determining module 62 is further configured to determine a CDN domain name of a service corresponding to a resource type of the client based on the service code.
In one embodiment, the apparatus further comprises a setup module, wherein,
the establishing module 63 is configured to establish a software development kit SDK for accessing a client, where the SDK is at least used for accessing the client to the CDN.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
As shown in fig. 7, in this embodiment, a CDN platform service architecture is provided, and the method may be applied to the architecture, where a CDN service architecture diagram is generally divided into: the system comprises a business service module, a log acquisition module and a calculation module. Wherein,
the service module 71 mainly provides JAVA SDK for an access party (corresponding to a client) to access the service party through a RESTFul API mode, and obtains domain name records of different resource types of the designated service party through unique service codes. And meanwhile, a data interface is provided for the intelligent fusion CDN management background.
The log collection module 72 mainly collects the behavior log of the terminal user, and the log is transferred and consumed through Kafka, processed in real time through the Flink and stored in a disc. And (3) processing the stream log through the Flink, calculating and storing, writing into the ES, and providing a high-speed query response for the data calculation module.
The calculation module 73 calculates and obtains CDN scheduling ranks of the designated areas based on the data collected by the log collection module and on the charge of CDN suppliers at the same time, and stores the CDN scheduling ranks in a warehouse. Scheduling data is provided for the self-built DNS.
The embodiment of the disclosure also provides a communication device, including:
an antenna;
a memory;
and the processor is respectively connected with the antenna and the memory, and is used for controlling the antenna to transmit and receive wireless signals by executing executable programs stored in the memory and executing the steps of the wireless network access method provided by any embodiment.
The communication device provided in this embodiment may be the aforementioned terminal or base station. The terminal may be various personal or vehicle-mounted terminals. The base station may be various types of base stations, such as a 4G base station or a 5G base station, etc.
The antenna may be various types of antennas, such as a 3G antenna, a 4G antenna, or a 5G antenna; the antenna may further include: wiFi antennas or wireless charging antennas, etc.
The memory may include various types of storage media, which are non-transitory computer storage media capable of continuing to memorize information stored thereon after a power down of the communication device.
The processor may be coupled to the antenna and the memory via a bus or the like for reading an executable program stored on the memory, for example, at least one of the methods shown in any of the embodiments of the present disclosure.
The embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing an executable program, where the executable program when executed by a processor implements the steps of the wireless network access method provided in any of the foregoing embodiments, for example, at least one of the methods shown in any of the embodiments of the present disclosure.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 8 is a block diagram illustrating a method for an electronic device 600 according to an example embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, an electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the electronic device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 606 provides power to the various components of the electronic device 600. The power supply components 606 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 600.
The multimedia component 608 includes a screen between the electronic device 600 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and/or a rear camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 600 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 614 includes one or more sensors for providing status assessment of various aspects of the electronic device 600. For example, the sensor assembly 614 may detect an on/off state of the device 600, a relative positioning of the components, such as a display and keypad of the electronic device 600, the sensor assembly 614 may also detect a change in position of the electronic device 600 or a component of the electronic device 600, the presence or absence of a user's contact with the electronic device 600, an orientation or acceleration/deceleration of the electronic device 600, and a change in temperature of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communication between the electronic device 600 and other devices, either wired or wireless. The electronic device 600 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as memory 604, including instructions executable by processor 820 of electronic device 600 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (17)

1. A method for scheduling a content delivery network CDN, the method comprising:
acquiring preset dimension parameters of different alternative CDNs and updating the location of the area where the client is located in response to the fact that the moving speed of the platform where the client is located is greater than or equal to a preset speed, wherein the preset speed is determined according to the deployment density of the CDNs; the predetermined dimensional parameter is at least used to indicate: the performance of the alternative CDN and/or the service price of the alternative CDN are/is selected;
Determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters;
and determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client.
2. The method of claim 1 wherein the target CDNs determined by the clients at different regional locations from the different alternative CDNs are different.
3. The method of claim 1, wherein the predetermined dimensional parameters include at least one of:
CDN playing performance parameters;
network performance quality index;
and selecting the service price of the alternative CDN.
4. The method of claim 1, wherein determining the scheduling priority for selecting a different alternative CDN according to the predetermined dimension parameter comprises:
determining scheduling priorities of different alternative CDNs according to the fluctuation parameters of the alternative CDNs determined by the standard deviation of the data of the predetermined dimension parameters,
the data of the predetermined dimension parameter is data acquired in a predetermined time length.
5. The method according to claim 1, wherein the method further comprises:
Establishing a local domain name resolution system (DNS);
acquiring an internet protocol address IP of the client by using the DNS;
and determining the position of the area where the client is located according to the IP.
6. The method according to claim 1, wherein the method further comprises:
acquiring a service code of the service of the client;
and determining the CDN domain name of the corresponding resource type of the service of the client based on the service code.
7. The method according to claim 1, wherein the method further comprises:
and establishing a Software Development Kit (SDK) for client access, wherein the SDK is at least used for the client to access the CDN.
8. The method of claim 7, wherein the SDK is configured to obtain, from the client, at least a service code of a specified service and/or a CDN domain name of a specified service resource.
9. A scheduling apparatus of a content delivery network CDN, the apparatus comprising:
the acquisition module is used for acquiring preset dimension parameters of different alternative CDNs and updating the area position of the client in response to the fact that the moving speed of the platform of the client is greater than or equal to a preset speed, wherein the preset speed is determined according to the deployment density of the CDNs; the predetermined dimensional parameter is at least used to indicate: the performance of the alternative CDN and/or the service price of the alternative CDN are/is selected;
A determining module for: determining scheduling priorities of different alternative CDNs according to the predetermined dimension parameters; and determining a target CDN for the client to dispatch from the different alternative CDNs according to the dispatching priority and the area position of the client.
10. The apparatus of claim 9, wherein the determination module is further configured to determine that the target CDN, from among the different alternative CDNs, is different for the client at a different regional location.
11. The apparatus of claim 9, wherein the acquisition module is further configured to the predetermined dimensional parameters including at least one of:
CDN playing performance parameters;
network performance quality index;
and selecting the service price of the alternative CDN.
12. The apparatus of claim 9, wherein the determining module is further configured to: determining the scheduling priority of different CDNs according to the fluctuation parameters of the CDNs determined by the standard deviation of the data of the predetermined dimension parameters,
the data of the predetermined dimension parameter is data acquired in a predetermined time length.
13. The apparatus of claim 9, further comprising a setup module, wherein,
The building module is used for building a local domain name resolution system (DNS);
the acquisition module is further configured to acquire an internet protocol address IP of the client by using the DNS;
and the determining module is further used for determining the area position where the client is located according to the IP.
14. The apparatus of claim 9, wherein the device comprises a plurality of sensors,
the acquisition module is also used for acquiring the service codes of the services of the client;
the determining module is further configured to determine a CDN domain name of a resource type corresponding to a service of the client based on the service code.
15. The apparatus of claim 9, further comprising a setup module, wherein,
the establishing module is configured to establish a software development kit SDK for accessing a client, where the SDK is at least used for accessing the client to the CDN.
16. An apparatus, comprising:
a memory;
a processor, coupled to the memory, configured to execute computer-executable instructions stored on the memory and to implement the method of any one of claims 1 to 8.
17. A computer storage medium storing computer executable instructions which, when executed by a processor, enable the method of any one of claims 1 to 8.
CN202111300698.5A 2021-11-04 2021-11-04 Scheduling method, device, communication equipment and storage medium of content distribution network Active CN114172964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111300698.5A CN114172964B (en) 2021-11-04 2021-11-04 Scheduling method, device, communication equipment and storage medium of content distribution network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111300698.5A CN114172964B (en) 2021-11-04 2021-11-04 Scheduling method, device, communication equipment and storage medium of content distribution network

Publications (2)

Publication Number Publication Date
CN114172964A CN114172964A (en) 2022-03-11
CN114172964B true CN114172964B (en) 2024-02-02

Family

ID=80478024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111300698.5A Active CN114172964B (en) 2021-11-04 2021-11-04 Scheduling method, device, communication equipment and storage medium of content distribution network

Country Status (1)

Country Link
CN (1) CN114172964B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320487A (en) * 2014-11-11 2015-01-28 网宿科技股份有限公司 HTTP dispatching system and method for content delivery network
US9408037B1 (en) * 2013-08-15 2016-08-02 Skyhook Wireless, Inc. Techniques for optimizing selection and update of a relevant subset of Wi-Fi AP location information by a mobile client device to efficiently utilize resources
CN110166526A (en) * 2019-04-15 2019-08-23 中国平安人寿保险股份有限公司 More CDN access management methods, device, computer equipment and storage medium
CN110708385A (en) * 2019-10-13 2020-01-17 杭州云缔盟科技有限公司 CDN scheduling algorithm and system based on network delay
CN113038190A (en) * 2021-02-23 2021-06-25 北京达佳互联信息技术有限公司 Scheduling method and scheduling device for content delivery network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018133306A1 (en) * 2017-01-22 2018-07-26 华为技术有限公司 Dispatching method and device in content delivery network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9408037B1 (en) * 2013-08-15 2016-08-02 Skyhook Wireless, Inc. Techniques for optimizing selection and update of a relevant subset of Wi-Fi AP location information by a mobile client device to efficiently utilize resources
CN104320487A (en) * 2014-11-11 2015-01-28 网宿科技股份有限公司 HTTP dispatching system and method for content delivery network
CN110166526A (en) * 2019-04-15 2019-08-23 中国平安人寿保险股份有限公司 More CDN access management methods, device, computer equipment and storage medium
CN110708385A (en) * 2019-10-13 2020-01-17 杭州云缔盟科技有限公司 CDN scheduling algorithm and system based on network delay
CN113038190A (en) * 2021-02-23 2021-06-25 北京达佳互联信息技术有限公司 Scheduling method and scheduling device for content delivery network

Also Published As

Publication number Publication date
CN114172964A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
US9882998B2 (en) Methods, apparatuses, and computer program products for providing filtered services and content based on user context
US9143380B2 (en) System and method for third party specified generation of web server content
EP2677779B1 (en) Mobile terminal, server and method for controlling the same
US20170262891A1 (en) Telecommunications call augmentation system
JP6062608B2 (en) Web page access method, apparatus, server, terminal, program, and recording medium
CN106878445B (en) Resource file updating method and device
CN105191261B (en) Content Management in peer system
CN105656664A (en) Information display method and device
CN105684398A (en) Method and apparatus for content distribution over a network
CN110691268B (en) Message sending method, device, server, mobile terminal and storage medium
RU2642843C2 (en) Method and device for processing recording contacts
CN113783774B (en) Cross-cluster network configuration method and device, communication equipment and storage medium
CN106095405B (en) Icon updating method and device
CN112131466A (en) Group display method, device, system and storage medium
CN111695064B (en) Buried point loading method and device
CN110913276B (en) Data processing method, device, server, terminal and storage medium
CN110177379B (en) Base station access method and system
CN110690979B (en) Group message processing method, device, server, client and storage medium
CN114172964B (en) Scheduling method, device, communication equipment and storage medium of content distribution network
CN110169107B (en) Method and device for realizing wireless network edge calculation
CN113709572A (en) Content promotion method and device, electronic equipment and storage medium
WO2016079539A1 (en) Telecommunications call augmentation system
CN107168693B (en) Display method and device of screen locking interface
CN112035246A (en) Method, device and system for acquiring virtual resources, electronic equipment and storage medium
KR101531309B1 (en) Method for providing service by application after a call

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
GR01 Patent grant
GR01 Patent grant