WO2022111248A1 - Video displaying method and device, and storage medium - Google Patents

Video displaying method and device, and storage medium Download PDF

Info

Publication number
WO2022111248A1
WO2022111248A1 PCT/CN2021/128603 CN2021128603W WO2022111248A1 WO 2022111248 A1 WO2022111248 A1 WO 2022111248A1 CN 2021128603 W CN2021128603 W CN 2021128603W WO 2022111248 A1 WO2022111248 A1 WO 2022111248A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
videos
source interface
list
current
Prior art date
Application number
PCT/CN2021/128603
Other languages
French (fr)
Chinese (zh)
Inventor
潘红
Original Assignee
上海连尚网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海连尚网络科技有限公司 filed Critical 上海连尚网络科技有限公司
Publication of WO2022111248A1 publication Critical patent/WO2022111248A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying

Definitions

  • the present application relates to the field of video technology, and in particular, to a video display method, device, and storage medium.
  • video applications are gradually popularized, video publishers can publish videos through video applications, and other users can watch videos published by video publishers through the video applications.
  • the videos on the current video publisher's homepage are usually sorted by release time.
  • the video publisher publishes a lot of videos, the user cannot determine the specific location of the currently watched video, and other videos associated with the video It may not be published continuously, and the user needs to manually find the currently watched video and other videos related to the currently watched video from a large number of videos published by the video publisher, which is inefficient.
  • the present application provides a video display method, device and storage medium to improve the efficiency of locating a currently playing video and its associated video.
  • a first aspect of the present application provides a video display method, including:
  • the target terminal receiving a jump instruction sent by the target terminal, where the jump instruction is used to request to jump to a source interface of a first video, where the first video is a video currently played by the target terminal;
  • the positions of the first video and the first associated video in the video list in the source interface are adjusted to a first designated position.
  • a second aspect of the present application provides a video display device, comprising:
  • a receiving unit configured to receive a jump instruction sent by the target terminal, where the jump instruction is used to request to jump to a source interface of a first video, where the first video is a video currently played by the target terminal;
  • a query unit configured to query the first associated video associated with the first video from all the videos included in the source interface
  • the display unit is configured to adjust the positions of the first video and the first associated video in the video list in the source interface to a first designated position.
  • a third aspect of the present application provides a server, wherein the server includes:
  • processors one or more processors
  • a machine-readable storage medium for storing one or more computer-readable instructions
  • the one or more computer-readable instructions when executed by the one or more processors, cause the one or more processors to implement the method as described in the first aspect of the present application.
  • a fourth aspect of the present application provides a machine-readable storage medium on which a program is stored, and when the program is executed by a processor, implements the method described in the foregoing first aspect.
  • the target terminal when receiving a jump instruction sent by the target terminal to request to jump to the source interface of the currently playing first video, query the first video associated with the first video from all the videos included in the source interface. Associated video, and further, the position of the first video and the first associated video in the video list in the source interface is adjusted to the first designated position, so that the efficiency of locating the currently playing video and its associated video can be improved, thereby improving the user experience. experience.
  • FIG. 1 is a schematic flowchart of a video display method according to an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of querying a first associated video associated with a first video from videos included in a source interface according to an embodiment of the present application;
  • FIG. 3 is a schematic flowchart of querying a first associated video associated with a first video from videos included in a source interface according to another embodiment of the present application;
  • FIG. 4 is a schematic flowchart of adjusting the positions of the first video and the first associated video in the video list in the source interface to the first designated position according to an embodiment of the present application;
  • 5A is a schematic diagram of a video playback interface according to an embodiment of the present application.
  • 5B is a schematic diagram of a homepage of a video publisher according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of an interaction flow between a terminal and a server according to an embodiment of the present application
  • FIG. 7 is a schematic structural diagram of a video display device according to an embodiment of the present application.
  • FIG. 8 is a structural block diagram of a server according to an embodiment of the present application.
  • first, second, third, etc. may be used herein to describe various devices, such information should not be limited by these terms. These terms are only used to distinguish devices of the same type from one another. For example, a first device could also be termed a second device, and similarly, a second device could also be termed a first device, without departing from the scope of the present application.
  • the word “if” as used herein can be interpreted as “at the time of” or “when” or “in response to determining” depending on the context.
  • a video display method provided by an embodiment of the present application referring to FIG. 1 , the video display method includes the following steps:
  • the execution body of the video display method provided by the first aspect of the present application may be a server of a video application, such as a server of a video social software APP.
  • S100 Receive a jump instruction sent by the target terminal, where the jump instruction is used to request to jump to the source interface of the first video, where the first video is the video currently played by the target terminal.
  • S200 Query a first associated video associated with the first video from all videos included in the source interface.
  • S300 Adjust the positions of the first video and the first associated video in the video list in the source interface to the first designated position.
  • the target terminal does not specifically refer to a fixed terminal, but may refer to a terminal that supports video display according to the solution provided in the embodiment of the present application.
  • a user When a user watches a video through a target terminal, for example, when a user watches a video through a client of a specified video application running on the target terminal (which can be called a target client), for the video of interest, the user can send the service to the service through a specified operation.
  • the terminal sends a jump instruction to request to jump to the source interface of the currently playing video (herein referred to as the first video), and query the associated video in the source interface for viewing.
  • a video publisher can publish videos in its own social space, and the server can select some videos from the videos published in the social space of a specific video publisher according to certain rules to display in the The specified interface of the target client, such as the video recommendation page.
  • the target client such as the video recommendation page.
  • the user can request to jump to the social space of the video publisher who published the video through a specified operation (It can be called the home page of the video publisher, that is, the above-mentioned source interface), and query the currently playing video and related videos from the videos in the social space of the video publisher.
  • a specified operation It can be called the home page of the video publisher, that is, the above-mentioned source interface
  • the server when the server receives the jump instruction sent by the target terminal, it can query the video associated with the first video (herein referred to as the first associated video) from all videos included in the source interface of the first video. ), and adjust the positions of the first video and the first associated video in the video list in the source interface to a specified position (herein referred to as the first specified position).
  • the first specified position a specified position
  • the positions of the first video and the first associated video in the video list in the source interface may be adjusted to the head of the video list (that is, the above-mentioned first specified position is the head of the video list).
  • the first designated position is not limited to the head of the video list, and may also include the tail of the video list or other designated positions.
  • only the video list of the first video in the source interface may be The position of each video in the video list in the source interface may not be adjusted.
  • the first video and the first associated video whose positions are adjusted in the above manner are continuously arranged in the video list in the source interface.
  • step S200 querying the first associated video associated with the first video from the videos included in the source interface can be achieved by the following steps:
  • S201 Obtain a group identifier of the first video, where the group identifier is used to identify the first video group to which the first video belongs;
  • S202 Determine other videos in the first video group except the first video as the first associated video.
  • videos belonging to the same video group may be determined as associated videos according to the video group to which the video belongs.
  • a video group can be set for the published video, and the videos in the same video group have the same group ID, and the group ID is used to identify the video.
  • the server when the server receives the jump instruction sent by the target terminal, the server can obtain the group identifier of the first video to determine the video group (herein referred to as the first video group) to which the first video belongs, and assign the Other videos in the first video group except the first video are determined as the first associated video.
  • the server may set a default grouping and a group identifier for the video, and the specific implementation thereof will not be described in detail here.
  • step S200 querying the first associated video associated with the first video from the videos included in the source interface can be implemented by the following steps:
  • S203 Calculate the degree of association between each other video except the first video in the source interface and the first video respectively;
  • S204 Determine other videos whose degree of association with the first video exceeds a preset threshold as the first associated video.
  • the associated videos may be determined according to the degree of association between the videos.
  • the server when the server receives the jump instruction sent by the target terminal, the server can calculate the source interface of each other video except the first video and the first video respectively.
  • the degree of association between the first video and the first video exceeds a preset threshold (which can be set according to the actual scene) and other videos are determined as the first associated video.
  • step S203 calculating the degree of association between each video other than the first video in the source interface and the first video, respectively, may include:
  • attribute information of the video For each other video except the first video in the source interface, obtain attribute information of the video, where the attribute information includes at least one of the following information: video name, video theme, and video cover information;
  • the degree of association between the video and the first video is determined according to the obtained attribute information of the video and the attribute information of the first video.
  • the attributes of the videos can be determined.
  • the information determines the degree of relevance between the videos.
  • the attribute information of the video may include, but is not limited to, one or more of the video title, video title, video cover information and other information.
  • the server When the server receives the jump instruction sent by the target terminal, the server can obtain attribute information of the first video and attribute information of each video except the first video in the source interface.
  • the degree of association between the video and the first video may be determined according to the obtained attribute information of the video and the attribute information of the first video.
  • step S300 the positions of the first video and the first associated video in the video list in the source interface are adjusted to the first designated position, which can be achieved by the following steps:
  • S301 Sort the first video and the first associated video to obtain a video sequence
  • S302 take the first video in the video sequence as the current video, and determine the head position in the video list as the current position;
  • S303 Adjust the current video to the current position in the video list, if the next video of the current video still exists in the video sequence, then determine the next video as the current video, and determine the next position of the current position in the video list as the current video Position, returns the operation to adjust the current video to the current position in the video list.
  • the above-mentioned first specified position may be the head of the video list in the source interface.
  • the first video and the first associated video may be sorted to obtain a video sequence.
  • the first video in the video sequence can be used as the current video
  • the head position in the video list is determined as the current position
  • the current video is adjusted to the current position in the video list.
  • the first video is video 1
  • the first associated video includes video 2, video 3, and video 4
  • the video sequence obtained by sorting the first video and the first associated video is video 1, video 2, and video 3 and video 4 sorted from front to back.
  • video 1 When adjusting the positions of the first video and the first associated video, video 1 can be used as the current video, the head position in the video list can be determined as the current position, and the current video can be adjusted to the current position in the video list, that is, Video 1 is adjusted to the head of the video list.
  • next video (video 2) of video 1 can be determined as the current video, and the next position of the current position in the video list (that is, the next position of the position of video 1 ) is determined as the current position, and video 2 is adjusted to the next position of video 1.
  • the next video (video 3) of video 2 can be determined as the current video, and the next position of the current position in the video list (that is, the next position of the position of video 2 ) is determined as the current position, and video 3 is adjusted to the next position of video 2.
  • the next video (video 4) of video 3 can be determined as the current video, and the next position of the current position in the video list (that is, the next position of the position of video 3 ) is determined as the current position, and video 4 is adjusted to the next position of video 3.
  • the video sequence obtained by sorting the first video and the first associated video may include:
  • the probability that the user is interested in the associated video is usually positively correlated, and the video with a higher degree of relevance to the currently playing video is ranked at the forefront of the video sequence. It is more convenient for the user to locate the video of interest. Therefore, in order to improve the rationality of the video sequence, when sorting the first associated video, the first associated video Videos are sorted.
  • the first video can be used as a sequence header, and the first associated videos are sorted in descending order of the degree of association between the first associated video and the first video to obtain a video sequence.
  • sorting the first video and the first associated video to obtain a video sequence may include:
  • the user can quickly locate the desired video.
  • the user can clearly determine the corresponding series of each related video. , so that you can quickly locate the next episode of the series.
  • the first associated videos may be sorted according to the video names of the first associated videos.
  • the first video can be used as a sequence header, and the first associated videos are sorted according to the video names of the first associated videos to obtain a video sequence.
  • the first video is an episode of a certain TV series
  • the first related video is other episodes of the TV series or some episodes of other episodes
  • the first related video can be numbered according to the episode number. Sort the first associated videos, ie ***.Episode 1, ***.Episode 2....
  • adjusting the positions of the first video and the first associated video in the video list in the source interface to the first specified position further includes:
  • the probability that the user is interested is relatively high. Therefore, in addition to the position adjustment of the first video and the first related video according to the above, it is also possible to adjust the position of the first video and the first related video.
  • Related videos of other played videos before playing the first video are adjusted in position, so that videos that may be of interest to the user can be more easily located.
  • At least one second video that has been played by the target terminal within a specified time period before playing the first video (which can be set according to actual needs) can be obtained, and the first video can be queried from all the videos included in the source interface of the first video.
  • At least one second associated video that is associated with the two videos and is different from the first video and the second associated video, and further, the position of the second associated video in the video list can be adjusted to a specified position (herein referred to as the second associated video specified location).
  • the above-mentioned second video may include other videos played by the target terminal through the client terminal that plays the first video.
  • the first specified position is the head of the video list
  • the second specified position is after the first specified position and before the positions of other videos.
  • the second video when the second video exists in other videos except the first video and the first associated video in the source interface of the first video,
  • the second video can also be used as the second associated video, and when the position of the second associated video is adjusted, the second video can be used as the sequence header of the second associated video, that is, the second associated video is ranked first.
  • querying at least one second associated video that is associated with the second video and is different from the first video and the first associated video from all the videos included in the source interface may include:
  • the specified condition includes at least one condition: the source is the same as that of the first video, the playback time exceeds the first preset duration, and the playback time is in the second preset before the first video is played. Within the set time length; the specified operation for the second video triggered by the target terminal is detected;
  • the second associated video associated with the second video it may be determined that the second video satisfies the specified conditional video (herein referred to as the third video).
  • the user wants to control the terminal to jump to the source interface of the currently watched video (that is, the above-mentioned first video)
  • the user wants to control the terminal to jump to the source interface of the currently watched video (that is, the above-mentioned first video)
  • he has watched the first video before watching the video and has the same source as the first video.
  • the associated video of the probability that the user is interested will be relatively high, therefore, the same source as the first video can be used as one of the above specified conditions.
  • the playback duration of the video can be longer than the preset duration (which can be set according to actual needs, and is referred to as the first preset duration in this article. ) as one of the above-specified conditions.
  • the preset duration of the playback time before the first video is played (which can be set according to actual needs, and is referred to as the second preset in this paper). set duration) as one of the above-specified conditions.
  • the user may usually trigger the specified operation for the second video through the target terminal, such as like, comment, follow, favorite, etc. Therefore, it is possible to detect the second video triggered by the target terminal.
  • the specified operation of the video is one of the above specified conditions.
  • At least one video associated with the third video may be queried from other videos except the first video and the first associated video in the source interface of the first video, and the The at least one video queried is used as the second associated video.
  • the above-mentioned video applications are used as video social software, and the interaction between the terminal and the server is realized by interacting with the server through the video social software client (hereinafter referred to as the client) installed or running on the terminal.
  • the client the video social software client
  • the published videos can be grouped. Videos in different video groups have the same group ID, and videos in different video groups have different group IDs.
  • each video in the video group may have an intra-group number, such as video 1-0, video 1-1, and video 1-2;
  • the videos divided into video group 2 have the same group identifier, such as group id: 2, and each video in the video group may have an intra-group number, such as video 2-0, video 2-1, and video 2-2.
  • the server can select some videos from the videos released by different video publishers to display on the recommendation page of the client according to a certain strategy.
  • the user When the user is interested in the currently watched video and wants to continue watching other related videos, he can perform a specified operation, such as clicking the avatar of the video publisher displayed in the video playback interface, to trigger the client to jump to the video source interface, such as Video publisher home page.
  • a specified operation such as clicking the avatar of the video publisher displayed in the video playback interface, to trigger the client to jump to the video source interface, such as Video publisher home page.
  • the videos included in the homepage of the video publisher are usually sorted according to the release time sequence and other strategies.
  • the video publisher publishes a lot of videos, the user needs to rummage through a large number of videos to query the currently playing videos and their associations. video.
  • the embodiment of the present application adopts the following manner to display the video on the homepage of the video publisher.
  • the jump instruction is used to request to jump to the video publisher's homepage (that is, the first video above) of the currently playing video (that is, the first video above). video source interface).
  • the user can trigger the client to jump to the homepage of the video publisher by clicking on the avatar of the video publisher displayed in the video playback interface.
  • the server queries other videos associated with the currently playing video (that is, the above-mentioned first associated video) from all the videos included in the homepage of the video publisher.
  • the server may determine the video group to which the currently played video belongs according to the group identifier of the currently played video, and determine other videos in the video group as associated videos.
  • the server can adjust the position of the currently playing video and its associated video in the video list in the video publisher's homepage to the head of the video list, the schematic diagram can be shown in Figure 5B, so that the user can quickly locate the currently playing video. Videos and their associated videos.
  • the related videos of the current video may be sorted according to the video name (or the number in the group).
  • FIG. 6 is a schematic flowchart of an interaction between a terminal and a server provided by an embodiment of the present application.
  • the interaction process may include:
  • the terminal sends a main interface resource acquisition request to the server, where the main interface resource acquisition request is used to request to acquire the main interface resources of the target application.
  • the terminal when the terminal detects a running instruction for a locally installed specified video application (which may be referred to as a target application), such as detecting a single-click instruction for the target application, the terminal may send a message to the server (the server of the target application).
  • a target application which may be referred to as a target application
  • the terminal may send a message to the server (the server of the target application).
  • a main interface resource acquisition request where the main interface acquisition request is used to acquire resources displayed on the main interface of the target application.
  • the main interface may be a video recommendation page.
  • the server obtains the main interface resources of the target application.
  • the resource of the main interface may be video summary information displayed on the main interface.
  • the video summary information displayed on the main interface may include summary information of a preset number of videos with the highest popularity or the latest release time among the videos published by the video publisher through the target application.
  • the summary information may include, but is not limited to, a video cover, a video name, and the like.
  • the server sends the main interface resources of the target application to the terminal.
  • the terminal displays the main interface of the target application.
  • the terminal sends a target video resource acquisition request to the server, where the target video resource acquisition request is used for requesting acquisition of target video resources.
  • the terminal when the terminal detects a playback instruction for a certain video (which may be referred to as the target video) displayed in the main interface of the target application, for example, when detecting a click instruction for the target video, the terminal may send a message for the server to the server.
  • the resource acquisition request of the target video that is, the target video resource acquisition request to acquire the resources of the target video.
  • the server sends the resource of the target video to the terminal.
  • the terminal plays the target video.
  • the terminal sends a target homepage jumping instruction to the server, where the target homepage jumping instruction is used to request to jump to the publisher's personal homepage of the target video.
  • the terminal when the terminal detects a click instruction on the avatar of the video publisher displayed in the target video playback interface, the terminal can send a target homepage jumping instruction to the server to request to jump to the publisher's personal homepage of the target video (may be called the target home page).
  • a target homepage jumping instruction to the server to request to jump to the publisher's personal homepage of the target video (may be called the target home page).
  • the server obtains the target homepage resource, and adjusts the position of the target video and the video associated with the target video in the video list of the target homepage to the head of the list.
  • the server sends the target homepage resource to the terminal.
  • the terminal displays the target homepage.
  • the target video and the video associated with the target video are displayed in the list header of the video list in the target homepage.
  • FIG. 7 is a schematic structural diagram of a video display device provided by an embodiment of the present application.
  • the video display device may include:
  • the receiving unit 710 is used for receiving the jump instruction sent by the target terminal, and the jump instruction is used for requesting to jump to the source interface of the first video, and the first video is the video currently played by the target terminal;
  • a query unit 720 configured to query the first associated video associated with the first video from all the videos included in the source interface
  • the display unit 730 is configured to adjust the positions of the first video and the first associated video in the video list in the source interface to a first designated position.
  • the query unit 720 queries the first associated video associated with the first video from all videos included in the source interface, including:
  • the query unit 720 queries the first associated video associated with the first video from all videos included in the source interface, including:
  • the query unit 720 calculates the degree of association between each other video in the source interface except the first video and the first video, including:
  • attribute information of the video For every other video in the source interface except the first video, obtain attribute information of the video, where the attribute information includes at least one of the following information: video name, video theme, and video cover information;
  • the degree of association between the video and the first video is determined according to the obtained attribute information of the video and the attribute information of the first video.
  • the displaying unit 730 adjusts the positions of the first video and the first associated video in the video list in the source interface to a first designated position, including:
  • the current video is adjusted to the current position in the video list, and if there is still a next video of the current video in the video sequence, the next video is determined as the current video, and the current video in the video list is adjusted.
  • the next position of the position is determined as the current position, and the operation of adjusting the current video to the current position in the video list is returned.
  • the displaying unit 730 sorts the first video and the first associated video to obtain a video sequence, including:
  • the query unit 720 is further configured to obtain at least one second video that has been played by the target terminal within a specified time period before the first video is played; In the video, query at least one second associated video that is associated with the second video and is different from the first video and the first associated video;
  • the display unit 730 is further configured to adjust the position of the second associated video in the video list to a second designated position.
  • the query unit 720 queries, from all the videos included in the source interface, at least one second associated video that is associated with the second video and is different from the first video and the first associated video, include:
  • the specified condition includes at least one condition: the source is the same as the first video, the playback time exceeds the first preset time, and the playback time is within the first video.
  • the specified condition includes at least one condition: the source is the same as the first video, the playback time exceeds the first preset time, and the playback time is within the first video.
  • the first specified position is the head of the video list
  • the second specified position is after the first specified position and before positions of other videos.
  • the present application also provides a server, wherein the server includes:
  • processors one or more processors
  • a machine-readable storage medium for storing one or more computer-readable instructions
  • the one or more computer-readable instructions when executed by the one or more processors, cause the one or more processors to implement the methods described in the above embodiments of the present application.
  • FIG. 8 is a hardware structure diagram of a server according to an exemplary embodiment of the present application, except that the processor 810 , the memory 830 , the interface 820 , and the In addition to the non-volatile memory 840, the server may also include other hardware generally according to the actual function of the server, which will not be repeated here.
  • the present application further provides a machine-readable storage medium on which a program is stored, and when the program is executed by a processor, implements the video display method described in any one of the foregoing embodiments.
  • the application may take the form of a computer program product embodied on one or more storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having program code embodied therein.
  • Machine-readable storage media includes both persistent and non-permanent, removable and non-removable media, and storage of information can be implemented by any method or technology.
  • Information may be computer readable instructions, data structures, modules of programs, or other data.
  • machine-readable storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory Memory (ROM), 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.
  • PRAM phase-change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read-only memory Memory
  • EEPROM Electrically Erasable Programmable Read Only Memory
  • Flash Memory or other memory technology
  • CD-ROM Compact Disc Read Only Memory
  • CD-ROM Compact Disc Read Only Memory
  • DVD Digital Versatile Disc
  • magnetic tape cartridges magnetic tape-disk storage or other magnetic

