A method, apparatus, medium, and program product for providing video.
By determining whether the user's device is opening the application for the first time, an appropriate number of unread videos are extracted from the regular video group and the popular video group. This solves the problem of predicting user preferences during video delivery, improves the accuracy and efficiency of video delivery, and enhances the user experience.
Patent Information
- Application Number
- CN202210148101.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-17
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2042-02-17
AI Technical Summary
During the video delivery process, existing technologies struggle to accurately predict user preferences, leading to wasted server resources and uneven video exposure.
By receiving video retrieval requests from user devices, it determines whether the application is being opened for the first time. If so, it retrieves unread videos from the regular video group and the high-profile video group respectively. If not, it retrieves unread videos from the regular video group, ensuring that the quantity and proportion are appropriate, and then provides them to the user device.
It improves the accuracy and efficiency of video delivery, enhancing the user experience.
Smart Images

Figure CN114547369B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, and more particularly to a technology for providing video. Background Technology
[0002] In daily life, users spend a lot of time browsing short video apps, but making good short videos is not easy. When thousands of videos are retrieved from the video library, it is not known which ones are more popular. From the distribution perspective, sequential distribution will result in different exposure for each video, while random distribution will consume a lot of server resources. Summary of the Invention
[0003] One object of this application is to provide a method, apparatus, medium, and program product for providing video.
[0004] According to one aspect of this application, a method for providing video is provided, the method comprising:
[0005] Receive a video acquisition request for a target application sent by a user device, and determine whether the video acquisition request is the first one sent after the target application is newly opened on the user device, wherein the video acquisition request includes a first group number information;
[0006] If so, based on the first group number information, a first predetermined number of unread videos are taken from one or more ordinary video groups as the first video, and a second predetermined number of unread videos are taken from the popular video group as the second video, and the first video and the second video are provided to the user device;
[0007] Otherwise, based on the first group number information, a third predetermined number of unread videos are taken from the one or more ordinary video groups as the third video, and the third video is provided to the user device, wherein the sum of the first predetermined number and the second predetermined number is equal to the third predetermined number.
[0008] According to one aspect of this application, a network device for providing video is provided, the device comprising:
[0009] The module is used to receive a video acquisition request for a target application sent by a user device, and to determine whether the video acquisition request is the first one sent after the target application is newly opened on the user device, wherein the video acquisition request includes a first group number information;
[0010] The first and second modules are used to, if so, extract a first predetermined number of unread videos from one or more ordinary video groups as the first video, extract a second predetermined number of unread videos from the high-profile video group as the second video, and provide the first video and the second video to the user device, based on the first group number information.
[0011] The first and third modules are used to otherwise extract a third predetermined number of unread videos from the one or more ordinary video groups as a third video based on the first group number information, and provide the third video to the user device, wherein the sum of the first predetermined number and the second predetermined number is equal to the third predetermined number.
[0012] According to one aspect of this application, a computer device for providing video is provided, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to perform any of the methods described above.
[0013] According to one aspect of this application, a computer-readable storage medium is provided having a computer program stored thereon, characterized in that the computer program, when executed by a processor, implements the operation of any of the methods described above.
[0014] According to one aspect of this application, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the steps of any of the methods described above.
[0015] Compared with existing technologies, this application receives a video acquisition request for a target application sent by a user device, determines whether the video acquisition request is the first one sent after the target application is newly opened on the user device, wherein the video acquisition request includes a first group number; if yes, according to the first group number, a first predetermined number of unread videos are taken from one or more ordinary video groups as the first video, and a second predetermined number of unread videos are taken from a high-popularity video group as the second video, and the first video and the second video are provided to the user device; otherwise, according to the first group number, a third predetermined number of unread videos are taken from the one or more ordinary video groups as the third video, and the third video is provided to the user device, wherein the sum of the first predetermined number and the second predetermined number is equal to the third predetermined number. By comparing videos under similar exposure scenarios, it is possible to know in advance which videos are more popular with users, thereby improving the accuracy and efficiency of video delivery and enhancing the user's video experience. Attached Figure Description
[0016] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0017] Figure 1 This diagram illustrates a method for providing video according to one embodiment of the present application;
[0018] Figure 2 This diagram illustrates a network device architecture for providing video according to one embodiment of the present application.
[0019] Figure 3 This diagram illustrates a method for providing video according to one embodiment of the present application;
[0020] Figure 4 Exemplary systems that can be used to implement the various embodiments described in this application are shown.
[0021] The same or similar reference numerals in the accompanying drawings represent the same or similar parts. Detailed Implementation
[0022] The present application will now be described in further detail with reference to the accompanying drawings.
[0023] In a typical configuration of this application, the terminal, the device of the service network, and the trusted party all include one or more processors (e.g., a central processing unit (CPU)), input / output interfaces, network interfaces, and memory.
[0024] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory. Memory is an example of computer-readable media.
[0025] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PCM), programmable random access memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.
[0026] The devices referred to in this application include, but are not limited to, terminals, network devices, or devices formed by integrating terminals and network devices through a network. The terminals include, but are not limited to, any mobile electronic product capable of human-computer interaction (e.g., via a touchpad), such as smartphones and tablets. These mobile electronic products can use any operating system, such as Android or iOS. The network devices include electronic devices capable of automatically performing numerical calculations and information processing according to pre-set or stored instructions. Their hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), and embedded devices. The network devices include, but are not limited to, computers, network hosts, single network servers, multiple network server clusters, or clouds composed of multiple servers. Here, a cloud consists of a large number of computers or network servers based on cloud computing, where cloud computing is a type of distributed computing, consisting of a virtual supercomputer composed of a group of loosely coupled computer clusters. The network includes, but is not limited to, the Internet, wide area network, metropolitan area network, local area network, VPN network, wireless ad hoc network, etc. Preferably, the device can also be a program running on the terminal, network device, or a device formed by integrating the terminal and network device, network device, touch terminal, or network device and touch terminal through a network.
[0027] Of course, those skilled in the art should understand that the above-described devices are merely examples, and other existing or future devices that are applicable to this application should also be included within the scope of protection of this application, and are hereby incorporated by reference.
[0028] In the description of this application, "multiple" means two or more, unless otherwise expressly and specifically defined.
[0029] Figure 1The diagram illustrates a method for providing video according to an embodiment of this application, comprising steps S11, S12, and S13. In step S11, a network device receives a video retrieval request for a target application sent by a user device, and determines whether the video retrieval request is the first such request sent after the target application is newly opened on the user device. The video retrieval request includes first group number information. In step S12, if yes, the network device, based on the first group number information, retrieves a first predetermined number of unread videos from one or more ordinary video groups as a first video, and retrieves a second predetermined number of unread videos from a high-profile video group as a second video, and provides the first video and the second video to the user device. In step S13, otherwise, the network device, based on the first group number information, retrieves a third predetermined number of unread videos from the one or more ordinary video groups as a third video, and provides the third video to the user device, wherein the sum of the first predetermined number and the second predetermined number is equal to the third predetermined number.
[0030] In step S11, the network device receives a video acquisition request for a target application sent by the user equipment, and determines whether the video acquisition request is the first one sent after the user equipment has newly opened the target application. The video acquisition request includes a first group of identification information. In some embodiments, the target application includes, but is not limited to, short video applications, long video applications, and other video display applications. In some embodiments, the user equipment initiates a video acquisition request for the target application to the network device in response to the user newly opening the target application; or, the user equipment initiates a video acquisition request for the target application to the network device in response to a refresh operation (e.g., swipe down) or a browse-more operation (e.g., swipe up) performed by the user in the target application. In some embodiments, the video acquisition request may include identification information indicating whether the video acquisition request is the first one sent after the user has newly opened the target application on the user equipment. The network device can determine whether the video acquisition request is the first one sent after the user equipment has newly opened the target application based on this identification information. In some embodiments, when a user device sends a video retrieval request for a target application, the network device retrieves one or more videos from a target ordinary video group within one or more ordinary video groups and provides these videos (e.g., video files or video playback addresses) to the user device. The user device locally stores the group number information (i.e., the first group number information) of the target ordinary video group. Each ordinary video group in the network device corresponds to a unique group number information, and each group number information can uniquely identify an ordinary video group. In some embodiments, when the user device sends a video retrieval request for a target application, it includes the locally stored group number information (i.e., the first group number information) of the target ordinary video group in the video retrieval request.
[0031] In step S12, if yes, the network device, based on the first group number information, retrieves a first predetermined number of unread videos from one or more ordinary video groups as the first video, and retrieves a second predetermined number of unread videos from the popular video group as the second video, and provides the first video and the second video to the user device. In some embodiments, if the video retrieval request is sent for the first time after the target application is newly opened on the user device, based on the first group number information, a first predetermined number (e.g., 6) of unread videos can be directly retrieved from the first ordinary video group corresponding to the first group number information as the first video. Here, "unread video" as used here and below refers to a video that is unread by the user corresponding to the user device that sent the video retrieval request. In some embodiments, a first number of unread videos can be extracted from the first ordinary video group corresponding to the first group number information, and a second number of unread videos can be extracted from other ordinary video groups according to a preset ratio. The first number of unread videos and the second number of unread videos are then used as the first video. The ratio of the first number to the second number is the preset ratio, and the sum of the first number and the second number equals a first predetermined number. The preset ratio is typically greater than 1, meaning the first number is typically greater than the second number. In some embodiments, a second predetermined number (e.g., 1) of unread videos can also be extracted from the high-popularity video group as the second video. The second predetermined number is typically less than the first predetermined number. In some embodiments, the network device may contain one or more ordinary video groups and high-popularity video groups. Each ordinary video group includes multiple videos, and each high-popularity video group includes multiple high-popularity videos (e.g., recommended videos, videos with high popularity, etc.). In some embodiments, the first video and the second video are provided to the user device, for example, by providing the video files or video playback addresses of the first and second videos to the user device.
[0032] In step S13, otherwise, the network device, based on the first group number information, retrieves a third predetermined number of unread videos from the one or more ordinary video groups as a third video and provides the third video to the user device, wherein the sum of the first predetermined number and the second predetermined number is equal to the third predetermined number. In some embodiments, if the video acquisition request is not sent for the first time after the target application is newly opened on the user device, then based on the first group number information, a third predetermined number (e.g., 7) of unread videos can be directly retrieved from the first ordinary video group corresponding to the first group number information as a third video and provided to the user device, wherein the third predetermined number is the sum of the first predetermined number and the second predetermined number. In some embodiments, a third predetermined number of unread videos can also be retrieved from the first ordinary video group corresponding to the first group number information, and a fourth predetermined number of unread videos can be retrieved from other ordinary video groups according to a preset ratio, and then the third predetermined number of unread videos and the fourth predetermined number of unread videos are used as the third video, wherein the ratio of the third predetermined number to the fourth predetermined number is the preset ratio, and the sum of the third predetermined number to the fourth predetermined number is equal to the third predetermined number. The preset ratio is usually greater than 1, that is, the third predetermined number is usually greater than the fourth predetermined number. This application allows for comparison of videos under similar exposure scenarios, enabling the prediction of which videos are more popular with users. This improves the accuracy and efficiency of video delivery, thereby enhancing the user's video experience.
[0033] In some embodiments, the step of retrieving a first predetermined number of unread videos from one or more ordinary video groups as the first video based on the first group number information includes: determining whether the number of unread videos in the first ordinary video group corresponding to the first group number information meets the first predetermined number; if so, retrieving the first predetermined number of unread videos from the first ordinary video group as the first video; otherwise, retrieving a fourth number of unread videos from the first ordinary video group, determining a second ordinary video group from the remaining unread ordinary video groups, retrieving a fifth number of unread videos from the second ordinary video group, and using the fourth number of unread videos and the fifth number of unread videos as the first video, wherein the sum of the fourth number and the fifth number is equal to the first predetermined number. In some embodiments, it is necessary to first determine whether the number of unread videos in the first ordinary video group corresponding to the first group number information is greater than or equal to a first predetermined number. If so, the first predetermined number of unread videos are taken from the first ordinary video group as the first video. Here, the first predetermined number of unread videos can be randomly taken from all the unread videos in the first ordinary video group, or if the videos in the first ordinary video group are arranged in order, the first predetermined number of unread videos can be taken sequentially from the first unread video in the first ordinary video group. In some embodiments, if the number of unread videos in the first ordinary video group corresponding to the first group number information is less than a first predetermined number, and there are a fourth number of unread videos remaining in the first ordinary video group, then all remaining (i.e., the fourth number) of unread videos are taken from the first ordinary video group. Then, a fifth number of unread videos needs to be taken from one or more remaining unread ordinary video groups. Here, "unread ordinary video group" as used herein and hereinafter refers to an ordinary video group containing at least one video that is unread by the user corresponding to the user device that sent the video retrieval request. Specifically, this can be done by first randomly selecting one ordinary video group from the remaining one or more unread ordinary video groups. Alternatively, one can randomly select a group of ordinary videos with a number of remaining unread videos greater than or equal to the fifth group from among the remaining unread groups as the second ordinary video group. Or, if one or more ordinary video groups in the network device are arranged sequentially, the first unread ordinary video group after the first ordinary video group can be selected sequentially from among the remaining unread groups as the second ordinary video group. Alternatively, one can also select the first unread ordinary video group after the first ordinary video group with a number of remaining unread videos greater than or equal to the fifth group from among the remaining unread groups as the second ordinary video group.In some embodiments, a fifth number of unread videos are randomly or sequentially selected from the second ordinary video group, and the fourth number of unread videos in the first ordinary video group and the fifth number of unread videos in the second ordinary video group are used as the first video, wherein the sum of the fourth number and the fifth number is equal to the first predetermined number.
[0034] In some embodiments, the method further includes: the network device providing the user equipment with second group number information corresponding to the second ordinary video group. In some embodiments, if the first video includes a fourth number of unread videos taken from the first ordinary video group and a fifth number of unread videos taken from the second ordinary video group, the second group number information corresponding to the second ordinary video group is also provided to the user equipment. The user equipment stores the second group number information locally, and the next time the user equipment makes a video retrieval request for the target application, it will include the locally stored second group number information in the video retrieval request. In some embodiments, if the first video only includes a first predetermined number of unread videos taken from the first ordinary video group, the first group number information is provided to the user equipment along with the first video.
[0035] In some embodiments, determining the second ordinary video group from the remaining unread ordinary video groups includes: selecting the most recently updated ordinary video group from the remaining unread ordinary video groups as the second ordinary video group. In some embodiments, the videos in a certain ordinary video group are updated periodically. For example, at predetermined time intervals, all videos in a certain ordinary video group are removed, or all read videos in a certain ordinary video group are removed, or all videos in a certain ordinary video group whose read count is greater than or equal to a predetermined number threshold, or whose number of read users is greater than or equal to a predetermined number threshold, or whose read duration is greater than or equal to a predetermined duration threshold are removed. Then, at least one new video from the video library is added to the ordinary video group. In some embodiments, for a certain regular video group, when the regular video group meets a predetermined read condition, all videos in the regular video group are removed, or all read videos in the regular video group are removed. For example, the read condition may be that the number of read videos in the regular video group is greater than or equal to a predetermined number threshold, or the ratio of the number of read videos in the regular video group to the total number of videos in the regular video group is greater than or equal to a predetermined ratio threshold, or the total number of reads of all videos in the regular video group is greater than or equal to a predetermined number threshold, or the total number of read users is greater than or equal to a predetermined number threshold, or the total read duration is greater than or equal to a predetermined duration threshold.
[0036] In some embodiments, the method further includes: if there are no remaining unread ordinary video groups, determining a third ordinary video group from the remaining read ordinary video groups, taking the fifth number of read videos from the third ordinary video group, and using the fourth number of unread videos and the fifth number of read videos as the first video. In some embodiments, if there are no remaining unread ordinary video groups, an ordinary video group can be randomly selected from the remaining read ordinary video groups, i.e., other ordinary videos besides the first ordinary video group, as the third ordinary video group; or, if the one or more ordinary video groups are arranged in sequence, the ordinary video group that ranks after the first ordinary video group can be sequentially selected as the third ordinary video group. In some embodiments, a fifth number of read videos are randomly or sequentially taken from the third ordinary video group, and then the fourth number of unread videos and the fifth number of read videos are used as the first video. Here, "read video" as used herein and hereinafter refers to a video that has been read by the user corresponding to the user device that sent the video acquisition request.
[0037] In some embodiments, determining the third ordinary video group from the remaining read ordinary video groups includes: selecting the ordinary video group with the fewest read users among the remaining read ordinary video groups as the third ordinary video group. In some embodiments, the ordinary video group with the fewest read users among the remaining read ordinary video groups can be selected as the third ordinary video group, wherein the ordinary video group with the fewest read users means that the total number of read users for all videos in that ordinary video group is the fewest among the remaining read ordinary video groups.
[0038] In some embodiments, the method further includes: if there are no remaining unread ordinary video groups, removing videos from at least one ordinary video group, and adding at least one new video from the video library of the network device to the at least one ordinary video group; taking the fifth number of unread videos from a fourth ordinary video group among the at least one ordinary video group, and using the fourth number of unread videos and the fifth number of unread videos as the first video. In some embodiments, if there are no remaining unread ordinary video groups, at least one ordinary video group can be randomly or sequentially selected from the remaining read ordinary video groups, removing videos from the at least one ordinary video group, and adding at least one new video from the video library to the at least one ordinary video group. In some embodiments, an ordinary video group is randomly or sequentially selected from the at least one ordinary video group as the fourth ordinary video group, and a fifth number of unread videos are randomly or sequentially taken from the fourth ordinary video group, and then the fourth number of unread videos and the fifth number of unread videos are used as the first video.
[0039] In some embodiments, removing videos from at least one ordinary video group includes: determining at least one ordinary video group among the one or more ordinary video groups, and removing videos from the at least one ordinary video group, wherein the video read status corresponding to the at least one ordinary video group satisfies a first predetermined condition. In some embodiments, at least one ordinary video group whose video read status satisfies the first predetermined condition is determined from the remaining read ordinary video groups, and videos from the at least one ordinary video group are removed, wherein the first predetermined condition may be that the total number of reads of all videos in the ordinary video group is greater than or equal to a predetermined number threshold, or the total number of read users is greater than or equal to a predetermined quantity threshold, or the total read duration is greater than or equal to a predetermined duration threshold; or, the ordinary video group may be a predetermined number of ordinary video groups among the remaining read ordinary video groups where the total number of reads of all videos, the total number of read users, or the total read duration is the highest.
[0040] In some embodiments, the method further includes: if there are no unread videos in the hot video group, retrieving the second predetermined number of read videos with the fewest read users from the hot video group as the second video. In some embodiments, if there are currently no unread videos in the hot video group, the second predetermined number of read videos with the fewest read users can be retrieved from the hot video group as the second video.
[0041] In some embodiments, step S12 includes: if yes, determining whether there are unread videos in the hot video group; if yes, according to the first group number information, taking a first predetermined number of unread videos from one or more ordinary video groups as the first video, taking a second predetermined number of unread videos from the hot video group as the second video, and providing the first video and the second video to the user device; otherwise, according to the first group number information, taking a third predetermined number of unread videos from the one or more ordinary video groups as the first video, and providing the first video to the user device. In some embodiments, if there are no unread videos in the hot video group, instead of selecting videos from the hot video group, a third predetermined number of unread videos can be taken from the one or more ordinary video groups according to the first group number information as the first video, and only the first video can be provided to the user device, wherein the third predetermined number is the sum of the first predetermined number and the second predetermined number, for example, taking a third predetermined number of unread videos from the first ordinary video group corresponding to the first group number information as the first video.
[0042] In some embodiments, the method further includes: if there are no unread videos in the hot video group, removing the videos from the hot video group and adding at least one new hot video from the video library of the network device to the hot video group. In some embodiments, if there are no unread videos in the hot video group, the videos in the hot video group can be removed, at least one new hot video from the video library can be added to the hot video group, and a second predetermined number of unread videos can be taken from the updated hot video group as second videos.
[0043] In some embodiments, the method further includes: if the video acquisition request is sent for the first time after the target application is installed or upgraded on the user device, determining a fifth ordinary video group from the one or more ordinary video groups, extracting the first predetermined number of unread videos from the fifth ordinary video group as the fourth video, extracting the second predetermined number of unread videos from the hot video group as the fifth video, and providing the fourth video, the fifth video, and the third group number information corresponding to the fifth ordinary video group to the user device. In some embodiments, if the video acquisition request is sent for the first time after the user installs, upgrades, or clears the data of the target application on the user device, then the video acquisition request does not include the first group number information, or the first group number information included in the video acquisition request is a special value (e.g., -1). In some embodiments, a common video group may be randomly or sequentially selected from the first or more common video groups as the fifth common video group. Then, a first predetermined number of unread videos may be randomly or sequentially selected from the fifth common video group as the fourth video, and a second predetermined number of unread videos may be selected from the hot video group as the fifth video. The fourth video, the fifth video, and the third group number information corresponding to the fifth common video group are then provided to the user device. The user device will save the third group number information locally. The next time the user device makes a video acquisition request for the target application, it will include the third group number information saved locally in the video acquisition request.
[0044] In some embodiments, the method further includes: selecting a fourth predetermined number of videos from the video library of the network device, and dividing the multiple videos into one or more ordinary video groups according to predetermined group number information. In some embodiments, a fourth predetermined number (e.g., 1000) of videos can be manually selected from the video library, or a fourth predetermined number of videos can be randomly selected from the video library, or a fourth predetermined number of videos that meet predetermined conditions can be automatically selected from the video library, for example, automatically selecting a fourth predetermined number of recently published videos from the video library. In some embodiments, the multiple videos are divided into one or more (e.g., 10) ordinary video groups according to predetermined group number information (e.g., 10 groups), with each ordinary video group including the same number (e.g., 100) of videos. In some embodiments, the predetermined group number information is configurable and dynamic, with the aim of ensuring that the number of videos in each ordinary video group is the same and appropriate.
[0045] In some embodiments, the method further includes: for a target ordinary video group within the one or more ordinary video groups, if the video read status of the target ordinary video group meets a second predetermined condition, removing videos from the target ordinary video group, re-selecting one or more new videos, and adding the one or more new videos to the target ordinary video group. In some embodiments, for a target ordinary video group within the one or more ordinary video groups, if the video read status of the target ordinary video group meets the second predetermined condition, removing all videos from the target ordinary video group, or removing all read videos from the target ordinary video group, or removing videos from the target ordinary video group whose read count is greater than or equal to a predetermined number threshold, or whose read user count is greater than or equal to a predetermined number threshold, or whose read duration is greater than or equal to a predetermined duration threshold, and then re-selecting one or more new videos and adding the one or more new videos to the target ordinary video group. In some embodiments, the second predetermined condition may be that the number of read videos in the target ordinary video group is greater than or equal to a predetermined number threshold, or it may be that the ratio of the number of read videos in the target ordinary video group to the total number of videos in the target ordinary video group is greater than or equal to a predetermined ratio threshold, or it may be that the total number of reads of all videos in the target ordinary video group is greater than or equal to a predetermined number threshold, or the total number of read users is greater than or equal to a predetermined number threshold, or the total read duration is greater than or equal to a predetermined duration threshold.
[0046] In some embodiments, the method further includes: determining a sixth predetermined number of highly popular videos from the at least one video based on video tagging information and / or user data information corresponding to at least one video in the video library, and grouping the multiple highly popular videos as the highly popular video group. In some embodiments, if a video in the video library is manually marked as highly popular, the video can be designated as a highly popular video; or, if a network device marks a video as highly popular after identifying its content, the video can be designated as a highly popular video; or, for a video, the network device performs data analysis on the user data information of the video and determines whether the video is a highly popular video based on the analysis results, wherein the user data information includes, but is not limited to, the number of likes, favorites, shares, and playback duration of the video. In some embodiments, one or more highly popular videos are determined based on video tagging information and / or user data information corresponding to at least one video in the video library, and a sixth predetermined number of highly popular videos are manually selected from the one or more highly popular videos; or, the one or more highly popular videos are ranked according to their respective popularity, and a sixth predetermined number of highly popular videos with the highest ranking are automatically selected, and then the multiple highly popular videos are grouped as the highly popular video group.
[0047] In some embodiments, the method further includes: if the video read status of at least one hot video in the hot video group meets a third predetermined condition, removing the at least one hot video from the hot video group, re-identifying one or more new hot videos, and adding the one or more new hot videos to the hot video group. In some embodiments, if the video read status of at least one hot video in the hot video group meets a third predetermined condition, removing the at least one hot video from the hot video group, and re-selecting one or more new hot videos, adding the one or more new hot videos to the hot video group, wherein the third predetermined condition includes, but is not limited to, the total number of reads of the at least one hot video being greater than or equal to a predetermined number threshold, the total number of read users being greater than or equal to a predetermined quantity threshold, and the total read duration being greater than or equal to a predetermined duration threshold.
[0048] In some embodiments, removing the at least one hot video from the hot video group if the video read status of at least one hot video in the hot video group meets a third predetermined condition includes: removing the at least one hot video from the hot video group if the video read status of at least one hot video in the hot video group meets the third predetermined condition and the number of the at least one hot video meets a fourth predetermined condition. In some embodiments, the at least one hot video will only be removed from the hot video group if the video read status of at least one hot video in the hot video group meets the third predetermined condition and the number of the at least one hot video meets a fourth predetermined condition, wherein the fourth predetermined condition includes, but is not limited to, the number of the at least one hot video being greater than or equal to a predetermined number threshold, and the ratio of the number of the at least one hot video to the total number of videos in the hot video group being greater than or equal to a predetermined ratio threshold.
[0049] Figure 2 This diagram illustrates a network device structure for providing video according to an embodiment of this application. The device includes a first module 11, a second module 12, and a third module 13. The first module 11 is configured to receive a video acquisition request for a target application sent by a user device, and determine whether the video acquisition request is the first time it has been sent after the target application has been newly opened on the user device, wherein the video acquisition request includes first group number information. The second module 12 is configured to, if yes, use the first group number information to extract a first predetermined number of unread videos from one or more ordinary video groups as a first video, and extract a second predetermined number of unread videos from a popular video group as a second video, and provide the first video and the second video to the user device. The third module 13 is configured to, otherwise, use the first group number information to extract a third predetermined number of unread videos from the one or more ordinary video groups as a third video, and provide the third video to the user device, wherein the sum of the first predetermined number and the second predetermined number is equal to the third predetermined number.
[0050] Module 11 is configured to receive a video acquisition request for a target application sent by a user equipment, and determine whether the video acquisition request is the first one sent after the target application is newly opened on the user equipment. The video acquisition request includes a first group of identification information. In some embodiments, the target application includes, but is not limited to, short video applications, long video applications, and other video display applications. In some embodiments, the user equipment initiates a video acquisition request for the target application to the network device in response to the user newly opening the target application; or, the user equipment initiates a video acquisition request for the target application to the network device in response to a refresh operation (e.g., swipe down) or a browse-more operation (e.g., swipe up) performed by the user in the target application. In some embodiments, the video acquisition request may include identification information indicating whether the video acquisition request is the first one sent after the user newly opens the target application on the user equipment. The network device can determine whether the video acquisition request is the first one sent after the user newly opens the target application based on this identification information. In some embodiments, when a user device sends a video retrieval request for a target application, the network device retrieves one or more videos from a target ordinary video group within one or more ordinary video groups and provides these videos (e.g., video files or video playback addresses) to the user device. The user device locally stores the group number information (i.e., the first group number information) of the target ordinary video group. Each ordinary video group in the network device corresponds to a unique group number information, and each group number information can uniquely identify an ordinary video group. In some embodiments, when the user device sends a video retrieval request for a target application, it includes the locally stored group number information (i.e., the first group number information) of the target ordinary video group in the video retrieval request.
[0051] Module 12 is configured to, if applicable, retrieve a first predetermined number of unread videos from one or more ordinary video groups as the first video, and retrieve a second predetermined number of unread videos from a popular video group as the second video, based on the first group number information, and provide the first video and the second video to the user equipment. In some embodiments, if the video retrieval request is sent for the first time after the target application is newly opened on the user equipment, a first predetermined number (e.g., 6) of unread videos can be directly retrieved from the first ordinary video group corresponding to the first group number information as the first video, based on the first group number information. Here, "unread video" as used herein and hereinafter refers to a video that is unread by the user corresponding to the user equipment that sent the video retrieval request. In some embodiments, a first number of unread videos can be extracted from the first ordinary video group corresponding to the first group number information, and a second number of unread videos can be extracted from other ordinary video groups according to a preset ratio. The first number of unread videos and the second number of unread videos are then used as the first video. The ratio of the first number to the second number is the preset ratio, and the sum of the first number and the second number equals a first predetermined number. The preset ratio is typically greater than 1, meaning the first number is typically greater than the second number. In some embodiments, a second predetermined number (e.g., 1) of unread videos can also be extracted from the high-popularity video group as the second video. The second predetermined number is typically less than the first predetermined number. In some embodiments, the network device may contain one or more ordinary video groups and high-popularity video groups. Each ordinary video group includes multiple videos, and each high-popularity video group includes multiple high-popularity videos (e.g., recommended videos, videos with high popularity, etc.). In some embodiments, the first video and the second video are provided to the user device, for example, by providing the video files or video playback addresses of the first and second videos to the user device.
[0052] Module 13 is configured such that, otherwise, the network device, based on the first group number information, retrieves a third predetermined number of unread videos from the one or more ordinary video groups as a third video, and provides the third video to the user device, wherein the sum of the first predetermined number and the second predetermined number equals the third predetermined number. In some embodiments, if the video retrieval request is not sent for the first time after the target application is newly opened on the user device, then based on the first group number information, a third predetermined number (e.g., 7) of unread videos can be directly retrieved from the first ordinary video group corresponding to the first group number information as the third video, and provided to the user device, wherein the third predetermined number is the sum of the first predetermined number and the second predetermined number. In some embodiments, a third number of unread videos can be extracted from the first ordinary video group corresponding to the first group number information, and a fourth number of unread videos can be extracted from other ordinary video groups according to a preset ratio. The third and fourth number of unread videos are then used as the third video. The ratio of the third to the fourth number is the preset ratio, and the sum of the third and fourth numbers equals the third predetermined number. This preset ratio is typically greater than 1, meaning the third number is usually greater than the fourth number. This application, by comparing videos under similar exposure scenarios, can predict which videos are more popular with users, thereby improving the accuracy and efficiency of video delivery and enhancing the user's video experience.
[0053] In some embodiments, retrieving a first predetermined number of unread videos from one or more ordinary video groups as the first video based on the first group number information includes: determining whether the number of unread videos in the first ordinary video group corresponding to the first group number information meets the first predetermined number; if so, retrieving the first predetermined number of unread videos from the first ordinary video group as the first video; otherwise, retrieving a fourth number of unread videos from the first ordinary video group, determining a second ordinary video group from the remaining unread ordinary video groups, retrieving a fifth number of unread videos from the second ordinary video group, and using the fourth number of unread videos and the fifth number of unread videos as the first video, wherein the sum of the fourth number and the fifth number is equal to the first predetermined number. Here, the related operations are... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0054] In some embodiments, the device is further configured to: provide the user equipment with the second group number information corresponding to the second ordinary video group. Here, the related operations are... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0055] In some embodiments, determining the second ordinary video group from the remaining unread ordinary video groups includes: selecting the most recently updated ordinary video group from the remaining unread ordinary video groups as the second ordinary video group. Here, the related operations are... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0056] In some embodiments, the device is further configured to: if there are no remaining unread ordinary video groups, determine a third ordinary video group from the remaining read ordinary video groups, extract the fifth number of read videos from the third ordinary video group, and use the fourth number of unread videos and the fifth number of read videos as the first video. Here, the related operations are... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0057] In some embodiments, determining the third ordinary video group from the remaining read ordinary video groups includes: selecting the ordinary video group with the fewest read users among the remaining read ordinary video groups as the third ordinary video group. Here, the related operations are... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0058] In some embodiments, the device is further configured to: if there are no remaining unread ordinary video groups, remove videos from at least one ordinary video group, and add at least one new video from the network device's video library to the at least one ordinary video group; retrieve the fifth number of unread videos from a fourth ordinary video group within the at least one ordinary video group, and use the fourth number of unread videos and the fifth number of unread videos as the first video. Here, the related operations are... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0059] In some embodiments, removing videos from at least one ordinary video group includes: determining at least one ordinary video group among the one or more ordinary video groups, and removing videos from the at least one ordinary video group, wherein the read status of the videos corresponding to the at least one ordinary video group satisfies a first predetermined condition. Here, the related operations are... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0060] In some embodiments, the device is further configured to: if there are no unread videos in the high-profile video group, extract the second predetermined number of read videos with the fewest corresponding read users from the high-profile video group as the second video. Here, the related operations are... Figure 1The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0061] In some embodiments, the first and second modules 12 are configured to: if yes, determine whether there are unread videos in the high-profile video group; if yes, according to the first group number information, extract a first predetermined number of unread videos from one or more ordinary video groups as the first video, extract a second predetermined number of unread videos from the high-profile video group as the second video, and provide the first video and the second video to the user device; otherwise, according to the first group number information, extract a third predetermined number of unread videos from the one or more ordinary video groups as the first video, and provide the first video to the user device. Here, the related operations are... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0062] In some embodiments, the device is further configured to: if there are no unread videos in the high-profile video group, remove the videos from the high-profile video group and add at least one new high-profile video from the network device's video library to the high-profile video group. Here, the related operations are... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0063] In some embodiments, the device is further configured to: if the video acquisition request is the first time it is sent after the target application is installed or upgraded on the user device, determine a fifth ordinary video group from the one or more ordinary video groups, extract the first predetermined number of unread videos from the fifth ordinary video group as the fourth video, extract the second predetermined number of unread videos from the high-profile video group as the fifth video, and provide the fourth video, the fifth video, and the third group number information corresponding to the fifth ordinary video group to the user device. Here, the related operations are similar to... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0064] In some embodiments, the device is further configured to: filter out a fourth predetermined number of videos from the video library of the network device, and divide the multiple videos into one or more ordinary video groups according to predetermined group number information. Here, the related operations are... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0065] In some embodiments, the device is further configured to: for a target ordinary video group in the one or more ordinary video groups, if the video read status corresponding to the target ordinary video group meets a second predetermined condition, remove the video in the target ordinary video group, re-select one or more new videos, and add the one or more new videos to the target ordinary video group. Here, the related operations are... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0066] In some embodiments, the device is further configured to: determine a sixth predetermined number of highly popular videos from the at least one video based on video tagging information and / or user data information corresponding to at least one video in the video library, and group the multiple highly popular videos as the highly popular video group. Here, the related operations are... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0067] In some embodiments, the device is further configured to: if the video read status corresponding to at least one high-heat video in the high-heat video group meets a third predetermined condition, remove the at least one high-heat video from the high-heat video group, re-determine one or more new high-heat videos, and add the one or more new high-heat videos to the high-heat video group. Here, the related operations are... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0068] In some embodiments, removing the at least one high-profile video from the high-profile video group if the video read status of at least one high-profile video in the high-profile video group meets a third predetermined condition includes: removing the at least one high-profile video from the high-profile video group if the video read status of at least one high-profile video in the high-profile video group meets the third predetermined condition and the number of the at least one high-profile video meets a fourth predetermined condition. Here, the related operations are similar to... Figure 1 The embodiments shown are the same or similar, so they will not be described again, but are included here by reference.
[0069] Figure 3 A flowchart illustrating a method for providing video according to an embodiment of this application is shown.
[0070] like Figure 3As shown, the server pre-groups the videos in the video library into one or more ordinary video groups, each of which includes multiple videos. Subsequently, after the server receives a video acquisition request sent by a user device, it determines whether there is already a group number in the video acquisition request. If there is no group number, it randomly selects a group from the one or more ordinary video groups, records this group for the user of the user device, and sequentially selects several unread videos from this group. If there is already a group number, it selects several unread videos from the group corresponding to this group number. Then, it determines whether the number of selected unread videos is sufficient. If the number of unread videos in the group meets n, it sends the n videos in this group and the group number of this group to the user device. If there are only m (m < n) unread videos in the group, it randomly selects a new group from at least one of the remaining ordinary video groups other than this group and selects a (a = n - m) unread videos from this new group to supplement the n unread videos, and sends the n videos in this group and the new group and the group number of this new group to the user device.
[0071] In addition to the methods and devices described in the above embodiments, the present application also provides a computer-readable storage medium, which stores computer code. When the computer code is executed, the method described in any previous item is executed.
[0072] The present application also provides a computer program product. When the computer program product is executed by a computer device, the method described in any previous item is executed.
[0073] The present application also provides a computer device, which includes:
[0074] One or more processors;
[0075] A memory for storing one or more computer programs;
[0076] When the one or more computer programs are executed by the one or more processors, the one or more processors are caused to implement the method described in any previous item.
[0077] Figure 4 Illustrates an exemplary system that can be used to implement the various embodiments described in the present application;
[0078] Such as Figure 4As shown in some embodiments, system 300 can function as any of the devices described in each of the embodiments. In some embodiments, system 300 may include one or more computer-readable media having instructions (e.g., system memory or NVM / storage device 320) and one or more processors (e.g., one or more processors 305) coupled to the one or more computer-readable media and configured to execute the instructions to implement the module and thus perform the actions described in this application.
[0079] In one embodiment, the system control module 310 may include any suitable interface controller to provide any suitable interface to at least one of the processors 305 and / or any suitable device or component communicating with the system control module 310.
[0080] The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. The memory controller module 330 may be a hardware module, a software module, and / or a firmware module.
[0081] System memory 315 can be used, for example, to load and store data and / or instructions for system 300. In one embodiment, system memory 315 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, system memory 315 may include double data rate type quad synchronous dynamic random access memory (DDR4 SDRAM).
[0082] In one embodiment, the system control module 310 may include one or more input / output (I / O) controllers to provide interfaces to the NVM / storage device 320 and (one or more) communication interfaces 325.
[0083] For example, NVM / storage device 320 may be used to store data and / or instructions. NVM / storage device 320 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable (one or more) non-volatile storage devices (e.g., one or more hard disk drives (HDDs), one or more optical disc drives (CDs), and / or one or more digital universal optical disc (DVD) drives).
[0084] NVM / storage device 320 may include storage resources that are physically part of a device on which system 300 is mounted, or that can be accessed by the device without necessarily being part of it. For example, NVM / storage device 320 may be accessed via a network through one or more communication interfaces 325.
[0085] One or more communication interfaces 325 may provide the system 300 with an interface to communicate over one or more networks and / or with any other suitable device. The system 300 may wirelessly communicate with one or more components of a wireless network in accordance with any of one or more wireless network standards and / or protocols.
[0086] In one embodiment, at least one of the processors 305 may be logically packaged with one or more controllers of the system control module 310 (e.g., memory controller module 330). In one embodiment, at least one of the processors 305 may be logically packaged with one or more controllers of the system control module 310 to form a system-in-package (SiP). In one embodiment, at least one of the processors 305 may be integrated with the logic of one or more controllers of the system control module 310 on the same die. In one embodiment, at least one of the processors 305 may be integrated with the logic of one or more controllers of the system control module 310 on the same die to form a system-on-a-chip (SoC).
[0087] In various embodiments, system 300 may be, but is not limited to, a server, workstation, desktop computing device, or mobile computing device (e.g., laptop computing device, handheld computing device, tablet computer, netbook, etc.). In various embodiments, system 300 may have more or fewer components and / or different architectures. For example, in some embodiments, system 300 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touchscreen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.
[0088] It should be noted that this application can be implemented in software and / or a combination of software and hardware, for example, using an application-specific integrated circuit (ASIC), a general-purpose computer, or any other similar hardware device. In one embodiment, the software program of this application can be executed by a processor to implement the steps or functions described above. Similarly, the software program of this application (including related data structures) can be stored in a computer-readable recording medium, such as RAM memory, magnetic or optical drives, floppy disks, and similar devices. Furthermore, some steps or functions of this application can be implemented in hardware, for example, as circuitry that cooperates with a processor to perform the various steps or functions.
[0089] Furthermore, a portion of this application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to this application through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0090] Communication media include media through which communication signals containing, for example, computer-readable instructions, data structures, program modules, or other data are transmitted from one system to another. Communication media can include guided transmission media (such as cables and wires (e.g., optical fibers, coaxial cables, etc.)) and wireless (unguided transmission) media capable of propagating energy waves, such as sound, electromagnetic, RF, microwave, and infrared. Computer-readable instructions, data structures, program modules, or other data can be embodied as modulated data signals in, for example, wireless media (such as carrier waves or similar mechanisms embodied as part of spread spectrum technology). The term "modulated data signal" refers to a signal whose one or more characteristics are altered or set in a manner that encodes information in the signal. Modulation can be analog, digital, or a hybrid modulation technique.
[0091] By way of example and not limitation, computer-readable storage media may include volatile and non-volatile, removable and non-removable media implemented by any method or technique for storing information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memories such as random access memory (RAM, DRAM, SRAM); and non-volatile memories such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic / ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, magnetic tapes, CDs, DVDs); or other media now known or hereafter developed capable of storing computer-readable information / data for use by a computer system.
[0092] Herein, one embodiment of this application includes an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the apparatus is triggered to run a method and / or technical solution based on the foregoing embodiments of this application.
[0093] It will be apparent to those skilled in the art that this application is not limited to the details of the exemplary embodiments described above, and that this application can be implemented in other specific forms without departing from the spirit or essential characteristics of this application. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of this application is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be embraced within this application. No reference numerals in the claims should be construed as limiting the scope of the claims. Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices recited in the apparatus claims may also be implemented by a single unit or device in software or hardware. The terms "first," "second," etc., are used to indicate names and do not indicate any particular order.
Claims
1. A method for providing video, applied to a network device, wherein, The method includes: The network device receives a video acquisition request for a target application sent by a user device, and determines whether the video acquisition request is the first one sent after the target application is newly opened on the user device. The video acquisition request includes a first group number information, which is the group number information of one or more target ordinary video groups corresponding to the video sent by the network device based on the video acquisition request for the target application sent by the user device in the previous time. If so, according to the first group number information, a first predetermined number of unread videos are taken from multiple ordinary video groups as the first video, and a second predetermined number of unread videos are taken from the hot video group as the second video. The first video and the second video are provided to the user device. The first video includes unread videos in the first ordinary video group corresponding to the first group number information. Each ordinary video group includes multiple videos, and each hot video group includes multiple hot videos. Otherwise, based on the first group number information, a third predetermined number of unread videos are taken from the plurality of ordinary video groups as the third video, and the third video is provided to the user device, wherein the sum of the first predetermined number and the second predetermined number is equal to the third predetermined number; The step of retrieving a first predetermined number of unread videos from multiple ordinary video groups as the first video based on the first group number information includes: Determine whether the number of unread videos in the first ordinary video group corresponding to the first group number information meets the first predetermined number from multiple ordinary video groups; If yes, take the first predetermined number of unread videos from the first ordinary video group as the first video; otherwise, take the fourth number of unread videos from the first ordinary video group, determine the second ordinary video group from the remaining unread ordinary video groups, take the fifth number of unread videos from the second ordinary video group, and take the fourth number of unread videos and the fifth number of unread videos as the first video, wherein the sum of the fourth number and the fifth number is equal to the first predetermined number.
2. The method according to claim 1, wherein, The method further includes: The second group number information corresponding to the second ordinary video group is provided to the user equipment.
3. The method according to claim 1, wherein, The step of determining the second ordinary video group from the remaining unread ordinary video groups includes: The most recently updated regular video group among the remaining unread regular video groups will be designated as the second regular video group.
4. The method according to claim 1, wherein, The method further includes: If there are no remaining unread ordinary video groups, determine a third ordinary video group from the remaining read ordinary video groups, take the fifth number of read videos from the third ordinary video group, and use the fourth number of unread videos and the fifth number of read videos as the first video.
5. The method according to claim 4, wherein, The step of determining the third ordinary video group from the remaining read ordinary video groups includes: The group with the fewest read users among the remaining regular video groups will be designated as the third regular video group.
6. The method according to claim 1, wherein, The method further includes: If there are no remaining unread ordinary video groups, remove videos from at least one ordinary video group and add at least one new video from the video library of the network device to the at least one ordinary video group. Take the fifth number of unread videos from the fourth ordinary video group in the at least one ordinary video group, and use the fourth number of unread videos and the fifth number of unread videos as the first video.
7. The method according to claim 6, wherein, The removal of videos from at least one group of regular videos includes: At least one ordinary video group is determined from the plurality of ordinary video groups, and videos in the at least one ordinary video group are removed, wherein the read status of the videos corresponding to the at least one ordinary video group satisfies a first predetermined condition.
8. The method according to claim 1, wherein, The method further includes: If there are no unread videos in the high-popularity video group, the second predetermined number of read videos with the fewest read users are selected from the high-popularity video group as the second video.
9. The method according to claim 1, wherein, If so, according to the first group number information, a first predetermined number of unread videos are taken from multiple ordinary video groups as the first video, and a second predetermined number of unread videos are taken from the popular video groups as the second video, and the first video and the second video are provided to the user device, including: If so, determine whether there are any unread videos in the high-profile video group; If so, based on the first group number information, a first predetermined number of unread videos are taken from multiple ordinary video groups as the first video, and a second predetermined number of unread videos are taken from the popular video groups as the second video, and the first video and the second video are provided to the user device; Otherwise, based on the first group number information, a third predetermined number of unread videos are taken from the plurality of ordinary video groups as the first video, and the first video is provided to the user device.
10. The method according to claim 1, wherein, The method further includes: If there are no unread videos in the high-profile video group, remove the videos from the high-profile video group and add at least one new high-profile video from the network device's video library to the high-profile video group.
11. The method according to claim 1, wherein, The method further includes: If the video acquisition request is sent for the first time after the target application is installed or upgraded on the user device, a fifth ordinary video group is determined from the plurality of ordinary video groups, the first predetermined number of unread videos are taken from the fifth ordinary video group as the fourth video, the second predetermined number of unread videos are taken from the hot video group as the fifth video, and the third group number information corresponding to the fourth video, the fifth video, and the fifth ordinary video group is provided to the user device.
12. The method according to claim 1, wherein, The method further includes: A fourth predetermined number of videos are selected from the video library of the network device, and the videos are divided into the multiple ordinary video groups according to the predetermined group number information.
13. The method according to claim 12, wherein, The method further includes: For a target ordinary video group among the plurality of ordinary video groups, if the video read status of the target ordinary video group meets the second predetermined condition, the video in the target ordinary video group is removed, one or more new videos are re-selected, and the one or more new videos are added to the target ordinary video group.
14. The method according to claim 1, wherein, The method further includes: Based on the video tagging information and / or user data information corresponding to at least one video in the video library, a sixth predetermined number of multiple high-profile videos are determined from the at least one video, and the multiple high-profile videos are taken as the high-profile video group.
15. The method according to claim 14, wherein, The method further includes: If the video read status of at least one of the high-profile videos in the high-profile video group meets the third predetermined condition, the at least one high-profile video is removed from the high-profile video group, one or more new high-profile videos are re-determined, and the one or more new high-profile videos are added to the high-profile video group.
16. The method according to claim 15, wherein, If the video read status of at least one high-profile video in the high-profile video group meets a third predetermined condition, removing the at least one high-profile video from the high-profile video group includes: If the video read status of at least one high-profile video in the high-profile video group meets a third predetermined condition, and the number of the at least one high-profile video meets a fourth predetermined condition, then the at least one high-profile video is removed from the high-profile video group.
17. A computer device for providing video, comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the method as described in any one of claims 1 to 16.
18. A computer-readable storage medium having a computer program / instructions stored thereon, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method as described in any one of claims 1 to 16.
19. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the method as described in any one of claims 1 to 16.
Citation Information
Patent Citations
Video recommendation method, electronic equipment and computer readable storage medium
CN112100441A