Method and device for controlling video playing, computing equipment and storage medium

文档序号:601939 发布日期:2021-05-04 浏览:20次 中文

阅读说明:本技术 一种控制视频播放的方法、装置、计算设备及存储介质 (Method and device for controlling video playing, computing equipment and storage medium ) 是由 彭傲 于 2019-10-31 设计创作,主要内容包括:本申请公开了一种控制视频播放的方法、装置、计算设备及存储介质,属于计算机技术领域。所述方法包括:接收针对聊天列表界面中的视频入口指示信息的第一触发操作,所述聊天列表界面用于承载与即时通信对象之间的聊天对话界面的聊天对话界面标识;根据第一触发操作的触发,显示聊天列表界面和目标视频对应的视频播放界面;或者,根据第一触发操作的触发,显示视频选择界面,并根据针对该视频选择界面的目标视频的选择操作的触发,显示聊天列表界面和目标视频对应的视频播放界面。通过对在聊天列表界面中嵌入的视频入口指示信息的触发操作,可以从聊天列表快速关联视频的播放,提供一种聊天列表与视频播放并存的交互方式,提高视频播放效率。(The application discloses a method, a device, a computing device and a storage medium for controlling video playing, and belongs to the technical field of computers. The method comprises the following steps: receiving a first trigger operation aiming at video entrance indication information in a chat list interface, wherein the chat list interface is used for bearing a chat conversation interface identifier of a chat conversation interface between the chat list interface and an instant communication object; displaying a chat list interface and a video playing interface corresponding to the target video according to the triggering of the first triggering operation; or, displaying a video selection interface according to the triggering of the first triggering operation, and displaying a chat list interface and a video playing interface corresponding to the target video according to the triggering of the selecting operation of the target video aiming at the video selection interface. Through the triggering operation of the video entry indication information embedded in the chat list interface, the video playing can be quickly associated from the chat list, an interactive mode with the chat list and the video playing coexisting is provided, and the video playing efficiency is improved.)

1. A method of controlling video playback, the method comprising:

receiving a first trigger operation aiming at video entry indication information in a chat list interface; the chat list interface is used for bearing chat conversation interface identification of a chat conversation interface between the chat list interface and an instant communication object;

displaying the chat list interface and a video playing interface corresponding to the target video according to the triggering of the first triggering operation; alternatively, the first and second electrodes may be,

and displaying a video selection interface according to the triggering of the first triggering operation, and displaying the chat list interface and a video playing interface corresponding to the target video according to the triggering of the selection operation of the target video aiming at the video selection interface.

2. The method of claim 1, wherein displaying the chat list interface and the video playing interface corresponding to the target video according to the trigger of the first trigger operation comprises:

determining the target video according to a preset recommendation strategy according to the triggering of the first triggering operation, and displaying the chat conversation interface and a video playing interface corresponding to the target video;

according to the triggering of the first triggering operation, displaying a video selection interface, comprising:

determining the video selection interface according to the operation type of the first trigger operation, and displaying the video selection interface, wherein the video selection interface comprises a local video selection interface or an online video selection interface.

3. The method of claim 1, wherein the method further comprises:

receiving a second trigger operation aiming at the video playing window;

and displaying a video playing operation control associated with the video playing interface according to the triggering of the second triggering operation.

4. The method of claim 3, wherein the video playback operation control comprises a minimize control, the method further comprising:

receiving a third trigger operation for the minimized control;

hiding the video playing interface according to the triggering of the third triggering operation, and displaying minimized playing indication information, wherein the minimized playing indication information comprises a video identifier of the target video which is currently played.

5. The method of claim 4, wherein after displaying the minimized play indication information, the method further comprises:

receiving a fourth trigger operation aiming at the minimized playing indication information;

according to the fourth trigger operation, stopping playing the target video and hiding the minimized playing indication information; alternatively, the first and second electrodes may be,

and hiding the minimized playing indication information and restoring to display the video playing interface according to the triggering of the fourth triggering operation.

6. The method of claim 1 or 4, wherein the method further comprises:

receiving a fifth trigger operation;

and sending the video watching invitation information to a first preset chat conversation interface according to the triggering of the fifth triggering operation.

7. The method of claim 6, wherein sending video viewing invitation information to a first predetermined chat conversation interface triggered by the fifth triggering operation comprises:

displaying an invitation object selection interface according to the triggering of a fifth triggering operation aiming at the invitation watching identification information;

and receiving object selection operation aiming at the invitation object selection interface, and sending the video watching invitation information to the chat conversation interface selected by the object selection operation according to the trigger of the object selection operation.

8. The method of claim 6, wherein sending video viewing invitation information to a first predetermined chat conversation interface triggered by the fifth triggering operation comprises:

and sending the video watching invitation information to a chat conversation interface corresponding to the end position of the gesture operation according to the trigger of the gesture operation sliding from the video playing interface into the chat list interface, or sending the video watching invitation information to the chat conversation interface through which the operation track of the gesture operation passes.

9. The method of claim 1, wherein the method further comprises:

displaying at least one piece of video playing indication information in the chat list interface, wherein the at least one piece of video playing indication information is used for correspondingly indicating a video currently watched by at least one chat object, and the at least one chat object is a chat object in a second preset chat conversation interface in the chat list interface.

10. The method of claim 9, wherein the method further comprises:

receiving a sixth trigger operation aiming at target video playing indication information in the at least one piece of video playing indication information;

and switching the video played by the video playing interface to the video indicated by the target video playing indication information according to the triggering of the sixth triggering operation.

11. The method of claim 10, wherein switching the video played by the video playing interface to the video indicated by the target video playing indication information comprises:

if the target video playing indication information comprises a video identifier, playing the indicated video on the video playing interface according to a target playing progress, wherein the target playing progress is determined according to a preset playing strategy;

and if the target video playing indication information comprises a video identifier and playing progress information, playing the indicated video on the video playing interface according to the playing progress information.

12. The method of claim 1, wherein the method further comprises:

receiving a seventh trigger operation aiming at a target chat conversation interface identifier in the chat list interface;

hiding the video playing interface and the chat list interface according to the triggering of the seventh triggering operation, and displaying a target chat conversation interface and the video playing interface corresponding to the target chat conversation interface identifier; alternatively, the first and second electrodes may be,

hiding the chat list interface according to the triggering of the seventh triggering operation, and displaying a target chat conversation interface corresponding to the target chat conversation interface identifier.

13. An apparatus for controlling video playback, the apparatus comprising:

the receiving module is used for receiving a first trigger operation aiming at the video entry indication information in the chat list interface; the chat list interface is used for bearing chat conversation interface identification of a chat conversation interface between the chat list interface and an instant communication object;

the display module is used for displaying the chat list interface and a video playing interface corresponding to the target video according to the triggering of the first triggering operation; or the chat list interface and the video playing interface corresponding to the target video are displayed according to the triggering of the first triggering operation.

14. A computing device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps comprised by the method according to any one of claims 1 to 12 when executing the computer program.

15. A storage medium storing computer-executable instructions for causing a computer to perform the steps comprising the method of any one of claims 1-12.

Technical Field

The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling video playing, a computing device, and a storage medium.

Background

With the development of communication technology and electronic technology, the life of users is more and more convenient, for example, instant messaging has gone deep into the life of people, users can utilize instant messaging technology to carry out network social contact, and can realize instant chat interaction, which is very convenient. In addition, the current video service also brings a better entertainment experience for users, and based on the video service provided by an application provider, the users can use various terminal devices to watch videos online, such as watching television shows, sports events, entertainment for integrated art, and the like.

When the instant messaging function is used, a user can chat with a plurality of people respectively, and then a chat list can be presented, the chat list bears some chat conversation lists, and when watching a video, a video playing window also needs to be presented, so that how to realize the co-screen coexistence of the instant messaging function and the video playing function is a problem to be considered.

Disclosure of Invention

The embodiment of the application provides a method, a device, a computing device and a storage medium for controlling video playing, and provides an interaction mode of coexistence of an instant messaging function and a video playing function on the same screen.

In one aspect, a method for controlling video playing is provided, the method comprising:

