[0040] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangements of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
[0041] The following description of at least one exemplary embodiment is merely illustrative in nature and in no way taken as limiting the invention, its application or uses.
[0042] Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the description.
[0043] In all examples shown and discussed herein, any specific values should be construed as exemplary only, and not as limitations. Therefore, other instances of the exemplary embodiment may have different values.
[0044] It should be noted that like numerals and letters denote like items in the following figures, therefore, once an item is defined in one figure, it does not require further discussion in subsequent figures.
[0045] The present invention provides a CDN-based video push method in order to solve the problem that users order cold-spot videos at will, and the viewing time is usually very little, resulting in high pressure on CDN scheduling. figure 1 As shown, the method includes the following steps:
[0046] Step S1: Search for the nearest currently set number of CDN nodes as target nodes.
[0047] This action can be triggered, for example, by the user logging into the corresponding client application, refreshing the corresponding client application, viewing the hot video content list, pre-setting the search cycle, etc., and each trigger will update the hot video content list.
[0048] The currently set quantity can be preset, can be changed by the user as required, and can also be automatically adjusted.
[0049] Step S2: Sending a list acquisition request to each target node, so that the target node returns a video content list of cached video content after receiving the list acquisition request.
[0050] Correspondingly, the target node can make statistics on the cached video content and form a corresponding video content list, and update the video content list in real time according to the distribution and deletion of the distribution control center, so that when receiving the list request, it can quickly Respond to expedite access to the list of trending video content below.
[0051] Step S3: After receiving the video content list returned by the target node, integrate the received video content list to obtain a hot video content list.
[0052]The step S3 may be further defined as: after receiving the video content lists returned by all the target nodes, then integrate all the received video content lists to obtain a hot video content list. This means that the maximum time to wait to receive will be until the next update.
[0053] However, in order to avoid the problem of affecting the update of the hot video content list due to communication failures with some target nodes, this step S3 can be further limited to: receiving the video content returned by the target node within the set time from sending the request to obtain the list When listing, the video content list received within the set time is integrated to obtain a hot video content list. This means that the maximum waiting time for updating the hot video content list is the set time, and each update of the hot video content list will be performed according to the video content list received within the set time from sending the list request, set Video content listings not received within that time will be ignored. If the video content list returned by all the target nodes is received within the set time, then after receiving the video content list returned by all the target nodes, it will be integrated immediately to obtain the hot video content list, without waiting for the set time to run out.
[0054] Step S4: Displaying the hot video content list for users to order.
[0055] The specific display in this step needs to be performed through the user terminal.
[0056] It can be seen that the CDN-based video push method of the present invention is to push the video content lists cached by several CDN nodes as hot video content to the user, thus increasing the user's ability to arbitrarily order interesting video content through the hot video content list. probability, thereby reducing the probability of users randomly ordering cold-spot videos cached by far CDN nodes. Since the video content in the hot-spot video content list can be obtained through the nearest one or several CDN nodes, the method of the present invention will be able to clearly Alleviate the scheduling pressure of CDN.
[0057] In order to facilitate users to browse the hot video content list, to improve user experience, in a specific embodiment of the present invention, displaying the hot video content list in the above step S4 may further include the following steps:
[0058] Step S41: Split the hot video content list according to the type identifier of the video content to obtain a classified video content list corresponding to the classification tags one by one.
[0059] Correspondingly, in the video content list returned by the target node, there should be type identifiers reflecting the types of video content, such as movies, TV dramas, variety shows, animation, sports, music, documentaries, etc., and TV dramas and movies can also be Subdivided into categories such as comedy, romance, suspense, Europe and the United States, mainland China, Hong Kong and Taiwan, Japan and South Korea, etc. Therefore, the same video content may belong to multiple classification labels.
[0060] Splitting the hot video content list according to the type identifier of the video content in the step S41 may further include the following steps:
[0061] Step S411: Acquiring the classification labels set in the classification display;
[0062] Form a classification video content list corresponding to the classification label one by one;
[0063] According to the type identifier of the video content, the video content category in the hot video content list is added to the corresponding category video content list.
[0064] Step S42: Displaying a corresponding category video content list under each category label.
[0065] In order to enable the method of the present invention to support the application of changing the above-mentioned current set quantity according to actual needs, in a specific embodiment of the present invention, the method may also include: after receiving the set quantity input by the user, changing the current set quantity to The number is updated as the set number input by the user; the method may also include: calculating the number of times the user ordered video content through the hot video content list in the previous time period with the set time period; if the number of times is less than the set number of times, and the current If the set quantity is less than the set quantity upper limit, the current set quantity will be increased according to the set adjustment step. The adjustment step can be set to 1, and the initial value of the current set number is preferably set to 1, so as to improve the update speed of the hot video content list, and then obtain the best user experience.
[0066] On the basis of the above video push method, the present invention also provides a CDN-based video push system capable of implementing the method of the present invention, such as figure 2 As shown, the video push system includes a search module 1, a request module 2, a list processing module 3 and a display processing module 4, wherein the search module 1 is used to search for the nearest currently set number of CDN nodes as target nodes; the request Module 2 is used to send an acquisition list request to each of the target nodes, so that the target node returns a video content list of cached video content after receiving the acquisition list request; the list processing module 3 is used for Receive the video content list returned by the target node, and integrate the received video content list to obtain a hot video content list; the display processing module 4 is used to display the hot video content list for users to order.
[0067] The above-mentioned list processing module 3 can also be further configured to integrate the video content list received within the set time to obtain hotspots when receiving the video content list returned by the target node within the set time from sending the list acquisition request List of video content.
[0068] The above-mentioned display processing module 4 can also be specifically used to split the hot video content list according to the type identifier of the video content, obtain a list of classified video contents corresponding to the classification tags one by one, and display the corresponding classified videos under each classification tag Contents list.
[0069] The above-mentioned display processing module 4 can also be specifically used to obtain the classification labels set in the classification display, form a classification video content list corresponding to the classification labels one-to-one, and according to the type identifier of the video content, add the hot video content list Add the video content category of the corresponding category to the video content list.
[0070] The system of the present invention may also include a quantity update module (not shown in the figure), which is used to receive the set quantity input by the user, and update the current set quantity to the set quantity input by the user; And/or, it is used to calculate the number of times the user ordered video content through the hot video content list in the previous time period in a set time period, if the number of times is less than the set number, and the current set number is less than If the upper limit of the quantity is set, the current set quantity is increased according to the set adjustment step.
[0071] The present invention also provides a device, which has the video push system of the present invention, so that the device of the present invention can alleviate the CDN scheduling pressure when the user performs video-on-demand. The device can be any device with a video playback function, such as a user terminal such as a mobile phone, a TV, or a tablet computer.
[0072] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments, but the technical field It should be clear to those skilled in the art that the above-mentioned embodiments can be used alone or in combination with each other as required. In addition, as for the system embodiment, since it corresponds to the method embodiment, the description is relatively simple, and for related parts, refer to the description of the corresponding part of the method embodiment. The system embodiments described above are illustrative only, where modules illustrated as separate components may or may not be physically separate.
[0073] Although some specific embodiments of the present invention have been described in detail through examples, those skilled in the art should understand that the above examples are for illustration only and not intended to limit the scope of the present invention. Those skilled in the art will appreciate that modifications can be made to the above embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.