Video preheating method, device, equipment and storage medium

By predicting popularity information before the video is premiered and preheating the video to the CDN node in advance, the problem of bandwidth pressure on the source station and poor user viewing experience after the new video is released, achieving more efficient video transmission and user experience improvement.

CN115250368BActive Publication Date: 2024-11-08BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110454448.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-26
Publication Date
2024-11-08
Estimated Expiration
2041-04-26

AI Technical Summary

Technical Problem

After the release of new videos, the existing CDN technology has led to an increase in bandwidth pressure on the source site, poor user viewing experience, and the first batch of viewing users need to wait for the video to return to the source.

Method used

By predicting the popularity information of the target video before the video is premiered, the video is warmed up to the CDN node in advance, avoiding a large number of viewing requests to penetrate the source station, reducing the bandwidth pressure of the source station, and improving the user's viewing experience.

Benefits of technology

It effectively reduces the bandwidth pressure of the source site, improves the user's viewing experience, and avoids the problem of the first batch of viewing users waiting for the video to return to the source.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115250368B_ABST
    Figure CN115250368B_ABST
Patent Text Reader

Abstract

The disclosed embodiments provide a video preheating method, apparatus, device and medium, wherein the video preheating method comprises: obtaining the popularity information of a target video, wherein the popularity information of the target video is predicted before the first broadcast of the target video; and preheating the target video to a target content distribution network CDN node based on the popularity information of the target video. The disclosed embodiments predict the popularity information of a video before any actual playback data is available, and preheat the video to a CDN node in advance based on the predicted popularity information, thereby avoiding a large number of viewing requests for the target video from penetrating to the source station in a short period of time, thereby reducing the bandwidth pressure of the source station. At the same time, the first batch of users who watch the target video do not need to wait for the video to return to the source, thereby improving the user viewing experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the technical field of streaming media processing, and in particular to a video preheating method, apparatus, device and storage medium. Background Art

[0002] With the rapid development of the Internet, the bandwidth occupied by streaming media applications has shown explosive growth. In order to transmit video data to the client as quickly as possible, streaming media applications generally use Content Delivery Network (CDN) technology.

[0003] The existing CDN technology caches recently accessed videos on CDN nodes, so that when clients obtain videos, they can directly obtain them from CDN nodes without the need to return data to the source, thereby reducing the number of visits to the source station.

[0004] New videos with high popularity potential released by video uploaders will be viewed by users at the same time in a short period of time. Since new videos are only stored in the origin site and not cached in the CDN, a large number of viewing requests for the video will penetrate to the origin site in a short period of time, resulting in increased pressure on the bandwidth of the origin site. In addition, the viewing experience of the first batch of users who watch the video will also be deteriorated because they need to wait for the video to be returned to the source. Summary of the invention

[0005] The embodiments of the present disclosure provide a video preheating method, apparatus, device and storage medium to reduce back-to-source bandwidth and improve user viewing experience.

[0006] In a first aspect, an embodiment of the present disclosure provides a video preheating method, comprising:

[0007] Obtaining popularity information of a target video, wherein the popularity information of the target video is predicted before the target video is first broadcast;

[0008] The target video is preheated to a target content distribution network CDN node based on the popularity information of the target video.

[0009] In a second aspect, the embodiment of the present disclosure further provides a video preheating device, including:

[0010] A popularity information acquisition module, used to acquire popularity information of a target video, wherein the popularity information of the target video is predicted before the target video is first broadcast;

[0011] The video preheating module is used to preheat the target video to a target content distribution network CDN node based on the popularity information of the target video.

[0012] In a third aspect, the present disclosure also provides a video preheating device, including:

[0013] one or more processors;

[0014] A memory for storing one or more programs;

[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the video preheating method as described in any one of the embodiments of the present disclosure.

[0016] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the video preheating method as described in any one of the embodiments of the present disclosure is implemented.

[0017] The disclosed embodiments provide a video preheating method, apparatus, device and medium, wherein the video preheating method comprises: obtaining the heat information of a target video, wherein the heat information of the target video is predicted before the first broadcast of the target video; and preheating the target video to a predetermined target content distribution network CDN node based on the heat information. The disclosed embodiments predict the heat information of the video before the first broadcast (without any actual playback data), and preheat the video to the CDN node in advance based on the predicted heat information, thereby avoiding a large number of viewing requests for the target video from penetrating to the source station in a short period of time, thereby reducing the bandwidth pressure of the source station. In addition, for some of the first users who watch the target video, there is no need to wait for the video to return to the source, thereby improving the user viewing experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0019] Figure 1 is a typical CDN topology diagram provided by an embodiment of the present disclosure;