receiving a first trigger operation aiming at video entry indication information in a chat list interface; the chat list interface is used for bearing chat conversation interface identification of a chat conversation interface between the chat list interface and an instant communication object;

displaying the chat list interface and a video playing interface corresponding to the target video according to the triggering of the first triggering operation; alternatively, the first and second electrodes may be,

and displaying a video selection interface according to the triggering of the first triggering operation, and displaying the chat list interface and a video playing interface corresponding to the target video according to the triggering of the selection operation of the target video aiming at the video selection interface.

In one aspect, an apparatus for controlling video playback is provided, the apparatus comprising:

the receiving module is used for receiving a first trigger operation aiming at the video entry indication information in the chat list interface; the chat list interface is used for bearing chat conversation interface identification of a chat conversation interface between the chat list interface and an instant communication object;

the display module is used for displaying the chat list interface and a video playing interface corresponding to the target video according to the triggering of the first triggering operation; or the chat list interface and the video playing interface corresponding to the target video are displayed according to the triggering of the first triggering operation.

In one possible implementation, the display module is configured to:

determining the target video according to a preset recommendation strategy according to the triggering of the first triggering operation, and displaying the chat conversation interface and a video playing interface corresponding to the target video; alternatively, the first and second electrodes may be,

determining the video selection interface according to the operation type of the first trigger operation, and displaying the video selection interface, wherein the video selection interface comprises a local video selection interface or an online video selection interface.

In a possible implementation manner, the receiving module is further configured to receive a second trigger operation for the video playing window;

and the display module is further used for displaying a video playing operation control associated with the video playing interface according to the triggering of the second triggering operation.

In a possible implementation manner, the video playing operation control includes a minimization control, and the receiving module is further configured to receive a third trigger operation for the minimization control;

the display module is further configured to hide the video playing interface according to the trigger of the third trigger operation, and display minimized playing indication information, where the minimized playing indication information includes a video identifier of the target video currently being played.

In a possible implementation manner, the receiving module is further configured to receive a fourth trigger operation for the minimized playing indication information after the display module displays the minimized playing indication information;

the display module is further configured to terminate playing the target video according to the fourth trigger operation, and hide the minimized playing indication information; or hiding the minimized playing indication information and resuming to display the video playing interface according to the triggering of the fourth triggering operation.

In a possible implementation manner, the receiving module is further configured to receive a fifth trigger operation;

the device further comprises a sending module, which is used for sending the video watching invitation information to the first preset chat conversation interface according to the trigger of the fifth trigger operation.

In one possible implementation manner, the sending module is configured to:

displaying an invitation object selection interface according to the triggering of a fifth triggering operation aiming at the invitation watching identification information;

and receiving object selection operation aiming at the invitation object selection interface, and sending the video watching invitation information to the chat conversation interface selected by the object selection operation according to the trigger of the object selection operation.

In one possible implementation manner, the sending module is configured to:

and sending the video watching invitation information to a chat conversation interface corresponding to the end position of the gesture operation according to the trigger of the gesture operation sliding from the video playing interface into the chat list interface, or sending the video watching invitation information to the chat conversation interface through which the operation track of the gesture operation passes.

In one possible implementation manner, the display module is further configured to:

displaying at least one piece of video playing indication information in the chat list interface, wherein the at least one piece of video playing indication information is used for correspondingly indicating a video currently watched by at least one chat object, and the at least one chat object is a chat object in a second preset chat conversation interface in the chat list interface.

In a possible implementation manner, the receiving module is further configured to receive a sixth triggering operation for a target video playing indication information in the at least one video playing indication information;

the display module is further configured to switch the video played on the video playing interface to the video indicated by the target video playing indication information according to the trigger of the sixth trigger operation.

In one possible implementation manner, the display module is configured to:

if the target video playing indication information comprises a video identifier, playing the indicated video on the video playing interface according to a target playing progress, wherein the target playing progress is determined according to a preset playing strategy;

and if the target video playing indication information comprises a video identifier and playing progress information, playing the indicated video on the video playing interface according to the playing progress information.

In a possible implementation manner, the receiving module is further configured to receive a seventh trigger operation for a target chat conversation interface identifier in the chat list interface;

the display module is further configured to hide the video playing interface and the chat list interface according to the trigger of the seventh trigger operation, and display a target chat conversation interface and the video playing interface corresponding to the target chat conversation interface identifier; or hiding the chat list interface and displaying the target chat conversation interface corresponding to the target chat conversation interface identifier according to the triggering of the seventh triggering operation.

In one aspect, a computing device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the method for controlling video playing includes the steps as described in the above various possible implementations.

In one aspect, a storage medium is provided, which stores computer-executable instructions for causing a computer to perform the steps included in the method for controlling video playing described in the above-mentioned various possible implementations.

In one aspect, a computer program product containing instructions is provided, which when run on a computer causes the computer to perform the steps included in the method for controlling video playback described in the above various possible implementations.

In the embodiment of the application, an association between a chat list interface and a video playing interface is established, and the two functions of an instant messaging function and a video playing function are associated through the association, specifically, a shortcut entry for playing a video is embedded in the chat list interface, for example, the shortcut entry is indicated by video entry indication information, the shortcut entry is equivalent to a centralized pushing entry of the video, the centralized pushing entry is associated with the video that can be played, after a user performs a first trigger operation on the video entry indication information, for example, after the user clicks the video entry indication information, a system can automatically determine or determine a target video that needs to be played currently according to a selection operation of the user, so as to play the target video, and simultaneously display the current chat list interface and a video playing interface for playing the target video, therefore, the same-screen display of the chat list and the video playing window is realized, and a product interaction scheme that the chat list and the video playing window coexist on the same screen is further provided.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only the embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.

FIG. 1 is a schematic diagram of a chat list interface;

FIG. 2 is a schematic diagram of a chat conversation interface;

FIG. 3 is a schematic diagram of an application scenario in which the present application is applied;

fig. 4 is a flowchart of a method for controlling video playback in an embodiment of the present application;

fig. 5 is a schematic diagram illustrating that the video play entry indication information is displayed in the chat window in the embodiment of the present application;

FIG. 6 is a schematic diagram of selecting an online video in an embodiment of the present application;

FIG. 7 is a diagram illustrating selection of a local video in an embodiment of the present application;

fig. 8 is a schematic diagram of an outgoing video playing operation control in an embodiment of the present application;

fig. 9 is a schematic diagram illustrating minimization control of a video playback window in an embodiment of the present application;

fig. 10 is a schematic diagram of full-screen playing of a video playing window in the embodiment of the present application;

fig. 11 is a schematic diagram of closing a video playing window in the embodiment of the present application;

fig. 12 is a schematic diagram illustrating an invite buddy viewing a video in an embodiment of the present application;

fig. 13 is another schematic diagram illustrating an invite buddy viewing a video in an embodiment of the present application;

fig. 14 is a schematic diagram illustrating video playing indication information of a friend in an embodiment of the present application;

fig. 15 is a schematic diagram illustrating one-key video synchronization playing in the embodiment of the present application;

fig. 16 is a schematic diagram illustrating a video being continuously played after switching from a chat list window to a chat conversation window in the embodiment of the present application;

fig. 17 is a block diagram illustrating a configuration of an apparatus for controlling video playback according to an embodiment of the present application;

fig. 18 is another block diagram of the apparatus for controlling video playback in the embodiment of the present application;

fig. 19 is a schematic structural diagram of a computing device in an embodiment of the present application.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments given herein without making any creative effort, shall fall within the scope of the claimed protection. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.

The terms "first" and "second" in the description and claims of the present application and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the term "comprises" and any variations thereof, which are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The "plurality" in the present application may mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.

In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document generally indicates that the preceding and following related objects are in an "or" relationship unless otherwise specified.

Some technical terms referred to herein are explained below to facilitate understanding by those skilled in the art.

1. Instant Messaging (IM), also called Instant Messaging, refers to a service capable of sending and receiving internet messages and the like in real time, allowing two or more people to communicate text messages, documents, voice and video in real time using a network, and has been developed into a comprehensive information platform integrating communication, information, entertainment, search, electronic commerce, office collaboration, enterprise customer service and the like.

