Video browsing method, device, terminal and storage medium

文档序号:664142 发布日期:2021-04-27 浏览:8次 中文

阅读说明:本技术 视频浏览方法、装置、终端及存储介质 (Video browsing method, device, terminal and storage medium ) 是由 李炤 邵和明 黄伟亮 董超 于 2019-10-26 设计创作,主要内容包括:本发明实施例提供了一种视频浏览方法、装置、终端及存储介质,其中,所述方法包括:响应于针对目标视频的预览操作指令,将所述目标视频显示到预览界面中播放;获取针对所述预览界面中目标视频的浏览操作指令,所述浏览操作指令包括进度调整指令、视频播放指令或预览退出指令;响应于所述浏览操作指令,对所述目标视频进行所述浏览操作指令所指示的浏览操作。可见,通过实施本发明,可以实现对目标视频的快速浏览操作,进而高效、准确地筛选目标视频,有利于提高信息获取效率。(The embodiment of the invention provides a video browsing method, a video browsing device, a terminal and a storage medium, wherein the method comprises the following steps: responding to a preview operation instruction aiming at a target video, and displaying the target video to a preview interface for playing; acquiring a browsing operation instruction aiming at a target video in the preview interface, wherein the browsing operation instruction comprises a progress adjusting instruction, a video playing instruction or a preview exit instruction; and responding to the browsing operation instruction, and performing browsing operation indicated by the browsing operation instruction on the target video. Therefore, by implementing the method and the device, the target video can be browsed quickly, so that the target video can be screened efficiently and accurately, and the information acquisition efficiency can be improved.)

1. A method for video browsing, the method comprising:

responding to a preview operation instruction aiming at a target video, and displaying the target video to a preview interface for playing;

acquiring a browsing operation instruction aiming at a target video in the preview interface, wherein the browsing operation instruction comprises a progress adjusting instruction, a video playing instruction or a preview exit instruction;

and responding to the browsing operation instruction, and performing browsing operation indicated by the browsing operation instruction on the target video.

2. The method of claim 1, wherein the obtaining of the browse operation instruction for the target video in the preview interface comprises:

collecting browsing operation aiming at a target video in the preview interface;

if the operation direction of the browsing operation is a first direction, the browsing operation instruction generated corresponding to the browsing operation is a progress adjustment instruction;

if the operation direction of the browsing operation is a second direction and the operation distance of the browsing operation is greater than a first threshold, the browsing operation instruction generated corresponding to the browsing operation is a video playing instruction;

otherwise, the browsing operation instruction generated corresponding to the browsing operation is a preview exit instruction.

3. The method according to claim 1, wherein the browsing operation instruction is a progress adjustment instruction, and performing the browsing operation indicated by the browsing operation instruction on the target video in response to the browsing operation instruction comprises:

and responding to the progress adjusting instruction, and adjusting the playing progress of the target video in the preview interface to the playing progress indicated by the progress adjusting instruction for playing.

4. The method according to claim 1, wherein the browsing operation instruction is a progress adjustment instruction, and performing the browsing operation indicated by the browsing operation instruction on the target video in response to the browsing operation instruction comprises:

if the progress adjusting instruction is used for indicating the playing progress of fast forwarding the target video, responding to the progress adjusting instruction, and fast forwarding the playing progress of the target video;

and if the progress adjusting instruction is used for indicating the playing progress of the target video to be fast backed, responding to the progress adjusting instruction, and fast backing the playing progress of the target video.

5. The method according to claim 1, wherein the browsing operation instruction is a video playing instruction, and performing the browsing operation indicated by the browsing operation instruction on the target video in response to the browsing operation instruction comprises:

responding to the video playing instruction, entering a playing interface, and starting to play the target video from the current playing progress of the target video in the preview interface in the playing interface.

6. The method according to claim 1, wherein the browsing operation instruction is a video playing instruction, and performing the browsing operation indicated by the browsing operation instruction on the target video in response to the browsing operation instruction comprises:

responding to the video playing instruction, moving and shrinking the target video along the operation direction indicated by the video playing instruction, and playing and prompting in a preset prompting area;

and if the target video moves to the preset prompt area, entering a playing interface, playing the target video in the playing interface, and closing the playing of the target video in the preview interface.

7. The method according to claims 1 to 6, wherein the browsing operation instruction is a preview exit instruction, and the performing, in response to the browsing operation instruction, the browsing operation indicated by the browsing operation instruction on the target video includes:

and responding to the preview exit instruction, exiting the preview interface, and closing the playing of the target video in the preview interface.

8. A video browsing apparatus, the apparatus comprising:

the first response unit is used for responding to a preview operation instruction aiming at a target video, and displaying the target video in a preview interface for playing;

the acquisition unit is used for acquiring a browsing operation instruction aiming at the target video in the preview interface, wherein the browsing operation instruction comprises a progress adjustment instruction, a video playing instruction or a preview exit instruction;

and the second response unit is used for responding to the browsing operation instruction and performing browsing operation indicated by the browsing operation instruction on the target video.

9. A terminal comprising an input device and an output device, further comprising:

a processor adapted to implement one or more instructions; and the number of the first and second groups,

a computer storage medium having one or more instructions stored thereon, the one or more instructions adapted to be loaded by the processor and to perform the video browsing method of any of claims 1-7.

10. A computer storage medium having one or more instructions stored thereon, the one or more instructions adapted to be loaded by a processor and to perform the video browsing method of any of claims 1-7.

Technical Field