Abstract

A video displaying method and device, and a storage medium. The method comprises: receiving a jump instruction sent by a target terminal, the jump instruction being used for requesting to jump to a source interface of a first video, and the first video being a video that the target terminal is currently playing (S100); querying, from all videos included in the source interface, a first associated video associated with the first video (S200); and adjusting the positions of the first video and the first associated video in a video list of the source interface to a first designated position (S300). By means of the method, the timeliness and efficiency of risky user detection can be improved.

Description

视频展示方法、设备及存储介质Video display method, device and storage medium 技术领域technical field
本申请涉及视频技术领域,尤其涉及的是一种视频展示方法、设备及存储介质。The present application relates to the field of video technology, and in particular, to a video display method, device, and storage medium.
背景技术Background technique
随着视频技术的发展,视频类应用逐渐普及,视频发布者可以通过视频类应用发布视频,其他用户可以通过该视频类应用观看视频发布者发布的视频。With the development of video technology, video applications are gradually popularized, video publishers can publish videos through video applications, and other users can watch videos published by video publishers through the video applications.
当用户通过视频类应用观看视频发布者发布的视频时,若对当前观看的视频感兴趣,则可以进入视频发布者的主页,去查询当前观看的视频,以及与当前观看的视频相关联的其他视频。When a user watches a video published by a video publisher through a video application, if he is interested in the currently watched video, he can enter the homepage of the video publisher to inquire about the currently watched video and other related information about the currently watched video. video.
实践发现,目前的视频发布者主页中的视频通常是按照发布时间排序的,当视频发布者发布的视频较多时,用户无法确定当前观看的视频的具体位置,而且与该视频相关联的其他视频可能也不会连续发布的,用户需要从该视频发布者发布的大量视频中手动查找当前观看的视频以及与当前观看的视频相关联的其他视频,其效率较低。It has been found in practice that the videos on the current video publisher's homepage are usually sorted by release time. When the video publisher publishes a lot of videos, the user cannot determine the specific location of the currently watched video, and other videos associated with the video It may not be published continuously, and the user needs to manually find the currently watched video and other videos related to the currently watched video from a large number of videos published by the video publisher, which is inefficient.
发明内容SUMMARY OF THE INVENTION
本申请提供一种视频展示方法、设备及存储介质,以提高定位当前播放的视频及其关联视频的效率。The present application provides a video display method, device and storage medium to improve the efficiency of locating a currently playing video and its associated video.
本申请第一方面提供一种视频展示方法,包括:A first aspect of the present application provides a video display method, including:
接收目标终端发送的跳转指令,所述跳转指令用于请求跳转至第一视频的来源界面,所述第一视频为所述目标终端当前播放的视频;receiving a jump instruction sent by the target terminal, where the jump instruction is used to request to jump to a source interface of a first video, where the first video is a video currently played by the target terminal;
从所述来源界面包括的所有视频中查询所述第一视频相关联的第一关联视频;query the first associated video associated with the first video from all the videos included in the source interface;
将所述第一视频以及所述第一关联视频在所述来源界面中视频列表内的位置调整为第一指定位置。The positions of the first video and the first associated video in the video list in the source interface are adjusted to a first designated position.
本申请第二方面提供一种视频展示装置,包括:A second aspect of the present application provides a video display device, comprising:
接收单元,用于接收目标终端发送的跳转指令,所述跳转指令用于请求跳转至第一视频的来源界面,所述第一视频为所述目标终端当前播放的视频;a receiving unit, configured to receive a jump instruction sent by the target terminal, where the jump instruction is used to request to jump to a source interface of a first video, where the first video is a video currently played by the target terminal;
查询单元,用于从所述来源界面包括的所有视频中查询所述第一视频相关联的第一关联视频;a query unit, configured to query the first associated video associated with the first video from all the videos included in the source interface;
展示单元,用于将所述第一视频以及所述第一关联视频在所述来源界面中视频列表内的位置调整为第一指定位置。The display unit is configured to adjust the positions of the first video and the first associated video in the video list in the source interface to a first designated position.
本申请第三方面提供一种服务器,其中,该服务器包括:A third aspect of the present application provides a server, wherein the server includes:
一个或多个处理器;one or more processors;
机器可读存储介质,用于存储一个或多个计算机可读指令,a machine-readable storage medium for storing one or more computer-readable instructions,
当所述一个或多个计算机可读指令被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本申请第一方面所述的方法。The one or more computer-readable instructions, when executed by the one or more processors, cause the one or more processors to implement the method as described in the first aspect of the present application.
本申请第四方面提供一种机器可读存储介质,其上存储有程序,该程序被处理器执行时,实现如前述第一方面所述的方法。A fourth aspect of the present application provides a machine-readable storage medium on which a program is stored, and when the program is executed by a processor, implements the method described in the foregoing first aspect.
本申请实施例具有以下有益效果:The embodiment of the present application has the following beneficial effects:
本申请实施例中,当接收到目标终端发送的请求跳转至当前播放的第一视频的来源界面的跳转指令时,从该来源界面包括的所有视频中查询第一视频相关联的第一关联视频,进而,将第一视频以及第一关联视频在来源界面中视频列表内的位置调整为第一指定位置,从而,可以提高定位到当前播放的视频及其关联视频的效率,进而提高用户体验。In this embodiment of the present application, when receiving a jump instruction sent by the target terminal to request to jump to the source interface of the currently playing first video, query the first video associated with the first video from all the videos included in the source interface. Associated video, and further, the position of the first video and the first associated video in the video list in the source interface is adjusted to the first designated position, so that the efficiency of locating the currently playing video and its associated video can be improved, thereby improving the user experience. experience.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that are required in the description of the embodiments or the prior art. Obviously, the drawings in the following description are from the present application. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本申请一实施例的视频展示方法的流程示意图;1 is a schematic flowchart of a video display method according to an embodiment of the present application;
图2是本申请一实施例的从来源界面包括的视频中查询第一视频相关联的第一关联视频的流程示意图;2 is a schematic flowchart of querying a first associated video associated with a first video from videos included in a source interface according to an embodiment of the present application;
图3是本申请另一实施例的从来源界面包括的视频中查询第一视频相关联的第一关联视频的流程示意图;3 is a schematic flowchart of querying a first associated video associated with a first video from videos included in a source interface according to another embodiment of the present application;
图4是本申请一实施例的将第一视频以及第一关联视频在来源界面中视频列表内的位置调整为第一指定位置的流程示意图;4 is a schematic flowchart of adjusting the positions of the first video and the first associated video in the video list in the source interface to the first designated position according to an embodiment of the present application;
图5A是本申请一实施例的视频播放界面的示意图;5A is a schematic diagram of a video playback interface according to an embodiment of the present application;
图5B是本申请一实施例的视频发布者主页的示意图;5B is a schematic diagram of a homepage of a video publisher according to an embodiment of the present application;
图6是本申请一实施例的终端与服务器的交互流程示意图;6 is a schematic diagram of an interaction flow between a terminal and a server according to an embodiment of the present application;
图7是本申请一实施例的视频展示装置的结构示意图;7 is a schematic structural diagram of a video display device according to an embodiment of the present application;
图8是本申请一实施例的服务器的结构框图。FIG. 8 is a structural block diagram of a server according to an embodiment of the present application.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.
在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该” 也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种器件,但这些信息不应限于这些术语。这些术语仅用来将同一类型的器件彼此区分开。例如,在不脱离本申请范围的情况下,第一器件也可以被称为第二器件,类似地,第二器件也可以被称为第一器件。取决于语境,如在此所使用的词语“如果”可以被解释成为“在......时”或“当......时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used herein to describe various devices, such information should not be limited by these terms. These terms are only used to distinguish devices of the same type from one another. For example, a first device could also be termed a second device, and similarly, a second device could also be termed a first device, without departing from the scope of the present application. The word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining" depending on the context.
下面对本申请实施例的视频展示方法进行更具体的描述,但不应以此为限。The video display method according to the embodiment of the present application will be described in more detail below, but it should not be limited thereto.
本申请实施例提供的一种视频展示方法,参看图1,该视频展示方法包括以下步骤:A video display method provided by an embodiment of the present application, referring to FIG. 1 , the video display method includes the following steps:
需要说明的是,本申请第一方面提供的视频展示方法的执行主体可以为视频类应用的服务端,如视频社交软件APP的服务器。It should be noted that, the execution body of the video display method provided by the first aspect of the present application may be a server of a video application, such as a server of a video social software APP.
S100:接收目标终端发送的跳转指令,该跳转指令用于请求跳转至第一视频的来源界面,第一视频为目标终端当前播放的视频。S100: Receive a jump instruction sent by the target terminal, where the jump instruction is used to request to jump to the source interface of the first video, where the first video is the video currently played by the target terminal.
S200:从该来源界面包括的所有视频中查询第一视频相关联的第一关联视频。S200: Query a first associated video associated with the first video from all videos included in the source interface.
S300:将第一视频以及第一关联视频在来源界面中视频列表内的位置调整为第一指定位置。S300: Adjust the positions of the first video and the first associated video in the video list in the source interface to the first designated position.
本申请实施例中,目标终端并不特指某一固定的终端,而是可以指代支持按照本申请实施例提供的方案进行视频展示的终端。In the embodiment of the present application, the target terminal does not specifically refer to a fixed terminal, but may refer to a terminal that supports video display according to the solution provided in the embodiment of the present application.
当用户通过目标终端观看视频时,例如,用户通过目标终端上运行的指定视频类应用的客户端(可以称为目标客户端)观看视频时,对于感兴趣的视频,用户可以通过指定操作向服务端发送跳转指令,以请求跳转至当前播放的视频(本文中称为第一视频)的来源界面,并在该来源界面中查询关联视频进行观看。When a user watches a video through a target terminal, for example, when a user watches a video through a client of a specified video application running on the target terminal (which can be called a target client), for the video of interest, the user can send the service to the service through a specified operation. The terminal sends a jump instruction to request to jump to the source interface of the currently playing video (herein referred to as the first video), and query the associated video in the source interface for viewing.
举例来说,以视频社交软件为例,视频发布者可以在自身的社交空间内发布 视频,服务端可以按照一定的规则,从特定视频发布者的社交空间中发布的视频中选择部分视频展示在目标客户端的指定界面,如视频推荐页面。当用户对终端上运行的目标客户端的视频推荐页面中的视频进行观看时,若用户对当前观看的视频感兴趣,用户可以通过指定操作,请求跳转至发布该视频的视频发布者的社交空间(可以称为视频发布者主页,即上述来源界面),并从该视频发布者的社交空间内的视频中查询当前播放的视频以及关联视频。For example, taking video social software as an example, a video publisher can publish videos in its own social space, and the server can select some videos from the videos published in the social space of a specific video publisher according to certain rules to display in the The specified interface of the target client, such as the video recommendation page. When a user watches a video on the video recommendation page of the target client running on the terminal, if the user is interested in the video currently being watched, the user can request to jump to the social space of the video publisher who published the video through a specified operation (It can be called the home page of the video publisher, that is, the above-mentioned source interface), and query the currently playing video and related videos from the videos in the social space of the video publisher.
本申请实施例中,当服务端接收到目标终端发送的跳转指令时,可以从第一视频的来源界面包括的所有视频中查询第一视频相关联的视频(本文中称为第一关联视频),并将第一视频以及第一关联视频在来源界面中视频列表内的位置调整为指定位置(本文中称为第一指定位置)。In this embodiment of the present application, when the server receives the jump instruction sent by the target terminal, it can query the video associated with the first video (herein referred to as the first associated video) from all videos included in the source interface of the first video. ), and adjust the positions of the first video and the first associated video in the video list in the source interface to a specified position (herein referred to as the first specified position).
例如,可以将第一视频以及第一关联视频在来源界面中视频列表内的位置调整为视频列表的头部(即上述第一指定位置为视频列表的头部)。For example, the positions of the first video and the first associated video in the video list in the source interface may be adjusted to the head of the video list (that is, the above-mentioned first specified position is the head of the video list).
需要说明的是,在本申请实施例中,第一指定位置并不限于视频列表的头部,其也可以包括视频列表尾部或其他指定位置。It should be noted that, in this embodiment of the present application, the first designated position is not limited to the head of the video list, and may also include the tail of the video list or other designated positions.
此外,在本申请实施例中,当第一视频的来源界面中不存在第一视频相关联的视频,即不存在上述第一关联视频时,可以仅对第一视频在来源界面中的视频列表内的位置进行调整,或者,也可以不对来源界面中视频列表内各视频的位置进行调整。In addition, in this embodiment of the present application, when there is no video associated with the first video in the source interface of the first video, that is, when the above-mentioned first associated video does not exist, only the video list of the first video in the source interface may be The position of each video in the video list in the source interface may not be adjusted.
示例性的,按照上述方式调整位置后的第一视频以及第一关联视频在来源界面中的视频列表内连续排布。Exemplarily, the first video and the first associated video whose positions are adjusted in the above manner are continuously arranged in the video list in the source interface.
可见,在图1所示方法流程中,通过在目标终端跳转至当前播放的视频的来源界面时,将当前播放的视频及其关联视频在来源界面中视频列表内的位置调整至指定位置,从而,用户可以快速地在该来源界面的视频列表内的指定位置找到当前播放的视频及其关联视频,提高了视频定位效率,从而,可以提高用户体验。It can be seen that, in the method flow shown in FIG. 1, when the target terminal jumps to the source interface of the currently playing video, the position of the currently playing video and its associated video in the video list in the source interface is adjusted to the specified position, Therefore, the user can quickly find the currently playing video and its associated video at the specified position in the video list of the source interface, which improves the video positioning efficiency and thus improves the user experience.
在一些实施例中,参见图2,步骤S200中,从来源界面包括的视频中查询 第一视频相关联的第一关联视频,可以通过以下步骤实现:In some embodiments, referring to Fig. 2, in step S200, querying the first associated video associated with the first video from the videos included in the source interface can be achieved by the following steps:
S201:获取第一视频的组标识,该组标识用于标识第一视频所属的第一视频分组;S201: Obtain a group identifier of the first video, where the group identifier is used to identify the first video group to which the first video belongs;
S202:将第一视频分组中除第一视频之外的其他视频确定为第一关联视频。S202: Determine other videos in the first video group except the first video as the first associated video.
示例性的,可以依据视频所属视频分组,将属于同一视频分组的视频确定为相关联的视频。Exemplarily, videos belonging to the same video group may be determined as associated videos according to the video group to which the video belongs.
示例性的,为了提高关联视频确定效率,视频发布者在来源界面中发布视频时,可以为发布的视频设置视频分组,同一视频分组内的视频具有相同的组标识,该组标识用于标识视频所属的视频分组。Exemplarily, in order to improve the efficiency of determining the associated video, when a video publisher publishes a video in the source interface, a video group can be set for the published video, and the videos in the same video group have the same group ID, and the group ID is used to identify the video. The video group to which it belongs.
相应地,当服务端接收到目标终端发送的跳转指令时,服务端可以获取第一视频的组标识,以确定第一视频所属的视频分组(本文中称为第一视频分组),并将第一视频分组中除第一视频之外的其他视频确定为第一关联视频。Correspondingly, when the server receives the jump instruction sent by the target terminal, the server can obtain the group identifier of the first video to determine the video group (herein referred to as the first video group) to which the first video belongs, and assign the Other videos in the first video group except the first video are determined as the first associated video.
需要说明的是,对于视频发布者发布的,且未设置分组的视频,服务端可以为其设置缺省分组和组标识,其具体实现在此不做赘述。It should be noted that, for a video published by a video publisher without a grouping set, the server may set a default grouping and a group identifier for the video, and the specific implementation thereof will not be described in detail here.
在另一些实施例中,参见图3,步骤S200中,从来源界面包括的视频中查询第一视频相关联的第一关联视频,可以通过以下步骤实现:In other embodiments, referring to FIG. 3, in step S200, querying the first associated video associated with the first video from the videos included in the source interface can be implemented by the following steps:
S203:分别计算来源界面中除第一视频之外的其他各个视频与第一视频之间的关联度;S203: Calculate the degree of association between each other video except the first video in the source interface and the first video respectively;
S204:将与第一视频的关联度超过预设阈值的其他视频确定为第一关联视频。S204: Determine other videos whose degree of association with the first video exceeds a preset threshold as the first associated video.
示例性的,可以依据视频之间的关联度确定相关联的视频。Exemplarily, the associated videos may be determined according to the degree of association between the videos.
相应地,为了提高所确定的关联视频的准确性,当服务端接收到目标终端发送的跳转指令时,服务端可以分别计算来源界面中除第一视频之外的其他各个视频与第一视频之间的关联度,并将与第一视频的关联度超过预设阈值(可以根据实际场景设定)的其他视频确定为第一关联视频。Correspondingly, in order to improve the accuracy of the determined associated video, when the server receives the jump instruction sent by the target terminal, the server can calculate the source interface of each other video except the first video and the first video respectively. The degree of association between the first video and the first video exceeds a preset threshold (which can be set according to the actual scene) and other videos are determined as the first associated video.
在一个示例中,步骤S203中,分别计算来源界面中除第一视频之外的其他 各个视频与所述第一视频之间的关联度,可以包括:In one example, in step S203, calculating the degree of association between each video other than the first video in the source interface and the first video, respectively, may include:
针对来源界面中除第一视频之外的其他每一视频,获得该视频的属性信息,该属性信息包括以下至少一个信息:视频名称、视频主题、视频封面信息;For each other video except the first video in the source interface, obtain attribute information of the video, where the attribute information includes at least one of the following information: video name, video theme, and video cover information;
依据已获得的该视频的属性信息与第一视频的属性信息确定该视频与第一视频的关联度。The degree of association between the video and the first video is determined according to the obtained attribute information of the video and the attribute information of the first video.
示例性的,考虑到视频名称、视频主题以及视频封面信息等信息中的部分或全部可以很好地表征视频之间的关联度,为了准确地确定视频之间的关联度,可以依据视频的属性信息确定视频之间的关联度。Exemplarily, considering that some or all of the information such as the video name, video topic, and video cover information can well characterize the degree of association between videos, in order to accurately determine the degree of association between videos, the attributes of the videos can be determined. The information determines the degree of relevance between the videos.
示例性的,视频的属性信息可以包括但不限于视频名称、视频主题、视频封面信息等信息中的一个或多个。Exemplarily, the attribute information of the video may include, but is not limited to, one or more of the video title, video title, video cover information and other information.
当服务端接收到目标终端发送的跳转指令时,服务端可以分别获取第一视频的属性信息,以及来源界面中除第一视频之外的其他每一视频的属性信息。When the server receives the jump instruction sent by the target terminal, the server can obtain attribute information of the first video and attribute information of each video except the first video in the source interface.
对于来源界面中除第一视频之外的其他每一视频,可以依据已获得的该视频的属性信息与第一视频的属性信息确定该视频与第一视频的关联度。For each video other than the first video in the source interface, the degree of association between the video and the first video may be determined according to the obtained attribute information of the video and the attribute information of the first video.
在一些实施例中,参见图4,步骤S300中,将第一视频以及第一关联视频在来源界面中视频列表内的位置调整为第一指定位置,可以通过以下步骤实现:In some embodiments, referring to FIG. 4 , in step S300, the positions of the first video and the first associated video in the video list in the source interface are adjusted to the first designated position, which can be achieved by the following steps:
S301:将第一视频、第一关联视频进行排序得到视频序列;S301: Sort the first video and the first associated video to obtain a video sequence;
S302:将视频序列中首个视频作为当前视频,将视频列表中头部位置确定为当前位置;S302: take the first video in the video sequence as the current video, and determine the head position in the video list as the current position;
S303:将当前视频调整至视频列表中的当前位置,若视频序列中还存在当前视频的下一视频,则将下一视频确定为当前视频,将视频列表中当前位置的下一位置确定为当前位置,返回将当前视频调整至视频列表中的当前位置的操作。S303: Adjust the current video to the current position in the video list, if the next video of the current video still exists in the video sequence, then determine the next video as the current video, and determine the next position of the current position in the video list as the current video Position, returns the operation to adjust the current video to the current position in the video list.
示例性的,为了提高定位到第一视频及第一关联视频的效率,上述第一指定位置可以为来源界面中视频列表的头部。Exemplarily, in order to improve the efficiency of locating the first video and the first associated video, the above-mentioned first specified position may be the head of the video list in the source interface.
当确定了第一视频相关联的第一关联视频时,可以将第一视频、第一关联视频进行排序得到视频序列。When the first associated video associated with the first video is determined, the first video and the first associated video may be sorted to obtain a video sequence.
对于该视频序列,可以将视频序列中首个视频作为当前视频,将视频列表中头部位置确定为当前位置,并将当前视频调整值视频列表中的当前位置。For the video sequence, the first video in the video sequence can be used as the current video, the head position in the video list is determined as the current position, and the current video is adjusted to the current position in the video list.
完成上述操作时,可以确定视频序列中是否还存在当前视频的下一视频,若存在,则将该下一视频确定为当前视频,将视频列表中当前位置的下一位置确定为当前位置,返回将当前视频调整至视频列表中的当前位置的操作。若不存在,则结束此次视频位置操作流程。When the above operations are completed, it can be determined whether there is a next video of the current video in the video sequence, if so, the next video is determined as the current video, the next position of the current position in the video list is determined as the current position, and the return The action of adjusting the current video to the current position in the video list. If it does not exist, end the video position operation process.
举例来说,假设第一视频为视频1,第一关联视频包括视频2、视频3和视频4,将第一视频、第一关联视频进行排序得到的视频序列为视频1、视频2、视频3和视频4从前往后排序。For example, assuming that the first video is video 1, the first associated video includes video 2, video 3, and video 4, and the video sequence obtained by sorting the first video and the first associated video is video 1, video 2, and video 3 and video 4 sorted from front to back.
当对第一视频以及第一关联视频的位置进行调整时,可以将视频1作为当前视频,将视频列表中头部位置确定为当前位置,并将当前视频调整至视频列表中的当前位置,即将视频1调整至视频列表头部。When adjusting the positions of the first video and the first associated video, video 1 can be used as the current video, the head position in the video list can be determined as the current position, and the current video can be adjusted to the current position in the video list, that is, Video 1 is adjusted to the head of the video list.
由于视频序列中视频1之后存在其他视频,因此,可以将视频1的下一视频(视频2)确定为当前视频,将视频列表中当前位置的下一个位置(即视频1所在位置的下一位置)确定为当前位置,将视频2调整至视频1的下一位置。Since there are other videos after video 1 in the video sequence, the next video (video 2) of video 1 can be determined as the current video, and the next position of the current position in the video list (that is, the next position of the position of video 1 ) is determined as the current position, and video 2 is adjusted to the next position of video 1.
由于视频序列中视频2之后存在其他视频,因此,可以将视频2的下一视频(视频3)确定为当前视频,将视频列表中当前位置的下一个位置(即视频2所在位置的下一位置)确定为当前位置,将视频3调整至视频2的下一位置。Since there are other videos after video 2 in the video sequence, the next video (video 3) of video 2 can be determined as the current video, and the next position of the current position in the video list (that is, the next position of the position of video 2 ) is determined as the current position, and video 3 is adjusted to the next position of video 2.
由于视频序列中视频3之后存在其他视频,因此,可以将视频3的下一视频(视频4)确定为当前视频,将视频列表中当前位置的下一个位置(即视频3所在位置的下一位置)确定为当前位置,将视频4调整至视频3的下一位置。Since there are other videos after video 3 in the video sequence, the next video (video 4) of video 3 can be determined as the current video, and the next position of the current position in the video list (that is, the next position of the position of video 3 ) is determined as the current position, and video 4 is adjusted to the next position of video 3.
由于视频序列中视频4之后不存在其他视频,因此,可以结束此次视频位置调整流程。Since there is no other video after video 4 in the video sequence, this video position adjustment process can be ended.
在一个示例中,将第一视频、第一关联视频进行排序得到视频序列,可以包括:In an example, the video sequence obtained by sorting the first video and the first associated video may include:
以第一视频为序列头,并依据第一关联视频与第一视频的关联度从高到低 的顺序,对第一关联视频进行排序,以得到视频序列。Taking the first video as the sequence header, and according to the order of the degree of association between the first associated video and the first video from high to low, sort the first associated video to obtain a video sequence.
示例性的,考虑到关联视频与当前播放的视频的关联度,与用户对该关联视频感兴趣的概率通常是正相关的,将与当前播放的视频关联度更高的视频排在视频序列的前列可以更便利地让用户定位到感兴趣的视频,因此,为了提高视频序列的合理性,在对第一关联视频进行排序时,可以依据第一关联视频与第一视频的关联度对第一关联视频进行排序。Exemplarily, considering the degree of relevance between the associated video and the currently playing video, the probability that the user is interested in the associated video is usually positively correlated, and the video with a higher degree of relevance to the currently playing video is ranked at the forefront of the video sequence. It is more convenient for the user to locate the video of interest. Therefore, in order to improve the rationality of the video sequence, when sorting the first associated video, the first associated video Videos are sorted.
在查询到第一关联视频时,可以第一视频为序列头,并依据第一关联视频与第一视频的关联度从高到低的顺序,对第一关联视频进行排序,以得到视频序列。When the first associated video is queried, the first video can be used as a sequence header, and the first associated videos are sorted in descending order of the degree of association between the first associated video and the first video to obtain a video sequence.
其中,计算第一关联视频与第一视频的关联度的方式可以参见上述实施例中的相关描述,本申请实施例在此不做赘述。For the method of calculating the degree of association between the first associated video and the first video, reference may be made to the relevant descriptions in the foregoing embodiments, and details are not described herein in this embodiment of the present application.
在另一个示例中,将第一视频、第一关联视频进行排序得到视频序列,可以包括:In another example, sorting the first video and the first associated video to obtain a video sequence may include:
以第一视频为序列头,并依据第一关联视频的视频名称对第一关联视频进行排序,以得到视频序列。Taking the first video as a sequence header, and sorting the first associated videos according to the video names of the first associated videos to obtain a video sequence.
示例性的,考虑到当关联视频按照视频名称进行排序时,用户可以快速地定位到想要观看的视频。Exemplarily, considering that when the associated videos are sorted according to the video names, the user can quickly locate the desired video.
举例来说,以当前观看的视频为某连续剧的某一集,关联视频为该连续剧的其他剧集为例,当关联视频按照视频名称排序时,用户可以清楚地确定各关联视频对应的该连续剧的剧集,从而,可以快速地定位到该连续剧的下一集。For example, if the currently watched video is an episode of a certain series, and the related videos are other episodes of the series, when the related videos are sorted by video name, the user can clearly determine the corresponding series of each related video. , so that you can quickly locate the next episode of the series.
相应地,为了提高视频定位效率,可以依据第一关联视频的视频名称对第一关联视频进行排序。Correspondingly, in order to improve video positioning efficiency, the first associated videos may be sorted according to the video names of the first associated videos.
在查询到第一关联视频时,可以第一视频为序列头,并依据第一关联视频的视频名称对第一关联视频进行排序,以得到视频序列。When the first associated video is queried, the first video can be used as a sequence header, and the first associated videos are sorted according to the video names of the first associated videos to obtain a video sequence.
举例来说,假设第一视频为某电视连续剧的其中一集,第一关联视频为该电视连续剧的其他剧集或其他剧集中的部分剧集,则可以按照第一关联视频的剧集编号对第一关联视频进行排序,即***.第1集、***.第2集...。For example, assuming that the first video is an episode of a certain TV series, and the first related video is other episodes of the TV series or some episodes of other episodes, the first related video can be numbered according to the episode number. Sort the first associated videos, ie ***.Episode 1, ***.Episode 2....
在一些实施例中,将第一视频以及第一关联视频在来源界面中视频列表内的位置调整为第一指定位置时进一步包括:In some embodiments, adjusting the positions of the first video and the first associated video in the video list in the source interface to the first specified position further includes:
获得目标终端在播放第一视频之前的指定时间段内已播放的至少一个第二视频;Obtain at least one second video that has been played by the target terminal within a specified time period before playing the first video;
从来源界面包括的所有视频中查询第二视频相关联、且与第一视频、第一关联视频均不同的至少一个第二关联视频;Query at least one second associated video that is associated with the second video and is different from the first video and the first associated video from all the videos included in the source interface;
将第二关联视频在视频列表中的位置调整至第二指定位置。Adjust the position of the second associated video in the video list to the second specified position.
示例性的,考虑到对于用户观看过的视频的关联视频,用户感兴趣的概率相对会比较高,因此,除了可以按照上述对第一视频以及第一关联视频进行位置调整之外,还可以对播放第一视频之前的其它已播放视频的关联视频进行位置调整,以使用户可能感兴趣的视频能够更容易地被定位。Exemplarily, considering that the related video of the video the user has watched, the probability that the user is interested is relatively high. Therefore, in addition to the position adjustment of the first video and the first related video according to the above, it is also possible to adjust the position of the first video and the first related video. Related videos of other played videos before playing the first video are adjusted in position, so that videos that may be of interest to the user can be more easily located.
相应地,可以获得目标终端在播放第一视频之前的指定时间段内(可以根据实际需求设定)已播放的至少一个第二视频,并从第一视频的来源界面包括的所有视频中查询第二视频相关联、且与第一视频、第二关联视频均不同的至少一个第二关联视频,进而,可以将第二关联视频在视频列表中的位置调整至指定位置(本文中称为第二指定位置)。Correspondingly, at least one second video that has been played by the target terminal within a specified time period before playing the first video (which can be set according to actual needs) can be obtained, and the first video can be queried from all the videos included in the source interface of the first video. At least one second associated video that is associated with the two videos and is different from the first video and the second associated video, and further, the position of the second associated video in the video list can be adjusted to a specified position (herein referred to as the second associated video specified location).
示例性的,上述第二视频可以包括目标终端通过播放第一视频的客户端播放的其他视频。Exemplarily, the above-mentioned second video may include other videos played by the target terminal through the client terminal that plays the first video.
在一个示例中,上述第一指定位置为视频列表的头部,第二指定位置为第一指定位置之后,其他视频的位置之前。In one example, the first specified position is the head of the video list, and the second specified position is after the first specified position and before the positions of other videos.
需要说明的是,在本申请实施例中,对于上述任一第二视频,当第一视频的来源界面中除第一视频、第一关联视频之外的其他视频中存在该第二视频时,也可以将该第二视频作为第二关联视频,且对第二关联视频进行位置调整时,该第二视频可以作为第二关联视频的序列头,即排在第二关联视频的最前面。It should be noted that, in this embodiment of the present application, for any of the above-mentioned second videos, when the second video exists in other videos except the first video and the first associated video in the source interface of the first video, The second video can also be used as the second associated video, and when the position of the second associated video is adjusted, the second video can be used as the sequence header of the second associated video, that is, the second associated video is ranked first.
在一个示例中,从来源界面包括的所有视频中查询第二视频相关联、且与第一视频、第一关联视频均不同的至少一个第二关联视频,可以包括:In one example, querying at least one second associated video that is associated with the second video and is different from the first video and the first associated video from all the videos included in the source interface may include:
确定第二视频中满足指定条件的第三视频;该指定条件包括至少一个条件:与第一视频的来源相同、播放时长超过第一预设时长、播放时间在播放第一视频之前的第二预设时长内;检测到通过目标终端触发的针对第二视频的指定操作;Determine the third video in the second video that satisfies the specified condition; the specified condition includes at least one condition: the source is the same as that of the first video, the playback time exceeds the first preset duration, and the playback time is in the second preset before the first video is played. Within the set time length; the specified operation for the second video triggered by the target terminal is detected;
从来源界面包括的除第一视频、第一关联视频之外的其他视频中,查询第三视频相关联的至少一个视频,并将查询到的至少一个视频作为第二关联视频。From other videos except the first video and the first associated video included in the source interface, query at least one video associated with the third video, and use the queried at least one video as the second associated video.
示例性的,为了提高位置调整的合理性,提高调整至第二位置的视频命中用户的兴趣点的概率,在确定第二视频相关联的第二关联视频时,可以确定第二视频中满足指定条件的视频(本文中称为第三视频)。Exemplarily, in order to improve the rationality of the position adjustment and increase the probability that the video adjusted to the second position hits the user's point of interest, when determining the second associated video associated with the second video, it may be determined that the second video satisfies the specified conditional video (herein referred to as the third video).
示例性的,考虑到当用户想要控制终端跳转至当前观看的视频(即上述第一视频)的来源界面时,在观看第一视频之前已观看,且与第一视频的来源相同的视频的关联视频,用户感兴趣的概率会比较高,因此,可以将与第一视频的来源相同作为上述指定条件之一。Exemplarily, consider that when the user wants to control the terminal to jump to the source interface of the currently watched video (that is, the above-mentioned first video), he has watched the first video before watching the video and has the same source as the first video. The associated video of , the probability that the user is interested will be relatively high, therefore, the same source as the first video can be used as one of the above specified conditions.
考虑到用户观看时间较长的视频是用户感兴趣的视频的概率会比较高,因此,可以将视频的播放时长超过预设时长(可以根据实际需求设定,本文中称为第一预设时长)作为上述指定条件之一。Considering that the video that the user has watched for a long time has a high probability of being the video that the user is interested in, the playback duration of the video can be longer than the preset duration (which can be set according to actual needs, and is referred to as the first preset duration in this article. ) as one of the above-specified conditions.
考虑到用户最近观看的视频是当前用户感兴趣的视频的概率也会比较高,因此,播放时间在播放第一视频之前的预设时长(可以根据实际需求设定,本文中称为第二预设时长)作为上述指定条件之一。Considering that the probability that the most recent video watched by the user is the video that the current user is interested in is also relatively high, therefore, the preset duration of the playback time before the first video is played (which can be set according to actual needs, and is referred to as the second preset in this paper). set duration) as one of the above-specified conditions.
考虑到对于感兴趣的视频,用户通常可能会通过目标终端触发针对该第二视频的指定操作,如点赞、评论、关注、收藏等,因此,可以将检测到通过目标终端触发的针对第二视频的指定操作作为上述指定条件之一。Considering that for the video of interest, the user may usually trigger the specified operation for the second video through the target terminal, such as like, comment, follow, favorite, etc. Therefore, it is possible to detect the second video triggered by the target terminal. The specified operation of the video is one of the above specified conditions.
示例性的,当确定了第三视频时,可以从第一视频的来源界面中除第一视频、第一关联视频之外的其他视频中,查询第三视频相关联的至少一个视频,并将查询到的该至少一个视频作为第二关联视频。Exemplarily, when the third video is determined, at least one video associated with the third video may be queried from other videos except the first video and the first associated video in the source interface of the first video, and the The at least one video queried is used as the second associated video.
为了使本领域技术人员更好地理解本申请实施例提供的技术方案,下面结 合具体实例对本申请实施例提供的技术方案进行说明。In order to make those skilled in the art better understand the technical solutions provided by the embodiments of the present application, the technical solutions provided by the embodiments of the present application are described below in conjunction with specific examples.
在该实施例中,以上述视频类应用为视频社交软件,且以通过终端上安装或运行的视频社交软件客户端(下文中简称为客户端)与服务端进行交互,实现终端与服务端的交互为例,用户通过客户端发布视频时,可以对发布的视频进行分组,不同视频分组的视频的组标识相同,不同视频分组的视频的组标识不同。In this embodiment, the above-mentioned video applications are used as video social software, and the interaction between the terminal and the server is realized by interacting with the server through the video social software client (hereinafter referred to as the client) installed or running on the terminal. For example, when a user publishes videos through a client, the published videos can be grouped. Videos in different video groups have the same group ID, and videos in different video groups have different group IDs.
例如,对于划分至视频分组1的视频具有相同的组标识,如分组id:1,该视频分组内各视频可以具有组内编号,如视频1-0,视频1-1,视频1-2;对于划分至视频分组2的视频具有相同的组标识,如分组id:2,该视频分组内各视频可以具有组内编号,如视频2-0,视频2-1,视频2-2。For example, for videos divided into video group 1 with the same group identifier, such as group id: 1, each video in the video group may have an intra-group number, such as video 1-0, video 1-1, and video 1-2; The videos divided into video group 2 have the same group identifier, such as group id: 2, and each video in the video group may have an intra-group number, such as video 2-0, video 2-1, and video 2-2.
服务端可以按照一定策略从不同的视频发布者发布的视频中,选择部分视频展示在客户端的推荐页面,用户可以通过客户端查看推荐页面中展示的视频,并对观看选择播放的视频。The server can select some videos from the videos released by different video publishers to display on the recommendation page of the client according to a certain strategy.
当用户对当前观看的视频感兴趣时,想要继续观看其他相关视频时,可以通过指定操作,如点击视频播放界面中展示的视频发布者的头像,触发客户端跳转至视频来源界面,如视频发布者主页。When the user is interested in the currently watched video and wants to continue watching other related videos, he can perform a specified operation, such as clicking the avatar of the video publisher displayed in the video playback interface, to trigger the client to jump to the video source interface, such as Video publisher home page.
在传统方案中,视频发布者主页包括的视频通常按照发布时间顺序等策略固定排序,当视频发布者发布的视频较多时,用户需要从大量的视频中翻找,查询当前播放的视频以及其关联视频。In the traditional solution, the videos included in the homepage of the video publisher are usually sorted according to the release time sequence and other strategies. When the video publisher publishes a lot of videos, the user needs to rummage through a large number of videos to query the currently playing videos and their associations. video.
为了提高定位到当前播放视频及其关联视频的效率,提高用户体验,本申请实施例采用如下方式对视频发布者主页中的视频进行展示。In order to improve the efficiency of locating the currently playing video and its associated video, and improve the user experience, the embodiment of the present application adopts the following manner to display the video on the homepage of the video publisher.
在该实施例中,当服务端接收到客户端发送的跳转指令,该跳转指令用于请求跳转至当前播放的视频(即上述第一视频)的视频发布者主页(即上述第一视频的来源界面)。In this embodiment, when the server receives a jump instruction sent by the client, the jump instruction is used to request to jump to the video publisher's homepage (that is, the first video above) of the currently playing video (that is, the first video above). video source interface).
例如,如图5A所示,用户可以通过点击视频播放界面中展示的视频发布者的头像,触发客户端跳转至视频发布者主页。For example, as shown in FIG. 5A , the user can trigger the client to jump to the homepage of the video publisher by clicking on the avatar of the video publisher displayed in the video playback interface.
服务端从视频发布者主页包括的所有视频中查询当前播放的视频相关联的 其他视频(即上述第一关联视频)。The server queries other videos associated with the currently playing video (that is, the above-mentioned first associated video) from all the videos included in the homepage of the video publisher.
示例性的,服务端可以依据当前播放的视频的组标识,确定当前播放的视频所属的视频分组,并将该视频分组内的其他视频确定为关联视频。Exemplarily, the server may determine the video group to which the currently played video belongs according to the group identifier of the currently played video, and determine other videos in the video group as associated videos.
服务端可以将当前播放的视频及其关联视频在视频发布者主页中视频列表内的位置调整为视频列表的头部,示意图可以如图5B所示,从而,用户可以快速地定位到当前播放的视频及其关联视频。The server can adjust the position of the currently playing video and its associated video in the video list in the video publisher's homepage to the head of the video list, the schematic diagram can be shown in Figure 5B, so that the user can quickly locate the currently playing video. Videos and their associated videos.
示例性的,当前视频的关联视频可以按照视频名称(或组内编号)进行排序。Exemplarily, the related videos of the current video may be sorted according to the video name (or the number in the group).
下面结合实例对本申请实施例提供的技术方案中终端与服务器之间的交互进行说明。The interaction between the terminal and the server in the technical solutions provided by the embodiments of the present application will be described below with reference to examples.
请参见图6,为本申请实施例提供的一种终端与服务器之间进行交互的流程示意图,如图6所示,该交互流程可以包括:Please refer to FIG. 6 , which is a schematic flowchart of an interaction between a terminal and a server provided by an embodiment of the present application. As shown in FIG. 6 , the interaction process may include:
1、终端向服务器发送主界面资源获取请求,该主界面资源获取请求用于请求获取目标应用的主界面的资源。1. The terminal sends a main interface resource acquisition request to the server, where the main interface resource acquisition request is used to request to acquire the main interface resources of the target application.
示例性的,当终端检测到针对本地安装的指定视频类应用(可以称为目标应用)的运行指令,如检测到针对该目标应用的单击指令,终端可以向服务器(目标应用的服务器)发送主界面资源获取请求,该主界面获取请求用于获取展示在该目标应用的主界面的资源。Exemplarily, when the terminal detects a running instruction for a locally installed specified video application (which may be referred to as a target application), such as detecting a single-click instruction for the target application, the terminal may send a message to the server (the server of the target application). A main interface resource acquisition request, where the main interface acquisition request is used to acquire resources displayed on the main interface of the target application.
其中,该主界面可以为视频推荐页面。The main interface may be a video recommendation page.
2、服务器获取目标应用的主界面资源。2. The server obtains the main interface resources of the target application.
示例性的,该主界面的资源可以为展示在主界面的视频摘要信息。Exemplarily, the resource of the main interface may be video summary information displayed on the main interface.
其中,该展示在主界面的视频摘要信息可以包括视频发布者通过目标应用发布的视频中热度最高或者发布时间最新的预设数量的视频的摘要信息。The video summary information displayed on the main interface may include summary information of a preset number of videos with the highest popularity or the latest release time among the videos published by the video publisher through the target application.
可选地,该摘要信息可以包括但不限于视频封面、视频名称等。Optionally, the summary information may include, but is not limited to, a video cover, a video name, and the like.
3、服务器将目标应用的主界面资源发送给终端。3. The server sends the main interface resources of the target application to the terminal.
4、终端展示目标应用的主界面。4. The terminal displays the main interface of the target application.
5、终端向服务器发送目标视频资源获取请求,该目标视频资源获取请求用 于请求获取目标视频的资源。5. The terminal sends a target video resource acquisition request to the server, where the target video resource acquisition request is used for requesting acquisition of target video resources.
示例性的,当终端检测到针对目标应用的主界面中展示的某视频(可以称为目标视频)的播放指令时,如检测到针对该目标视频的单击指令时,终端可以向服务器发送针对目标视频的资源获取请求(即目标视频资源获取请求),以获取目标视频的资源。Exemplarily, when the terminal detects a playback instruction for a certain video (which may be referred to as the target video) displayed in the main interface of the target application, for example, when detecting a click instruction for the target video, the terminal may send a message for the server to the server. The resource acquisition request of the target video (that is, the target video resource acquisition request) to acquire the resources of the target video.
6、服务器向终端发送目标视频的资源。6. The server sends the resource of the target video to the terminal.
7、终端播放目标视频。7. The terminal plays the target video.
8、终端向服务器发送目标主页跳转指令,该目标主页跳转指令用于请求跳转至目标视频的发布者个人主页。8. The terminal sends a target homepage jumping instruction to the server, where the target homepage jumping instruction is used to request to jump to the publisher's personal homepage of the target video.
示例性的,当终端检测到针对目标视频播放界面中展示的视频发布者头像的点击指令时,终端可以向服务器发送目标主页跳转指令,以请求跳转至目标视频的发布者个人主页(可以称为目标主页)。Exemplarily, when the terminal detects a click instruction on the avatar of the video publisher displayed in the target video playback interface, the terminal can send a target homepage jumping instruction to the server to request to jump to the publisher's personal homepage of the target video (may be called the target home page).
9、服务器获取目标主页资源,并将目标视频以及目标视频相关联的视频在目标主页中视频列表内的位置调整至列表头部。9. The server obtains the target homepage resource, and adjusts the position of the target video and the video associated with the target video in the video list of the target homepage to the head of the list.
示例性的,服务器确定目标视频相关联的视频,以及对目标视频以及目标视频相关联的视频进行位置调整的具体实现可以参见上述方法实施例中的相关描述。Exemplarily, for the specific implementation of determining the video associated with the target video by the server and performing position adjustment on the target video and the video associated with the target video, reference may be made to the relevant descriptions in the foregoing method embodiments.
10、服务器向终端发送目标主页资源。10. The server sends the target homepage resource to the terminal.
11、终端展示目标主页。11. The terminal displays the target homepage.
示例性的,目标视频以及目标视频相关联的视频展示在目标主页中视频列表的列表头部。Exemplarily, the target video and the video associated with the target video are displayed in the list header of the video list in the target homepage.
以上对本申请提供的方法进行了描述。下面对本申请提供的装置进行描述:The method provided by the present application has been described above. The device provided by this application is described below:
请参见图7,为本申请实施例提供的一种视频展示装置的结构示意图,如图7所示,该视频展示装置可以包括:Please refer to FIG. 7 , which is a schematic structural diagram of a video display device provided by an embodiment of the present application. As shown in FIG. 7 , the video display device may include:
接收单元710,用于接收目标终端发送的跳转指令,所述跳转指令用于请求 跳转至第一视频的来源界面,所述第一视频为所述目标终端当前播放的视频;The receiving unit 710 is used for receiving the jump instruction sent by the target terminal, and the jump instruction is used for requesting to jump to the source interface of the first video, and the first video is the video currently played by the target terminal;
查询单元720,用于从所述来源界面包括的所有视频中查询所述第一视频相关联的第一关联视频;A query unit 720, configured to query the first associated video associated with the first video from all the videos included in the source interface;
展示单元730,用于将所述第一视频以及所述第一关联视频在所述来源界面中视频列表内的位置调整为第一指定位置。The display unit 730 is configured to adjust the positions of the first video and the first associated video in the video list in the source interface to a first designated position.
在一些实施例中,所述查询单元720从所述来源界面包括的所有视频中查询所述第一视频相关联的第一关联视频,包括:In some embodiments, the query unit 720 queries the first associated video associated with the first video from all videos included in the source interface, including:
获取所述第一视频的组标识,所述组标识用于标识所述第一视频所属的第一视频分组;Obtain a group identifier of the first video, where the group identifier is used to identify the first video group to which the first video belongs;
将所述第一视频分组中除第一视频之外的其他视频确定为所述第一关联视频。Other videos in the first video group except the first video are determined as the first associated video.
在一些实施例中,所述查询单元720从所述来源界面包括的所有视频中查询所述第一视频相关联的第一关联视频,包括:In some embodiments, the query unit 720 queries the first associated video associated with the first video from all videos included in the source interface, including:
分别计算所述来源界面中除所述第一视频之外的其他各个视频与所述第一视频之间的关联度;respectively calculating the degree of association between each other video except the first video in the source interface and the first video;
将与所述第一视频的关联度超过预设阈值的其他视频确定为所述第一关联视频。Other videos whose degree of association with the first video exceeds a preset threshold value are determined as the first associated video.
在一些实施例中,所述查询单元720分别计算所述来源界面中除所述第一视频之外的其他各个视频与所述第一视频之间的关联度,包括:In some embodiments, the query unit 720 calculates the degree of association between each other video in the source interface except the first video and the first video, including:
针对所述来源界面中除所述第一视频之外的其他每一视频,获得该视频的属性信息,所述属性信息包括以下至少一个信息:视频名称、视频主题、视频封面信息;For every other video in the source interface except the first video, obtain attribute information of the video, where the attribute information includes at least one of the following information: video name, video theme, and video cover information;
依据已获得的该视频的属性信息与第一视频的属性信息确定该视频与所述第一视频的关联度。The degree of association between the video and the first video is determined according to the obtained attribute information of the video and the attribute information of the first video.
在一些实施例中,所述展示单元730将所述第一视频以及所述第一关联视频在所述来源界面中视频列表内的位置调整为第一指定位置,包括:In some embodiments, the displaying unit 730 adjusts the positions of the first video and the first associated video in the video list in the source interface to a first designated position, including:
将所述第一视频、所述第一关联视频进行排序得到视频序列;Sorting the first video and the first associated video to obtain a video sequence;
将视频序列中首个视频作为当前视频,将所述视频列表中头部位置确定为当前位置;Taking the first video in the video sequence as the current video, and determining the head position in the video list as the current position;
将所述当前视频调整至所述视频列表中的当前位置,若所述视频序列中还存在当前视频的下一视频,则将所述下一视频确定为当前视频,将所述视频列表中当前位置的下一位置确定为当前位置,返回将所述当前视频调整至所述视频列表中的当前位置的操作。The current video is adjusted to the current position in the video list, and if there is still a next video of the current video in the video sequence, the next video is determined as the current video, and the current video in the video list is adjusted. The next position of the position is determined as the current position, and the operation of adjusting the current video to the current position in the video list is returned.
在一些实施例中,所述展示单元730将所述第一视频、所述第一关联视频进行排序得到视频序列,包括:In some embodiments, the displaying unit 730 sorts the first video and the first associated video to obtain a video sequence, including:
以所述第一视频为序列头,并依据所述第一关联视频与所述第一视频的关联度从高到低的顺序,对所述第一关联视频进行排序,以得到所述视频序列;Taking the first video as a sequence header, and according to the order of the degree of association between the first associated video and the first video from high to low, sorting the first associated video to obtain the video sequence ;
或,or,
以所述第一视频为序列头,并依据所述第一关联视频的视频名称对所述第一关联视频进行排序,以得到所述视频序列。Taking the first video as a sequence header, and sorting the first associated videos according to the video names of the first associated videos to obtain the video sequence.
在一些实施例中,所述查询单元720,还用于获得所述目标终端在播放所述第一视频之前的指定时间段内已播放的至少一个第二视频;从所述来源界面包括的所有视频中查询第二视频相关联、且与所述第一视频、第一关联视频均不同的至少一个第二关联视频;In some embodiments, the query unit 720 is further configured to obtain at least one second video that has been played by the target terminal within a specified time period before the first video is played; In the video, query at least one second associated video that is associated with the second video and is different from the first video and the first associated video;
所述展示单元730,还用于将所述第二关联视频在所述视频列表中的位置调整至第二指定位置。The display unit 730 is further configured to adjust the position of the second associated video in the video list to a second designated position.
在一些实施例中,所述查询单元720从所述来源界面包括的所有视频中查询第二视频相关联、且与所述第一视频、第一关联视频均不同的至少一个第二关联视频,包括:In some embodiments, the query unit 720 queries, from all the videos included in the source interface, at least one second associated video that is associated with the second video and is different from the first video and the first associated video, include:
确定所述第二视频中满足指定条件的第三视频;所述指定条件包括至少一个条件:与所述第一视频的来源相同、播放时长超过第一预设时长、播放时间在播放所述第一视频之前的第二预设时长内;检测到通过所述目标终端触发的针 对所述第二视频的指定操作;Determine a third video in the second video that satisfies a specified condition; the specified condition includes at least one condition: the source is the same as the first video, the playback time exceeds the first preset time, and the playback time is within the first video. Within a second preset duration before a video; detecting a specified operation triggered by the target terminal for the second video;
从所述来源界面包括的除所述第一视频、第一关联视频之外的其他视频中,查询所述第三视频相关联的至少一个视频,并将查询到的至少一个视频作为第二关联视频。From other videos except the first video and the first associated video included in the source interface, query at least one video associated with the third video, and use the queried at least one video as the second association video.
在一些实施例中,所述第一指定位置为所述视频列表的头部,所述第二指定位置为所述第一指定位置之后,其他视频的位置之前。In some embodiments, the first specified position is the head of the video list, and the second specified position is after the first specified position and before positions of other videos.
本申请还提供一种服务器,其中,该服务器包括:The present application also provides a server, wherein the server includes:
一个或多个处理器;one or more processors;
机器可读存储介质,用于存储一个或多个计算机可读指令,a machine-readable storage medium for storing one or more computer-readable instructions,
当所述一个或多个计算机可读指令被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本申请上述实施例所述的方法。The one or more computer-readable instructions, when executed by the one or more processors, cause the one or more processors to implement the methods described in the above embodiments of the present application.
本申请上述视频展示方法的实施例可以应用在服务器上。以软件实现为例,通过其所在服务器的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行,以实现本申请的视频展示方法的实施例。从硬件层面而言,如图8所示,图8是本申请根据一示例性实施例示出的服务器的一种硬件结构图,除了图8所示的处理器810、内存830、接口820、以及非易失性存储器840之外,服务器通常根据该服务器的实际功能,还可以包括其他硬件,对此不再赘述。The foregoing embodiments of the video display method of the present application may be applied to a server. Taking software implementation as an example, the corresponding computer program instructions in the non-volatile memory are read into the memory for execution by the processor of the server where the server is located, so as to implement the embodiments of the video display method of the present application. From a hardware perspective, as shown in FIG. 8 , FIG. 8 is a hardware structure diagram of a server according to an exemplary embodiment of the present application, except that the processor 810 , the memory 830 , the interface 820 , and the In addition to the non-volatile memory 840, the server may also include other hardware generally according to the actual function of the server, which will not be repeated here.
本申请还提供一种机器可读存储介质,其上存储有程序,该程序被处理器执行时,实现如前述实施例中任意一项所述的视频展示方法。The present application further provides a machine-readable storage medium on which a program is stored, and when the program is executed by a processor, implements the video display method described in any one of the foregoing embodiments.
本申请可采用在一个或多个其中包含有程序代码的存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。机器可读存储介质包括永久性和非永久性、可移动和非可移动媒体,可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。机器可读存储介质的例子包括但不限于:相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他 类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。The application may take the form of a computer program product embodied on one or more storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having program code embodied therein. Machine-readable storage media includes both persistent and non-permanent, removable and non-removable media, and storage of information can be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of machine-readable storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory Memory (ROM), 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.
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the present application. within the scope of protection.