2. A chat list, in an instant messaging service, the chat list may be used to carry window identifiers of chat conversation windows between instant messaging objects (also referred to as chat objects), and the window identifiers are used to identify corresponding chat conversation windows, for example, a group identifier (e.g., a group chat name) of a group chat or a user identifier (e.g., a user nickname) of a chat object of a private chat, and may further include last chat information in the chat conversation window, that is, the chat conversation window may be identified by the window identifier of the chat conversation window.

The chat list can be presented through a single interface or can be presented through a chat list window, and in an understanding manner, the interface for separately presenting the chat list can be regarded as a maximized chat list window, so the chat list can be also called as a chat list window or a chat list interface.

Referring to the schematic diagram of the chat list shown in fig. 1, where "MQ" represents the application name of the instant messaging application, followed by "32" represents that 32 messages are unread, the upper right corner of the page is represented by dashed boxes and dashed circles, e.g., where "+" is the add buddy control, the control circled by the dashed circle is the contact control, and the avatar framed by the rightmost dashed box is the avatar of the user currently using the instant messaging application. The current displayed 'recent chat' page lists window identifications corresponding to four chat conversation windows, namely 'leaf guess', 'baby health communication group', 'ant fast run', 'flower world', wherein the 'leaf guess' and the 'ant fast run' correspond to private chat windows, and the 'baby health communication group' and the 'flower world' correspond to group chat windows.

3. The chat conversation interface, which may also be called a chat conversation window or a chat window opening, is a window for directly performing instant message interaction with a chat object. The chat conversation window may include a group chat window and a private chat window, the group chat window is a chat window corresponding to an instant communication group, the instant communication group may include a plurality of chat objects, information sent by one chat object in the group chat window may be seen by all the other chat objects, and the private chat window only relates to message interaction between two users, for example, on the premise that the user a and the user B are social friends, the user a may chat online through the private chat window and the user B, or the user a may chat online through the group chat window and the user B corresponding to the group chat that the user a and the user B both join.

Referring to fig. 2, after the user clicks "leaf guess" from the chat list interface shown in the left diagram of fig. 2, the page jumps from the chat list interface to the chat conversation interface with "leaf guess" shown in the right diagram of fig. 2, so that the chat content between the user and the chat object called "leaf guess" can be seen, and during the chat process with "leaf guess", the user may communicate with the chat object through characters as shown in the right diagram of fig. 2, or may also communicate with the chat object through voice messages, and may also perform voice call or video call, etc.

The chat conversation window between "leaf guesses" and "leaf guesses" as shown in the right diagram of fig. 2 is a private chat window. Assuming that the user clicks the group identifier of the "baby health communication group" in the chat list interface, the user can jump to the group chat window corresponding to the "baby health communication group" from the chat list page.

As mentioned above, how to coexist the instant messaging function and the video playing function in the same screen is a problem to be considered. In the related technology, the coexistence of the chat list and the video playing window can be realized in a split screen mode, that is, the chat list and the video playing window are simultaneously displayed on one page, for the split screen technology, during operation, one application (for example, an instant messaging application) needs to be operated to open the chat list, then another application (for example, a video application) needs to be operated to open the video playing window, and then the two opened windows are simultaneously displayed in the same interface according to a certain split screen proportion through split screen operation. That is to say, in a split-screen mode in the related art, two applications are independent of each other and isolated, a user needs to operate the two applications respectively and then further implement coexistence of two windows in the same display interface through split-screen operation, in a same-screen coexistence scheme of split-screen display, the two applications are independent of each other, so that the user needs to operate the two applications respectively to implement coexistence of a chat list and a video playing window on the same screen, the user needs to switch back and forth between the two applications and also needs to perform additional split-screen operation to implement coexistence of the two windows on the same screen, and the user is troublesome to operate.

In view of the above, the inventors of the present application consider how to reduce the user operations and further achieve co-screen coexistence of the chat list and the video playing window, and based on this, the inventors of the present application consider that an association between the chat list and the video playing window is established, and the two functions, namely the instant messaging function and the video playing function, are linked through the association. On this basis, the inventor of the present application has proposed a scheme for controlling video playing, and specifically, a shortcut entry for playing a video is embedded in a chat list interface, the shortcut entry indicates, for example, through video entry indication information, the shortcut entry is equivalent to a centralized push entry for the video, the centralized push entry is associated with the video that can be played, after a user clicks the shortcut entry, a system can automatically determine or determine the video that needs to be played currently according to a selection operation of the user, and then play the video, and display the current chat list interface and a video playing window for playing the video on the same screen, thereby realizing the on-screen display of the chat list and the video playing window, and further providing a product interaction scheme in which the chat list and the video playing window coexist on the same screen.

Through the technical scheme provided by the embodiment of the application, a user can directly play videos through the solidified video playing shortcut entry in the chat list interface, the co-screen coexistence of the video playing and the chat conversation window can be realized by simply performing one-time operation in the chat list interface, and the back-and-forth operation and switching between two mutually independent applications are not needed as required in the related technology, so that the efficiency of controlling the video playing in the process of chatting with other users can be improved, the use of the user is facilitated, and the use experience of the user can be improved. The quick and friendly man-machine interaction mode can realize the co-screen coexistence of the instant messaging function and the video playing function of the user, and is beneficial to improving the user viscosity.

In order to better understand the technical solution provided by the embodiment of the present application, some brief descriptions are provided below for application scenarios to which the technical solution provided by the embodiment of the present application is applicable, and it should be noted that the application scenarios described below are only used for illustrating the embodiment of the present application and are not limited. In specific implementation, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.

Referring to fig. 3, fig. 3 is an Application scenario applicable to the embodiment of the present Application, where the Application scenario includes a terminal device 301 and an integrated server 302, a client corresponding to an integrated Application is installed in the terminal device 301, and the integrated Application in the embodiment of the present Application refers to an Application program capable of providing an instant messaging service and a video playing service at the same time, that is, the embodiment of the present Application is improved from an Application (APP) level and provides an Application integrating an instant messaging function and a video playing function at the same time, where the video playing service may be an online video service or a local video service, in other words, the integrated Application integrates functions of a conventional instant messaging Application and a video Application in the related art, so as to provide functions corresponding to the two applications at the same time. The integrated server 302 is a background server providing service support for the integrated application, and communication can be performed between the terminal device 301 and the integrated server 302. A user can log in a client of the integrated application installed in the terminal device 301, and after the chat list is opened, the user can operate a video playing shortcut entry displayed in the chat list to request the integrated server 302 to provide a video playing service, so that a video playing window can be simultaneously displayed in a display interface of the chat list, and the video playing window and the chat list can coexist on the same screen.

It should be noted that, in the embodiment of the present application, only "integrated application" indicates an application that integrates both the instant messaging function and the video function, and in the implementation process, the "integrated application" may have other application names, for example, the "MQ" shown in fig. 2 may be understood as an application name of a specific "integrated application", and the embodiment of the present application is not limited.

The terminal device 301 in fig. 3 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a notebook computer, an intelligent wearable device (such as a smart watch and a smart helmet), a Personal computer, a smart television, a smart speaker, an in-vehicle smart device, or other devices capable of supporting both an instant messaging function and a video playing function. And, the integrated server 302 in FIG. 3 may be a personal computer, a midrange computer, a cluster of computers, and so forth.

That is to say, the user can use the terminal device 301 as in fig. 3 to implement the co-screen coexistence of the chat list and the video playing window by using the method for controlling video playing in the embodiment of the present application, and a specific method for controlling video playing will be described in detail later.

To further illustrate the technical solutions provided by the embodiments of the present application, the following detailed description is made with reference to the accompanying drawings and the detailed description. Although the embodiments of the present application provide the method operation steps as shown in the following embodiments or figures, more or less operation steps may be included in the method based on the conventional or non-inventive labor. In steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by the embodiments of the present application. The method can be executed in sequence or in parallel according to the method shown in the embodiment or the figure when the method is executed in an actual processing procedure or a device.