[0020] Figure 2 is a flow chart of a video preheating method provided by an embodiment of the present disclosure;

[0021] Figure 3 is a flow chart of a video preheating method provided by an embodiment of the present disclosure;

[0022] Figure 4 is a flow chart of a method for determining a target CDN node provided by an embodiment of the present disclosure;

[0023] Figure 5is a flow chart of determining a CDN network topology provided by an embodiment of the present disclosure;

[0024] Figure 6 is a structural diagram of a video preheating device provided by an embodiment of the present disclosure;

[0025] Figure 7 It is a structural diagram of a video preheating device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

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

[0027] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0028] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0029] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0030] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0031] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0032] First, the application scenario of the embodiment of the present disclosure is briefly explained. The embodiment of the present disclosure is mainly applied in the feed stream scenario.

[0033] The "feed" in the embodiment of the present disclosure can be a content aggregator that combines several message sources that the user actively subscribes to, helping the user to continuously obtain the latest subscription source content. Feed is an interface used to receive the information source in Really Simple Syndication (RSS).

[0034] The feed stream in the embodiment of the present disclosure, also known as information stream, is a continuously updated information stream that can push information in RSS to users.

[0035] Figure 1 : is a typical CDN topology diagram provided by the embodiment of the present disclosure. Figure 1 As shown in the figure, the principle of CDN technology is that when a user accesses a Uniform Resource Locator (URL), a request is made to the CDN node. The CDN node will detect whether the cache of the user's requested content has expired. If it has not expired, it will directly respond to the user's request and return the cached content to the client. At this time, a completed http request ends. If the requested content has expired, the CDN node needs to send a back-to-source request to the source station to pull the latest data, update the local cache, and return the latest data to the client. If no user accesses the content, the CDN node will not actively return to the source station to request content.

[0036] With the above CDN technology, when the source station receives a new video posted by the video uploader, if the video is a popular video, the video will be viewed by a large number of users at the same time in a short period of time. Since the new video is only stored in the source station and not cached in the CDN node, a large number of viewing requests for the video will penetrate to the source station in a short period of time, resulting in increased pressure on the source station's bandwidth. In addition, for some of the first users who watch the video, their viewing experience will also be poor because they need to wait for the video to return to the source.

[0037] In order to solve the above technical problems, the embodiments of the present disclosure provide a video preheating method, device, equipment and medium. The embodiments of the present disclosure predict the popularity information of the video before any actual playback data is available, and preheat the video to the CDN node in advance based on the predicted popularity information, so as to avoid a large number of viewing requests for the target video from penetrating to the source station in a short period of time, thereby reducing the bandwidth pressure of the source station. In addition, for some of the first batch of users who watch the target video, there is no need to wait for the video to return to the source, which improves the user viewing experience.

[0038] The video preheating method, device, equipment and medium provided by the embodiments of the present disclosure are described in detail below in conjunction with specific embodiments.

[0039] Figure 2 It is a flowchart of a video preheating method provided by an embodiment of the present disclosure. This embodiment is applicable to the situation where a video without any actual playback data is preheated to a CDN node in advance. The method can be executed by a video preheating device, and the video preheating device can be implemented by software and / or hardware.

[0040] like Figure 2 As shown, the video preheating method provided in this embodiment mainly includes steps S11 and S12.

[0041] S11. Obtain popularity information of a target video, wherein the popularity information of the target video is predicted before the target video is first broadcast.

[0042] In this embodiment, the popularity information of the target video is predicted before the target video is first broadcast, that is, it is predicted when the video is not played (no playback data). The target video may refer to a new video that has just been released by the video uploader and has not yet been played or cached to the CDN node. A new video can be understood as a video that has been uploaded to the source site for less than a preset duration, and the preset duration can be set according to actual conditions.