Claims (11)

  1. 一种视频展示方法,其特征在于,包括:A video display method, comprising:
    接收目标终端发送的跳转指令,所述跳转指令用于请求跳转至第一视频的来源界面,所述第一视频为所述目标终端当前播放的视频;receiving a jump instruction sent by the target terminal, where the jump instruction is used to request to jump to a source interface of a first video, where the first video is a video currently played by the target terminal;
    从所述来源界面包括的所有视频中查询所述第一视频相关联的第一关联视频;query the first associated video associated with the first video from all the videos included in the source interface;
    将所述第一视频以及所述第一关联视频在所述来源界面中视频列表内的位置调整为第一指定位置。The positions of the first video and the first associated video in the video list in the source interface are adjusted to a first designated position.
  2. 根据权利要求1所述的方法,其特征在于,所述从所述来源界面包括的所有视频中查询所述第一视频相关联的第一关联视频,包括:The method according to claim 1, wherein the querying the first associated video associated with the first video from all videos included in the source interface comprises:
    获取所述第一视频的组标识,所述组标识用于标识所述第一视频所属的第一视频分组;Obtain a group identifier of the first video, where the group identifier is used to identify the first video group to which the first video belongs;
    将所述第一视频分组中除第一视频之外的其他视频确定为所述第一关联视频。Other videos in the first video group except the first video are determined as the first associated video.
  3. 根据权利要求1所述的方法,其特征在于,所述从所述来源界面包括的所有视频中查询所述第一视频相关联的第一关联视频,包括:The method according to claim 1, wherein the querying the first associated video associated with the first video from all videos included in the source interface comprises:
    分别计算所述来源界面中除所述第一视频之外的其他各个视频与所述第一视频之间的关联度;respectively calculating the degree of association between each other video except the first video in the source interface and the first video;
    将与所述第一视频的关联度超过预设阈值的其他视频确定为所述第一关联视频。Other videos whose degree of association with the first video exceeds a preset threshold value are determined as the first associated video.
  4. 根据权利要求3所述的方法,其特征在于,所述分别计算所述来源界面中除所述第一视频之外的其他各个视频与所述第一视频之间的关联度,包括:The method according to claim 3, wherein the calculating, respectively, the degree of association between each video other than the first video in the source interface and the first video comprises:
    针对所述来源界面中除所述第一视频之外的其他每一视频,获得该视频的属性信息,所述属性信息包括以下至少一个信息:视频名称、视频主题、视频封面信息;For every other video in the source interface except the first video, obtain attribute information of the video, where the attribute information includes at least one of the following information: video name, video theme, and video cover information;
    依据已获得的该视频的属性信息与第一视频的属性信息确定该视频与所述第一视频的关联度。The degree of association between the video and the first video is determined according to the obtained attribute information of the video and the attribute information of the first video.
  5. 根据权利要求1所述的方法,其特征在于,所述将所述第一视频以及所述第一关联视频在所述来源界面中视频列表内的位置调整为第一指定位置,包括:The method according to claim 1, wherein the adjusting the positions of the first video and the first associated video in the video list in the source interface to a first designated position comprises:
    将所述第一视频、所述第一关联视频进行排序得到视频序列;Sorting the first video and the first associated video to obtain a video sequence;
    将视频序列中首个视频作为当前视频,将所述视频列表中头部位置确定为当前位置;Taking the first video in the video sequence as the current video, and determining the head position in the video list as the current position;
    将所述当前视频调整至所述视频列表中的当前位置,若所述视频序列中还存在当前视频的下一视频,则将所述下一视频确定为当前视频,将所述视频列表中当前位置的下一位置确定为当前位置,返回将所述当前视频调整至所述视频列表中的当前位置的操作。The current video is adjusted to the current position in the video list, and if there is still a next video of the current video in the video sequence, the next video is determined as the current video, and the current video in the video list is adjusted. The next position of the position is determined as the current position, and the operation of adjusting the current video to the current position in the video list is returned.
  6. 根据权利要求5所述的方法,其特征在于,所述将所述第一视频、所述第一关联视频进行排序得到视频序列,包括:The method according to claim 5, wherein the ordering of the first video and the first associated video to obtain a video sequence comprises:
    以所述第一视频为序列头,并依据所述第一关联视频与所述第一视频的关联度从高到低的顺序,对所述第一关联视频进行排序,以得到所述视频序列;Taking the first video as a sequence header, and according to the order of the degree of association between the first associated video and the first video from high to low, sorting the first associated video to obtain the video sequence ;
    或,or,
    以所述第一视频为序列头,并依据所述第一关联视频的视频名称对所述第一关联视频进行排序,以得到所述视频序列。Taking the first video as a sequence header, and sorting the first associated videos according to the video names of the first associated videos to obtain the video sequence.
  7. 根据权利要求1所述的方法,其特征在于,所述将所述第一视频以及所述第一关联视频在所述来源界面中视频列表内的位置调整为第一指定位置时进一步包括:The method according to claim 1, wherein the adjusting the positions of the first video and the first associated video in the video list in the source interface to a first designated position further comprises:
    获得所述目标终端在播放所述第一视频之前的指定时间段内已播放的至少一个第二视频;Obtain at least one second video that has been played by the target terminal within a specified time period before playing the first video;
    从所述来源界面包括的所有视频中查询第二视频相关联、且与所述第一视频、第一关联视频均不同的至少一个第二关联视频;query at least one second associated video that is associated with the second video and is different from the first video and the first associated video from all the videos included in the source interface;
    将所述第二关联视频在所述视频列表中的位置调整至第二指定位置。Adjusting the position of the second associated video in the video list to a second designated position.
  8. 根据权利要求7所述的方法,其特征在于,所述从所述来源界面包括的所有视频中查询第二视频相关联、且与所述第一视频、第一关联视频均不同的至少一个第二关联视频,包括:The method according to claim 7, wherein the querying for at least one video related to the second video and different from the first video and the first related video from all the videos included in the source interface is performed. Two related videos, including:
    确定所述第二视频中满足指定条件的第三视频;所述指定条件包括至少一个条件:与所述第一视频的来源相同、播放时长超过第一预设时长、播放时间在播放所述第一视频之前的第二预设时长内;检测到通过所述目标终端触发的针对所述第二视频的指定操作;Determine the third video in the second video that satisfies the specified condition; the specified condition includes at least one condition: the source is the same as the first video, the playback duration exceeds the first preset duration, and the playback time is within the playback time of the first video. Within a second preset duration before a video; detecting a specified operation triggered by the target terminal for the second video;
    从所述来源界面包括的除所述第一视频、第一关联视频之外的其他视频中,查询所述第三视频相关联的至少一个视频,并将查询到的至少一个视频作为第二关联视频。From other videos except the first video and the first associated video included in the source interface, query at least one video associated with the third video, and use the queried at least one video as the second association video.
  9. 根据权利要求7所述的方法,其特征在于,所述第一指定位置为所述视频列表的头部,所述第二指定位置为所述第一指定位置之后,其他视频的位置之前。The method according to claim 7, wherein the first specified position is the head of the video list, and the second specified position is after the first specified position and before positions of other videos.
  10. 一种服务器,其中,该服务器包括:A server, wherein the server includes:
    一个或多个处理器;one or more processors;
    机器可读存储介质,用于存储一个或多个计算机可读指令,a machine-readable storage medium for storing one or more computer-readable instructions,
    当所述一个或多个计算机可读指令被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-9中任一项所述的方法。The one or more computer-readable instructions, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-9.
  11. 一种机器可读存储介质,其上存储有程序,该程序被处理器执行时,实现如权利要求1-9中任一项所述的方法。A machine-readable storage medium having a program stored thereon, the program, when executed by a processor, implements the method according to any one of claims 1-9.