The present invention relates to the field of video streaming media, and in particular, to a video browsing method, apparatus, terminal, and medium.

Background

With the popularization of the mobile internet and the reduction of the traffic charge, more and more users prefer the video streaming media in the aspect of information acquisition, and at present, the video streaming media mainly rapidly reach the users through the forms of 'cover drawings and titles' so that the users can screen information according to the requirements of the users. Therefore, more and more video cover parties and title parties are emerging.

At present, when Tencent video software previews video contents, a preview interface can be entered by executing long-time pressing operation, and the preview interface only supports three operations of video collection, closing and complete watching of a user. However, a user cannot quickly browse the entire video content to judge the information of the entire video content, and needs to perform an exit operation by the user after entering the preview interface to exit, so that the user operation is not simple and convenient, and the video content cannot be quickly and accurately obtained, thereby affecting the screening of the user on the video content and reducing the information acquisition efficiency.

Disclosure of Invention

The embodiment of the invention discloses a video browsing method, a video browsing device, a video browsing terminal and a video browsing storage medium, which can realize quick browsing operation of a target video, further efficiently and accurately screen the target video and are beneficial to improving the information acquisition efficiency.

In a first aspect, an embodiment of the present invention provides a video browsing method, where the video browsing method includes: responding to a preview operation instruction aiming at the target video, and displaying the target video in a preview interface for playing; acquiring a browsing operation instruction aiming at a target video in a preview interface, wherein the browsing operation instruction comprises a progress adjusting instruction, a video playing instruction or a preview exit instruction; and responding to the browsing operation instruction, and performing browsing operation indicated by the browsing operation instruction on the target video.

In one implementation manner, acquiring a browsing operation instruction for a target video in a preview interface includes: collecting browsing operation aiming at a target video in a preview interface; if the operation direction of the browsing operation is a first direction, the browsing operation instruction generated corresponding to the browsing operation is a progress adjustment instruction; if the operation direction of the browsing operation is a second direction and the operation distance of the browsing operation is greater than a first threshold, the browsing operation instruction generated corresponding to the browsing operation is a video playing instruction; otherwise, the browsing operation instruction generated corresponding to the browsing operation is a preview exit instruction.

In one implementation manner, the browsing operation instruction is a progress adjustment instruction, and performing, in response to the browsing operation instruction, a browsing operation indicated by the browsing operation instruction on the target video includes: and responding to the progress adjusting instruction, and adjusting the playing progress of the target video in the preview interface to the playing progress indicated by the progress adjusting instruction for playing.

In one implementation manner, the browsing operation instruction is a progress adjustment instruction, and performing, in response to the browsing operation instruction, a browsing operation indicated by the browsing operation instruction on the target video includes: if the progress adjusting instruction is used for indicating the playing progress of the fast-forwarding target video, responding to the progress adjusting instruction, and fast-forwarding the playing progress of the target video; and responding to the progress adjusting instruction to fast retreat the playing progress of the target video if the progress adjusting instruction is used for indicating the playing progress of the fast-retreating target video.

In one implementation manner, the browsing operation instruction is a video playing instruction, and performing, in response to the browsing operation instruction, the browsing operation indicated by the browsing operation instruction on the target video includes: and responding to a video playing instruction, entering a playing interface, and starting playing the target video from the current playing progress of the target video in the preview interface in the playing interface.

In one implementation manner, the browsing operation instruction is a video playing instruction, and performing, in response to the browsing operation instruction, the browsing operation indicated by the browsing operation instruction on the target video includes: responding to a video playing instruction, moving and shrinking a target video along an operation direction indicated by the video playing instruction, and playing a prompt in a preset prompt area; and if the target video moves to a preset prompt area, entering a playing interface, and playing the target video in the playing interface.

In one implementation manner, the browsing operation instruction is a preview exit instruction, and performing, in response to the browsing operation instruction, the browsing operation indicated by the browsing operation instruction on the target video includes: and responding to the preview exit instruction, exiting the preview interface, and closing the playing of the target video in the preview interface.

In a second aspect, an embodiment of the present invention provides a video browsing apparatus, where the video browsing apparatus includes:

the first response unit is used for responding to a preview operation instruction aiming at the target video, and displaying the target video in a preview interface for playing;

the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring a browsing operation instruction aiming at a target video in a preview interface, and the browsing operation instruction comprises a progress adjustment instruction, a video playing instruction or a preview exit instruction;

and the second response unit is used for responding to the browsing operation instruction and performing browsing operation indicated by the browsing operation instruction on the target video.

In a third aspect, an embodiment of the present invention provides a terminal, where the terminal includes an input device and an output device, and the terminal further includes:

a processor adapted to implement one or more instructions; and the number of the first and second groups,

a computer storage medium having one or more instructions adapted to be loaded by the processor and to perform a method as described above in the first aspect or any possible implementation of the first aspect.

In a fourth aspect, embodiments of the present invention provide a computer storage medium storing one or more instructions adapted to be loaded by a processor and to perform a method as described in the first aspect or any possible implementation manner of the first aspect.

In the embodiment of the invention, the terminal equipment responds to the preview operation instruction aiming at the target video and displays the target video in the preview interface for playing; acquiring a browsing operation instruction aiming at a target video in the preview interface, wherein the browsing operation instruction comprises a progress adjusting instruction, a video playing instruction or a preview exit instruction; and responding to the browsing operation instruction, and performing browsing operation indicated by the browsing operation instruction on the target video. Therefore, the information of the target video can be judged by quickly browsing the target video on the preview interface of the target video, so that the target video can be efficiently and accurately screened, the operation is simple and convenient, and the information acquisition efficiency is improved.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