The embodiment of the present application provides a method for controlling video playing, which may be executed by a device having both an instant messaging function and a video playing function, for example, the method may be executed by the terminal device 301 in fig. 3. The method for controlling video playing provided by the embodiment of the application is shown in fig. 4, and the flowchart shown in fig. 4 is described as follows.

Step 401: receiving a first trigger operation aiming at video entry indication information in a chat list interface.

The video entry indication information in the embodiment of the present application may be understood as the aforementioned shortcut entry for playing a video, and the video entry indication information is an indication identifier for indicating video playing. The video entry indication information is displayed in the chat list interface, namely, a centralized push entry for playing the video is embedded in the chat list interface, namely, the function of playing the video quickly is linked in the chat list interface, so that a user can directly and quickly play the video in the chat list interface, the video can be quickly played, and the operation of the user is facilitated.

Referring to fig. 5, after the user enters the chat list interface, in addition to the chat conversation interface identifier corresponding to the chat conversation interface, video entry indication information is displayed in the chat list interface. In fig. 5, the chat conversation interface identifier corresponding to the "leaf guess" outlined by the dashed line frame is taken as an example, and the chat conversation interface corresponding to the "leaf guess" can be entered by clicking the chat conversation interface identifier, that is, the chat conversation interface identifier is used for linking and indicating the chat conversation window with the chat object.

In a specific implementation process, a specific presentation form of the video entry indication information may be, for example, an icon as shown in fig. 5, for example, an icon in a "player" style, or may also be a character, for example, a text of "video shortcut entry" or an english word of "vedio", and the like.

The initial location of the video entry indicator displayed in the chat list interface may be, for example, an area of the chat list interface that is as unobscured as possible from the chat conversation interface logo or other content, such as the right blank area at the bottom of the chat list interface as shown in fig. 5, or may be located elsewhere. After the video entry indication information is initially displayed, the user can readjust the display position of the video entry indication information according to the use habit or viewing requirements of the user, in other words, the video entry indication information displayed in the chat list interface has a movable attribute, and the user can move and adjust the display position of the video entry indication information in a click and drag manner on the screen.

In the embodiment of the present application, the video entry indication information displayed in the chat list interface has an attribute associated with video playing in addition to the movable attribute, so that when a user performs a specified operation on the video entry indication information, the video entry indication information may be triggered to associate with video playing, for example, the specified operation is referred to as a first trigger operation, further, when the terminal device receives the first trigger operation performed on the video entry indication information by the user, it is determined that the playing of the associated video needs to be triggered by the video entry indication information, the first trigger operation on the video entry indication information in the embodiment of the present application may be that the first trigger operation is directly applied to the video entry indication information itself, for example, the "player" icon in fig. 5 is directly clicked, or the user directly speaks a voice of a "video shortcut entry" when performing control by using a voice control operation, and so on. In another embodiment, the first trigger operation may also be a special operation performed in the chat list interface (in this case, the special operation may or may not directly act on the video entry indication information), such as an operation of continuously clicking the screen twice in a specified area, or a gesture operation of drawing a special graphic (e.g., an L line or a circle) on the screen, or some physical key operation, and so on. That is to say, the operation type and the operation mode of the first trigger operation in the embodiment of the application may be various, and in the actual use process of these modes, the user may set the operation type and the operation mode by himself or herself, and certainly, the operation type and the operation mode may be preset by the system.

Step 402: and displaying the chat list interface and the video playing interface corresponding to the target video according to the triggering of the first triggering operation.

Step 403: and displaying a video selection interface according to the triggering of the first triggering operation, and displaying a chat list interface and a video playing interface corresponding to the target video according to the triggering of the selection operation of the target video aiming at the video selection interface.

The first triggering operation in the embodiment of the present application is an operation for triggering video playing through the video entry indication information, so that after monitoring the first triggering operation, the terminal device may determine a video that needs to be played, for example, the video that needs to be played is referred to as a target video.

In the embodiment of the present application, there may be two general ways for determining the target video according to the first trigger operation, where the first determination way is to manually select the target video to be played by the user according to the trigger of the first trigger operation, for example, this way is referred to as a user-defined selection way, and the second determination way is to perform video recommendation by default directly according to a preset recommendation policy by the system, for example, the second determination way is referred to as a system automatic recommendation way, and for convenience of understanding, these two ways are separately described below.

Firstly, a user self-defines a selection mode.

The user-defined selection mode may include the following two modes.

Mode 1: the method comprises the steps of determining a video selection interface according to an operation type of a first trigger operation, displaying the determined video selection interface, and determining a target video according to a selection operation aiming at the video selection interface, wherein the video selection interface can comprise an online video selection interface or a local video selection interface.

For example, when the first trigger operation is an operation of clicking the video entry indication information once, the corresponding determined video selection interface is an online video selection interface, and when the first trigger operation is an operation of clicking the video entry indication information twice consecutively, the corresponding determined video selection interface is a local video selection interface; for another example, when the first trigger operation is a click operation of clicking video entry indication information as shown in a diagram in fig. 7, the corresponding determined video selection interface is an online video selection interface, and when the first trigger operation is a slide operation of sliding across video entry indication information as shown in a left diagram in fig. 8, the corresponding determined video selection interface is a local video selection interface. That is to say, in the embodiment of the application, the display to the corresponding different video selection interfaces can be directly triggered according to the difference of the operation types of the first trigger operation, so that the user can conveniently select the target video which the user actually wants to play from the associated triggered video selection interfaces.

As understood in conjunction with fig. 6, after the online video selection interface is triggered to be displayed according to the first trigger operation, the online video selection interface may be displayed in a full screen (as shown in b diagram in fig. 6) or may be displayed on the same screen with the chat list window in a certain ratio. The online video selection interface shown in the b diagram in fig. 6 may support a user to search for a video, or may perform corresponding personalized recommendation on content that may be interested in the user according to past viewing records of the user, or may also show popular content recommended by the online video platform to the user, and so on, and the user may select a target video according to the actual viewing requirement of the user, for example, as shown in the c diagram in fig. 6, the user clicks the video "tianhaakio-seamless" in the online video selection interface, that is, the video is taken as the target video, and after the selection operation of "tianhaakio-seamless" by the user is monitored, the target video may be played.

As will be understood in conjunction with fig. 7, after the local video selection interface is triggered to be displayed according to the first trigger operation, the local video selection interface may be displayed in a full screen (as shown in the right diagram of fig. 7) or may be displayed on the same screen as the chat list window in a certain ratio. The local video selection interface, as shown in the right diagram in fig. 7, may enable a user to select a video stored locally by the terminal device as a target video, while the video stored locally by the terminal device is placed in a plurality of folders, for example, a plurality of video folders such as "camera shooting", "american picture application", "MQ download", "video application", and the like. The 'camera shooting' comprises an original video shot by a camera carried by the terminal equipment; "art beautifying application" includes video captured or processed by some image or video beautifying application; "MQ download" includes video downloaded by MQ applications as previously described, such as video sent by a chat object of MQ or video published by a buddy ring; "video applications" include video downloaded by some video applications. Further, the user can select a target video to be played from one of the folders.

In the mode 1, the corresponding video selection interface can be directly triggered by the operation type of the first triggering operation, so that a user can quickly reach the video selection interface needing to select the video through a specific one-time operation, and the selection efficiency of the target video can be improved.

Mode 2: according to the triggering association display of the first triggering operation, through the first-level selection interface comprising the online video selection option and the local video selection option, the user can select the "online video selection" or the "local video selection" according to the own viewing requirement, after the user selects one of the options, the user can enter the second-level selection interface, for example, the user clicks the "online video selection" option, the page jump can be triggered to the second-level selection interface shown in the b diagram in fig. 6, for example, the user clicks the "local video selection" option, the page jump can be triggered to the second-level selection interface shown in the right diagram in fig. 7.

Therefore, in the user-defined selection mode, the user manually selects the target video again according to the trigger of the first trigger operation, so that the selected target video can meet the actual watching requirements of the user as much as possible, the selection effectiveness is high, meanwhile, various operation modes can be provided for the user, the operation pleasure in selecting the video can be improved, and the use experience of the user is further enhanced.

