Method and device for providing video, medium and program product
A technology of user equipment and video, applied in the field of communication, can solve the problems of occupying large server resources, different exposures, and difficulty in short videos, etc., to achieve the effect of improving the delivery accuracy and delivery efficiency, and improving the video experience
Pending Publication Date: 2022-05-27
SHANGHAI LIANSHANG NETWORK TECHNOLOGY CO LTD
0 Cites 0 Cited by
AI-Extracted Technical Summary
Problems solved by technology
[0002] In daily life, users usually spend a lot of time browsing short video apps, but it is not easy to make short videos well. When thousands of videos are taken out from the video library, it is not known which one...
Method used
One-three module 13, for otherwise, network equipment, according to described first group number information, takes out the unread video of the 3rd predetermined quantity from described one or more common video groups as the 3rd video, and all The third video is provided to the user equipment, wherein the sum of the first predetermined amount and the second predetermined amount is equal to the third predetermined amount. 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 equipment, according to the first group number information, the corresponding Take out a third predetermined number (for example, 7) of unread videos from the first common video group as the third video, and provide the third video to the user equipment, wherein the third predetermined number is the first predetermined number and the second predetermined number sum of quantities. In so...
Abstract
The invention aims to provide a method and device for providing a video, a medium and a program product, and the method comprises the steps: receiving a video obtaining request which is sent by user equipment and is related to a target application, determining whether the video obtaining request is sent for the first time after the target application is newly opened on the user equipment, the video acquisition request comprises first group number information; if yes, according to the first group number information, a first preset number of unread videos are extracted from one or more common video groups to serve as first videos, a second preset number of unread videos are extracted from a high-heat video group to serve as second videos, and the first videos and the second videos are provided for the user equipment; and otherwise, according to the first group number information, extracting a third predetermined number of unread videos from the one or more common video groups as third videos, and providing the third videos to the user equipment.
Application Domain
Video data browsing/visualisationSpecial data processing applications
Technology Topic
EngineeringUser device +1
Image
Examples
- Experimental program(1)
Example Embodiment
[0022] The present application will be described in further detail below with reference to the accompanying drawings.
[0023] In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party all include one or more processors (for example, a central processing unit (CPU)), an input/output interface, a network interface, and Memory.
[0024] The memory may include non-persistent memory in computer readable media, random access memory (Random Access Memory, RAM) and/or non-volatile memory, such as read only memory (Read Only Memory, ROM) or flash memory (Flash). Memory). Memory is an example of a computer-readable medium.
[0025] Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (Phase-Change Memory, PCM), programmable random access memory (Programmable Random Access Memory, PRAM), static random access memory (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 (Electrically-Erasable Programmable Read- Only Memory (EEPROM), flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape-disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed 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 terminal includes but is not limited to any mobile electronic product that can perform human-computer interaction with the user (for example, human-computer interaction through a touchpad), such as a smart phone, a tablet computer, etc., and the mobile electronic product can use any operating system. , such as Android operating system, iOS operating system, etc. The network device includes an electronic device that can automatically perform numerical calculation and information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (ASICs) ), Programmable Logic Device (PLD), Field Programmable Gate Array (Field Programmable Gate Array, FPGA), Digital Signal Processor (Digital Signal Processor, DSP), embedded devices, etc. The network device includes, but is not limited to, a computer, a network host, a single network server, multiple network server sets, or a cloud composed of multiple servers; here, the cloud is composed of a large number of computers or network servers based on cloud computing, Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computer sets. The network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like. Preferably, the device may also be a program running on the terminal, a network device, or a device formed by a terminal and a network device, a network device, a touch terminal, or a network device and a touch terminal integrated through a network.
[0027] Of course, those skilled in the art should understand that the above-mentioned devices are only examples, and other existing or possible devices that may appear in the future, if applicable to this application, should also be included within the protection scope of this application, and are included in this application by reference. this.
[0028] In the description of this application, "plurality" means two or more, unless expressly and specifically defined otherwise.
[0029] figure 1 A flowchart of a method for providing video according to an embodiment of the present application is shown, and the method includes step S11, step S12 and step S13. In step S11, the network device receives a video acquisition request about the target application sent by the user equipment, and determines whether the video acquisition request is sent for the first time after the target application is newly opened on the user equipment, wherein the The video acquisition request includes first group number information; in step S12, if yes, the network device takes out a first predetermined number of unread videos from one or more common video groups as the first video according to the first group number information , take out a second predetermined number of unread videos from the hot video group as the second video, and provide the first video and the second video to the user equipment; in step S13, otherwise, the network device will the first group number information, take out a third predetermined number of unread videos from the one or more common video groups as the third video, and provide the third video to the user equipment, wherein the third video is The sum of a 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 about the target application sent by the user equipment, and determines whether the video acquisition request is sent for the first time after the target application is newly opened on the user equipment, wherein the The video acquisition request includes first group number information. In some embodiments, target applications include but are not limited to short video applications, long video applications and other video presentation applications. In some embodiments, in response to the user newly opening the target application, the user equipment initiates a video acquisition request for the target application to the network device, or the user equipment responds to a refresh operation (eg, a swipe operation) performed by the user in the target application, Browse more operations (eg, swipe up) and other video acquisition operations, and initiate a video acquisition request for the target application to the network device. In some embodiments, the video acquisition request will include identification information of whether the video acquisition request is a video acquisition request sent for the first time after the user newly opens the target application on the user equipment, and the network device can determine the video acquisition request according to the identification information. Whether the obtaining request is sent for the first time after the target application is newly opened on the user equipment. In some embodiments, when the user equipment sends a video acquisition request for the target application last time, the network device will take out one or more videos from the target common video group in the one or more common video groups, and retrieve the one or more videos from the target common video group. Multiple videos (for example, video files or video playback addresses) are provided to the user equipment, and the user equipment will locally save the group number information (that is, the first group number information) of the target common video group. A group corresponds to a unique group number information, and each group number information can uniquely identify a common video group. In some embodiments, when the user equipment currently sends a video acquisition request for a target application, it will include the locally stored group number information (ie, the first group number information) of the target ordinary video group in the video acquisition request. middle.
[0031] In step S12, if yes, the network device takes out, according to the first group number information, a first predetermined number of unread videos from one or more common video groups as the first video, and takes out a second predetermined number of unread videos from the hot video group The number of unread videos is used as a second video, and the first video and the second video are provided to the user equipment. In some embodiments, if the video acquisition request is sent for the first time after the target application is newly opened on the user equipment, according to the first group number information, the first group number information corresponding to the first group number information can be directly Take out a first predetermined number (for example, 6) of unread videos from the ordinary video group as the first video, here, here and below “unread videos” all refer to the corresponding correspondence of the video to the user equipment that sends the video acquisition request. is unread by the user. In some embodiments, according to a preset ratio, a first number of unread videos may be extracted from the first ordinary video group corresponding to the first group number information, and a second number of unread videos may be extracted from other ordinary video groups. Unread videos, then the first number of unread videos and the second number of unread videos are regarded as the first videos, wherein the ratio of the first number to the second number is the preset ratio, and the first number The sum with the second quantity is equal to the first predetermined quantity, and the predetermined ratio is usually greater than 1, that is, the first quantity is usually greater than the second quantity. In some embodiments, a second predetermined number (eg, 1) of unread videos are also taken from the hot video group as the second video, where the second predetermined number is generally smaller than the first predetermined number. In some embodiments, there may be one or more common video groups and hot video groups in the network device, each common video group includes a plurality of videos, and each hot video group includes a plurality of hot videos (for example, recommended videos , popular videos, etc.). In some embodiments, the first video and the second video are provided to the user equipment, for example, video files or video playback addresses of the first video and the second video are provided to the user equipment.
[0032] In step S13, otherwise, the network device takes out a third predetermined number of unread videos from the one or more common video groups as the third video according to the first group number information, and provides the third video To the user equipment, 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 equipment, then according to the first group number information, it can be directly obtained from the first group number information corresponding to the Taking a third predetermined number (for example, 7) of unread videos from the first common video group as the third video, and providing the third video to the user equipment, where the third predetermined number is the first predetermined number and the second predetermined number sum of numbers. In some embodiments, according to a preset ratio, 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. Unread videos, then the third number of unread videos and the fourth number of unread videos are taken as the third video, wherein the ratio of the third number to the fourth number is the preset ratio, and the third number The sum with the fourth quantity is equal to the third predetermined quantity, and the predetermined ratio is usually greater than 1, that is, the third quantity is usually greater than the fourth quantity. In the present application, by comparing videos in similar exposure scenarios, it is possible to know in advance which videos are more popular with users, thereby improving the delivery accuracy and delivery efficiency of videos, and improving the user's video experience.
[0033] In some embodiments, the taking out a first predetermined number of unread videos from one or more common video groups as the first video according to the first group number information includes: selecting from one or more common video groups Determine whether the number of unread videos in the first common video group corresponding to the first group number information meets a first predetermined number; if so, take out the first predetermined number of unread videos from the first common video group video as the first video; otherwise, take out the fourth number of unread videos from the first ordinary video group, determine the second ordinary video group in the remaining unread ordinary video group, and select the second ordinary video group from the second ordinary video group Take out the fifth number of unread videos from the , and take the fourth number of unread videos and the fifth number of unread videos as the first video, where the sum of the fourth number and the fifth number equal to the first predetermined amount. In some embodiments, it is necessary to first determine from one or more common video groups whether the number of unread videos in the first common video group corresponding to the first group number information is greater than or equal to the first predetermined number, and if so, from the first A first predetermined number of unread videos are taken out from a common video group as the first video. Here, the first predetermined number of unread videos may be randomly taken from all unread videos in the first common video group, or if If the videos in the first common video group are arranged in order, starting from the unread video in the first common video group, the first predetermined number of unread videos that are continuously arranged can be sequentially taken out. In some embodiments, if the number of unread videos in the first common video group corresponding to the first group number information is less than the first predetermined number, and a fourth number of unread videos remain in the first common video group, the number of unread videos in the first common video group is Take out all the remaining unread videos (that is, the fourth quantity) from a common video group, and then need to take out the fifth quantity of unread videos from the remaining unread one or more common video groups. Here, here and below "Unread common video group" means that there is at least one unread video in the common video group for the user corresponding to the user equipment that sent the video acquisition request. Randomly select one ordinary video group from the one or more ordinary video groups that have been read as the second ordinary video group, or, first randomly select one of the one or more ordinary video groups that remain unread. The number of the remaining unread videos is greater than or equal to The fifth number of ordinary video groups is used as the second ordinary video group, or, if one or more ordinary video groups in the network device are arranged in order, then the remaining unread one or more ordinary video groups can be ordered first. Select the first unread common video group after the first common video group as the second common video group, or, you can also sequentially select the first common video group from the remaining unread one or more common video groups. The first unread and remaining unread video groups after the video group are the normal video group whose number is greater than or equal to the fifth number as the second normal video group. In some embodiments, a fifth number of unread videos in the second ordinary video group are randomly or sequentially extracted, and the fourth number of unread videos in the first ordinary video group and the fourth number of unread videos in the second ordinary video group are Five numbers of unread videos are taken as the first videos, 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 second group number information corresponding to the second normal video group to the user equipment. In some embodiments, if the first video includes a fourth number of unread videos taken from the first general video group and a fifth number of unread videos taken from the second general video group, the The second group number information corresponding to the two ordinary video groups is provided to the user equipment, and the user equipment will save the second group number information locally. The second group number information is included in the video acquisition request. In some embodiments, if the first video only includes the first predetermined number of unread videos taken from the first ordinary video, the first group number information will be provided to the user equipment together with the first video.
[0035] In some embodiments, the determining of the second ordinary video group in the remaining unread ordinary video groups includes: taking a recently updated ordinary video group in the remaining unread ordinary video groups as the second ordinary video group. In some embodiments, the videos in a certain general video group will be updated regularly, for example, every predetermined time interval, all videos in a certain general video group are removed, or all videos in a certain general video group are removed. All read videos, or, remove all videos in a common video group whose number of readings is greater than or equal to a predetermined number of times threshold, or videos whose number of read users is greater than or equal to a predetermined number threshold, or whose reading duration is greater than or equal to video with a predetermined duration threshold, and then at least one new video in the video library is added to the common video group. In some embodiments, for a common video group, when the common video group satisfies a predetermined read condition, all videos in a common video group are removed, or all videos in a common video group are removed. For example, the read condition may be that the number of read videos in the common video group is greater than or equal to a predetermined number threshold, or, it may also be that the number of read videos in the common video group is similar to The ratio to the total number of videos in the common video group is greater than or equal to a predetermined proportion threshold, or, the total number of times read of all videos in the common video group may be greater than or equal to a predetermined number of times threshold or the total number of read users is greater than or equal to or equal to the predetermined number threshold or the total read duration is greater than or equal to the predetermined duration threshold.
[0036] In some embodiments, the method further includes: if there is no remaining unread common video group, determining a third common video group among the remaining read common video groups, and extracting the third common video group from the third common video group The fifth number of read videos is used, and the fourth number of unread videos and the fifth number of read videos are used as the first videos. In some embodiments, if there is no remaining unread common video group, one common video group may be randomly selected as the third common video group among the remaining unread common video groups, that is, other common videos except the first common video group The video group, or, if the one or more common video groups are arranged in order, the common video group that is ranked one after the first common video group in the one or more common video groups may be selected in sequence as the third common video group. Normal video group. In some embodiments, a fifth number of read videos are randomly or sequentially extracted from the third common video group, and then the fourth number of unread videos and the fifth number of read videos are taken as the first videos, Here, the "read video" here and below all means that the video has been read by the user corresponding to the user equipment that sends the video acquisition request.
[0037] In some embodiments, the determining the third common video group among the remaining read common video groups includes: taking the common video group with the least number of read users among the remaining read common video groups as the third common video group . In some embodiments, the common video group with the least number of read users corresponding to the remaining common video groups may be used as the third common video group, wherein the common video group with the least number of read users refers to the common video The total number of read users of all videos in the group is the smallest among the remaining normal video groups that have been read.
[0038]In some embodiments, the method further includes: if there is no remaining unread common video group, removing the video in at least one common video group, and supplementing at least one new video in the video library of the network device enter the at least one ordinary video group; take out the fifth number of unread videos from the fourth ordinary video group in the at least one ordinary video group, and combine the fourth number of unread videos and the Five number of unread videos as the first video. In some embodiments, if there is no remaining unread common video group, at least one common video group may be randomly selected or sequentially selected from the remaining unread common video groups, and the videos in the at least one common video group may be removed, At least one new video in the video library is added to the at least one common video group. In some embodiments, a general video group is randomly selected or sequentially selected from the at least one general video group as the fourth general video group, and a fifth number of unread unreads are randomly or sequentially taken out from the fourth general video group video, then take the fourth number of unread videos and the fifth number of unread videos as the first video.
[0039] In some embodiments, the removing a video in at least one common video group includes: determining at least one common video group from the one or more common video groups, and removing the video in the at least one common video group video, wherein the read status of the video corresponding to the at least one common video group satisfies the first predetermined condition. In some embodiments, at least one ordinary video group whose corresponding video read condition satisfies the first predetermined condition is determined from the remaining read ordinary video groups, and the videos in the at least one ordinary video group are removed, wherein the The first predetermined condition may be that the total number of read times of all videos in the common video group is greater than or equal to a predetermined number of times 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. , or, the common video group may also be a predetermined number of common video groups corresponding to the remaining read common video groups in which the total number of read times of all videos or the total number of read users or the total read duration is the largest.
[0040] In some embodiments, the method further includes: if there is no unread video in the hot video group, taking out the second predetermined number of read videos corresponding to the least number of read users from the hot video group as the second video. In some embodiments, if there is currently no unread video in the hot video group, a second predetermined number of read videos corresponding to the least number of read users may be taken from the hot video group as the second video.
[0041] In some embodiments, the step S12 includes: if yes, judging whether there is an unread video in the hot video group; if so, extracting the first video from one or more common video groups according to the first group number information A predetermined number of unread videos are taken as the first video, a second predetermined number of unread videos are taken from the hot video group as the second video, and the first video and the second video are provided to the user equipment; otherwise , according to the first group number information, take out the third predetermined number of unread videos from the one or more common video groups as the first video, and provide the first video to the user equipment. In some embodiments, if there is no unread video in the hot video group, the video may not be selected from the hot video group, but the first group number information may be changed to extract the first video from the one or more common video groups. Three predetermined numbers of unread videos are used as the first video, and only the first video is provided to the user equipment, wherein the third predetermined number is the sum of the first predetermined number and the second predetermined number, for example, from the first group number information A third predetermined number of unread videos are taken out from the corresponding first ordinary video group as the first video.
[0042] In some embodiments, the method further includes: if there is no unread video in the hot video group, removing the video in the hot video group, and adding at least one new video in the video library of the network device to a new one. Hot videos are supplemented into 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 may be removed, and at least one new hot video in the video library is added to the hot video group, and the video in the hot video group may be added after the update. A second predetermined number of unread videos are taken out from the hot video group as the second video.
[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 equipment, determining in the one or more common video groups The fifth ordinary video group, taking out the first predetermined number of unread videos from the fifth ordinary video group as the fourth video, and taking out the second predetermined number of unread videos from the hot video group as the fourth video. A fifth video, providing the user equipment with third group number information corresponding to the fourth video, the fifth video, and the fifth normal video group. In some embodiments, if the video acquisition request is a video acquisition request sent for the first time after the user installs or upgrades the target application or clears the data of the target application on the user equipment, then the video acquisition request does not include the first group of number information, or the first group number information included in the video acquisition request is a special value (for example, -1). In some embodiments, an ordinary video group may be randomly selected or sequentially selected from the first or more ordinary video groups as the fifth ordinary video group, and then the fifth ordinary video group may be randomly or sequentially selected from the fifth ordinary video group. A predetermined number of unread videos are taken as the fourth video, and a second predetermined number of unread videos are taken from the high-hot video group as the fifth video, and then the fourth video, the fifth video and the corresponding The third group number information is provided to the user equipment, and the user equipment will save the third group number information locally. The next time the user equipment makes a video acquisition request about the target application, the third group number information saved locally will include in this video fetch request.
[0044] In some embodiments, the method further includes: screening out a fourth predetermined number of multiple videos in the video library of the network device, and dividing the multiple videos into the one according to the predetermined group number information or multiple normal video groups. In some embodiments, a fourth predetermined number (for example, 1000) of multiple videos may be manually filtered out of the video library, or, a fourth predetermined number of multiple videos may also be randomly selected from the video library, or, It is also possible to automatically filter out a fourth predetermined number of videos that meet the predetermined condition in the video library, for example, automatically filter out a fourth predetermined number of videos recently released in the video library. In some embodiments, according to predetermined group number information (for example, 10 groups), the plurality of videos are divided into one or more (for example, 10) general video groups, and each general video includes the same number (for example, 10 groups). , 100) videos. In some embodiments, the predetermined group number information is configurable and dynamic in order to ensure that the number of videos in each common video group is the same and appropriate.
[0045] In some embodiments, the method further includes: for a target general video group in the one or more general video groups, if the read status of the video corresponding to the target general video group satisfies a second predetermined condition, removing the For the videos in the target general video group, one or more new videos are re-filtered, and the one or more new videos are supplemented into the target general video group. In some embodiments, for the target general video group in the one or more general video groups, if the video read status of the target general video group satisfies the second predetermined condition, remove all videos in the target general video group, or , remove all the read videos in the target ordinary video, or, remove all the videos in the target ordinary video that have been read more than or equal to the predetermined number of times threshold or the number of read users is greater than or equal to the predetermined number threshold. For videos whose read duration is greater than or equal to a predetermined duration threshold, one or more new videos will be re-screened, and the one or more new videos will be added to the target general video group. In some embodiments, the second predetermined condition may be that the number of read videos in the target general video group is greater than or equal to a predetermined number threshold, or, it may also be the number of read videos in the target general video group The ratio compared to the total number of videos in the target general video group is greater than or equal to a predetermined proportion threshold, or, it can also be that the total number of times read of all videos in the target general video group is greater than or equal to a predetermined number of times threshold or read The total number of 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 multiple hot spots in the at least one video according to video tag information and/or user data information corresponding to at least one video in the video library video, and the plurality of hot videos are used as the hot video group. In some embodiments, if a certain video in the video library is manually marked as a hot video, the video can be regarded as a hot video, or, if the network device identifies a video's video content and marks the video as a hot video video, the video can be regarded as a hot video, or, for a certain video, the network device determines whether the video is a hot video according to the analysis result by performing data analysis on the user data information of the video, wherein the user data information includes but It is not limited to data such as the number of likes, collections, reposts, and playback time of the video. In some embodiments, one or more popular videos are determined according to video tag information and/or user data information corresponding to at least one video in the video library, and a sixth predetermined video is manually selected from the one or more popular videos A number of multiple hot videos, or, the one or more hot videos are ranked according to their corresponding popularity, and the top sixth predetermined number of multiple hot videos are automatically screened, and then the multiple hot videos are used as Hot video group.
[0047] In some embodiments, the method further includes: if the read status of the video corresponding to at least one hot video in the hot video group satisfies a third predetermined condition, removing the at least one hot video from the hot video group video, re-determining one or more new hot videos, and adding the one or more new hot videos into the hot video group. In some embodiments, if the read status of the video corresponding to at least one hot video in the hot video group satisfies the third predetermined condition, the at least one hot video is removed from the hot video group, and one or more hot videos are re-screened. add the one or more new hot videos into the hot video group, wherein the third predetermined condition includes but is not limited to the total number of times read of the at least one hot video is greater than or equal to a predetermined number of times threshold , the total number of read users is greater than or equal to a predetermined number threshold, and the total read duration is greater than or equal to a predetermined duration threshold.
[0048] In some embodiments, if the read status of the video corresponding to at least one hot video in the hot video group satisfies a third predetermined condition, removing the at least one hot video from the hot video group includes: If the read status of the video corresponding to at least one hot video in the hot video group satisfies the third predetermined condition, and the number of the at least one hot video meets the fourth predetermined condition, remove the video from the hot video group At least one hot video. In some embodiments, only if the read status of the video corresponding to at least one hot video in the hot video group satisfies the third predetermined condition, and the number of the at least one hot video meets the fourth predetermined condition, the video will be removed from the hot video group. Except for the at least one hot video, wherein the fourth predetermined condition includes but is not limited to the number of the at least one hot video is greater than or equal to a predetermined number threshold, the ratio of the number of the at least one hot video to the total number of videos in the video hot group is greater than or equal to a predetermined proportional threshold.
[0049] figure 2 A structure diagram of a network device for providing video according to an embodiment of the present application is shown. The device includes a first module 11 , a second module 12 and a third module 13 . A module 11 is configured to receive a video acquisition request related to the target application sent by the user equipment, and determine whether the video acquisition request is sent for the first time after the target application is newly opened on the user equipment, wherein the The video acquisition request includes the first group number information; the first and second modules 12 are used for, if so, the network device to take out a first predetermined number of unread videos from one or more common video groups as the first group number information according to the first group number information. A video, taking a second predetermined number of unread videos from the high-hot video group as the second video, and providing the first video and the second video to the user equipment; a third module 13, for otherwise, The network device takes out a third predetermined number of unread videos from the one or more common video groups as the third video according to the first group number information, and provides the third video to the user equipment, wherein , the sum of the first predetermined number and the second predetermined number is equal to the third predetermined number.
[0050]A module 11 is configured to receive a video acquisition request related to the target application sent by the user equipment, and determine whether the video acquisition request is sent for the first time after the target application is newly opened on the user equipment, wherein the The video acquisition request includes first group number information. In some embodiments, the target applications include but are not limited to short video applications, long video applications and other video presentation 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 responds to a refresh operation (eg, a swipe operation) performed by the user in the target application, Browse more operations (for example, swipe up) and other video acquisition operations, and initiate a video acquisition request for the target application to the network device. In some embodiments, the video acquisition request will include identification information of whether the video acquisition request is a video acquisition request sent for the first time after the user newly opens the target application on the user equipment, and the network device can determine the video acquisition request according to the identification information. Whether the obtaining request is sent for the first time after the target application is newly opened on the user equipment. In some embodiments, when the user equipment sends a video acquisition request for the target application last time, the network device will take out one or more videos from the target common video group in the one or more common video groups, and retrieve the one or more videos from the target common video group. Multiple videos (for example, video files or video playback addresses) are provided to the user equipment, and the user equipment will locally save the group number information (that is, the first group number information) of the target common video group. A group corresponds to a unique group number information, and each group number information can uniquely identify a common video group. In some embodiments, when the user equipment currently sends a video acquisition request for a target application, it will include the locally stored group number information (ie, the first group number information) of the target ordinary video group in the video acquisition request. middle.
[0051] The first and second modules 12 are used for, if yes, the network device, according to the first group number information, to take out a first predetermined number of unread videos from one or more common video groups as the first video, and take out the first video from the hot video group. Two predetermined numbers of unread videos are used as the second video, and the first video and the second video are provided to the user equipment. In some embodiments, if the video acquisition request is sent for the first time after the target application is newly opened on the user equipment, according to the first group number information, the first group number information corresponding to the first group number information can be directly Take out a first predetermined number (for example, 6) of unread videos from the ordinary video group as the first video, here, here and below “unread videos” all refer to the corresponding correspondence of the video to the user equipment that sends the video acquisition request. is unread by the user. In some embodiments, according to a preset ratio, a first number of unread videos may be extracted from the first ordinary video group corresponding to the first group number information, and a second number of unread videos may be extracted from other ordinary video groups. Unread videos, then the first number of unread videos and the second number of unread videos are regarded as the first videos, wherein the ratio of the first number to the second number is the preset ratio, and the first number The sum with the second quantity is equal to the first predetermined quantity, and the predetermined ratio is usually greater than 1, that is, the first quantity is usually greater than the second quantity. In some embodiments, a second predetermined number (eg, 1) of unread videos are also taken from the hot video group as the second video, where the second predetermined number is generally smaller than the first predetermined number. In some embodiments, there may be one or more common video groups and hot video groups in the network device, each common video group includes a plurality of videos, and each hot video group includes a plurality of hot videos (for example, recommended videos , popular videos, etc.). In some embodiments, the first video and the second video are provided to the user equipment, for example, video files or video playback addresses of the first video and the second video are provided to the user equipment.
[0052] A third module 13, for otherwise, the network device takes out a third predetermined number of unread videos from the one or more common video groups as third videos according to the first group number information, and uses the third Video is provided to the user equipment, 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 equipment, then according to the first group number information, it can be directly obtained from the first group number information corresponding to the Taking a third predetermined number (for example, 7) of unread videos from the first common video group as the third video, and providing the third video to the user equipment, where the third predetermined number is the first predetermined number and the second predetermined number sum of numbers. In some embodiments, according to a preset ratio, 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. Unread videos, then the third number of unread videos and the fourth number of unread videos are taken as the third video, wherein the ratio of the third number to the fourth number is the preset ratio, and the third number The sum with the fourth quantity is equal to the third predetermined quantity, and the predetermined ratio is usually greater than 1, that is, the third quantity is usually greater than the fourth quantity. In the present application, by comparing videos in similar exposure scenarios, it is possible to know in advance which videos are more popular with users, thereby improving the delivery accuracy and delivery efficiency of videos, and improving the user's video experience.
[0053] In some embodiments, the taking out a first predetermined number of unread videos from one or more common video groups as the first video according to the first group number information includes: selecting from one or more common video groups Determine whether the number of unread videos in the first common video group corresponding to the first group number information meets a first predetermined number; if so, take out the first predetermined number of unread videos from the first common video group video as the first video; otherwise, take out the fourth number of unread videos from the first ordinary video group, determine the second ordinary video group in the remaining unread ordinary video group, and select the second ordinary video group from the second ordinary video group Take out the fifth number of unread videos from the , and take the fourth number of unread videos and the fifth number of unread videos as the first video, where the sum of the fourth number and the fifth number equal to the first predetermined amount. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0054] In some embodiments, the device is further configured to: provide second group number information corresponding to the second normal video group to the user equipment. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0055] In some embodiments, the determining of the second ordinary video group in the remaining unread ordinary video groups includes: taking a recently updated ordinary video group in the remaining unread ordinary video groups as the second ordinary video group. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0056] In some embodiments, the device is further configured to: if there is no remaining unread common video group, determine a third common video group among the remaining read common video groups, and extract the third common video group from the third common video group For the fifth number of read videos, the fourth number of unread videos and the fifth number of read videos are used as the first videos. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0057] In some embodiments, the determining the third common video group among the remaining read common video groups includes: taking the common video group with the least number of read users among the remaining read common video groups as the third common video group . Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0058] In some embodiments, the device is further configured to: if there is no remaining unread common video group, remove the video in at least one common video group, and put at least one new video in the video library of the network device adding the at least one common video group; taking out the fifth number of unread videos from the fourth common video group in the at least one common video group, and combining the fourth number of unread videos with the The fifth number of unread videos is taken as the first video. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0059] In some embodiments, the removing a video in at least one common video group includes: determining at least one common video group from the one or more common video groups, and removing the video in the at least one common video group video, wherein the read status of the video corresponding to the at least one common video group satisfies the first predetermined condition. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0060] In some embodiments, the device is further configured to: if there is no unread video in the hot video group, take out the second predetermined number of read videos corresponding to the least number of read users from the hot video group as the second video. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0061] In some embodiments, the first and second modules 12 are configured to: if yes, determine whether there is an unread video in the hot video group; if so, select from one or more common video groups according to the first group number information Take out a first predetermined number of unread videos as the first video, take out a second predetermined number of unread videos from the hot 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, take out the third predetermined number of unread videos from the one or more common video groups as the first video, and provide the first video to the user equipment. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0062] In some embodiments, the device is further configured to: if there is no unread video in the hot video group, remove the video in the hot video group, and add at least one new video in the video library of the network device to a new one. The hot videos are added to the hot video group. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0063] In some embodiments, the device is further configured to: if the video acquisition request is sent for the first time after the target application is installed or upgraded on the user equipment, in the one or more common video groups Determine a fifth ordinary video group, take out the first predetermined number of unread videos from the fifth ordinary video group as the fourth video, and take out the second predetermined amount of unread videos from the high-hot video group As the fifth video, third group number information corresponding to the fourth video, the fifth video, and the fifth normal video group is provided to the user equipment. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0064] In some embodiments, the device is further configured to: filter out a fourth predetermined number of multiple videos in the video library of the network device, and divide the multiple videos into the One or more common video groups. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein 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 satisfies the second predetermined condition, move the In addition to the videos in the target general video group, one or more new videos are re-filtered, and the one or more new videos are supplemented into the target general video group. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0066]In some embodiments, the device is further configured to: determine a sixth predetermined number of multiples in the at least one video according to video tag information and/or user data information corresponding to at least one video in the video library Hot videos, using the plurality of hot videos as the hot video group. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0067] In some embodiments, the device is further configured to: if the video read condition corresponding to at least one hot video in the hot video group satisfies a third predetermined condition, remove the at least one hot video group from the hot video group For the hot video, one or more new hot videos are re-determined, and the one or more new hot videos are added to the hot video group. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0068] In some embodiments, if the read status of the video corresponding to at least one hot video in the hot video group satisfies a third predetermined condition, removing the at least one hot video from the hot video group includes: If the read status of the video corresponding to at least one hot video in the hot video group satisfies the third predetermined condition, and the number of the at least one hot video meets the fourth predetermined condition, remove the hot video from the hot video group At least one hot video. Here, the related operations are figure 1 The illustrated embodiments are the same or similar, so they are not repeated here, but are incorporated herein by reference.
[0069] image 3 A flowchart of a method for providing video according to an embodiment of the present application is shown.
[0070] like image 3 As shown, the server pre-groups the videos in the video library and divides them into one or more common video groups, and each common video group includes multiple videos. After receiving the video acquisition request sent by the user equipment, the subsequent server determines the Whether there is a group number in the video acquisition request, if there is no group number, randomly select a group from the one or more common video groups, record the group for the user of the user equipment, and sequentially select several groups from the group If there is a group number, select several unread videos from the group corresponding to the group number, and then judge whether the number of selected unread videos is sufficient. If the number of unread videos in the group meets n, Then, the n videos in the group and the group number of the group are sent to the user equipment. If there are only m (m
[0071] In addition to the methods and devices described in the above-mentioned embodiments, the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores computer codes, when the computer codes are executed, as in any of the previous The described method 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 according to any one of the preceding items is executed.
[0073] The present application also provides a computer device, the computer device comprising:
[0074] one or more processors;
[0075] memory for storing one or more computer programs;
[0076] The one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding item.
[0077] Figure 4 showing an exemplary system that may be used to implement the various embodiments described in this application;
[0078] like Figure 4 As shown in some embodiments, the system 300 can function as any of the devices in the various described embodiments. In some embodiments, system 300 may include one or more computer-readable media (eg, system memory or NVM/storage device 320 ) having instructions and be coupled to the one or more computer-readable media and configured to execute Instructions to implement a module to perform one or more processors (eg, processor(s) 305 ) to perform the actions described herein.
[0079] For one embodiment, the system control module 310 may include any suitable interface controller to provide at least one of the processor(s) 305 and/or any suitable device or component in communication with the system control module 310 any appropriate interface.
[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 may be used, for example, to load and store data and/or instructions for system 300 . For one embodiment, system memory 315 may include any suitable volatile memory, eg, suitable DRAM. In some embodiments, system memory 315 may include double data rate type quad synchronous dynamic random access memory (DDR4 SDRAM).
[0082] For one embodiment, system control module 310 may include one or more input/output (I/O) controllers to provide interfaces to NVM/storage device 320 and communication interface(s) 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 (eg, flash memory) and/or may include any suitable non-volatile storage device(s) (eg, one or more hard drives ( HDD), one or more compact disc (CD) drives and/or one or more digital versatile disc (DVD) drives).
[0084] NVM/storage device 320 may include storage resources that are physically part of the device on which system 300 is installed, or it may be accessed by the device without necessarily being part of the device. For example, the NVM/storage device 320 is accessible via the communication interface(s) 325 over a network.
[0085] Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and/or with any other suitable device. 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] For one embodiment, at least one of the processor(s) 305 may be packaged with the logic of one or more controllers of the system control module 310 (eg, the memory controller module 330 ). For one embodiment, at least one of the processor(s) 305 may be packaged with logic of one or more controllers of the system control module 310 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with the logic of one or more controllers of the system control module 310 . For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic of one or more controllers of the system control module 310 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 (eg, 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, keyboards, liquid crystal display (LCD) screens (including touchscreen displays), non-volatile memory ports, multiple antennas, graphics chips, application specific integrated circuits ( ASIC) and speakers.
[0088] It should be noted that the present application may be implemented in software and/or a combination of software and hardware, eg, an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device. In one embodiment, the software program of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs of the present application (including associated data structures) may be stored on a computer-readable recording medium, such as RAM memory, magnetic or optical drives or floppy disks, and the like. In addition, some steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
[0089] In addition, a part of the present application can be applied as a computer program product, such as computer program instructions, which when executed by a computer, through the operation of the computer, can invoke or provide methods and/or technical solutions according to the present application. Those skilled in the art should understand that the existing forms of computer program instructions in computer-readable media 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 Limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding post-installation program. program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium that can be accessed by a computer.
[0090] Communication media includes media by 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 may include conducted transmission media such as cables and wires (eg, fiber optic, coaxial, etc.) and wireless (unconducted transmission) media capable of propagating energy waves, such as acoustic, electromagnetic, RF, microwave, and infrared . Computer readable instructions, data structures, program modules or other data may be embodied, for example, as a modulated data signal in a wireless medium such as a carrier wave or similar mechanism such as 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 hybrid modulation techniques.
[0091] By way of example and not limitation, computer-readable storage media may include volatile and non-volatile, readable storage media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Removable and non-removable media. For example, computer-readable storage media include, but are not limited to, volatile memory, such as random access memory (RAM, DRAM, SRAM); and non-volatile memory, such as flash memory, various read-only memories (ROM, PROM, EPROM) , EEPROM), magnetic and ferromagnetic/ferroelectric memory (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, tapes, CDs, DVDs); or other media now known or later developed capable of storing memory for computer systems Computer readable information/data used.
[0092] Here, an embodiment according to the present 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, a trigger is The apparatus operates based on the aforementioned methods and/or technical solutions according to various embodiments of the present application.
[0093]It will be apparent to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, but that the present application may be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Accordingly, the embodiments are to be regarded in all respects as illustrative and not restrictive, and the scope of the application is to be defined by the appended claims rather than the foregoing description, which is therefore intended to fall within the scope of the claims. All changes within the meaning and scope of the equivalents of , are included in this application. Any reference signs in the claims shall not be construed as limiting the involved claim. Furthermore, it is clear that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Several units or means recited in the device claims can also be realized by one unit or means by means of software or hardware. The terms first, second, etc. are used to denote names and do not denote any particular order.
PUM


Description & Claims & Application Information
We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
Similar technology patents
Classification and recommendation of technical efficacy words
- Improve video experience