[0043] The heat information may be the situation that the target video is followed by users within the target time. The target time may be a preset time period in the future starting from the current moment, for example, a time period of 24 hours in the future starting from the current moment. The heat information may be the growth amount of video playback, that is, the user's playback of the video, or the growth amount of video forwarding, that is, the user's forwarding of the video, and so on. In this embodiment, the heat probability can be used to indicate that it can be predicted when the target video has not been played (that is, the number of plays is zero). Further, if the predicted heat probability is large, it means that the probability of the target video being followed by a large number of users within the target time is large, for example, the probability of users playing the target video in large numbers within the next 24 hours is large, and the probability of a significant increase in playback volume in the next 24 hours (relative to the current moment) is large; conversely, the probability of the target video being followed by a large number of users within the target time is small.

[0044] Furthermore, predicting the popularity information of a target video means predicting the popularity information of the target video before there is any actual playback data. The above playback data includes: playback volume, viewing time, number of likes, number of comments, number of shares, etc.

[0045] In one embodiment, the popularity information of the target video is predicted by: obtaining feature information of the target video, the feature information including video features and / or text features; inputting the feature information into a pre-trained popularity information prediction model to obtain the popularity information of the target video. In addition, the feature information may also include video author features, such as author type, certification level and other public information.

[0046] The video features may be features such as the theme and / or type of the video identified by machine frame extraction; the text features may be features such as sub-images of the video and / or text in the video frame (such as subtitles). It should be noted that in this embodiment, only video features and text features are briefly described, but not limited. In addition, the feature information of the target video may also include voice features of the video (such as features such as the soundtrack or audio of the video) and / or image features.

[0047] Specifically, after receiving the target video posted by the video uploader, the video features and text features of the target video are obtained respectively, and input into the pre-trained heat information prediction model to obtain the output result of the heat information prediction model. Among them, the output result of the heat information prediction model is the heat information of the video. This embodiment uses video features and text features as inputs of the heat information prediction model to predict heat information, realizes heat information prediction before the video premieres, and improves the accuracy of the prediction.

[0048] Furthermore, the video preheating method provided in this embodiment also includes: using the feature information of the video to perform model training to obtain a heat information prediction model.

[0049] In one embodiment, the heat information of the target video includes a heat probability, and the target video is preheated to a target content distribution network CDN node based on the heat information of the target video, including: when the heat probability of the target video is greater than a preset probability threshold, the target video is preheated to push the target video to the target CDN node. In this way, the CDN cache hit rate is guaranteed and the preheating bandwidth is saved. Specifically, after obtaining the heat probability of the target video, it can be determined whether the target video needs to be preheated based on the heat probability, such as determining whether the heat probability of the target video is greater than a preset probability threshold. If so, the target video is preheated to push the target video to the target CDN node; if not, it is determined that the target video does not need to be preheated, and no subsequent operations are performed on the target video.

[0050] When preheating the target video, the target video can be preheated in a pre-set preset manner; the target video can also be preheated based on the heat probability of the target video, such as determining the preheating order of the target video in the videos to be preheated according to the heat probability of the target video, and preheating each video to be preheated according to the preheating order.

[0051] S12: preheating the target video to a target content delivery network CDN node based on the popularity information of the target video.

[0052] Compared with predicting video heat information based on video playback data, the present invention uses feature information of the video (such as features of the video itself, etc.) to predict heat information before the video premieres, and preheats the video based on the predicted heat information, thereby improving the timeliness of video preheating and helping to reduce bandwidth pressure on the source station.

[0053] The target CDN node may be a CDN node that is farthest from the source station in the CDN network topology. The farther the node is from the source station, the better the preheating effect.

[0054] For example: If the source station is in Beijing, first preheat the target video a to the CDN node in Guangzhou (where the CDN node in Guangzhou is a node far away from the source station). When an APP client located in a county under Zhuhai requests the target video a, the CDN node in Zhuhai fails to find the target video a. It can request the target video a from the superior node (the CDN node in Guangzhou). After the CDN node in Guangzhou finds the target video a, it sends the target video a to the CDN node in Zhuhai. The CDN node in Zhuhai sends the target video a to the APP client. The farther away from the source station, the longer the return time required. In this way, preheating the hot video to a node far away from the source station saves the return time, improves the user experience, and reduces the bandwidth pressure of the source station.