FIG. 1 is a schematic diagram of a scrolling video list provided by an embodiment of the invention;

FIG. 2 is a schematic diagram of a preview interface provided by an embodiment of the present invention;

fig. 3 is a schematic flowchart of a video browsing method according to an embodiment of the present invention;

FIG. 4 is a schematic diagram illustrating four directions of a two-dimensional coordinate system according to an embodiment of the present invention;

fig. 5(a) is a schematic diagram illustrating a video progress adjustment according to an embodiment of the present invention;

fig. 5(b) is a schematic diagram illustrating a video progress adjustment according to an embodiment of the present invention;

fig. 6(a) is a schematic view of video playing provided by an embodiment of the present invention;

fig. 6(b) is a schematic view of video playing provided by the embodiment of the present invention;

fig. 7 is a schematic view of a scene of a video browsing operation according to an embodiment of the present invention;

fig. 8 is a flowchart illustrating a video browsing method according to an embodiment of the present invention;

fig. 9 is a schematic structural diagram of a video browsing apparatus according to an embodiment of the present invention;

fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. In addition, the features in the embodiments and the examples described below may be combined with each other without conflict.

Currently, video streaming media generally forms various videos into a video list in the form of a cover page and a title, and presents the video list on a user interface of a terminal device. Common video lists may include, but are not limited to, a list of scrolling views, a list of grids, a list of waterfall streams, a list of horizontal slides, and the like. Wherein:

scrolling the view list: for a video list that is commonly used for scrolling up and down, such as "watching history", "my download", etc. of Tencent video, please refer to fig. 1, and fig. 1 is a schematic diagram of a scrolling video list according to an embodiment of the present invention.

Grid list: it is often used for UGC (User Generated Content) video aggregation pages, such as a certain topic of trembling.

Waterfall flow list: it is often used for UGC video streams, such as main video streams for camouflaging, etc.

List slide sideways: it is common to see video covers in personal homepages, such as "guess you will chase" for Tencent video, etc.

In practice, it is found that videos in a video list interface cannot be automatically played, and users cannot accurately screen information due to more and more video cover parties and title parties. At present, Tencent video software supports a user to enter a new floating layer (namely, a preview interface) by long pressing, and three operations of collection, closing and full version viewing can be performed in the preview interface, please refer to FIG. 2, which is a preview interface schematic diagram provided by the embodiment of the invention. However, a user cannot quickly browse the whole video content and judge the information of the video content, and needs to execute an exit operation after entering a preview interface so that the user can exit, the user operation is not simple and convenient, and the video content cannot be quickly and accurately obtained, so that the screening of the user on the video content is influenced, and the information acquisition efficiency is reduced.

In order to solve the above problem, embodiments of the present invention provide a video browsing method, and a related apparatus and device to which the method is applicable. Referring to fig. 3, fig. 3 is a schematic flowchart of a video browsing method according to an embodiment of the present invention. The method as shown in fig. 3 comprises the following steps S301-S303:

step S301: and the terminal equipment responds to the preview operation instruction aiming at the target video, and displays the target video in a preview interface for playing.

After entering a user interface of the terminal equipment, a user can preview any target video in a video list displayed on the interface according to the requirement of the user. The terminal equipment can monitor the contact position change of the preview operation on the user interface in real time so as to reflect the specific preview operation according to the contact position change, and further generate a preview operation instruction corresponding to the preview operation. Specifically, the coordinates of the touch point position where the user performs the preview operation may be (x)1,y1). The specific representation form of the preview operation is not limited, and may include, but is not limited to, a long press operation, a double-click operation, a single-click operation, and the like. The terminal device may include a mobile phone, a tablet computer, a smart watch, an MP4(MPEG-4) or other devices with a touch screen. Taking a tablet personal computer as an example, the preview operation instruction can be realized by long-pressing the touch screen with a finger or by long-pressing the touch screen with an induction pen. The terminal device may also include a desktop computer, a television, and other devices that employ a mouse or other input terminals, and taking the desktop computer as an example, the preview operation instruction may be implemented by long-pressing the mouse.

And further, the terminal equipment can respond to the preview operation instruction and place the target video in a preview interface for playing. The playing length of the target video in the preview interface can be n% of the progress from the feature film to the feature film, the value of n can be systematically customized, and the value range is less than or equal to 100. The film length of the target video in the preview interface can also be a part of highlight in the captured target video, the film length of the captured highlight can be determined in a self-defined mode by a system, and similarly, the film length of the film length is smaller than or equal to the film length of the target video.

Optionally, all the operation instructions related to the present invention are mainly implemented by a native interface (native interface), that is, the user interfaces related to the present invention (i.e., the video list interface, the preview interface, the play interface, and the like) all adopt the native interface. And a native interface can be used for more accurately acquiring an operation instruction, so that an expected control effect is achieved through accurate operation.

Step S302: the terminal equipment acquires a browsing operation instruction aiming at a target video in a preview interface, wherein the browsing operation instruction comprises a progress adjusting instruction, a video playing instruction or a preview exit instruction.