And secondly, automatically recommending a mode by the system.

And determining a video selection mode according to the operation type of the first trigger operation, and automatically determining a target video according to a preset recommendation strategy according to the determined video selection mode, wherein the video selection mode comprises a system automatic recommendation mode and the first user-defined selection mode.

The type of operation for the first trigger operation has been described above and will not be described again here. For example, when the user performs a long press operation of touching the video entry indication information, it indicates that a target video needs to be automatically recommended to the user by the system, for example, the target video recommended by the system by default is a video (a local video or an online video) that the user interrupted watching last time, or may be a local video that the user just downloaded, or may be a video that the user just published, or may be a video that is playing before entering the current chat list interface, or may be a video that a chat object of the entering chat conversation interface is currently watching, and so on. By means of the automatic default recommendation mode of the system, the target video which the user wants to watch can be played quickly according to the preset recommendation strategy, the intelligence of the system is enhanced, and meanwhile the playing efficiency of the target video can be improved to a large extent, so that the watching experience of the user is enhanced.

After the target video is determined, the target video can be played, for example, a playing component of the system is called to play the target video, when the video is played, the video is generally presented in a video playing interface mode, so that a video playing interface is also corresponding to the target video.

As shown in fig. 6, after the user selects the target video "seamless" to be played in the online video selection interface as shown in the diagram c in fig. 6, the interface may automatically jump from the diagram c in fig. 6 to the diagram d in fig. 6, that is, directly go back from the online video selection interface to the chat list interface, and pop up the video playing window corresponding to the playing component (e.g., player), directly play the target video, and after playing the target video, the video entry indication information originally displayed in the chat list interface is hidden and displayed. In a specific implementation process, the video playing interface and the chat list interface can be displayed on the same screen in a certain proportion, that is, after the chat list interface originally displayed in a full screen is compressed, the video playing interface is displayed in an area outside the chat list interface, for example, as shown in a diagram d in fig. 6, in a vertical screen state of the terminal device, in order to not affect a user to perform instant messaging chat, the video playing interface can be placed above the chat list interface, and the display area of the video playing interface is smaller than that of the chat list interface, and of course, other display proportions can be adopted to display the two interfaces on the same screen; in other embodiments, for example, the video playing interface may also be directly displayed in the chat list interface, or the video playing interface may be directly overlaid on the chat conversation interface for stacked display, and so on. In addition, the display proportion of the chat list interface and the video playing interface can be dynamically adjusted in the process of watching the video by the user.

After the chat list interface and the video playing interface are displayed on the same screen, the user may perform a second trigger operation on the video playing interface, where the second trigger operation is, for example, a click operation of touching the video playing interface, or, for example, a sliding gesture operation of sliding out a "√" shape from left to right in the video playing interface as shown in the left diagram in fig. 8, and so on. Therefore, after monitoring a second trigger operation for the video playing interface, the terminal device may request a control display resource from the background server according to the trigger of the second trigger operation, and may display a video playing operation control corresponding to the control display resource after obtaining the control display resource, where the video playing operation controls are operation controls associated with the video playing interface, and the video playing interface may be correspondingly controlled through the operation controls. The control display resource includes control icons corresponding to the video playing operation controls to be displayed, and display positions corresponding to the control icons, for example, as shown in the right diagram in fig. 8, a total of 6 video playing operation controls are displayed at different positions, where 4 video playing operation controls are located in the video chat interface, and 2 video playing operation controls are located outside the video playing interface.

That is to say, after the target video is played through the video playing interface, a plurality of operation entries of the player can be quickly called through shortcut operation, and then the video being played can be correspondingly controlled or some additional operations can be performed through the operation entries. The video playing operation control in the embodiment of the present application may include, for example, a minimization control, a full screen control, a close control, a change video control, a video screenshot control, a capture small video control, a pause/play control, a share control, and the like.

Taking the minimized control as an example, please refer to fig. 9, after the user performs a third trigger operation on the exhaled minimized control, for example, after clicking the minimized control, the system may monitor the third trigger operation, and further hide the video playing interface according to the third trigger operation, and simultaneously display the minimized playing indication information, for example, display the minimized playing indication information at the originally displayed position of the video entry indication information, that is, control the video synchronous playing of the minimized video playing interface, and simultaneously resume the full-screen proportional display of the chat list interface. The minimized playing indication information is indication information indicating that the target video is in the minimized window playing, the minimized playing indication information may be in the form of a floating pendant or in other forms, as shown in the right diagram in fig. 9, meanwhile, the minimized playing indication information may include a video identifier of the target video currently being played, that is, a video identifier of the target video currently being played, or the minimized playing indication information may include both a video identifier and a playing progress of the target video currently being played, where the video identifier is, for example, a video name. Meanwhile, the minimized playing indication information may further include a control for controlling the minimized playing indication information, for example, an "x" shaped closing indication information shown in the right diagram of fig. 9 and located at the upper right of the minimized playing indication information, and after a specific operation is performed on the closing indication information, the display of the minimized playing indication information may be closed, and at the same time, the playing of the target video is exited, that is, the target video is closed.

Taking a full-screen control as an example, please refer to the left diagram in fig. 10, after a user performs a specified operation on the called full-screen control, for example, after clicking the full-screen control, the system may monitor the specified operation, and then display the video playing window in full screen according to the specified operation, that is, as shown in the right diagram in fig. 10, thereby implementing full-screen playing of the target video, and at this time, the video playing interface is displayed maximally, completely covers the chat window, and in order to facilitate full-screen viewing by the user, the video playing can be performed in a horizontal screen manner.

Taking a replacement video control as an example, for example, as the right replacement video control in the rectangle dashed frame in the right diagram of fig. 8, after the user performs a specified operation on the replacement video control, the terminal device may determine the video to be switched and played according to the specified operation, for example, the system automatically determines the video to be switched and played or the user manually selects the video to be switched and played, and then switches the video played in the video playing interface from the target video played before to the video to be switched and played again, so that real-time switching of the video can be realized in the process that the video playing interface and the chat list interface coexist on the same screen. The video switching instruction information may be referred to as video switching instruction information, and the information may explicitly instruct the user of an operation entry for video switching.

It should be noted that, in addition to the manner of calling out through the second trigger operation introduced in the embodiment of the present application, the video playing operation controls may also be displayed simultaneously when the video playing interface is displayed, and the manner of calling out through the second trigger operation may facilitate the user to display the video playing interface when the video playing interface is needed.

For example, the video playing interface shown in the left diagram of fig. 9 is referred to as a small screen playing mode, the video playing interface shown in the right diagram of fig. 9 is referred to as a mini-pendant mode, and the video playing interface shown in the right diagram of fig. 10 is referred to as a full screen playing mode. Different playing modes can meet different watching requirements of users, or are biased to watch videos, or are biased to online chatting, or both the watching videos and the online chatting need to be considered simultaneously, so that different using requirements of the users can be met.

In a possible implementation manner, when the user performs a fourth trigger operation (as shown in the upper left diagram in fig. 11) on the closing control for the video playing interface for the outgoing call described above, for example, performs a touch operation of clicking the closing control, the playing of the target video, that is, the closing of the target video, may be terminated, and the display interface of the chat list including the video entry indication information at the beginning (as shown in the right diagram in fig. 11) is returned, that is, the display of the video entry indication information is resumed.

In another possible embodiment, when the user performs the fourth triggering operation on the aforementioned fourth triggering operation for the minimized playing indication information (as shown in the lower left diagram of fig. 11), for example, the fourth triggering operation on the "x" shaped closing indication information at the upper right of the minimized playing indication information, the playing of the target video may also be terminated, that is, the target video is closed, and the terminal device may hide the display of the minimized playing indication information and return to the display interface of the first chat window including the video entry indication information (as shown in the right diagram of fig. 11), that is, resume the display of the video entry indication information in the chat list interface.

The above description explains two ways of closing video playing through fig. 11, so that in the process of watching video coexistence, the user can select a corresponding way to quit the playing of the video, which is convenient for operation.