[0055] The target CDN node may also be a node with the largest traffic in a predetermined time period. The larger the traffic, the better the preheating effect.

[0056] For example, if the origin is in Beijing, and the traffic of the CDN node in Guangzhou is greater than that of the CDN node in Zhongshan during the scheduled time period, the video can be preheated to the CDN node in Guangzhou. In the high-traffic node, the number of user visits is large, which avoids the client returning to the origin when requesting the target video a, greatly reducing the bandwidth pressure of the origin.

[0057] In one embodiment, the heat information of the target video includes a heat probability; preheating the target video to a target content distribution network CDN node based on the heat information of the target video includes: determining a heat probability order of the target video in the videos to be preheated according to the heat probability of the target video; determining a preheating order of the target videos according to the heat probability order of the target videos in the videos to be preheated; and preheating the target video according to the preheating order of the target video.

[0058] In this embodiment, a multi-level priority queue is used, and the tasks of the highest priority queue can preempt the tasks of the lower priority queue. In this way, videos with high probability of popularity can be preheated to the target CDN node first, thereby reducing the bandwidth pressure of the source station.

[0059] The video to be preheated refers to a video in the queue that needs to be preheated, which may include a target video.

[0060] The greater the probability of video popularity, the higher its priority. For example, if the probability of video A popularity is 80% and the probability of video B popularity is 60%, then video A can be preheated to the target CDN node first.

[0061] Furthermore, the target video and other videos to be preheated may be sorted in descending order of heat probability, and preheated in the CDN nodes in sequence according to the order of heat probability from large to small.

[0062] The disclosed embodiment provides a video preheating method including: obtaining the heat information of a target video, wherein the heat information of the target video is predicted before the first broadcast of the target video; and preheating the target video to a target content distribution network CDN node based on the heat information of the target video. The disclosed embodiment predicts the heat information of the video before any actual playback data is available, and preheats the video to the CDN node in advance based on the predicted heat information, thereby avoiding a large number of viewing requests for the target video from penetrating to the source station in a short period of time, thereby reducing the bandwidth pressure of the source station. In addition, for some of the first users who watch the target video, there is no need to wait for the video to return to the source, thereby improving the user viewing experience.

[0063] Figure 3 is a flow chart of a video preheating method provided by an embodiment of the present disclosure, such as Figure 3 As shown, the video preheating method mainly includes: using a heat information prediction model to predict the heat probability of a video, and determining a priority queue of the video based on the heat probability. Among them, the video with the maximum heat probability has the highest priority. The videos that need to be preheated are obtained in sequence according to the priority queue. At the same time, the CDN nodes that can be preheated are sorted according to the node traffic and node distance, the target CDN node is determined, and the videos that need to be preheated are predicted to the target CDN node in sequence according to the priority queue.

[0064] Based on the above embodiments, an embodiment of the present disclosure provides a method for determining a target CDN node. Figure 4 is a flow chart of a method for determining a target CDN node provided by an embodiment of the present disclosure, such as Figure 4 As shown, the above method for determining the target CDN node mainly includes the following steps:

[0065] S21. Obtain CDN network topology information.

[0066] In this embodiment, the CDN network topology information may be provided by a CDN manufacturer or determined by an origin station.

[0067] Furthermore, the existing video preheating method relies on the interface provided by the CDN, but not all CDN manufacturers can provide similar interfaces, or the interfaces provided by CDN manufacturers cannot meet the needs of refined preheating, such as preheating in a specified area. The disclosed embodiment provides a more general CDN node scanning mechanism to determine the topology of the CDN network to meet the needs of refined preheating.

[0068] In one embodiment, obtaining CDN network topology information includes: storing a target file for each CDN node to request access; and determining the CDN network topology information according to the obtained access request results of each CDN node.

[0069] By accessing the detection files pre-stored in the source station through each CDN node, the general CDN network topology information can be detected according to whether each CDN node is hit. Among them, the source station refers to the source station that provides resources. The CDN system obtains resources from the source station and provides user access.

[0070] Figure 5 is a flow chart of determining a CDN network topology provided by an embodiment of the present disclosure, such as Figure 5 As shown, the source station stores the detection file in advance, and the Server server requests the detection file from node L1 through a regular scanning tool. If the detection file is not found in node L1, node L1 requests the detection file from node L2. If the detection file is not found in node L2, the source station is requested to send the detection file to node L2, and node L2 returns it to the Server through node L1. In this way, the CDN network topology information is determined based on whether each CDN node is hit. Among them, the above detection file can be a timestamp file.