The user can browse the target video in the preview interface, and the terminal device detects the browsing operation to generate a corresponding browsing operation instruction. Specifically, if the operation direction of the browsing operation is the first direction, the browsing operation instruction generated corresponding to the browsing operation is a progress adjustment instruction. And if the operation direction of the browsing operation is the second direction and the operation distance of the browsing operation is greater than the first threshold, the browsing operation instruction generated corresponding to the browsing operation is a video playing instruction. Otherwise, the browsing operation instruction generated corresponding to the browsing operation is a preview exit instruction. The first direction and the second direction are set by the system user, and the invention is not limited. For example, the first direction may be a direction moving along the X axis, and may also be referred to as a left-right direction. Here, a direction moving in the positive X-axis direction is referred to as a right direction, and a direction moving in the negative X-axis direction is referred to as a left direction. The second direction may be a direction moving along the Y axis, and may also be referred to as an up-down direction. Here, a direction moving in the positive Y-axis direction is referred to as an upward direction, and a direction moving in the negative Y-axis direction is referred to as a downward direction. Specifically, fig. 4 shows a schematic diagram of four directions in a two-dimensional coordinate system.

In practical application, the terminal equipment monitors the contact point position change of a user on a target video in a preview interfaceAnd identifying the browsing operation of the user on the target video. Specifically, if the coordinates of the user for the touch point position of the target video in the preview interface are (x)2,y2) The terminal equipment monitors the contact position (x) of the browsing operation of the user2,y2) The operation direction of the browsing operation is identified.

Several embodiments of step S302 are described below.

In one embodiment, if the user only browses the target video along the X direction (first direction), that is, there is a coordinate value X in the X direction2In the Y direction (second direction) without a coordinate value Y2A change in (c). At this time, the browsing operation instruction corresponding to the browsing operation is a progress adjustment instruction.

In practical application, the terminal device may further subdivide the progress adjustment instruction, for example, fast forward and fast backward according to the video playing progress may be subdivided into a first adjustment instruction and a second adjustment instruction. The first adjustment instruction is specifically used for indicating the playing progress of the fast-backward target video, whereas the second adjustment instruction is specifically used for fast-forwarding the playing progress of the target video. Specifically, the first adjustment instruction may specifically be an operation instruction generated by the terminal device detecting that the user operates in a positive direction along the X direction, the second adjustment instruction may be an operation instruction generated by the terminal device detecting that the user operates in a negative direction along the X direction, and the like, and the first adjustment instruction may also be an operation instruction generated by the terminal device operating in a negative direction along the X direction, and the like, which is not limited in the present invention.

The browsing operation corresponding to the progress adjustment instruction may include, but is not limited to, the user sliding the target video in a positive direction of the preview interface in the X direction or in a negative direction of the X direction. Taking a tablet personal computer as an example, the browsing operation can be realized by sliding the target video in the left-right direction on the touch screen through a finger, and can also be realized by sliding the target video in the left-right direction on the touch screen through an induction pen. Taking a desktop computer as an example, the browsing operation can be realized by sliding the target video in the left-right direction on the display screen by long-pressing the mouse.

In yet another embodiment, the user is targeting the videoWhen browsing operation is carried out, the operation is difficult to be carried out in one direction, and if a user browses the target video along the X direction and the Y direction simultaneously, namely, a coordinate value X exists in the X direction2In the Y direction there is a coordinate value Y2A change in (c). Coordinate value x2The magnitude of the change can represent the operating distance in the X direction and the index value y2May represent the operating distance in the Y direction. The terminal device can judge the operation distance in the X direction and the operation distance in the Y direction to identify the browsing operation instruction corresponding to the browsing operation. If the operation distance along the X direction is greater than the operation distance along the Y direction, at this time, the browsing operation instruction corresponding to the browsing operation is a progress adjustment instruction.

In another embodiment, if the user only browses the target video along the Y direction, the Y direction has the coordinate value Y2In the X direction, there is no coordinate value X2A change in (c). Coordinate value y2Is greater than the first threshold value. At this time, the browsing operation instruction corresponding to the browsing operation is a video playing instruction. The browsing operation corresponding to the video playing instruction may include, but is not limited to, a user dragging the target video along the Y direction on the preview interface. Taking a tablet personal computer as an example, the video playing instruction can be realized by dragging the target video along the Y direction on the touch screen through a finger, and can also be realized by dragging the target video along the Y direction on the touch screen through an induction pen. Taking a desktop computer as an example, the video playing instruction can be realized by dragging the target video along the Y direction on the display screen by long-pressing a mouse.

In another embodiment, when the user browses the target video, it is difficult to operate only in one direction, and if the user browses the target video along the X direction and the Y direction at the same time, that is, there is a coordinate value X in the X direction2In the Y direction there is a coordinate value Y2A change in (c). Coordinate value x2The magnitude of the change can represent the operating distance in the X direction and the index value y2May represent the operating distance in the Y direction. The terminal equipment can judge the operation distance in the X direction and the operation distance in the Y direction to identify the browsing operation instruction corresponding to the browsing operation. If the operation distance along the X direction is smaller than the operation distance along the Y direction, at this time, the browsing operation instruction corresponding to the browsing operation is a video playing instruction.

In another embodiment, when the user browses the target video, it is difficult to operate only in one direction, and if the user browses the target video along the X direction and the Y direction at the same time, that is, there is a coordinate value X in the X direction2In the Y direction there is a coordinate value Y2A change in (c). Terminal device coordinate value x2The browsing operation instruction identified by the change can be a progress adjustment instruction and a terminal equipment coordinate value y2The change identifies that the browse operation command can be a video play command. Correspondingly, the terminal equipment can simultaneously respond to the progress adjusting instruction and the video playing instruction, adjust the playing progress of the target video and enter the playing interface of the target video to play the target video.