In the embodiment of the application, after the user associates the video playing based on the video entry indication information in the chat list interface, the user can send a video watching invitation to the friend. For example, when the user needs to send out a video viewing invitation, the user may perform a fifth triggering operation, and after monitoring the fifth triggering operation, the device may generate video viewing invitation information according to the triggering of the fifth triggering operation, the video viewing invitation information is determined based on the playing address of the video being played (such as the aforementioned target video), for example, the video viewing invitation information includes the playing address, and then the video viewing invitation information is sent to the chat object needing to be invited, through the quick sending of the viewing invitation, a video viewing invitation can be sent to the opposite-end chat object, for example to a chat conversation interface corresponding to a specific chat conversation interface identification in the chat list interface, for example, the chat conversation interface corresponding to the specific chat conversation interface identifier is called as a first predetermined chat conversation interface, so that online sharing of the video is realized. The video viewing invitation information may be presented in a form of "text + URL address", or may be only "URL address", or may also be in a form of two-dimensional code, and the like.

In a possible implementation manner, the display interfaces of the chat list interface and the video playing interface display invitation viewing identification information, the invitation viewing identification information is, for example, a sharing control called out in the video playing interface, or a text prompt of "inviting friends to see together" as shown in fig. 12, or the invitation viewing identification information may also be other display presentations. Taking "invite friends look together" in fig. 12 as an example, a user may perform an object selection operation with respect to "invite friends look together", after monitoring the object selection operation with respect to "invite friends look together", the device may determine a first predetermined chat session interface according to the object selection operation, for example, as shown in the bottom right diagram in fig. 12, when the user clicks "invite friends look together", the device is triggered to jump to a display interface of a directory, the display interface of the directory is understood to be an invite object selection interface, and the user may select a user in the directory to be invited to view, for example, the user selects a nick star called "wang inframe" to perform a video viewing invitation, after selecting "wang inframe", based on the object selection operation performed by the user to select "wang inframe", the user may trigger to jump to a private chat session window with "wang inframe", namely, a chat conversation interface with the wang downy is presented, and video viewing invitation information of 'inviting you to view' seamless Tian 'collection 8 and clicking' view 'is sent to the wang downy' so as to realize the rapid sharing and sending of the video viewing invitation information and improve the invitation efficiency. As in the previous example, the chat session interface corresponding to "wang performance" may be understood as the first predetermined chat session interface, and in another embodiment, the user may select a plurality of first predetermined chat session interfaces including the private chat window and the group chat window at a time. In other embodiments, in addition to the manner of selecting a friend from an address list as shown in fig. 12, the user may directly select one or more chat conversation interface identifiers from a plurality of chat conversation interface identifiers included in the chat list interface, and then the chat conversation interface corresponding to the chat conversation interface identifier selected by the user may be used as the first predetermined chat conversation interface.

In another possible implementation, the user can perform a gesture operation from the start of the video playing interface to the termination of the chat list interface, as shown in fig. 13, the gesture operation track of the user starts from the video playing interface and passes through three chat conversation interface identifications of "guess of leaf", "baby health communication group" and "flower world" in the chat list interface, for example, the chat conversation interface corresponding to the chat conversation interface identification (i.e. the flower world) at the end position of the gesture operation can be determined to be the aforementioned first predetermined chat conversation interface, as shown in the right diagram of fig. 13, after determining "flower world" as the first predetermined chat conversation interface, the user can directly input the video watching invitation information of 'inviting you to watch < 8 th collection of Tian' seamless ', please click on < x > to watch' into the chat conversation interface. Alternatively, optionally, the chat conversation interfaces corresponding to all chat conversation interface identifications passed by the operation trajectory of the gesture operation may be determined as the first predetermined chat conversation interface, and the left diagram in fig. 13 is continued, and if the method is adopted, the chat conversation interfaces corresponding to the three chat conversation interface identifications of "guess by leaf", "baby health communication group", and "flower world" may be determined as the first predetermined chat conversation interface, and then the video viewing invitation information is sent. Through the gesture operation of sliding across the video playing interface and the chat list interface, the meaning of inviting to the opposite-end user is intuitively simulated in action, so that the video watching invitation information can be generated and sent, the user experience is strong, the interestingness of the operation is high, and the use experience of the user is improved.

In the embodiment of the application, for the chat objects associated with the chat conversation interface identifiers in the chat list interface, all the chat objects or a part of the videos which are currently watched by the specified chat objects can be obtained, such as the names and the playing schedules of the watched videos, and then the video playing indication information corresponding to the chat objects can be generated according to the information, and the obtained video playing indication information is displayed, so that the user can intuitively and real-timely check the video situation currently watched by the opposite-end user, more common chat topics can be generated among the users, and the interactive experience is improved. Specifically, for example, at least one piece of video playing indication information corresponding to a video currently being viewed by a chat object in a second predetermined chat conversation interface may be obtained, and the second predetermined chat conversation interface may correspond to a group chat window or may also correspond to a private chat window, where the second predetermined chat conversation interface is, for example, a chat conversation interface corresponding to a pre-specified chat conversation interface identifier in a chat list interface, or may also be a chat conversation window corresponding to all chat conversation interface identifiers in the chat list interface, and then the obtained at least one piece of video playing indication information is displayed in real time.

As shown in the left diagram of fig. 14, in the chat list interface including the video entry indication information, the video related information being viewed by the chat object in the chat conversation interface associated with each chat conversation interface identifier is shown below each chat conversation interface identifier, and it can be seen that some users in ABAB 3 rd collection and flower world are viewing taihao laugh cheer and food temptation. As shown in the right diagram of fig. 14, when the video playing interface and the chat list interface are displayed on the same screen, video playing indication information is correspondingly displayed above each chat conversation interface identifier in the chat list interface, and through the way of the related display, the promptness is enhanced, and the user can easily view the video playing indication information. For example, when the video playing interface shown in the right diagram of fig. 9 is in the mini-pendant mode, the video playing indication information may also be displayed.

In the specific implementation process, the user can customize the visible attribute of the video playing indication information to the friend, for example, the user can set that the video playing indication information that the user is watching the video is only presented to a part of friends (such as good friends or relatives of the user), and the video playing indication information is not presented to unfamiliar friends or strangers, so that privacy protection can be facilitated to a certain extent.

When at least one piece of video playing indication information is displayed, a user can utilize the video playing indication information to realize fast switching of own video, for example, the user can perform a sixth triggering operation on target video playing indication information in the at least one piece of video playing indication information, for example, perform the sixth triggering operation of long-time pressing the target video playing indication information, the terminal device can monitor the sixth triggering operation, and then according to triggering of the sixth triggering operation, the video played on a video playing interface is switched to the video indicated by the target video playing indication information, so that one-key synchronous playing of the video being watched by a friend is realized. For example, as shown in fig. 15, after the user clicks the target video playing instruction information "food temptation", the video played on the video playing interface is switched from "seamless" being played to "food temptation", and by this way, the video can be switched quickly and conveniently, and the video being watched by the current chat object can be switched, so that online communication with the chat object is facilitated.

In a possible implementation manner, if the target video playing indication information includes a video identifier of the indicated video, for example, only the video identifier or both the video identifier and the actual playing progress, the target playing progress may be determined according to a preset playing policy, and the video indicated by the target video playing indication information is played on the video playing interface according to the determined target playing progress. The predetermined play policy is, for example, play from the start time of a video, or play from a place where a user last viewed the video is interrupted, or play may be started from other predetermined times, and the embodiment of the present application is not limited.

In another possible implementation manner, if the target video playing indication information includes the video identifier and the actual playing progress of the indicated video, the video indicated by the target video playing indication information may be played on the video playing interface according to the actual playing progress, for example, the video is directly played at a moment corresponding to the actual playing progress, so that absolute synchronization of video playing with the opposite-end chat user is achieved, and the two users can conveniently discuss and communicate in time according to the same watching progress.