[0071] Specifically, a detection file is stored in the source station. During the request process of APP clients located in different geographical locations, the server requests the detection file from the CDN node. For example, if a detection file is requested from a CDN node located in Hangzhou, but the CDN node in Hangzhou does not find the detection file, the CDN node in Hangzhou will request the detection file from the CDN node in Shanghai. If the CDN node in Shanghai does not find the detection file, it will request the detection file from the source station in Beijing. The source station sends the detection file to the CDN node in Shanghai, and the CDN node in Shanghai sends the detection file to the CDN node in Hangzhou. Finally, the detection file can be sent to the APP client through the CDN node in Hangzhou. The topological structure of the CDN nodes can be determined based on the detection results of the target file obtained by each CDN node.

[0072] Furthermore, the APP client can collect the DNS resolution results of each CDN domain name, obtain the IP / IP segments of all CDN nodes in the CDN system, and determine the geographical location of the CDN node through the IP / IP segments of the CDN node. Specifically: the geographical location of the CDN node is obtained by querying the IP library. For example: the geographical location of the CDN node means that the CDN node is located in Guangzhou, Shantou, or the United States. In the process of returning the detection file from the source station to the APP client, the IP / IP segment of the CDN node can be obtained, and the geographical location of the CDN node can be determined based on the IP / IP segment. Accordingly, the topological structure of the CDN node can be determined based on the detection results of the detection file obtained by each CDN node and the obtained geographical location of the CDN node.

[0073] The topology in the above example is: source station (Beijing) - CDN node L2 (Shanghai) - CDN node L1 (Hangzhou).

[0074] S22: Determine multiple CDN nodes that have established communication connections with the source station among the CDN nodes corresponding to the CDN network topology information as multiple preheatable CDN nodes.

[0075] In this embodiment, after the CDN network topology information is detected, the CDN network can be determined according to the CDN network topology information, and the CDN node that can be preheated can be determined according to the CDN network.

[0076] For CDN networks with single-level cache (that is, there is only one level node between the server and the source site), only the L1 node can be preheated. For some CDN networks with multi-level cache, since the distance between the L1 node and the L2 node is not far and there is an internal dedicated line, it is only necessary to preheat the L2 node.

[0077] S23: Determine at least one CDN node from the multiple preheatable CDN nodes as the target CDN node.

[0078] In one embodiment, determining at least one CDN node as the target CDN node from the multiple preheatable CDN nodes includes: obtaining a target distance between each of the preheatable CDN nodes and the source station; and determining at least one CDN node as the target CDN node from the multiple preheatable CDN nodes according to the target distance between each of the preheatable CDN nodes and the source station.

[0079] In this embodiment, the distance between each preheating CDN node and the source station is estimated based on the IP address of the preheating CDN node. For example, the geographical location of the source station (Beijing) and the geographical location of the preheating node (Guangzhou) are determined, and the distance between the preheating CDN node and the source station is determined based on the geographical locations of Beijing and Guangzhou.

[0080] Among them, the target CDN node can be one CDN node or multiple CDN nodes. When the target CDN node is one CDN node, the node farthest from the source station is determined as the target CDN node. When the target CDN node is multiple CDN nodes, they can be sorted from far to near according to the distance (the farther the distance, the higher the ranking), and the multiple CDN nodes with the highest ranking can be determined as the target CDN nodes. For example, when there are two target CDN nodes, the node farthest from the source station and the node second farthest from the source station can be determined as the target CDN node. In addition, a CDN node whose distance from the source station exceeds a preset distance threshold can also be determined as the target CDN node.

[0081] In one embodiment, determining at least one CDN node as the target CDN node from the multiple preheatable CDN nodes includes: determining the regional access traffic corresponding to each preheatable CDN node, wherein, for any preheatable CDN node, the regional access traffic corresponding to any preheatable CDN node is the sum of the access traffic of all CDN nodes whose IP aggregation distance to the any preheatable CDN node is within a preset distance range and the access traffic of the any preheatable CDN node; determining at least one CDN node as the target CDN node from the multiple preheatable CDN nodes according to the regional access traffic corresponding to each preheatable CDN node.