PCT/CN2021/128603 2020-11-27 2021-11-04 Video displaying method and device, and storage medium WO2022111248A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011365041.2A CN112487243A (en) 2020-11-27 2020-11-27 Video display method, device and storage medium
CN202011365041.2 2020-11-27

Publications (1)

Publication Number Publication Date
WO2022111248A1 true WO2022111248A1 (en) 2022-06-02

Family

ID=74936607

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/128603 WO2022111248A1 (en) 2020-11-27 2021-11-04 Video displaying method and device, and storage medium

Country Status (2)

Country Link
CN (1) CN112487243A (en)
WO (1) WO2022111248A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112487243A (en) * 2020-11-27 2021-03-12 上海连尚网络科技有限公司 Video display method, device and storage medium
CN113204992B (en) * 2021-03-26 2023-10-27 北京达佳互联信息技术有限公司 Video quality determining method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246304A (en) * 2020-01-20 2020-06-05 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN111263235A (en) * 2020-02-10 2020-06-09 北京奇艺世纪科技有限公司 Video playing method and device, electronic equipment and storage medium
CN111314784A (en) * 2020-02-28 2020-06-19 维沃移动通信有限公司 Video playing method and electronic equipment
US20200221185A1 (en) * 2019-01-03 2020-07-09 Baidu Online Network Technology (Beijing) Co., Ltd. Method for pushing video information, apparatus, device and storage medium
CN112487243A (en) * 2020-11-27 2021-03-12 上海连尚网络科技有限公司 Video display method, device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462182B (en) * 2014-10-10 2017-11-14 北京国双科技有限公司 Webpage redirects processing method and processing device
US20170188109A1 (en) * 2015-12-29 2017-06-29 Le Holdings (Beijing) Co., Ltd. Method and electronic device for switching video
CN110012339B (en) * 2019-04-11 2021-02-12 北京字节跳动网络技术有限公司 Video playing and displaying method, device, equipment and storage medium
CN111783001B (en) * 2020-06-29 2024-01-09 北京达佳互联信息技术有限公司 Page display method, page display device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200221185A1 (en) * 2019-01-03 2020-07-09 Baidu Online Network Technology (Beijing) Co., Ltd. Method for pushing video information, apparatus, device and storage medium
CN111246304A (en) * 2020-01-20 2020-06-05 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN111263235A (en) * 2020-02-10 2020-06-09 北京奇艺世纪科技有限公司 Video playing method and device, electronic equipment and storage medium
CN111314784A (en) * 2020-02-28 2020-06-19 维沃移动通信有限公司 Video playing method and electronic equipment
CN112487243A (en) * 2020-11-27 2021-03-12 上海连尚网络科技有限公司 Video display method, device and storage medium