In the actual use process, if it is necessary to chat with a certain friend, taking the chat list interface shown in the left diagram in fig. 16 as an example, if the user wishes to chat with "leaf guess", a seventh trigger operation may be performed on the chat conversation interface identifier corresponding to the "leaf guess" in the chat list interface, for example, a click operation of clicking the avatar of the "leaf guess" is performed, after the device detects the seventh trigger operation, the chat conversation interface corresponding to the "leaf guess" may be entered from the chat list interface (as shown in the right diagram in fig. 16) according to the trigger of the seventh trigger operation, for example, the chat conversation interface identifier corresponding to the seventh trigger operation is referred to as the target chat conversation interface identifier, and the chat conversation interface corresponding to the target chat conversation interface identifier may be referred to as the target chat conversation interface, after entering the target chat conversation interface from the chat list interface, the user can continue playing the video because the user generally performs online chat on the target chat conversation interface, so that the video playing interface and the target chat conversation interface can be displayed on the same screen, that is, the video can be seamlessly switched between the chat list interface and the chat conversation interface, so that the user can view the video while chatting, and the user experience is better.

In the process of switching from the chat list interface to the target chat conversation interface, two modes can be provided.

First, when exiting from the chat list interface (i.e. when hiding the display of the chat list interface), the video playing interface can be hidden and the video playing can be paused, and at the same time, the playing progress information when the video playing is paused is recorded, when switching from the chat list interface to the target chat conversation interface, the video playing interface can be displayed on the same screen as the target chat conversation interface, and the video playing progress information when the video is paused before the interface switching can be continued to play the video, that is, when switching the interface, the video playing interface is also hidden and then displayed, but when playing is paused, the user can continuously watch the video content without missing the video content when playing is continued in the target chat conversation interface.

Secondly, when the chat list interface is quitted (i.e. the display of the hidden chat list interface), the video playing interface is not hidden but continuously displayed, which is equivalent to the switching between the chat list interface and the target chat conversation interface, when the user watches, the video playing interface displayed on the upper half part of the screen does not change, and the lower half part of the screen realizes the interface conversion from the chat list interface to the target chat conversation interface, so that even when the interface is switched, the video playing interface is continuously displayed, thereby reducing the interference of the user on watching the video as much as possible and realizing the immersive continuous watching.

In many terminal application functions, instant messaging application is an application function which is widely applied at present, video playing is also an application function with strong entertainment, most users have more time and situations for using the instant messaging function, and generally enter a chat list interface in chatting, so that the embodiment of the application integrates video entry indication information in the chat list interface, namely, an entry for fast playing the video is embedded in a chat scene which is widely applied, so that the user can quickly call out the video playing function in the chatting process, and a more friendly and humanized man-machine interaction mode can be realized through the co-screen coexistence of the chat list and a video playing window.

According to the technical scheme provided by the embodiment of the application, in order to realize the co-screen coexistence of the chat list and the video playing window, the quick entry of the chat list interface can be embedded into the video playing interface, so that a user can call the chat list interface directly through the quick operation of the quick entry of the embedded chat list interface in the process of watching a video, and the called chat list and the video playing window can be displayed on the same screen, thereby realizing the purpose of one screen with multiple purposes.

The embodiment of the application can meet the requirement that a user can have better experience to play and watch videos while carrying out online instant chat with other people, namely, a product interaction mode that a main path (namely a chat list) selected by a plurality of chat conversation windows and videos are played simultaneously is provided, and the requirement of the user for watching chat is met.

In the embodiment of the application, the video entry indication information on the chat list interface can be displayed in a pendant form, and a user can conveniently select a desired video on a main path (namely a chat list) which does not influence the selection of a chat conversation window. And when the video is selected, for example, when the video is selected online, multi-dimensional selection such as searching, personalized recommendation, hot recommendation and the like can be supported. After the user opens the video, the user can conveniently select the chat list in the process of watching the video. In addition, when the user's focus of attention needs to be placed on the chat list, the video window can be minimized very conveniently, i.e. the video playing window is made to present a mini-pendant mode, so that the interface of the chat list is more sufficient, and the normal playing of the video is not affected. Moreover, when the video does not need to be watched, the playing can be quickly closed, the chat list is completely focused, and the use is flexible.

Based on the same inventive concept, the embodiment of the present application provides a device for controlling video playing, where the device for controlling video playing may be a hardware structure, a software module, or a hardware structure plus a software module. The apparatus for processing corpus may be, for example, the terminal device 301 in fig. 3, or may be a functional apparatus provided in the terminal device 301. Referring to fig. 17, the apparatus for controlling video playback in the embodiment of the present application includes a receiving module 1701 and a display module 1702, where:

a receiving module 1701, configured to receive a first trigger operation for video entry indication information in a chat list interface; the chat list interface is used for bearing chat conversation interface identification of a chat conversation interface between the instant messaging object and the instant messaging object;

a display module 1702, configured to display a chat list interface and a video playing interface corresponding to the target video according to the trigger of the first trigger operation; or the chat list interface and the video playing interface corresponding to the target video are displayed according to the triggering of the first triggering operation.

In one possible implementation, the display module 1702 is configured to:

according to the triggering of the first triggering operation, determining a target video according to a preset recommendation strategy, and displaying a chat conversation interface and a video playing interface corresponding to the target video; alternatively, the first and second electrodes may be,

and determining a video selection interface according to the operation type of the first trigger operation, and displaying the video selection interface, wherein the video selection interface comprises a local video selection interface or an online video selection interface.

In a possible implementation, the receiving module 1701 is further configured to receive a second trigger operation for the video playing window;

the display module 1702 is further configured to display a video playing operation control associated with the video playing interface according to the trigger of the second trigger operation.

In a possible implementation, the video playing operation control includes a minimization control, and the receiving module 1701 is further configured to receive a third triggering operation for the minimization control;

the display module 1702 is further configured to hide the video playing interface according to the triggering of the third triggering operation, and display the minimized playing indication information, where the minimized playing indication information includes a video identifier of the target video currently being played.

In a possible implementation, the receiving module 1701 is further configured to receive a fourth trigger operation for the minimized playing indication information after the display module 1702 displays the minimized playing indication information;

the display module 1702 is further configured to terminate playing the target video according to the fourth trigger operation, and hide the minimized playing indication information; or hiding the minimized playing indication information and resuming to display the video playing interface according to the triggering of the fourth triggering operation.

In a possible implementation, the receiving module 1701 is further configured to receive a fifth trigger operation;

referring to fig. 18, the apparatus for controlling video playing in the embodiment of the present application further includes a sending module 1801, configured to send the video viewing invitation message to the first predetermined chat conversation interface according to the trigger of the fifth trigger operation.

In a possible implementation, the sending module 1801 is configured to:

displaying an invitation object selection interface according to the triggering of a fifth triggering operation aiming at the invitation watching identification information;

and receiving object selection operation aiming at the invitation object selection interface, and sending the video watching invitation information to the chat conversation interface selected by the object selection operation according to the trigger of the object selection operation.

In a possible implementation, the sending module 1801 is configured to:

and sending the video watching invitation information to a chat conversation interface corresponding to the endpoint position of the gesture operation according to the trigger of the gesture operation sliding from the video playing interface to the chat list interface, or sending the video watching invitation information to the chat conversation interface through which the operation track of the gesture operation passes.

In one possible implementation, the display module 1702 is further configured to:

and displaying at least one piece of video playing indication information in the chat list interface, wherein the at least one piece of video playing indication information is used for correspondingly indicating the video which is watched by the at least one chat object currently, and the at least one chat object is a chat object in a second preset chat conversation interface in the chat list interface.

In a possible implementation, the receiving module 1701 is further configured to receive a sixth trigger operation for the target video playing indication information in the at least one video playing indication information;

the display module 1702 is further configured to switch, according to the trigger of the sixth trigger operation, the video played on the video playing interface to the video indicated by the target video playing indication information.

In one possible implementation, the display module 1702 is configured to:

if the target video playing indication information comprises a video identifier, playing the indicated video on a video playing interface according to the target playing progress, wherein the target playing progress is determined according to a preset playing strategy;

and if the target video playing indication information comprises the video identification and the playing progress information, playing the indicated video on the video playing interface according to the playing progress information.

In a possible implementation, the receiving module 1701 is further configured to receive a seventh trigger operation for the target chat conversation interface identifier in the chat list interface;