In another embodiment, when the terminal device detects any one or a combination of multiple operations, it may determine that the browsing operation instruction corresponding to the browsing operation is a preview exit instruction:

firstly, when the target video is played in the preview interface, if the fact that the user does not execute the preview operation any more is detected, the browsing operation instruction can be determined to be a preview exit instruction. Specifically, after the user enters the preview interface, if the preview operation is kept being executed, the target video will be played all the time. When the user judges that the information required by the user cannot be acquired in the target video, the preview operation can not be executed any more, and at the moment, the terminal equipment can determine that the browsing operation instruction is a preview exit instruction.

And secondly, when the user conducts browsing operation, the user can choose not to execute the browsing operation under any condition, and at the moment, the browsing operation instruction can be determined to be a preview exit instruction.

Thirdly, if the user only browses the target video along the Y direction, the coordinate value Y2Is smaller than the first threshold value. At this time, the browsing operation instruction may be determined to be a preview exit instruction.

Taking a tablet personal computer as an example, the browsing operation corresponding to the preview exit instruction can be realized by releasing a finger sliding or dragging the target video, or by releasing an induction pen sliding or dragging the target video. Taking a desktop computer as an example, the browsing operation corresponding to the preview exit instruction can be realized by releasing a mouse sliding or dragging the target video.

Step S303: and the terminal equipment responds to the browsing operation instruction and carries out browsing operation indicated by the browsing operation instruction on the target video.

In an embodiment, if the browsing operation instruction is a progress adjustment instruction, the terminal device may adjust the playing progress of the target video in the preview interface to the playing progress indicated by the progress adjustment instruction to play in response to the progress adjustment instruction. In a specific implementation, the progress adjustment instruction may specifically include a first adjustment instruction and a second adjustment instruction. The first adjusting instruction is used for indicating the playing progress of the fast-backward target video, and the terminal equipment responds to the first adjusting instruction to fast-backward the playing progress of the target video. Specifically, referring to fig. 5(a), a schematic diagram of a possible video fast-rewinding adjustment is shown, for example, in fig. 5(a), the terminal device fast-rewrites the target video to a 1 minute-25 second progress in response to the first adjustment instruction, so as to continue playing the target video. The second adjustment instruction is used for indicating the playing progress of the fast-forwarding target video, and the terminal equipment responds to the second adjustment instruction to fast-rewind the playing progress of the target video. Specifically, referring to fig. 5(b), a schematic diagram of a possible video fast-forward adjustment is shown, for example, in fig. 5(b), the terminal device fast-forwards the target video to a progress of 1 minute and 25 seconds in response to the second adjustment instruction, so as to continue playing the target video. Alternatively, the fast forward or fast backward speed of the target video can be determined by the coordinate value x2The speed of fast forward or fast reverse can also be customized.

In another embodiment, if the browsing operation instruction is a video playing instruction, the terminal device may respond to the video playing instruction, enter a playing interface, and play the target video in the playing interface. Implementation there may be several possible implementations as follows.

In one embodiment, the terminal device responds to a video playing instruction, and the user makes the target video follow the video playing instructionDragging the indicated operation direction, and displaying a preset prompt area in the preview interface. The preset prompting area carries out playing prompting and is used for prompting a user to carry out specific browsing operation of playing the video, and the size, the style, the prompting content and the like of the preset prompting area can be configured by a system in a self-defined mode. When the user drags the target video to the preset prompt area according to the play prompt, namely the coordinate value y2And when the change of the target video is larger than the first threshold value, entering a target video playing interface, and playing the target video in the playing interface. The target video can be played along the current playing progress of the target video in the preview interface, and the target video can also be played from the start of the feature of the target video.

In another specific embodiment, the terminal device responds to the video playing instruction, the user drags the target video along the operation direction indicated by the video playing instruction, and the preset prompt area can be displayed in the preview interface. The preset prompting area carries out playing prompting and is used for prompting a user to carry out specific browsing operation of playing the video, and the size, the style, the prompting content and the like of the preset prompting area can be configured by a background in a self-defined mode. And dragging the target video to a preset prompt area by the user according to the play prompt, wherein the view of the target video can be gradually reduced in the dragging process. Wherein the coordinate value y2The speed of change of (3) may determine how fast the view of the target video is zoomed out. If the coordinate value y2The change is slower and slower, at which time the view size of the target video may remain unchanged. When the user drags the target video to the preset prompt area, namely the coordinate value y2And when the change of the target video is larger than the first threshold value, entering a target video playing interface, and playing the target video in the playing interface. The target video can be played along the current playing progress of the target video in the preview interface, and the target video can also be played from the start of the feature of the target video.

Optionally, a path along which the user drags the target video view into the preset prompt area may be a straight path along the Y direction, or may be a track along which the user drags the target video.

Please refer to fig. 6(a) -6 (b), and fig. 6(a) -6 (b) are schematic diagrams illustrating video playing according to an embodiment of the present invention. The terminal device responds to the video playing instruction, a preset prompting area can be displayed at the bottom of the preview interface along the Y direction, and as shown in fig. 6(a), the preset prompting area displays a playing prompt 'dragging to the preset prompting area, and entering into a feature film'. When the user drags the target video to the preset area, the preset prompt area displays a play prompt of "loose hand entry" to prompt the user to enter the play interface of the target video to play the target video, as shown in fig. 6 (b).

