Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
At present, in a chat session scene, when a user receives video information sent by other users and then checks the video information, the checking process generally comprises the following steps: clicking to view, then entering a downloading process, and after the video is downloaded, the user can watch the video, so that the content in the video can be known. If the amount of video data is large, it takes a long time to download and view, resulting in high time cost for the user to know the information. Moreover, many times, the user watches the video and finds that the content of the video is not interesting, and the time of the user is wasted.
In order to solve the problems in the related art, embodiments of the present application provide a message display method, an apparatus, and an electronic device, which can identify a picture of a key frame from a video after receiving a session message including the video and key frame progress information, and then view the picture of the key frame before viewing the video to obtain main content of the video, thereby saving time for a user to obtain video content information.
The message display method, the message display device, and the electronic device provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 shows a flowchart of a message display method provided in an embodiment of the present application. As shown in fig. 1, the method is applied to a first electronic device, and may specifically include steps S101 to S103:
s101, under the condition that a first message is received, displaying the first message, wherein the first message comprises a first video and first progress information, and the first progress information corresponds to a key frame in the first video.
The first message may be a message received in an instant messaging scenario.
For example, the first message may be based on a message delivered by a social Application (App), a short message or multimedia message Application, or other Application with an instant messaging function.
Alternatively, the first message may be a session message or a plurality of session messages, as long as the progress information of the video and the key frames in the video is included.
As shown in fig. 2, in a session interface 201 of a first electronic device 200, a displayed first message 202 includes a first video 203 and first progress information 204 corresponding to key frames in the first video 203, and in addition, may include other information such as text, pictures, and voice.
For example, the first video 203 may be in a video format such as wmv, asf, asx, rm, rmvb, mp4, 3gp, mov, m4v, avi, dat, mkv, flv, and vob, which is not limited in the embodiment of the present application.
The key frame in the first video 203 is a video frame in which a key action in the video content change process is located.
The key frame of the first video 203 may be selected by the first message sender manually by a user, or may be automatically identified by a device of the first message sender, which is not limited in the embodiment of the present application.
For example, the first progress information 204 may be a progress time, and the progress time may be one or more than one. If the progress information is '00: 12: 11', the time of the key frame in the corresponding video at the progress bar is 00:12: 11.
Illustratively, the first progress information 204 may also be a progress period. In order to avoid that the time for the user to obtain the corresponding content information is affected by too many key frame pictures obtained subsequently, and thus the duration of the progress time period should not be too long, for example, the duration may be set to 3s, and one frame of picture is captured every second.
S102, receiving a first input.
The first input may be an input to the first message (e.g., a viewing input to the first message), an input to the first video (e.g., a play input), or an input to the first progress information (e.g., a viewing input to the progress information).
The first input may be a click input on a screen of the electronic device, or a voice instruction input by a user, or a specific gesture or an air-space gesture input by the user, which may be determined according to actual usage requirements, and this embodiment does not limit this.
The click input can be single click input, double click input or click input of any number of times, and can also be long-press input or short-press input. The specific gesture may be any one of a tap gesture, a double tap gesture, a swipe gesture, a drag gesture, a zoom gesture, and a rotate gesture.
Illustratively, the automatic downloading permission can be preset through a system background setting page or can be automatically downloaded after a certain condition is met, so that after the first message is received, the first video in the first message is downloaded in a preset mode. The user may view the downloaded first video.
In other examples, the first video may also be cached for viewing by the user after receiving the first message, or online viewing may also be supported.
After the user sees the first message in the session interface, the user can trigger the operation of watching the first video through the first input.
And S103, responding to the first input, and displaying a key frame picture, wherein the key frame picture is a picture of a key frame obtained from the first video according to the first progress information.
For example, after receiving the first message, the first electronic device system may identify, according to the first progress information, a picture of a key frame in the first video after identifying that the first progress information includes the first video and the key frame in the first message, and the identified picture of the key frame may be stored locally in the electronic device.
The key frame picture may be one or more. Optionally, one key frame picture may only correspond to a picture of one key frame, or multiple pictures generated by multiple key frame pictures may be synthesized on one key frame picture.
Optionally, the number of the key frame pictures may be determined according to the progress information in the first message.
After the first input is received, the key frame picture is displayed in response to the input, so that a user can quickly know the main content information in the first video, and the efficiency of the user in knowing the video information is improved. And the user can decide whether to continuously check the video according to the key frame picture, so that the user can be prevented from watching uninteresting videos in a conversation scene, the time for the user to know the video content information is greatly saved, and the user experience is improved.
In order to save the time for the user to wait for downloading the video when receiving the session message containing the video, optionally, the embodiment of the present application may adaptively process the first message according to different chat session scenarios (including private chat and group chat):
illustratively, if the first message received by the first electronic device is a session message in a private chat scenario, that is, the session interface displaying the first message is a private chat session interface, for example, the user a sends the first message to the user B in a private chat mode. In this embodiment of the application, when the background setting page of the first electronic device identifies that the first message contains the video, the video in the message is automatically downloaded, so that the user does not need to wait for downloading when wanting to watch the video in the idle time.
For example, as shown in fig. 3, if the first message 301 received by the first electronic device 300 is a group chat session message in a group chat scenario, that is, the session interface 302 displaying the first message is a group chat interface, the first message 301 may further include a target receiving account 303. The target receiving account 303 may be an account in the current group chat session, and the account may be one or more. This target receive account 303 may be the account for which the sender account wants to receive the first message 301. The sender account specifies this target recipient account 303 in a first message 301 to notify the corresponding account to view the first video 304.
The target receiving account 303 may be a nickname of the corresponding user, a user name, a nickname of the user in the chat group, or a mobile phone number, etc.
For example, the target receiving account 303 may be sent by a chat function of App, for example, the user a sends a first message to a chat group, where the chat group includes the user a, the user B, the user C, and the user D, and the user a wants to let the user B view the first video 304 may further include information of "@ user B" in the first message, and notifies the user B to view the first video 304 in the first message.
Correspondingly, after the first message is displayed through step S101 and before the first input is received in step S102, the method may further include step S104:
and S104, downloading the first video under the condition that the first electronic equipment logs in the target receiving account.
After receiving the first message, the first electronic device downloads the first video in the first message when recognizing that the target account information in the first message contains the current login account, so that the user does not need to wait for downloading when wanting to watch the video in the idle time.
For example, the first electronic device logs in the user B account, and the first message includes information of "@ user B", so that the first electronic device receives the first message, and then the background automatically downloads the first video in the first message.
Optionally, if the target account information does not include the current account logged in, the first video does not need to be downloaded, thereby avoiding traffic waste and occupation of local storage space.
To facilitate understanding of the video downloading status in the message, optionally, in the embodiment of the present application, as shown in fig. 4, during downloading the first video 401, a downloading progress bar 404 of the first video 401 may be displayed by displaying a corresponding area of the first message 403 in the session interface 402, so that the user can know the downloading progress of the first video 401.
In order to facilitate the user to quickly and conveniently know the video information, optionally, in this embodiment of the application, as shown in fig. 5, after the first video 501 is downloaded, a key frame picture 504 corresponding to a key frame in the first video 501 may be identified and stored according to the first progress information 503 of the key frame in the first message 502 based on the video analysis function of the first electronic device 500. Thus, when the user wants to watch the video in the idle time, the operation of playing the first video can be triggered through the steps S102 to S103, and the key frame picture is watched before the picture of the video is played, so that the main information of the video is quickly known, and then whether to continue playing the picture of the video is selected.
Alternatively, in the process of displaying the key frame picture through step S103, it may be that, in response to the first input, the user jumps to the picture viewing page 601 shown in fig. 6 to view the locally stored key frame picture 602.
When the key frame picture 602 includes a plurality of key frame pictures, the user can slide left and right in the screen area corresponding to the picture viewing page 601 through the sliding input, so as to browse the plurality of key frame pictures (6021,6022,6023).
In order to facilitate the user to flexibly select whether to continue to watch the video after knowing the main content information of the video in the session message, in this embodiment of the application, optionally, after the key frame picture is displayed in step S103, the method may further include steps S105 to S106:
and S105, receiving a play input of the first video.
The play input may be a click input on a screen of the electronic device, or a voice instruction input by a user, or a specific gesture or an air gap gesture input by the user, which may be determined specifically according to actual use requirements, and this embodiment does not limit this.
Illustratively, after the key frame picture is displayed on the picture viewing page, the user can jump back to the conversation interface by long-time pressing or clicking input and other operations, and trigger the picture playing operation of the first video by the playing input.
Alternatively, after the key frame picture is displayed through the picture viewing page, a play input of the user, such as a specific gesture input, may be received to trigger a subsequent video viewing operation.
S106, responding to the playing input, and playing the first video.
After browsing the key frame pictures, the user is interested in the specific content of the first video, and as shown in fig. 7, the first video 702 can be played on the playing interface 701 through the play input, so as to watch the video.
In the above embodiment, the first message is generated after the message sender processes the first video, so that the message receiver can quickly and efficiently know the main content of the video, and the time for acquiring the video content information is saved. The following describes a message sending process in the embodiment of the present application with reference to the drawings.
Fig. 8 shows a schematic flow chart of sending a message by a first electronic device in the embodiment of the present application. As shown in fig. 8, after downloading the first video, the method may further include steps S801 to S803:
s801, in the process of editing a second message according to a first video, second progress information corresponding to a second key frame in the first video is determined in a first video preview interface.
The second message may be a session message to be sent by the first electronic device in an instant messaging scenario.
For example, the second message may be a message delivered based on a social Application (App), a text message or multimedia message Application, or other Application with instant messaging capability.
The first video preview interface is an interface for previewing and playing the first video.
When the user wants to send a second message containing the first video, second progress information corresponding to a second key frame in the first video can be manually determined in a preview interface of the first video during editing of the second message. And the key frame in the first video represents the video frame where the key action in the video content change process is located. Illustratively, the key frames may be specified by the user.
For example, as shown in fig. 9, a preview interface 901 of the first electronic device 900 displays a picture of a first video and a video progress bar 902, and a user may drag the video progress bar 902, and long-press or double-click at a progress time of a corresponding key frame may pop up a prompt box 903 for the user to confirm whether to determine the current progress time as progress information of the key frame.
After determining the second progress information of the key frame, the user may mark a corresponding progress time in the first video, or the system may generate and store the corresponding second progress information after associating the second progress information with the first video.
For example, the second progress information may be a progress time, and the progress time may be one or more than one. The progress information may also be a progress period.
S802, receiving a second input;
the second input may be a click input to a screen of the electronic device, or a voice instruction input by a user, or a specific gesture or an air-space gesture input by the user, which may be determined according to actual usage requirements, and this embodiment does not limit this.
And S803, responding to a second input, and sending a second message, wherein the second message comprises a first video and second progress information corresponding to a second key frame in the first video, and the second progress information is used for determining a picture corresponding to the second key frame from the first video.
After the user selects to generate a second message according to the first video and send the second message, the sent second message carries second progress information related to a second key frame stored in the first video besides the first video, and therefore after the receiving party receives the first message, the receiving party can identify a picture corresponding to the second key frame in the first video according to the progress information.
It should be understood that, in the process of sending the second message generated according to the first video through the first electronic device, the second progress information in the second message may be the same as or different from the first progress information in the first message.
The embodiment of the application can process the video in the process of sending the video message, the progress information of the key frame is determined to be sent out together, the sender can quickly transmit the main content information in the video, and the receiver can obtain the key frame picture according to the progress information to quickly know the main content information in the video, so that the transmission efficiency and the communication efficiency of the information are greatly improved, and compared with the mode of transmitting through the input characters, the method is more convenient, quick, visual and accurate.
Optionally, in this embodiment of the application, the second message sent by the user may further include a target receiving account, so that the electronic device corresponding to the target receiving account directly downloads the first video from the background after receiving the second message, and the user does not need to manually trigger the downloading, thereby reducing user operations and facilitating the user to directly watch the video when the user is idle.
In order to further improve the sending efficiency of the video message, optionally, in this embodiment of the application, when the user has historically received or sent the video message (i.e., the session message including the video), and sends another video message again, that is, after receiving and displaying the related information of the first message through steps S101 to S103, or after sending the second message through steps S801 to S803, the method may further include steps S901 to S902 of:
s901, receiving a third input of a second video;
s902, responding to the third input, sending a third message, wherein the third message comprises the second video and third progress information corresponding to key frames in the second video, and the third progress information is determined according to the first message or the first progress information.
The third input may be an input for triggering an operation of transmitting the second video.
When the user wants to send the second video, the first electronic device may be caused to generate a third message based on the second video through a third input. The third message may include the second video and third progress information corresponding to the key frames in the second video.
For example, in the process of generating the third message, the third progress information may directly multiplex the first progress information of the first video in the first message, that is, the third progress information is the same as the first progress information. Or the third progress information can be modified on the basis of the first progress information, so that the third progress information can be obtained quickly.
In a specific example, if the first progress information of the first video in the first message is directly multiplexed as the third progress information, step S902 may specifically include steps S9021 to S9024:
s9021, responding to the third input, and displaying first progress information corresponding to the key frames in the first video.
As shown in fig. 10, the third message may be a session message including the second video, and when the third message is edited, first, the first progress information 1002 included in the first message that is sent last time, that is, the first progress information corresponding to the key frame in the first video, is displayed through the multiplexing popup 1001.
S9022, determining the first progress information as third progress information corresponding to the key frame in the second video;
s9023, receiving a fourth input of the user;
s9024. in response to the fourth input, a third message is sent.
The fourth input may be an input for triggering an operation of sending the third message.
In order to quickly determine the progress information of the second video, the first progress information of the key frame corresponding to the first video may be directly determined as the third progress information corresponding to the key frame in the second video. After determining the progress information of the key frame of the second video, the user may mark a corresponding progress time in the second video, or the system may associate the generated corresponding progress information with the second video and store the corresponding progress time.
In the embodiment of the application, the key frame progress information in the second video can be quickly determined by multiplexing the video key frame progress information in the latest video message, so that the editing efficiency of the session message containing the video is improved.
In order to improve the flexibility of editing the session message containing the video, optionally, in this embodiment of the application, after receiving and displaying the relevant information of the first message through steps S101 to S103, the method may further include steps S1001 to S1006 of:
s1001, displaying first progress information corresponding to a key frame in a first video;
s1002, receiving a fifth input;
s1003, responding to the fifth input, editing the first progress information to obtain target progress information;
and S1004, determining the target progress information as fourth progress information corresponding to the key frame in the third video.
In the process that the user edits the fourth message based on the third video, the first progress information may be multiplexed and the modification adjustment may be made based on the first progress information. The fourth message may be a session message including the third video, and when the fourth message is edited, the first progress information included in the first message that is sent last time, that is, the progress information corresponding to the key frame in the first video, may be displayed through a multiplexing popup.
The fifth input may be an edit input of the displayed first progress information by the user.
In response to the fifth input, the first progress information corresponding to the key frame of the first video may be edited, such as modified, added, and/or deleted, and new progress information may be obtained as the target progress information. Still taking the interface shown in fig. 10 as an example, three pieces of progress information 1002 are displayed in the multiplex popup 1001, each piece of progress information 1002 is provided with a corresponding edit box 1004 and a selection control 1003, and the progress time can be modified through the edit box 1004. The control 1003 can retain or delete the current progress information and add a new progress time. And then determining the edited target progress information as fourth progress information corresponding to the key frame in the third video. Therefore, the user can flexibly adjust the key frame progress information of the first video when multiplexing the key frame progress information according to the self requirement.
After the fourth progress information corresponding to the key frame of the third video is determined, the corresponding progress time can be marked in the third video, or the system generates the corresponding progress information and stores the information after associating the information with the second video.
S1005, receiving a sixth input of the user;
s1006, in response to the sixth input, sending a fourth message, where the fourth message includes the third video and the fourth progress information, and the fourth progress information is used to determine a picture of a corresponding key frame from the third video.
The sixth input may be an input that triggers sending of the fourth message. In response to a sixth input, a fourth message is sent. The fourth message sent out carries fourth progress information associated with the key frame of the third video besides the third video, so that after receiving the fourth message, a receiver can obtain the key frame picture corresponding to the key frame in the third video according to the fourth progress information.
In the embodiment of the application, the video key frame progress information in the multiplexed latest video message can be edited again, so that the editing flexibility is guaranteed while the key frame progress information in other videos is rapidly determined.
It should be noted that, in the message display method provided in the embodiment of the present application, the execution main body may be a message display device, or a control module in a corresponding device for executing the corresponding method. The message display device provided in the embodiment of the present application is described by taking a message display method executed by a message display device as an example.
Fig. 11 shows a schematic structural diagram of a message display apparatus provided in an embodiment of the present application. The apparatus may be applied to a first electronic device side, and as shown in fig. 11, the apparatus may include:
a first display module 1101, configured to display a first message when the first message is received, where the first message includes a first video and first progress information, and the first progress information corresponds to a key frame in the first video;
a first receiving module 1102 for receiving a first input;
the second display module 1103 is configured to display, in response to the first input, a key frame picture, where the key frame picture is a picture of a key frame obtained from the first video according to the first progress information.
The first message may be a message received in an instant messaging scenario.
For example, the first message may be based on a message delivered by a social Application (App), a short message or multimedia message Application, or other Application with an instant messaging function.
Alternatively, the first message may be a session message or a plurality of session messages, as long as the progress information of the video and the key frames in the video is included.
The key frame in the first video is a video frame where a key action in the video content change process is located.
The key frame of the first video may be selected by the first message sender manually by a user, or may be automatically identified by a device of the first message sender, which is not limited in the embodiment of the present application.
For example, the first progress information may be a progress time, and the progress time may be one or more than one. Or the first progress information may be a progress period.
The first input may be a click input on a screen of the electronic device, or a voice instruction input by a user, or a specific gesture or an air-space gesture input by the user, which may be determined according to actual usage requirements, and this embodiment does not limit this.
Illustratively, the automatic downloading permission can be preset through a system background setting page or can be automatically downloaded after a certain condition is met, and after the first message is received, the first video in the first message is downloaded according to a preset mode. The user may view the downloaded first video.
In other examples, the first video may also be cached for viewing by the user after receiving the first message, or online viewing may also be supported.
For example, after receiving the first message, the first electronic device system may identify, according to the first progress information, a picture of a key frame in the first video after identifying that the first progress information includes the first video and the key frame in the first message, and the identified picture of the key frame may be stored locally in the electronic device.
The number of the key frame pictures can be one or more; optionally, one key frame picture may only correspond to a picture of one key frame, or multiple pictures generated by multiple key frame pictures may be synthesized on one key frame picture.
Optionally, the number of the key frame pictures may be determined according to the progress information in the first message.
According to the embodiment of the application, after the first input of the first video is received, the key frame picture is displayed in response to the input, so that a user can quickly know the main content information in the first video, and the efficiency of the user in knowing the video information is improved. And the user can decide whether to continuously check the video according to the key frame picture, so that the user can be prevented from watching uninteresting videos in a conversation scene, the time for the user to know the video content information is greatly saved, and the user experience is improved.
In order to save the time for the user to wait for downloading the video when the session message containing the video is received, optionally, in this embodiment of the application, if the first message received by the first electronic device is a group chat session message in a group chat scene, the first message may further contain a target receiving account. The target receive account may be an account for which the sender account wants to receive the first message. The account of the sender designates the target receiving account in the first message to inform the corresponding account to view the first video.
The target receiving account can be an account in the current group chat session, and the account can be one or more. Correspondingly, the apparatus in the embodiment of the present application may further include:
the downloading module 1104 is configured to download the first video when the first electronic device logs in the target receiving account.
After receiving the first message, the first electronic device downloads the first video in the first message when recognizing that the target account information contained in the first message contains the current login account of the first electronic device, so that the user does not need to wait for downloading when wanting to watch the video in the idle time. And if the target account information does not contain the current self-login account, the first video does not need to be downloaded, and the waste of flow and the occupation of local storage space are avoided.
In order to facilitate understanding of the video downloading status in the message, optionally, in this embodiment of the application, in the process of downloading the first video through the downloading module 1104, the downloading progress bar of the first video may be displayed by displaying a corresponding area of the first message in the session interface, so that the user can conveniently know the downloading progress of the first video.
After the first video is downloaded, the key frame picture corresponding to the key frame in the first video can be identified and stored according to the progress information of the key frame in the first message based on the video analysis function of the first electronic device. Therefore, when a user wants to watch a video in idle time, the user firstly watches the key frame picture to know the main information of the video.
Alternatively, in the process of displaying the key frame picture through the second display module 1103, a jump may be made to a picture viewing page in response to the first input, and the locally stored key frame picture may be viewed.
When the key frame pictures contain a plurality of key frame pictures, the key frame pictures can slide left and right in a screen area corresponding to the picture viewing page through sliding input of a user, and the key frame pictures can be browsed.
In order to facilitate the user to flexibly select whether to continue to watch the video after knowing the main content information of the video in the session message, in this embodiment of the present application, optionally, the apparatus may further include:
a sixth receiving module 1105, configured to receive a play input for the first video;
a play module 1106 is configured to play the first video in response to a play input.
The play input may be a click input on a screen of the electronic device, or a voice instruction input by a user, or a specific gesture or an air gap gesture input by the user, which may be determined specifically according to actual use requirements, and this embodiment does not limit this.
Illustratively, after the key frame picture is displayed on the picture viewing page, the user can jump back to the conversation interface by long-time pressing or clicking input and other operations, and trigger the picture playing operation of the first video by the playing input. Alternatively, after the key frame picture is displayed through the picture viewing page, a play input of the user, such as a specific gesture input, may be received to trigger a subsequent video viewing operation.
After the user browses the key frame pictures, the user is interested in specific contents of the first video, and then the first video can be played through the second play input to watch the video.
The method and the device facilitate the message receiver to know the main content of the video quickly and efficiently, and save the time for acquiring the video content information. Optionally, in this embodiment of the present application, the apparatus may further include:
a first determining module 1107, configured to determine, in a process of editing a second message according to a first video, second progress information corresponding to a second keyframe in the first video in a first video preview interface;
a second receiving module 1108 for receiving a second input;
a first sending module 1109, configured to send, in response to a second input, a second message, where the second message includes the first video and second progress information, and the second progress information is used to determine a picture of a corresponding key frame from the first video.
The second message may be a session message to be sent by the first electronic device in an instant messaging scenario.
When the user wants to send a second message including the first video, the second progress information corresponding to the second keyframe in the first video may be manually determined by the first determining module 1107 on the preview interface of the first video during editing of the second message. After determining the second progress information of the key frame, the user may mark a corresponding progress time in the first video, or the system may generate and store the corresponding second progress information after associating the second progress information with the first video.
For example, the second progress information may be a progress time, and the progress time may be one or more than one. The progress information may also be a progress period.
After the user selects to generate a second message according to the first video and sends the second message, the sent second message carries second progress information related to key frames stored in the first video besides the first video, and therefore after the receiving party receives the first message, the receiving party can identify key frame pictures corresponding to the key frames in the first video according to the progress information.
The embodiment of the application can process the video in the process of sending the video message, the progress information of the key frame is determined to be sent out together, the sender can quickly transmit the main content information in the video, and the receiver can obtain the key frame picture according to the progress information to quickly know the main content information in the video, so that the transmission efficiency and the communication efficiency of the information are greatly improved, and compared with the mode of transmitting through the input characters, the method is more convenient, quick, visual and accurate.
Optionally, in this embodiment of the application, the second message sent by the user may further include a target receiving account, so that the electronic device corresponding to the target receiving account directly downloads the first video from the background after receiving the second message, and the user does not need to manually trigger the downloading, thereby reducing user operations and facilitating the user to directly watch the video when the user is idle.
In order to further improve the sending efficiency of the video message, optionally, in this embodiment of the application, the apparatus may further include:
a third receiving module 1110 for receiving a third input to the second video;
the second sending module 1111 is configured to send a third message in response to a third input, where the third message includes a second video and third progress information corresponding to a key frame in the second video, and the third progress information is determined according to the first message or the first progress information.
The third input may be an input for triggering an operation of transmitting the second video.
In the process of generating the third message, the third progress information may directly multiplex the first progress information of the first video in the first message, that is, the third progress information is the same as the first progress information. Or the third progress information can be modified on the basis of the first progress information, so that the third progress information can be obtained quickly.
In a specific example, if the first progress information of the first video in the first message is directly multiplexed as the third progress information, the second sending module 1111 may specifically include:
the display sub-module 11111 is configured to, in response to a third input, display first progress information corresponding to a key frame in the first video;
the determining submodule 11112 determines the first progress information as third progress information corresponding to a key frame in the second video;
the receiving sub-module 11113 is configured to receive a fourth input from the user;
a sending submodule 11114 configured to send the third message in response to the fourth input.
The fourth input may be an input for triggering an operation of sending the third message.
In order to quickly determine the progress information of the second video, the first progress information of the key frame corresponding to the first video may be directly determined as the third progress information corresponding to the key frame in the second video. Based on the progress information, corresponding progress time can be marked in the second video, or the system generates corresponding progress information and stores the progress information after associating the progress information with the second video.
In the embodiment of the application, the key frame progress information in the second video can be quickly determined by multiplexing the video key frame progress information in the latest video message, so that the editing efficiency of the session message containing the video is improved.
In order to improve the flexibility of editing the session message containing the video, optionally, in this embodiment of the application, the apparatus may further include:
the third display module 1112 is configured to display first progress information corresponding to the key frame in the first video.
A fourth receiving module 1113, configured to receive a fifth input;
the editing module 1114 is configured to, in response to the fifth input, edit the first progress information to obtain target progress information;
a second determining module 1116, configured to determine the target progress information as fourth progress information corresponding to a key frame in a third video;
a fifth receiving module 1117, configured to receive a sixth input from the user;
a third sending module 1118, configured to send a fourth message in response to a sixth input, where the fourth message includes the third video and the fourth progress information, and the fourth progress information is used to determine a picture of a corresponding key frame from the third video.
In the process that the user edits the fourth message based on the third video, the first progress information may be multiplexed and the modification adjustment may be made based on the first progress information. The fourth message may be a session message including the third video, and when the fourth message is edited, the first progress information included in the first message that is sent last time, that is, the progress information corresponding to the key frame in the first video, may be displayed through a multiplexing popup.
The fifth input may be an edit input of the displayed first progress information by the user. In response to the fifth input, the first progress information corresponding to the key frame of the first video may be edited, such as modified, added, and/or deleted, and new progress information may be obtained as the target progress information. And then determining the edited target progress information as fourth progress information corresponding to the key frame in the third video. Therefore, the user can flexibly adjust the key frame progress information of the first video when multiplexing the key frame progress information according to the self requirement.
The sixth input may be an input that triggers sending of the fourth message. In response to a sixth input, a fourth message is sent. The fourth message sent out carries fourth progress information associated with the key frame of the third video besides the third video, so that after receiving the fourth message, a receiver can obtain the key frame picture corresponding to the key frame in the third video according to the fourth progress information.
In the embodiment of the application, the video key frame progress information in the multiplexed latest video message can be edited again, so that the editing flexibility is guaranteed while the key frame progress information in other videos is rapidly determined.
The message display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The message display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The message display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 10, and is not described here again to avoid repetition.
Optionally, as shown in fig. 12, an electronic device 1200 is further provided in an embodiment of the present application, and includes a processor 1201, a memory 1202, and a program or an instruction stored in the memory 1202 and executable on the processor 1201, where the program or the instruction is executed by the processor 1201 to implement each process of the foregoing message display method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 13 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1300 includes, but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, a processor 1310, and the like.
Those skilled in the art will appreciate that the electronic device 1300 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1310 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
It should be understood that in the embodiment of the present application, the input Unit 1304 may include a Graphics Processing Unit (GPU) 13041 and a microphone 13042, and the Graphics processor 13041 processes image data of still pictures or videos obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1307 includes a touch panel 13071 and other input devices 13072. A touch panel 13071, also referred to as a touch screen. The touch panel 13071 may include two parts, a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 1309 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 1310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1310.
A display unit 1306, configured to display a first message when the first message is received, where the first message includes a first video and first progress information, and the first progress information corresponds to a key frame in the first video;
a user input unit 1307 for receiving a first input;
the display unit 1306 is further configured to display, in response to the first input, a key frame picture, where the key frame picture is a picture of a key frame obtained from the first video according to the first progress information.
According to the embodiment of the application, after the first input of the first video is received, the key frame picture is displayed in response to the input, so that a user can quickly know the main content information in the first video, and the efficiency of the user in knowing the video information is improved. And the user can decide whether to continuously check the video according to the key frame picture, so that the user can be prevented from watching uninteresting videos in a conversation scene, the time for the user to know the video content information is greatly saved, and the user experience is improved.
Optionally, in order to save the time for the user to wait for downloading the video when the session message including the video is received, in this embodiment of the application, if the first message received by the first electronic device is a group chat session message in a group chat scene, the first message may further include a target receiving account. The target receiving account can be an account in the current group chat session, and the account can be one or more. In this embodiment, the processor 1310 may be configured to:
and downloading the first video under the condition that the first electronic equipment logs in the target receiving account.
In order to facilitate the user to flexibly select whether to continue to watch the video after knowing the main content information of the video in the session message, optionally, in the embodiment of the present application,
a user input unit 1307, which may be used to receive a play input for the first video;
the display unit 1306 may be configured to display a screen of the played first video in response to a play input.
The method and the device facilitate the message receiver to know the main content of the video quickly and efficiently, and save the time for acquiring the video content information. Optionally, in the embodiment of the present application,
processor 1310 may be configured to: in the process of editing a second message according to the first video, determining second progress information corresponding to a second key frame in the first video on a first video preview interface;
user input unit 1307 may be used to: receiving a second input;
the network module 1302 may be configured to: and responding to a second input, and sending a second message, wherein the second message comprises the first video and second progress information, and the second progress information is used for determining pictures of corresponding key frames from the first video.
The embodiment of the application can process the video in the process of sending the video message, the progress information of the key frame is determined to be sent out together, the sender can quickly transmit the main content information in the video, and the receiver can obtain the key frame picture according to the progress information to quickly know the main content information in the video, so that the transmission efficiency and the communication efficiency of the information are greatly improved, and compared with the mode of transmitting through the input characters, the method is more convenient, quick, visual and accurate.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned message display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned message display method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.