[0082] Specifically, by aggregating the IP addresses of the preheated CDN nodes within a preset distance range, a regional large node (including the preheated CDN node and all CDN nodes within a preset distance range from the preheated CDN node) is formed. Combined with the DNS resolution results, the access traffic of the client at different time points in the regional large node can be estimated.

[0083] For example, if the preheated node is determined to be a node in Guangzhou, the preheated node IP is used to aggregate nodes with similar distances (for example, nodes in Shantou, Zhuhai, Zhongshan, etc.) to form a regional large node. Combined with the DNS resolution results, the access traffic of the APP at different time points in the regional large node is estimated, and the regional access traffic of the CDN node in Guangzhou is determined.

[0084] Furthermore, in descending order of regional access traffic (the larger the regional access traffic, the higher the ranking), at least one preheated CDN node ranked at the top is determined as the target CDN node, or a CDN node whose regional access traffic exceeds a traffic threshold is determined as the target CDN node.

[0085] The CDN node scanning mechanism provided by the embodiment of the present disclosure determines the topology of the CDN network to meet the needs of refined preheating.

[0086] Figure 6 It is a structural diagram of a video preheating device provided in an embodiment of the present disclosure. This embodiment is applicable to the situation where a client (user end) requests a video from a CDN node. The video preheating device can be implemented by software and / or hardware.

[0087] like Figure 6 As shown, the video preheating device provided in this embodiment mainly includes a heat information acquisition module 61 and a video preheating module 62.

[0088] The popularity information acquisition module 61 is used to acquire the popularity information of the target video, wherein the popularity information of the target video is predicted before the target video is first broadcast;

[0089] The video preheating module 62 is used to preheat the target video to a target content distribution network CDN node based on the popularity information of the target video.

[0090] The disclosed embodiment provides a video preheating device, which is mainly used to perform the following operations: obtaining the popularity information of a target video, wherein the popularity information of the target video is predicted before the first broadcast of the target video; and preheating the target video to a target content distribution network CDN node based on the popularity information of the target video. The disclosed embodiment predicts the popularity information of the video before any actual playback data is available, and preheats the video to the CDN node in advance based on the predicted popularity information, thereby avoiding a large number of viewing requests for the target video from penetrating to the source station in a short period of time, thereby reducing the bandwidth pressure of the source station. At the same time, the first batch of users who watch the target video do not need to wait for the video to return to the source, thereby improving the user viewing experience.

[0091] In one embodiment, the heat information of the target video is predicted in the following manner: obtaining feature information of the target video, the feature information including video features and / or text features; inputting the feature information into a pre-trained heat information prediction model to obtain the heat information of the target video.

[0092] In one embodiment, the heat information of the target video includes heat probability;

[0093] The video preheating module 62 is specifically used to preheat the target video when the heat probability of the target video is greater than a preset probability threshold, so as to push the target video to the target CDN node.

[0094] In one embodiment, the heat information of the target video includes high heat probability;

[0095] The video preheating module 62 is specifically used to determine the heat probability order of the target video in the videos to be preheated according to the heat probability of the target video; determine the preheating order of the target video according to the heat probability order of the target video in the videos to be preheated; and preheat the target video according to the preheating order of the target video.

[0096] In one embodiment, the device further comprises:

[0097] A topology determination module is used to obtain CDN network topology information;

[0098] The target node determination module is used to determine the target CDN node according to the CDN network topology information.

[0099] In one embodiment, the target node determination module includes: a preheatable node determination unit, which is used to determine multiple CDN nodes that establish communication connections with the source station among the CDN nodes corresponding to the CDN network topology information as multiple preheatable CDN nodes; a target node determination unit, which is used to determine at least one CDN node among the multiple preheatable CDN nodes as the target CDN node.

[0100] In one embodiment, the target node determination unit is specifically used to obtain the target distance between each of the preheatable CDN nodes and the source station; and determine at least one CDN node as the target CDN node among the multiple preheatable CDN nodes according to the target distance between each of the preheatable CDN nodes and the source station.