In another embodiment, if the browsing operation instruction includes a video playing instruction and a progress adjusting instruction, the terminal device may enter the playing interface to play the target video in response to the video playing instruction and the progress adjusting instruction, and adjust the playing progress of the target video. For the playing of the target video in the playing interface and the adjustment of the playing progress, reference may be made to the specific descriptions in the foregoing two embodiments, and details are not described here again.

Optionally, in practical applications, the display terminals of the terminal devices have fixed sizes. Thus, when the user drags the target video in the Y direction, the coordinate value Y2When the changed size reaches the boundary value of the display terminal, the user can still slide the target video in the X direction to fast forward or fast backward the playing progress of the target video. Similarly, the target video has a fixed film length, and when the user slides the target video to the end of the film or the end of the film in the X direction, the user can still drag the target video in the Y direction until the preset prompt area is dragged, and the target video enters the playing interface and is played in the playing interface.

In another embodiment, the terminal device responds to the preview exit instruction, exits the preview interface of the target video, closes the playing of the target video in the preview interface, and returns to the video list interface.

Optionally, when the user executes the browsing operation instruction, an operation track of the user executing the browsing operation may be displayed on the display device of the terminal device according to the user experience.

To help better understand the embodiment of the present invention, a detailed description is given below by taking a "my favorites" video list interface as an example, please refer to fig. 7, and fig. 7 is a scene diagram of a video browsing operation provided by the embodiment of the present invention. As shown in the figure, the user presses (previews) the third video (i.e., the target video) in fig. 7 (a) for a long time, and the terminal device displays the target video on the preview interface for playing in response to the previewing operation instruction, as shown in fig. 7 (b). The user slides the video (progress adjustment instruction) in the negative direction of the X direction, at this time, the progress adjustment instruction indicates the fast-rewinding target video playing progress, and the terminal device responds to the progress adjustment instruction to fast-rewind the target video playing progress, as shown in fig. 7 (c). The user drags the video (video playing instruction) in the Y direction, and drags the video to the preset prompt area (the operation distance is greater than the first threshold), as shown in fig. 7 (d), at this time, if the user releases his hand, the user enters the video playing interface, as shown in fig. 7 (e), and starts playing the video from the target video playing progress in the preview interface, as shown in fig. 7 (f).

In the embodiment of the invention, the terminal equipment responds to the preview operation instruction aiming at the target video and displays the target video in the preview interface for playing; acquiring a browsing operation instruction aiming at a target video in the preview interface, wherein the browsing operation instruction comprises a progress adjusting instruction, a video playing instruction or a preview exit instruction; and responding to the browsing operation instruction, and performing browsing operation indicated by the browsing operation instruction on the target video. Therefore, the information of the target video can be judged by quickly browsing the target video on the preview interface of the target video, so that the target video can be accurately screened, the operation is simple and convenient, and the information acquisition efficiency is improved.

For a more intuitive understanding of the embodiments of the present invention, please refer to fig. 8, which illustrates a flowchart of a possible video browsing method according to the present invention. As shown in fig. 8, the preview operation corresponding to the preview operation instruction may be a long press, the browsing operation corresponding to the progress adjustment instruction may be a sliding operation in a left direction or a right direction, the browsing operation corresponding to the video playing instruction may be a downward dragging of the video, and the browsing operation corresponding to the preview exit instruction may be a releasing operation. Fig. 8 specifically includes the following implementation steps.

Step S801: the terminal equipment detects whether the user performs long-press operation. If yes, go to step S802; if not, the user operation is ended.

Step S802: the terminal device enters a video preview interface, plays the target video and proceeds to step S803.

Step S803: the terminal equipment detects whether the user looses hands, and if so, returns to the video list interface to finish the user operation; if not, the process proceeds to step S804.

Step S804: the terminal device acquires an operation distance of the user browsing operation and proceeds to step S805.

Step S805: the terminal device determines whether the transverse operating distance is greater than the longitudinal operating distance, and the detailed steps can be referred to step S302. If yes, go to step S806; if not, the process proceeds to step S809.

Step S806: the terminal device detects whether the user slides the target video to the right direction, if so, the step S807 is carried out; if not, the process proceeds to step S808.

Step S807: the terminal apparatus fast-forwards the target video play progress and proceeds to step S803.

Step S808: the terminal device fast backs the target video playing progress and proceeds to step S803.

Step S809: the terminal device detects whether the user drags the target video downward, and if so, proceeds to step S811, and if not, proceeds to step S810.

Step S810: and the terminal equipment detects whether the user looses hands, and returns to the video list interface to finish the user operation if the user looses hands.

Step S811: the terminal device acquires the operation distance of the user' S downward drag and proceeds to step S812.

Step S812: the terminal equipment detects whether the user looses hands, and if so, returns to the video list interface to finish the user operation; if not, the process proceeds to step S813.

Step S813: the terminal device moves the view of the target video and proceeds to step S8014.

Step S814: the terminal device determines whether the operation distance of the user dragging downwards is greater than a first threshold, and if so, the step S815 is executed; if not, the process proceeds to step S811.

Step S815: the terminal equipment detects whether the user looses hands, and if so, the step S816 is executed; if not, the process proceeds to step S811.

Step S816: and entering a video playing interface to finish the user operation.

For various operations of the user, such as long-press operation, whether to release the hand, left-direction sliding operation, and right-direction sliding operation, the present invention may specifically refer to the related description in the embodiment of the method illustrated in fig. 3, and will not be described herein again. In addition, the content that is not shown or not described in the present invention may also correspond to the related description in the embodiment described with reference to fig. 3, and is not described herein again.