Also Published As

Publication number Publication date
CN112487243A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
WO2022111248A1 (en) Video displaying method and device, and storage medium
US10853415B2 (en) Systems and methods of classifying content items
US11570498B2 (en) Using machine learning and other models to determine a user preference to cancel a stream or download
US8245924B2 (en) Techniques and systems for supporting podcasting
US8713618B1 (en) Segmenting video based on timestamps in comments
US9619470B2 (en) Adaptive music and video recommendations
US9635419B2 (en) Video content monitoring device and methods thereof
WO2019007187A1 (en) Information push method and apparatus, and server, computing device and storage medium
JP2013535065A (en) Identify popular content items using content item histograms
US11743315B2 (en) Methods, systems, and media for resuming playback of media content across multiple devices
KR101977768B1 (en) Selectively recording media content
US10242007B2 (en) Automated media clipping and combination system
WO2009124002A1 (en) Distributed media fingerprint repositories
US10945012B2 (en) Cold-start podcast recommendations
US11698924B2 (en) Systems and methods for generating playlists in a music service
WO2017192184A1 (en) Annotation of videos using aggregated user session data
US10394838B2 (en) App store searching
JP5303079B2 (en) Content search service system and content search service method
US10262035B2 (en) Estimating data
US9280384B2 (en) Method, server and system for processing task data
WO2017101425A1 (en) Apparatus, method and system for use in retrieval of media resources
RU2530672C1 (en) Checking method of web pages for availability in them of real time multimedia flows, and computer-implemented system for method's implementation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21896749

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09.10.2023)