[0101] In one embodiment, the target node determination unit is specifically used to determine the regional access traffic corresponding to each preheatable CDN node, wherein, for any preheatable CDN node, the regional access traffic corresponding to any preheatable CDN node is the sum of the access traffic of all CDN nodes whose IP aggregation distance with any preheatable CDN node is within a preset distance range and the access traffic of any preheatable CDN node; and at least one CDN node is determined as the target CDN node among the multiple preheatable CDN nodes according to the regional access traffic corresponding to each preheatable CDN node.

[0102] In one embodiment, the topology determination module is specifically used to store the target file for each CDN node to request access; and determine the CDN network topology information according to the obtained access request results of each CDN node.

[0103] The video preheating device provided in this embodiment can execute the video preheating method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects for executing the video preheating method.

[0104] Reference below Figure 7 , which shows an electronic device (eg, Figure 7 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0105] like Figure 7 As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0106] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 700 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0107] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 709, or installed from a storage device 708, or installed from a ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0108] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0109] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0110] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0111] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0112] Obtaining popularity information of a target video, wherein the popularity information of the target video is predicted before the target video is first broadcast;

[0113] The target video is preheated to a target content distribution network CDN node based on the popularity information of the target video.

[0114] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0115] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0116] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0117] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0118] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A 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, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, 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 portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0119] According to one or more embodiments of the present disclosure, a video preheating method, apparatus, device and storage medium are provided, including:

[0120] Obtaining popularity information of a target video, wherein the popularity information of the target video is predicted before the target video is first broadcast;

[0121] The target video is preheated to a target content distribution network CDN node based on the popularity information of the target video.

[0122] According to one or more embodiments of the present disclosure, a video preheating method, apparatus, device and storage medium are provided, wherein the heat information of the target video is predicted by:

[0123] Acquire feature information of the target video, where the feature information includes video features and / or text features;

[0124] The feature information is input into a pre-trained popularity information prediction model to obtain the popularity information of the target video.

[0125] According to one or more embodiments of the present disclosure, a video preheating method, apparatus, device and storage medium are provided, wherein the heat information of the target video includes heat probability;

[0126] Preheating the target video to a target content distribution network CDN node based on the popularity information of the target video includes:

[0127] When the heat probability of the target video is greater than a preset probability threshold, the target video is preheated to push the target video to the target CDN node.

[0128] According to one or more embodiments of the present disclosure, a video preheating method, apparatus, device and storage medium are provided, wherein the heat information of the target video includes heat probability;

[0129] Preheating the target video to a target content distribution network CDN node based on the popularity information of the target video includes:

[0130] Determining the heat probability order of the target video among the videos to be preheated according to the heat probability of the target video;

[0131] Determining the preheating order of the target videos according to the probability order of heat of the target videos in the videos to be preheated;

[0132] The target video is preheated according to the preheating order of the target video.

[0133] According to one or more embodiments of the present disclosure, a video preheating method, apparatus, device and storage medium are provided, further comprising:

[0134] Get CDN network topology information;

[0135] Determine the target CDN node based on the CDN network topology information.

[0136] According to one or more embodiments of the present disclosure, a video preheating method, apparatus, device and storage medium are provided, which determine a target CDN node according to CDN network topology information, including:

[0137] Determine multiple CDN nodes that establish communication connections with the source station among the CDN nodes corresponding to the CDN network topology information as multiple CDN nodes that can be preheated;

[0138] At least one CDN node is determined from the plurality of preheatable CDN nodes as the target CDN node.

[0139] According to one or more embodiments of the present disclosure, a video preheating method, apparatus, device and storage medium are provided, wherein at least one CDN node is determined as the target CDN node from the plurality of CDN nodes that can be preheated, including:

[0140] Obtaining a target distance between each of the preheatable CDN nodes and the source station;

[0141] At least one CDN node is determined as a target CDN node among the multiple CDN nodes that can be preheated according to a target distance between each of the CDN nodes that can be preheated and the source station.

[0142] According to one or more embodiments of the present disclosure, a video preheating method, apparatus, device and storage medium are provided, wherein at least one CDN node is determined as the target CDN node from the plurality of CDN nodes that can be preheated, including:

[0143] Determine the regional access traffic corresponding to each preheatable CDN node, wherein, for any preheatable CDN node, the regional access traffic corresponding to any preheatable CDN node is the sum of the access traffic of all CDN nodes whose IP aggregation distance to any preheatable CDN node is within a preset distance range and the access traffic of any preheatable CDN node;