In the embodiment of the invention, the terminal equipment responds to the preview operation instruction aiming at the target video and displays the target video in the preview interface for playing; acquiring a browsing operation instruction aiming at a target video in the preview interface, wherein the browsing operation instruction comprises a progress adjusting instruction, a video playing instruction or a preview exit instruction; and responding to the browsing operation instruction, and performing browsing operation indicated by the browsing operation instruction on the target video. Therefore, the information of the target video can be judged by quickly browsing the target video on the preview interface of the target video, so that the target video can be accurately screened, the operation is simple and convenient, and the information acquisition efficiency is improved.

Based on the description of the above video browsing method embodiment, the embodiment of the present invention also discloses a video browsing apparatus, which may be a computer program (including a program code) running in a terminal. The video browsing device may perform the method illustrated in fig. 3. Referring to fig. 9, the video browsing apparatus 90 may operate as follows:

a first response unit 901, configured to, in response to a preview operation instruction for a target video, display the target video in a preview interface for playing;

an obtaining unit 902, configured to obtain a browsing operation instruction for a target video in a preview interface, where the browsing operation instruction includes a progress adjustment instruction, a video playing instruction, or a preview exit instruction;

a second response unit 903, configured to, in response to the browsing operation instruction, perform a browsing operation indicated by the browsing operation instruction on the target video.

In an embodiment, when the obtaining unit 902 is configured to obtain a browsing operation instruction for a target video in a preview interface, specifically:

collecting browsing operation aiming at a target video in a preview interface;

if the operation direction of the browsing operation is a first direction, the browsing operation instruction generated corresponding to the browsing operation is a progress adjustment instruction;

if the operation direction of the browsing operation is a second direction and the operation distance of the browsing operation is greater than a first threshold, the browsing operation instruction generated corresponding to the browsing operation is a video playing instruction;

otherwise, the browsing operation instruction generated corresponding to the browsing operation is a preview exit instruction.

In another embodiment, the browsing operation instruction is a progress adjustment instruction, and the second response unit 903, when responding to the browsing operation instruction and performing the browsing operation indicated by the browsing operation instruction on the target video, is specifically configured to:

and responding to the progress adjusting instruction, and adjusting the playing progress of the target video in the preview interface to the playing progress indicated by the progress adjusting instruction for playing.

In another embodiment, the browsing operation instruction is a video playing instruction, and when the second response unit 903 responds to the browsing operation instruction and performs the browsing operation indicated by the browsing operation instruction on the target video, the second response unit is specifically configured to:

if the progress adjusting instruction is used for indicating the playing progress of the fast-forwarding target video, responding to the progress adjusting instruction, and fast-forwarding the playing progress of the target video;

and responding to the progress adjusting instruction to fast retreat the playing progress of the target video if the progress adjusting instruction is used for indicating the playing progress of the fast-retreating target video.

In another embodiment, the preview operation instruction is a video playing instruction, and when responding to the browsing operation instruction and performing the browsing operation indicated by the browsing operation instruction on the target video, the second response unit 903 is specifically configured to:

and responding to a video playing instruction, entering a playing interface, and starting playing the target video from the current playing progress of the target video in the preview interface in the playing interface.

In another embodiment, the browsing operation instruction is a video playing instruction, and when responding to the browsing operation instruction and performing the browsing operation indicated by the browsing operation instruction on the target video, the second response unit 903 is specifically configured to:

responding to a video playing instruction, moving and shrinking a target video along an operation direction indicated by the video playing instruction, and playing a prompt in a preset prompt area;

and if the target video moves to a preset prompt area, entering a playing interface, and playing the target video in the playing interface.

In another embodiment, the preview operation instruction is a preview exit instruction, and the second response unit 903, when responding to the browse operation instruction and performing the browse operation indicated by the browse operation instruction on the target video, is specifically configured to:

and responding to the preview exit instruction, exiting the preview interface, and closing the playing of the target video in the preview interface.

According to an embodiment of the present invention, the units in the video browsing apparatus shown in fig. 9 may be respectively or entirely combined into one or several other units to form the unit, or some unit(s) thereof may be further split into multiple units with smaller functions to form the unit(s), which may achieve the same operation without affecting the achievement of the technical effect of the embodiment of the present invention. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present invention, the video browsing apparatus may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of multiple units.

According to another embodiment of the present invention, the video browsing apparatus shown in fig. 9 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method shown in fig. 3 on a general-purpose computing device such as a computer including a Central Processing Unit (CPU), a random access storage medium (RAM), a read only storage medium (ROM), and the like as well as a storage element, and a video browsing method according to an embodiment of the present invention may be implemented. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.

In the embodiment of the invention, the terminal equipment responds to the preview operation instruction aiming at the target video and displays the target video in the preview interface for playing; acquiring a browsing operation instruction aiming at a target video in the preview interface, wherein the browsing operation instruction comprises a progress adjusting instruction, a video playing instruction or a preview exit instruction; and responding to the browsing operation instruction, and performing browsing operation indicated by the browsing operation instruction on the target video. Therefore, the information of the target video can be judged by quickly browsing the target video on the preview interface of the target video, so that the target video can be accurately screened, the operation is simple and convenient, and the information acquisition efficiency is improved.

Based on the description of the method embodiment and the device embodiment, the embodiment of the invention also provides a terminal. Referring to fig. 10, the terminal includes at least a processor 1001, an input device 100510, an output device 1003, and a computer storage medium 1004. The processor 1001, the input device 1002, the output device 1003, and the computer storage medium 1004 in the terminal may be connected by a bus or other means.