the display module 1702 is further configured to hide the video playing interface and the chat list interface according to the trigger of the seventh trigger operation, and display a target chat conversation interface and a video playing interface corresponding to the target chat conversation interface identifier; or hiding the chat list interface and displaying the target chat conversation interface corresponding to the target chat conversation interface identifier according to the triggering of the seventh triggering operation.

All relevant contents of each step involved in the embodiment of the method for controlling video playing described above may be cited to the functional description of the functional module corresponding to the apparatus for controlling video playing in the embodiment of the present application, and are not described herein again.

The division of the modules in the embodiments of the present application is schematic, and only one logical function division is provided, and in actual implementation, there may be another division manner, and in addition, each functional module in each embodiment of the present application may be integrated in one processor, may also exist alone physically, or may also be integrated in one module by two or more modules. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.

Based on the same inventive concept, the embodiment of the present application further provides a computing device, for example, the terminal device 301 in fig. 3. Referring to fig. 19, a computing device in this embodiment of the application includes at least one processor 1901 and a memory 1902 connected to the at least one processor, and a specific connection medium between the processor 1901 and the memory 1902 is not limited in this embodiment of the application, for example, the processor 1901 and the memory 1902 may be connected by a bus, which may be divided into an address bus, a data bus, a control bus, and the like.

In the embodiment of the present application, the memory 1902 stores instructions executable by the at least one processor 1901, and the at least one processor 1901 can execute the steps included in the video processing method by executing the instructions stored in the memory 1902.

The Processor 1901 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present Application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.

The memory 1902, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charged Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 1902 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.

The processor 1901 is a control center of the computing device, and can connect various parts of the entire computing device through various interfaces and lines, and perform various functions and process data of the computing device by executing or executing instructions stored in the memory 1902 and calling data stored in the memory 1902, thereby monitoring the computing device as a whole. Alternatively, the processor 1901 may include one or more processing units, and the processor 1901 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1901. In some embodiments, the processor 1901 and the memory 1902 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.

Further, the computing device in this embodiment of the application may further include an input unit 1903, a display unit 1904, a radio frequency unit 1905, an audio circuit 1906, a speaker 1907, a microphone 1908, a Wireless Fidelity (WiFi) module 1909, a bluetooth module 1910, a power supply 1911, an external interface 1912, a headphone jack 1913, and other components. Those skilled in the art will appreciate that FIG. 19 is merely exemplary of a computing device and is not intended to limit the computing device, which may include more or fewer components than those shown, or may combine certain components, or different components.

The input unit 1903 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the video playback device. For example, input unit 1903 may include a touch screen 1914 and other input devices 1915. The touch screen 1914 may collect touch operations by a user (e.g., operations by a user on or near the touch screen 1914 using any suitable object such as a finger, a joint, a stylus, etc.) thereon or nearby, i.e., the touch screen 1914 may be used to detect touch pressure and touch input position and touch input area and drive the corresponding connection device according to a preset program. The touch screen 1914 may detect a touch operation of the touch screen 1914 by a user, convert the touch operation into a touch signal and transmit the touch signal to the processor 1901, or may be understood as transmitting touch information of the touch operation to the processor 1901, and may receive and execute a command transmitted from the processor 1901. The touch information may include at least one of pressure magnitude information and pressure duration information. The touch screen 1914 can provide an input interface and an output interface between the video playback device and a user. In addition, the touch screen 1914 can be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch screen 1914, the input unit 1903 may also include other input devices 1915. For example, other input devices 1915 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.

The display unit 1904 may be used to display information input by a user or information provided to the user and various menus of the video playback apparatus. Further, the touch screen 1914 may cover the display unit 1904, and when the touch screen 1914 detects a touch operation on or near the touch screen 1914, the touch screen 1911 may transmit the pressure information to the processor 1901 to determine the pressure information of the touch operation. In this embodiment, the touch screen 1914 and the display unit 1904 may be integrated into a single component to implement the input, output, and display functions of the video playback device. For convenience of description, the embodiment of the present application is schematically illustrated by taking the touch screen 1914 as an example of the functional set of the touch screen 1914 and the display unit 1904, but in some embodiments, the touch screen 1914 and the display unit 1904 may also be taken as two separate components.

When the display unit 1904 and the touch panel are superimposed on each other in the form of layers to form a touch screen 1914, the display unit 1904 can function as an input device and an output device, and when functioning as an output device, can be used to display images, for example, to enable playing of various videos. The Display unit 1904 may include at least one of a Liquid Crystal Display (LCD), a Thin Film Transistor Liquid Crystal Display (TFT-LCD), an Organic Light Emitting Diode (OLED) Display, an Active Matrix Organic Light Emitting Diode (AMOLED) Display, an In-Plane Switching (IPS) Display, a flexible Display, a 3D Display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and according to certain desired embodiments, the computing device may include two or more display units (or other display devices), e.g., the computing device may include an external display unit (not shown in fig. 19) and an internal display unit (not shown in fig. 19).

The rf unit 1905 may be used for receiving and transmitting information or signals during a call. Typically, the radio frequency circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the radio frequency unit 1905 may also communicate with a network device and other devices through wireless communication.

The audio circuitry 1906, speaker 1907, microphone 1908 may provide an audio interface between a user and a video playback device. The audio circuit 1906 may transmit the electrical signal converted from the received audio data to the speaker 1907, and convert the electrical signal into a sound signal by the speaker 1907 for output. On the other hand, the microphone 1908 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1906 and then converted into audio data, and then the audio data is processed by the audio data output processor 1901, and then sent to another electronic device via the radio frequency unit 1905, or the audio data is output to the memory 1902 for further processing, and the audio circuit may also include a headphone jack 1913 for providing a connection interface between the audio circuit and a headphone.

WiFi belongs to short-range wireless transmission technology, and the computing device can help the user send and receive e-mails, browse web pages, access streaming media, etc. through the WiFi module 1909, which provides wireless broadband internet access for the user. Although fig. 19 shows the WiFi module 1909, it is understood that it does not belong to the essential constitution of the computing device, and may be omitted entirely as needed within the scope not changing the essence of the invention.

Bluetooth is a short-range wireless communication technology. By using the bluetooth technology, the communication between mobile communication video playing devices such as a palm computer, a notebook computer, a mobile phone and the like can be effectively simplified, the communication between the devices and the Internet (Internet) can also be successfully simplified, the video playing devices enable the data transmission between the computing devices and the Internet to be more rapid and efficient through the bluetooth module 1910, and the way is widened for wireless communication. Bluetooth technology is an open solution that enables wireless transmission of voice and data. Although fig. 19 shows the bluetooth module 1910, it is understood that it does not belong to the essential constitution of the computing device and may be omitted entirely as needed within the scope not changing the essence of the invention.

The computing device may also include a power source 1911 (such as a battery) for receiving external power or powering various components within the computing device. Preferably, the power supply 1911 may be logically connected to the processor 901 through a power management system, so that functions of managing charging, discharging, power consumption, and the like are realized through the power management system.

The computing device may also include an external interface 1912, where the external interface 1912 may include a standard Micro USB interface, may also include a multi-pin connector, and may be used to connect the computing device to communicate with other devices, and may also be used to connect a charger to charge the computing device.

Although not shown, the computing device in the embodiment of the present application may further include a camera, a flash, and other possible functional modules, which are not described herein again.

Based on the same inventive concept, the present application also provides a storage medium, which may be a computer-readable storage medium, and the storage medium stores computer instructions, which, when executed on a computer, cause the computer to perform the steps of the method for controlling video playing as described above.

Based on the same inventive concept, the embodiment of the present application further provides a chip system, where the chip system includes a processor and may further include a memory, and is used to implement the steps of the method for controlling video playing as described above. The chip system may be formed by a chip, and may also include a chip and other discrete devices.

In some possible implementations, various aspects of the method for controlling video playback provided by the embodiments of the present application can also be implemented in the form of a program product including program code for causing a computer to perform the steps in the method for controlling video playback according to various exemplary implementations of the present application described above when the program product runs on the computer.

As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.

It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

33页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于实时通信的互动方法、社交应用终端及相关装置

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类