[0144] At least one CDN node is determined as a target CDN node among the multiple CDN nodes that can be preheated according to the regional access traffic corresponding to each CDN node that can be preheated.

[0145] According to one or more embodiments of the present disclosure, a video preheating method, apparatus, device and storage medium are provided to obtain CDN network topology information, including: storing target files for each CDN node to request access; determining the CDN network topology information based on the obtained access request results of each CDN node.

[0146] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0147] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0148] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A video preheating method, characterized in that: include: Obtaining popularity information of a target video, wherein the popularity information of the target video is predicted before the target video is first broadcast, and the popularity information includes a popularity probability; Preheating the target video to a target content distribution network CDN node based on the popularity information of the target video; Preheating the target video to a target content distribution network CDN node based on the popularity information of the target video includes: Determine whether the heat probability of the target video is greater than a preset probability threshold, and if so, preheat the target video to push the target video to the target CDN node; If not, it is determined that the target video does not need to be preheated, and the target video is not pushed to the target CDN node; Wherein, preheating the target video includes: Determine a priority queue corresponding to the target video based on the heat probability; when preheating to the target video according to the priority queue, sort multiple preheatable CDN nodes according to node traffic and node distance, determine a target CDN node among the multiple preheatable CDN nodes, and preheat the target video to the target CDN node; wherein the sorting of the multiple preheatable CDN nodes is determined based on the distance between the multiple preheatable CDN nodes and the source station.

2. The method according to claim 1, characterized in that The method further comprises: Get CDN network topology information; Determine the target CDN node based on the CDN network topology information.

3. The method according to claim 2, characterized in that Determine the target CDN node based on the CDN network topology information, including: Determine multiple CDN nodes that establish communication connections with the source station among the CDN nodes corresponding to the CDN network topology information as multiple CDN nodes that can be preheated; At least one CDN node is determined from the plurality of preheatable CDN nodes as the target CDN node.

4. The method according to claim 3, characterized in that: Determining at least one CDN node from the plurality of preheatable CDN nodes as the target CDN node includes: Obtaining a target distance between each of the preheatable CDN nodes and the source station; At least one CDN node is determined as a target CDN node among the multiple CDN nodes that can be preheated according to a target distance between each of the CDN nodes that can be preheated and the source station.

5. The method according to claim 3, characterized in that: Determining at least one CDN node from the plurality of preheatable CDN nodes as the target CDN node includes: Determine the regional access traffic corresponding to each preheatable CDN node, wherein, for any preheatable CDN node, the regional access traffic corresponding to any preheatable CDN node is the sum of the access traffic of all CDN nodes whose IP aggregation distance to any preheatable CDN node is within a preset distance range and the access traffic of any preheatable CDN node; At least one CDN node is determined as a target CDN node among the multiple CDN nodes that can be preheated according to the regional access traffic corresponding to each CDN node that can be preheated.

6. The method according to claim 2, characterized in that Obtain CDN network topology information, including: Store target files for access requests from various CDN nodes; The CDN network topology information is determined based on the obtained request access results of each CDN node.

7. A video preheating device, characterized in that: include: A popularity information acquisition module is used to acquire popularity information of a target video, wherein the popularity information of the target video is predicted before the first broadcast of the target video, and the popularity information includes a popularity probability; A video preheating module, used for preheating the target video to a target content distribution network CDN node based on the heat information of the target video; The video preheating module is specifically used to determine whether the heat probability of the target video is greater than a preset probability threshold, and if so, preheat the target video to push the target video to the target CDN node; If not, it is determined that the target video does not need to be preheated, and the target video is not pushed to the target CDN node; Wherein, preheating the target video includes: Determine a priority queue corresponding to the target video based on the heat probability; when preheating to the target video according to the priority queue, sort multiple preheatable CDN nodes according to node traffic and node distance, determine a target CDN node among the multiple preheatable CDN nodes, and preheat the target video to the target CDN node; wherein the sorting of the multiple preheatable CDN nodes is determined based on the distance between the multiple preheatable CDN nodes and the source station.

8. A video preheating device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the video preheating method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the video preheating method according to any one of claims 1 to 6 is implemented.