A computer storage medium 1004 may be stored in the memory of the terminal, the computer storage medium 1004 being used for storing a computer program comprising program instructions, the processor 1001 being used for executing the program instructions stored by the computer storage medium 1004. The processor 1001 (or CPU) is a computing core and a control core of the terminal, and is adapted to implement one or more instructions, and specifically, is adapted to load and execute one or more instructions to implement corresponding method flows or corresponding functions; in one embodiment, the processor 1001 according to an embodiment of the present invention may be configured to perform a series of browsing operations on a target video, including: responding to a preview operation instruction aiming at the target video, and displaying the target video in a preview interface for playing; acquiring a browsing operation instruction aiming at a target video in the preview interface, wherein the browsing operation instruction comprises a progress adjusting instruction, a video playing instruction or a preview exit instruction; and responding to the browsing operation instruction, performing the browsing operation indicated by the browsing operation instruction on the target video, and the like.

The embodiment of the invention also provides a computer storage medium (Memory), which is a Memory device in the terminal and is used for storing programs and data. It is understood that the computer storage medium herein may include a built-in storage medium in the terminal, and may also include an extended storage medium supported by the terminal. The computer storage medium provides a storage space that stores an operating system of the terminal. Also stored in this memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for being loaded and executed by processor 1001. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor.

In one embodiment, one or more instructions stored in a computer storage medium may be loaded and executed by processor 1001 to implement the corresponding steps of the methods described above in relation to the video browsing method embodiments; in a particular implementation, one or more instructions in the computer storage medium are loaded by the processor 1001 and perform the following steps:

responding to a preview operation instruction aiming at the target video, and displaying the target video in a preview interface for playing;

acquiring a browsing operation instruction aiming at a target video in the preview interface, wherein the browsing operation instruction comprises a progress adjusting instruction, a video playing instruction or a preview exit instruction;

and responding to the browsing operation instruction, and performing the browsing operation indicated by the browsing operation instruction on the target video.

In one embodiment, when acquiring a browsing operation instruction for a target video in a preview interface, the one or more instructions are loaded and specifically executed by the processor 1001:

collecting browsing operation aiming at a target video in a preview interface;

if the operation direction of the browsing operation is a first direction, the browsing operation instruction generated corresponding to the browsing operation is a progress adjustment instruction;

if the operation direction of the browsing operation is a second direction and the operation distance of the browsing operation is greater than a first threshold, the browsing operation instruction generated corresponding to the browsing operation is a video playing instruction;

otherwise, the browsing operation instruction generated corresponding to the browsing operation is a preview exit instruction.

In another embodiment, the browsing operation instruction is a progress adjustment instruction, and when the browsing operation indicated by the browsing operation instruction is performed on the target video in response to the browsing operation instruction, the one or more instructions are loaded and specifically executed by the processor 1001:

and responding to the progress adjusting instruction, and adjusting the playing progress of the target video in the preview interface to the playing progress indicated by the progress adjusting instruction for playing.

In another embodiment, the browsing operation instruction is a video playing instruction, and in response to the browsing operation instruction, the browsing operation indicated by the browsing operation instruction is performed on the target video, where the one or more instructions are loaded and specifically executed by the processor 1001:

if the progress adjusting instruction is used for indicating the playing progress of the fast-forwarding target video, responding to the progress adjusting instruction, and fast-forwarding the playing progress of the target video;

and responding to the progress adjusting instruction to fast retreat the playing progress of the target video if the progress adjusting instruction is used for indicating the playing progress of the fast-retreating target video.

In another embodiment, the browsing operation instruction is a video playing instruction, and when the browsing operation indicated by the browsing operation instruction is performed on the target video in response to the browsing operation instruction, the one or more instructions are loaded and specifically executed by the processor 1001:

and responding to a video playing instruction, entering a playing interface, and starting playing the target video from the current playing progress of the target video in the preview interface in the playing interface.

In another embodiment, the browsing operation instruction is a video playing instruction, and when the browsing operation indicated by the browsing operation instruction is performed on the target video in response to the browsing operation instruction, the one or more instructions are loaded and specifically executed by the processor 1001:

responding to a video playing instruction, moving and shrinking a target video along an operation direction indicated by the video playing instruction, and playing a prompt in a preset prompt area;

and if the target video moves to a preset prompt area, entering a playing interface, and playing the target video in the playing interface.

In another embodiment, the preview operation instruction is a preview exit instruction, and when a browsing operation indicated by the browsing operation instruction is performed on the target video in response to the browsing operation instruction, the one or more instructions are loaded and specifically executed by the processor 1001:

and responding to the preview exit instruction, exiting the preview interface, and closing the playing of the target video in the preview interface.

In the embodiment of the invention, the terminal equipment responds to the preview operation instruction aiming at the target video and displays the target video in the preview interface for playing; acquiring a browsing operation instruction aiming at a target video in the preview interface, wherein the browsing operation instruction comprises a progress adjusting instruction, a video playing instruction or a preview exit instruction; and responding to the browsing operation instruction, and performing browsing operation indicated by the browsing operation instruction on the target video. Therefore, the information of the target video can be judged by quickly browsing the target video on the preview interface of the target video, so that the target video can be accurately screened, the operation is simple and convenient, and the information acquisition efficiency is improved.

The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

26页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于微信小程序的短视频播放系统及使用方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类