Video playback method, device, equipment and storage medium
By calculating the user's preference for different video types and deleting videos with low preferences in the list to be played, the problem of users needing to switch multiple times when playing external videos is solved, improving the user experience.
Patent Information
- Application Number
- CN202211400760.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-09
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2042-11-09
AI Technical Summary
When playing videos pushed by external video platforms, users need to switch multiple times to skip content that they are not interested in, resulting in poor user experience.
By obtaining the playback time of each video that has been switched, the user's preference for different video types is calculated, and the video type in the to-play list whose favorite is lower than the preset threshold is deleted, and then the video playback is performed according to the deleted list.
It realizes that when users watch videos pushed by external video platforms, quickly skip content that they are not interested in, improving the user experience.
Smart Images

Figure CN115842943B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a video playback method, device, equipment and storage medium. Background Art
[0002] With the rapid development of computer technology, network technology and multimedia technology, videos are involved in many aspects of people's work and life. Compared with text and pictures, videos carry richer and more expressive information, and thus are increasingly attracting the attention and love of users. Various videos emerge in an endless stream, and the degree of videoization is getting higher and higher.
[0003] Currently, when playing videos pushed by external video platforms, since multiple external video platforms may push related or highly homogeneous videos at similar time periods, when users are not interested in similar videos, they often need to switch multiple times to stop watching such videos, resulting in a poor user experience. Summary of the invention
[0004] The present disclosure provides a video playback method, apparatus, device and storage medium, which can enable users to quickly skip uninteresting content when watching videos pushed by external platforms, thereby improving user experience.
[0005] In a first aspect, an embodiment of the present disclosure provides a video playback method, the method comprising:
[0006] Get the playback duration of each switched video, where the video is pushed by an external video platform;
[0007] Calculate the user's preference for different video types among the video types of the switched videos according to the playback duration of each switched video;
[0008] Deleting videos of a target video type in a to-be-played list, wherein the videos in the to-be-played list are pushed by an external video platform, and the target video type is a video type whose popularity is lower than a preset threshold;
[0009] Play the video according to the deleted to-be-played list.
[0010] In some implementations of the first aspect, the external video platform is a TV station or an online video platform.
[0011] In some implementations of the first aspect, the method further includes:
[0012] Count the number of video switching times;
[0013] At every preset time, determining whether the number of video switching times counted within the preset time is greater than or equal to a preset threshold;
[0014] If it is greater than or equal to the preset threshold, the user's preference for different video types among the video types of the switched videos is calculated according to the playback duration of the switched videos.
[0015] In some implementations of the first aspect, calculating the user's preference for different video types among the video types of the switched videos according to the playback duration of the switched videos includes:
[0016] Grouping the switched videos according to their video types;
[0017] According to the playing time of each video in each group, calculate the average playing time of each group;
[0018] According to the total duration of each video in each group, calculate the average total duration of each group;
[0019] The average playback duration of each group is divided by the corresponding average total duration to obtain the user's preference for the video type corresponding to each group.
[0020] In some implementations of the first aspect, the method further includes:
[0021] Get the comment information entered by the user when playing the video;
[0022] According to the playback time of each switched video, calculate the user's preference for different video types in the video types of each switched video, including:
[0023] According to the playback duration and comment information of each switched video, the user's preference degree for different video types among the video types of each switched video is calculated.
[0024] In some implementations of the first aspect, the method further includes:
[0025] If the playback time of the current video is longer than a preset threshold, then check whether there is a target video related to the current video in the to-be-played list;
[0026] If there is a target video related to the current video, it will be placed at the top of the to-be-played list.
[0027] In some implementations of the first aspect, the method further includes:
[0028] If there is no target video related to the current video, the target video is obtained from the corresponding external video platform and placed at the top of the to-be-played list.
[0029] In a second aspect, an embodiment of the present disclosure provides a video playback device, the device comprising:
[0030] An acquisition module is used to obtain the playback duration of each switched video, wherein the video is pushed by an external video platform;
[0031] A calculation module, used for calculating the user's preference for different video types among the video types of the switched videos according to the playing time of each switched video;
[0032] A deletion module, used to delete videos of a target video type in a to-be-played list, wherein the videos in the to-be-played list are pushed by an external video platform, and the target video type is a video type whose popularity is lower than a preset threshold;
[0033] The playing module is used to play the video according to the deleted to-be-played list.
[0034] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method described above.
[0035] In a fourth aspect, an embodiment of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to cause a computer to execute the method described above.
[0036] In the embodiments of the present disclosure, when playing videos pushed by an external video platform, the user's preference for different types of videos can be determined based on the playback duration of each switched video, and based on this, the videos that the user does not like in the to-be-played list can be deleted, and the videos can be played according to the deleted to-be-played list, thereby quickly skipping the content that the user is not interested in, thereby improving the user experience.
[0037] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, among which:
[0039] Figure 1 A flow chart of a video playback method provided by an embodiment of the present disclosure is shown;
[0040] Figure 2A structural diagram of a video playback device provided by an embodiment of the present disclosure is shown;
[0041] Figure 3 A structural diagram of an exemplary electronic device capable of implementing an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0043] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0044] In view of the problems in the background technology, the embodiments of the present disclosure provide a video playback method, device, equipment and storage medium. Specifically, the playback time of each switched video is obtained, wherein the video is pushed by an external video platform; according to the playback time of each switched video, the user's preference for different video types in the video types of each switched video is calculated; the videos belonging to the target video type in the to-be-played list are deleted, wherein the videos in the to-be-played list are pushed by an external video platform, and the target video type is a video type whose preference is lower than a preset threshold; and the video is played according to the deleted to-be-played list.
[0045] In this way, when playing videos pushed by external video platforms, the user's preference for different types of videos can be determined based on the playback time of each switched video, and then the videos that the user does not like in the to-be-played list can be deleted based on this, and the videos can be played according to the deleted to-be-played list, quickly skipping the content that the user is not interested in, thereby improving the user experience.
[0046] The video playback method, device, equipment and storage medium provided by the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings through specific embodiments.
[0047] Figure 1 A flow chart of a video playback method provided by an embodiment of the present disclosure is shown. Figure 1 As shown, the video playing method 100 can be applied to a client, and includes the following steps:
[0048] S210, obtaining the playing time of each switched video.
[0049] The video is pushed by an external video platform, which is a video platform other than the video platform corresponding to the client, and can be a representative platform such as a TV station or an online video platform.
[0050] S220, calculating the user's preference for different video types among the video types of the switched videos according to the playing time of each switched video.
[0051] In some embodiments, the user's preference for different video types among the video types of the switched videos may be calculated in real time based on the playback duration of the switched videos.
[0052] The number of video switching times can also be counted, and it is determined at preset time intervals whether the number of video switching times counted within the preset time is greater than or equal to a preset threshold. If it is greater than or equal to the preset threshold, the user's preference for different video types in the video types of the switched videos is calculated based on the playback time of each switched video. In this way, when the user switches videos too frequently within a cycle, the user's preference for different video types in the video types of the switched videos can be calculated in a timely manner, thereby reducing the usage of computing resources.
[0053] As an example, the switched videos can be grouped according to their video types, and the average playback time of each group can be calculated based on the playback time of each video in each group. The average total playback time of each group can be calculated based on the total time of each video in each group. The average playback time of each group can be divided by the corresponding average total time to quickly obtain the user's preference for the video type corresponding to each group, and then the user's preference for different video types in the video types of the switched videos can be determined.
[0054] For example, as of now, there are 10 videos that have been switched, namely video 1 to video 10. Among them, the playing time of videos 1-10 is 6s, 8s, 10s, 4s, 10s, 4s, 6s, 60s, 40s, 50s respectively; the total time of videos 1-10 is 400s, 400s, 700s, 300s, 400s, 500s, 400s, 600s, 400s, 500s respectively; the video type of videos 1-3 is news, the video type of videos 4-7 is drama, and the video type of videos 8-10 is animation. Optionally, the video type here can be further refined to specific video themes, video names, etc., which are not limited here.
[0055] At this time, the switched videos are grouped according to their video types, and groups 1-3 can be obtained. Among them, group 1 includes videos 1-3, group 2 includes videos 4-7, and group 3 includes videos 8-10. Next, the average playback time and average total time corresponding to each group are calculated. Among them, the average playback time of groups 1-3 is 8s, 6s, and 50s respectively; the average total time of groups 1-3 is 500s, 400s, and 500s respectively. Then the average playback time corresponding to each group is divided by the corresponding average total time to obtain the corresponding quotient of each group, which is 0.016, 0.015, and 0.1 respectively. The quotient corresponding to each group can be directly used as the user's liking for the video type corresponding to each group, that is, the user's liking for news is 0.016, the liking for drama is 0.015, and the liking for animation is 0.1.
[0056] As another example, the comment information (such as barrage) entered by the user when playing the video can also be obtained, and the user's preference for different video types among the video types of the switched videos can be calculated based on the playback duration and comment information of each switched video.
[0057] In this way, the dimension of user comments can be introduced on the basis of the playback duration, thereby more comprehensively calculating the user's preference for different video types among the video types that have been switched.
[0058] For example, keywords can be extracted from the comment information of each switched video, and the user's preference level for the corresponding video type can be determined based on the keywords of videos of the same type. For example, the keywords of videos of the same type are input into a pre-trained preference evaluation model to obtain the user's preference level for the corresponding video type, and the coefficient corresponding to the preference level is multiplied by the corresponding quotient (see the above example, that is, the quotient of the group corresponding to the corresponding video type) to obtain the user's preference degree for the corresponding video type, and then the user's preference degree for different video types among the video types of the switched videos can be determined.
[0059] S230, deleting the videos of the target video type in the to-be-played list.
[0060] The videos in the to-be-played list are pushed by an external video platform, and the target video types are video types whose popularity is lower than a preset threshold, that is, video types that the user is not interested in.
[0061] Referring to S220, the user's preference for news is 0.016, the preference for drama is 0.015, and the preference for animation is 0.1. At this time, the preset threshold may be 0.05, so the target type is news and drama, and the videos belonging to news and drama in the subsequent to-be-played list will be deleted. Optionally, before deleting, the user may be prompted "whether to collapse this type of video", and if the user chooses to collapse, the video will be deleted.
[0062] S240, playing the video according to the deleted to-be-played list.
[0063] In the embodiments of the present disclosure, when playing videos pushed by an external video platform, the user's preference for different types of videos can be determined based on the playback duration of each switched video, and based on this, the videos that the user does not like in the to-be-played list can be deleted, and the videos can be played according to the deleted to-be-played list, thereby quickly skipping the content that the user is not interested in, thereby improving the user experience.
[0064] In some embodiments, if the playing time of the current video is greater than a preset threshold, that is, the user is interested in the current video, it can be detected whether there is a target video related to the current video (a subsequent video of the current video) in the to-be-played list;
[0065] If there is a target video related to the current video, put it at the top of the to-be-played list;
[0066] If there is no target video related to the current video, the target video is obtained from the corresponding external video platform (a video platform that can provide the target video) and placed at the top of the to-be-played list.
[0067] In this way, the subsequent videos of the video that the user is interested in can be placed at the front of the to-be-played list, so that after the interested video is played, the corresponding subsequent videos can be played immediately, thereby further improving the user experience.
[0068] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present disclosure is not limited by the order of the actions described, because according to the present disclosure, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.
[0069] The above is an introduction to the method embodiment. The following is a further explanation of the scheme disclosed in the present invention through an apparatus embodiment.
[0070] Figure 2A structural diagram of a video playback device provided according to an embodiment of the present disclosure is shown, such as Figure 2 As shown, the video playback device 200 may include:
[0071] The acquisition module 210 is used to obtain the playback duration of each switched video, wherein the video is pushed by an external video platform.
[0072] The calculation module 220 is used to calculate the user's preference for different video types among the video types of the switched videos according to the playing time of each switched video.
[0073] The deletion module 230 is used to delete videos belonging to a target video type in the to-be-played list, wherein the videos in the to-be-played list are pushed by an external video platform, and the target video type is a video type whose popularity is lower than a preset threshold.
[0074] The playing module 240 is used to play the video according to the deleted to-be-played list.
[0075] In some embodiments, the external video platform is a TV station or an online video platform.
[0076] In some embodiments, the video playback device 200 further includes:
[0077] The statistics module is used to count the number of video switching times.
[0078] A determination module, used for determining whether the number of video switching times counted within a preset time period is greater than or equal to a preset threshold value at every preset time period;
[0079] If it is greater than or equal to the preset threshold, the user's preference for different video types among the video types of the switched videos is calculated according to the playback duration of the switched videos.
[0080] In some embodiments, the calculation module 220 is specifically used to:
[0081] Grouping the switched videos according to their video types;
[0082] According to the playing time of each video in each group, calculate the average playing time of each group;
[0083] According to the total duration of each video in each group, calculate the average total duration of each group;
[0084] Divide the average playback duration of each group by the corresponding average total duration to obtain the user's preference for the video type corresponding to each group.
[0085] In some embodiments, the acquisition module 210 is also used to obtain comment information input by the user when playing the video.
[0086] The calculation module 220 is specifically used for:
[0087] According to the playback duration and comment information of each switched video, the user's preference degree for different video types among the video types of each switched video is calculated.
[0088] In some embodiments, the video playback device 200 further includes:
[0089] A detection module, used for detecting whether there is a target video related to the current video in the to-be-played list if the playing time of the current video is greater than a preset threshold;
[0090] The setting module is used to place a target video related to the current video at the first place in the to-be-played list if there is one.
[0091] In some embodiments, the setting module is also used to obtain the target video from the corresponding external video platform and place it at the top of the to-be-played list if there is no target video related to the current video.
[0092] Understandably, Figure 2 Each module / unit in the video playback device 200 shown has the function of implementing each step in the video playback method 100 provided in the embodiment of the present disclosure and can achieve its corresponding technical effect. For the sake of brevity, it will not be repeated here.
[0093] Figure 3 A block diagram of an electronic device that can be used to implement an embodiment of the present disclosure is shown. The electronic device 300 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 300 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0094] like Figure 3As shown, the electronic device 300 may include a computing unit 301, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 302 or a computer program loaded from a storage unit 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 may also be stored. The computing unit 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0095] A number of components in the electronic device 300 are connected to the I / O interface 305, including: an input unit 306, such as a keyboard, a mouse, etc.; an output unit 307, such as various types of displays, speakers, etc.; a storage unit 308, such as a disk, an optical disk, etc.; and a communication unit 309, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 309 allows the electronic device 300 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0096] The computing unit 301 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 301 performs the various methods and processes described above, such as method 100. For example, in some embodiments, the method 100 may be implemented as a computer program product, including a computer program, which is tangibly contained in a computer-readable medium, such as a storage unit 308. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 300 via the ROM 302 and / or the communication unit 309. When the computer program is loaded into the RAM 303 and executed by the computing unit 301, one or more steps of the method 100 described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to perform the method 100 in any other appropriate manner (e.g., by means of firmware).
[0097] The various embodiments described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs, which may be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general programmable processor, which may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0098] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0099] In the context of the present disclosure, a computer-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a computer-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0100] It should be noted that the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute method 100 and achieve the corresponding technical effect achieved by executing the method in the embodiment of the present disclosure. For the sake of concise description, they are not repeated here.
[0101] In addition, the present disclosure also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method 100 is implemented.
[0102] To provide interaction with a user, the above-described embodiments may be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0103] The embodiments described above can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0104] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0105] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0106] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A video playback method, It is characterized in that The method comprises: Obtain the playback duration of each switched video, wherein the video is pushed by an external video platform; Calculate the user's preference for different video types among the video types of the switched videos according to the playback duration of each switched video; Deleting videos of a target video type in a to-be-played list, wherein the videos in the to-be-played list are pushed by an external video platform, and the target video type is a video type whose popularity is lower than a preset threshold; Play the video according to the deleted to-be-played list; The calculating, according to the playing time of each switched video, the user's preference for different video types in the video types of each switched video includes: Grouping the switched videos according to their video types; According to the playing time of each video in each group, calculate the average playing time of each group; According to the total duration of each video in each group, calculate the average total duration of each group; Divide the average playback duration of each group by the corresponding average total duration to obtain the quotient corresponding to each group; Keywords are extracted from the comment information of each switched video, and the user's preference level for the corresponding video type is determined based on the keywords of videos of the same type. The coefficient corresponding to the preference level is multiplied by the quotient of the grouping corresponding to the corresponding video type to obtain the user's preference degree for the video type corresponding to each group.
2. The method according to claim 1, It is characterized in that The external video platform is a TV station or an online video platform.
3. The method according to claim 1, It is characterized in that The method further comprises: Count the number of video switching times; At every preset time, determining whether the number of video switching times counted within the preset time is greater than or equal to a preset threshold; If it is greater than or equal to the preset threshold, the user's preference for different video types among the video types of the switched videos is calculated according to the playback duration of the switched videos.
4. The method according to any one of claims 1 to 3, It is characterized in that The method further comprises: If the playing time of the current video is longer than a preset threshold, detecting whether the to-be-played list contains a target video related to the current video; If there is a target video related to the current video, it is placed at the top of the to-be-played list.
5. The method according to claim 4, It is characterized in that The method further comprises: If there is no target video related to the current video, the target video is obtained from the corresponding external video platform and placed at the top of the to-be-played list.
6. A video playback device, It is characterized in that The device is applied to a client and includes: An acquisition module, used to acquire the playback duration of each switched video, wherein the video is pushed by an external video platform; A calculation module, used for calculating the user's preference for different video types among the video types of the switched videos according to the playing time of each switched video; A deletion module, used to delete videos belonging to a target video type in a to-be-played list, wherein the videos in the to-be-played list are pushed by an external video platform, and the target video type is a video type whose popularity is lower than a preset threshold; A playing module, used for playing videos according to the deleted to-be-played list; The calculation module is specifically used for: Grouping the switched videos according to their video types; According to the playing time of each video in each group, calculate the average playing time of each group; According to the total duration of each video in each group, calculate the average total duration of each group; Divide the average playback duration of each group by the corresponding average total duration to obtain the quotient corresponding to each group; Keywords are extracted from the comment information of each switched video, and the user's preference level for the corresponding video type is determined based on the keywords of videos of the same type. The coefficient corresponding to the preference level is multiplied by the quotient of the grouping corresponding to the corresponding video type to obtain the user's preference degree for the video type corresponding to each group.
7. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.
8. A non-transitory computer-readable storage medium storing computer instructions, It is characterized in that The computer instructions are used to make a computer execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method, device and electronic equipment for recommending on-demand video
CN109168022A
Short video recommendation method and device
CN111163339A
Big data stream processing method
CN114025209A
Method and device for playing video, medium and program product
CN115278333A