WO2021129818A1 - Video playback method and electronic device - Google Patents

Video playback method and electronic device Download PDF

Info

Publication number
WO2021129818A1
WO2021129818A1 PCT/CN2020/139514 CN2020139514W WO2021129818A1 WO 2021129818 A1 WO2021129818 A1 WO 2021129818A1 CN 2020139514 W CN2020139514 W CN 2020139514W WO 2021129818 A1 WO2021129818 A1 WO 2021129818A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
target
thumbnail
face image
time node
Prior art date
Application number
PCT/CN2020/139514
Other languages
French (fr)
Chinese (zh)
Inventor
杨涛
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021129818A1 publication Critical patent/WO2021129818A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/441Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card
    • H04N21/4415Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card using biometric characteristics of the user, e.g. by voice recognition or fingerprint scanning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Definitions

  • the present invention relates to the field of communication technology, in particular to a video playback method and electronic equipment.
  • the embodiments of the present invention provide a video playback method and electronic equipment to solve the current problem of low efficiency in searching for content in a video.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides a video playback method applied to an electronic device, including:
  • the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image;
  • the target time node is a video playback time node associated with the target video thumbnail, and the video content of the target time node includes the target face image.
  • an embodiment of the present invention also provides an electronic device, including:
  • a display module configured to display at least one video thumbnail of the target video, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image;
  • the first receiving module is configured to receive a user's first input of the target video thumbnail in the at least one video thumbnail;
  • the play module is configured to play the video content of a target time node in response to the first input, where the target time node is a video play time node associated with the target video thumbnail, and the video content of the target time node includes The target face image.
  • an embodiment of the present invention also provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and running on the processor, and the processor executes the computer program When realizing the steps in the video playback method above.
  • an embodiment of the present invention also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the above video playback method are implemented.
  • At least one video thumbnail of the target video is displayed, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image;
  • the first input of the target video thumbnail in the at least one video thumbnail in response to the first input, the video content of the target time node is played, and the target time node is the video playback time associated with the target video thumbnail Node, the video content of the target time node includes the target face image.
  • the target video can be played at different playback time nodes according to different selected video thumbnails, and the video content corresponding to the aforementioned playback time node includes the target face image. There is no need to repeatedly adjust the playback progress of the target video, thereby improving the efficiency of searching for the target face image in the target video.
  • Figure 1 is one of the flowcharts of a video playback method provided by an embodiment of the present invention
  • FIG. 2 is the second flowchart of a video playback method provided by an embodiment of the present invention.
  • FIG 3 is one of the schematic diagrams of the display interface of the electronic device provided by the embodiment of the present invention.
  • FIG. 4 is a second schematic diagram of a display interface of an electronic device provided by an embodiment of the present invention.
  • FIG 5 is the third schematic diagram of the display interface of the electronic device provided by the embodiment of the present invention.
  • Figure 6 is one of the structural diagrams of an electronic device provided by an embodiment of the present invention.
  • FIG. 7 is a second structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 8 is a third structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 9 is the fourth structural diagram of the electronic device provided by the embodiment of the present invention.
  • FIG. 1 is a flowchart of a video playback method provided by an embodiment of the present invention, which is applied to an electronic device. As shown in FIG. 1, it includes the following steps:
  • Step 101 Display at least one video thumbnail of a target video, where the video thumbnail includes video feature description information of the target video, and the video thumbnail includes a target face image.
  • the specific type of the video thumbnail is not limited here.
  • the video thumbnail can be a static image or a dynamic image.
  • the video thumbnail can be a dynamic image, and the content of the dynamic image can be used to represent the video thumbnail.
  • the video content of the playback time node associated with the thumbnail for example, the content of the dynamic image can be the most representative segment of the video content of the playback time node associated with the video thumbnail, or it can also be the playback associated with the video thumbnail The content at the beginning, middle, or end of the video content of the time node.
  • the video thumbnail includes the video feature description information of the target video, that is, each video thumbnail can include the video feature description information of the video content at different playback time nodes in the target video, and the video feature description information can be used to describe the video thumbnail.
  • the video content of the playback time node associated with the thumbnail can be summary information of the video content of the playback time node associated with the video thumbnail, or the video feature description information can be the playback associated with the video thumbnail.
  • the target face image is not specifically limited here, and the target face image may be any one of all the face images included in the target video.
  • Step 102 Receive a user's first input of a target video thumbnail in the at least one video thumbnail.
  • the specific type of the first input is not limited here.
  • the first input may be a pressing input for a target video thumbnail, and the pressing duration exceeds the preset duration.
  • the specific value of the preset duration is also not limited, for example, it may be 1 second, 2 seconds, or 3 seconds.
  • the first input may also be a sliding input, and the trajectory of the sliding input may be a preset trajectory, and the preset trajectory may be a circle, a rectangle, a triangle, or the like.
  • the following example specifically illustrates the method of determining the target video thumbnail.
  • the target video is paused and the target interface is displayed.
  • the target interface may include multiple video thumbnails, and the user can determine the target video thumbnail from the multiple video thumbnails through touch input or sliding input.
  • the target The corresponding relationship between the multiple video thumbnails corresponding to the face image and the target face image may be preset, or may be obtained by performing face recognition on the face image in the target video after determining the target face image.
  • the specific method is not limited here.
  • Step 103 In response to the first input, play the video content of the target time node, where the target time node is the video playback time node associated with the target video thumbnail, and the video content of the target time node includes the Target face image.
  • the target time node is the playback time node in the target video.
  • the position of the target time node in the target video is not specifically limited here.
  • the target time node can be the playback time node corresponding to the 5th, 10th, or 15th second.
  • the playback time node may also be referred to as a playback progress point.
  • the target time node may be the playback start node or the playback end node.
  • the target time node may also include a playback start node and a playback end node.
  • the target time node is the playback start node
  • you can start from the target video The current corresponding playback time node of the video continues to play the target video, and stops playing the target video until the playback end node
  • the target time node includes the playback start node and the playback end node
  • the start node starts to play the target video, and stops playing the target video when the target video is played to the end of the playback node; of course, when the playback reaches the end node, the target video can be continued to play, or the video playback time associated with the next video thumbnail can be played directly
  • the video content of the node when the target time node is the playback start node.
  • the above-mentioned electronic device may be a mobile phone, a tablet (Personal Computer), a laptop (Laptop Computer), a personal digital assistant (Personal Digital Assistant, PDA), a mobile Internet device (Mobile Internet Device, MID). ) Or wearable devices (Wearable Device) and so on.
  • At least one video thumbnail of the target video is displayed, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image;
  • a first input of a target video thumbnail in at least one video thumbnail in response to the first input, the video content of a target time node is played, and the target time node is a video playback time node associated with the target video thumbnail ,
  • the video content of the target time node includes the target face image.
  • FIG. 2 is a flowchart of another video playback method provided by an embodiment of the present invention.
  • the main difference between this embodiment and the previous embodiment is that there is a first correspondence between the target face image, the video thumbnail, and the video playback time node. As shown in Figure 2, it includes the following steps:
  • Step 201 Display at least one video thumbnail of the target video, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image.
  • step 201 can refer to the corresponding expression of step 101 in the above-mentioned embodiment, which will not be repeated here.
  • multiple video thumbnails of the target video can be displayed.
  • the multiple video thumbnails are the thumbnail 301 at progress 1, the thumbnail 302 at progress 2, and the thumbnail 303 at progress 3.
  • the thumbnail 304 at the progress 4 the thumbnail 305 at the progress 5, the thumbnail 306 at the progress 6, the thumbnail 307 at the progress 7 and the thumbnail 308 at the progress 8.
  • Each video thumbnail may include video feature description information, such as In Figure 3, text information such as progress 1, progress 2, progress 3, progress 4, progress 5, progress 6, progress 7 and progress 8.
  • the first correspondence relationship is stored in a preset index information table, the index information table is pre-generated in the electronic device, or the index information table is obtained from a server.
  • the index information table is pre-generated in the electronic device, when the target video is displayed in the preview interface of the electronic device, the first face image in the target video is automatically recognized, so that the target face
  • the first corresponding relationship is established between the image, the video thumbnail and the video playback time node, and the index information table can be generated, and the first corresponding relationship can be stored in the index information table.
  • the index information table can also determine the first face image in the target video according to the user's input instructions when the electronic device displays the target video, and can perform face recognition on the first face image, thereby establishing the first person
  • the first object relationship between the face image and the video thumbnail and the video playback time node can be generated in an index information table, and the first corresponding relationship can be stored in the index information table.
  • the target face image is a certain face image in the first face image.
  • the server when the index information table is obtained from the server, the server can also send the target video to the electronic device, and the specific method for the server to send the index information table to the electronic device is not limited here, for example: the index information can be combined with Target video association, when the server sends the target video to the electronic device, it is sent to the electronic device together with the index information table. Of course, you can also send the target video first, and then send the index information table separately.
  • the index information table may be pre-generated in the electronic device or obtained from the server, the flexibility of obtaining the index information table is increased.
  • the method before the displaying at least one video thumbnail of the target video, the method further includes:
  • the at least one video thumbnail is the first video thumbnail.
  • the target face image may also be the image in the first face image
  • the video playback time node associated with the target video thumbnail may also be the time node in the first video playback time node.
  • the first face image may refer to any face image in the target video, for example: it may be actor A or actor B, etc.
  • the target face image may be one of multiple first face images
  • the face image, for example, the target face image may be the face image of actor A.
  • the face image selection interface can be displayed, and the face image selection interface can display multiple face images, and each face image
  • the name of the face image can also be displayed on the lower side of the.
  • the face image selection interface can display actor 1 (401), actor 2 (402), actor 3 (403), actor 4 ( 404), actor 5 (405) and actor 6 (406).
  • the name of the actor can also be displayed on the lower side of the face image of each actor.
  • the face recognition can be performed on the face image, and the corresponding one including the first person can be obtained.
  • the first video thumbnail of the face image and the video playback time node corresponding to the first video thumbnail, and a first correspondence relationship between the first face image, the first video thumbnail, and the video playback time node can be established and stored.
  • each face image in the target video can store the first video thumbnail and the first video playback time with the first corresponding relationship. node.
  • each first face image may correspond to multiple first video thumbnails and multiple first video playback time nodes, and the first video thumbnail and first playback time corresponding to any two first face images
  • the number of nodes can be the same or different.
  • the first correspondence relationship between the first face image, the first video thumbnail, and the first video playback time node is established and stored by the electronic device.
  • the first correspondence relationship is obtained from the server.
  • the phenomenon of erroneously obtaining the wrong first correspondence relationship can be avoided, so that the accuracy of the first correspondence relationship can be improved.
  • Step 202 Receive a user's first input of the target video thumbnail in the at least one video thumbnail.
  • the specific type of the first input is not limited here.
  • the first input may be a pressing input for a target video thumbnail, and the pressing duration exceeds the preset duration.
  • the specific value of the preset duration is also not limited, for example, it may be 1 second, 2 seconds, or 3 seconds.
  • the first input may also be a sliding input, and the trajectory of the sliding input may be a preset trajectory, and the preset trajectory may be a circle, a rectangle, a triangle, or the like.
  • Step 203 Obtain the target time node corresponding to the target video thumbnail based on the first correspondence.
  • the above-mentioned first correspondence relationship may be information pre-generated in the electronic device and stored in the electronic device, of course, it may also be obtained by the electronic device from a server.
  • the specific method is not limited here.
  • Step 204 Play the video content of the target time node.
  • step 204 can refer to the corresponding expression in step 103 in the foregoing embodiment, and will not be repeated here.
  • the target time node is a play start node
  • the electronic device also acquires a play time period, and there is a second correspondence between the play start node and the play time period;
  • the playing the video content of the target time node includes:
  • the target video of the first duration is played from the playback start node; wherein the first duration is the playback time period.
  • the playback time period of the video content corresponding to each playback start node may be the same or different.
  • the playback time period of the video content corresponding to the first play start node is from the 15th second to the 25th second of the target video
  • the play time period of the video content corresponding to the second play start node is from the 30th second to the 30th second of the target video
  • the play time period of the video content corresponding to the third play start node is from the 60th second (1 minute) to the 95th second (1 minute 35 seconds) of the target video.
  • the playback of the target video can be stopped, of course, the target video can also continue to be played, and in addition, it can also jump to another playback start node to play the target video of the second duration.
  • each video thumbnail can include a target face image.
  • the target face image can be the face image of the actor Zhang San or the face image of Li Si, etc., and the target face image and playback start
  • the target video can be played from the play start node, and the target video of the above play time period can be continuously played.
  • the play mode of the target video is increased, so that the More flexible when targeting video.
  • the video thumbnail includes at least one frame of video image within the playing time period.
  • the type of the aforementioned video thumbnail is not specifically limited here.
  • the video thumbnail may be a static image or a dynamic image within the playing time period, and of course, it may also be an adjacent multi-frame video image.
  • the video thumbnail since the video thumbnail includes at least one frame of video image within the playback time period, the video thumbnail can summarize the playback content within the playback time period.
  • the user sees the above video thumbnail, It has the effect of previewing the play content in the play time period, so that it is possible to choose whether to play the target video from the video play time node corresponding to the video thumbnail.
  • the video feature description information is the description information of the corresponding play content within the play time period.
  • the above-mentioned video feature description information can also be referred to as story introduction or story introduction information.
  • four video thumbnails may be displayed, namely, the first video thumbnail 501, the second video thumbnail 502, and the third video thumbnail.
  • the video playback time node may also include a playback start node and a playback end node, see Table 3.
  • the video feature description information is the description information of the corresponding playback content within the playback time period
  • the video feature description information is the description information of the corresponding playback content within the playback time period
  • it can also serve as a preview of the playback content within the playback time period. Effect, you can choose whether to play the target video from the video playback time node corresponding to the video thumbnail.
  • the video playback can be determined according to the video thumbnail and the first correspondence. Time node, thereby improving the accuracy and rate of determining the video playback time node.
  • FIG. 6 is one of the structural diagrams of the electronic device provided by the embodiment of the present invention, which can realize the details of the video playback method in the embodiment shown in FIG. 1 and FIG. 2 in the above embodiment, and achieve the same effect.
  • the electronic device 600 includes:
  • the display module 601 is configured to display at least one video thumbnail of the target video, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image;
  • the first receiving module 602 is configured to receive a user's first input of the target video thumbnail in the at least one video thumbnail;
  • the play module 603 is configured to play the video content of a target time node in response to the first input, where the target time node is a video play time node associated with the target video thumbnail, and the video content of the target time node Including the target face image.
  • FIG. 7 there is a first correspondence between the target face image, the video thumbnail, and the video playback time node;
  • the playing module 603 includes:
  • the obtaining submodule 6031 is configured to obtain the target time node corresponding to the target video thumbnail based on the first correspondence
  • the playing submodule 6032 is used to play the video content of the target time node.
  • the first correspondence relationship is stored in a preset index information table, the index information table is pre-generated in the electronic device, or the index information table is obtained from a server.
  • the electronic device 600 further includes:
  • the second receiving module 604 is configured to receive a second input of the user to the first face image in the target video
  • the face recognition module 605 is configured to perform face recognition on the first face image in the target video in response to the second input to obtain the first video thumbnail and all the images that include the first face image.
  • the establishment module 606 is configured to establish and store a first correspondence between the first face image, the first video thumbnail, and the video playback time node.
  • the target time node is a play start node
  • the electronic device also acquires a play time period, and there is a second correspondence between the play start node and the play time period;
  • the playing module 603 is further configured to: play the target video of a first duration from the playback start node based on the second correspondence; wherein, the first duration is the playback time period.
  • the video thumbnail includes at least one frame of video image within the playing time period.
  • the video feature description information is description information of the corresponding play content within the play time period.
  • the electronic device provided by the embodiment of the present invention can implement the various processes implemented by the electronic device in the method embodiments of FIG. 1 to FIG. 2. To avoid repetition, details are not described herein again.
  • the video thumbnail includes the target face image
  • the target video can be played at different playback time nodes according to different selected video thumbnails, and the video content corresponding to the aforementioned playback time node includes the target
  • the face image does not need to repeatedly adjust the playback progress of the target video, thereby improving the search efficiency of the target face image in the target video.
  • FIG. 9 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and Power 911 and other components.
  • a radio frequency unit 901 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and Power 911 and other components.
  • Those skilled in the art can understand that the structure of the electronic device shown in FIG. 9 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers
  • the display unit 906 is configured to display at least one video thumbnail of the target video, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image;
  • the user input unit 907 is configured to receive a user's first input of the target video thumbnail in the at least one video thumbnail;
  • the processor 910 is configured to, in response to the first input, play video content of a target time node, where the target time node is a video playback time node associated with the target video thumbnail, and the video content of the target time node Including the target face image.
  • the execution of the processor 910 in response to the first input to play the video content of the target time node includes:
  • the first correspondence relationship is stored in a preset index information table, the index information table is pre-generated in the electronic device, or the index information table is obtained from a server.
  • the user input unit 907 is further configured to receive a second input of the user on the first face image in the target video;
  • the processor 910 is further configured to perform face recognition on the first face image in the target video in response to the second input to obtain a first video thumbnail including the first face image and the first face image.
  • the target time node is a play start node
  • the electronic device also acquires a play time period, and there is a second correspondence between the play start node and the play time period;
  • the playing the video content of the target time node executed by the processor 910 includes:
  • the target video of the first duration is played from the playback start node; wherein the first duration is the playback time period.
  • the video thumbnail includes at least one frame of video image within the playing time period.
  • the video feature description information is description information of the corresponding play content within the play time period.
  • the target video can be played at different playback time nodes according to different selected video thumbnails, and the video content corresponding to the aforementioned playback time node includes the target
  • the face image does not need to repeatedly adjust the playback progress of the target video, thereby improving the search efficiency of the target face image in the target video.
  • the radio frequency unit 901 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 910; Uplink data is sent to the base station.
  • the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 901 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 902, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 903 can convert the audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output it as sound. Moreover, the audio output unit 903 may also provide audio output related to a specific function performed by the electronic device 900 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 904 is used to receive audio or video signals.
  • the input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042, and the graphics processor 9041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 906.
  • the image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or sent via the radio frequency unit 901 or the network module 902.
  • the microphone 9042 can receive sound and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 901 for output in the case of a telephone call mode.
  • the electronic device 900 also includes at least one sensor 905, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 9061 and the display panel 9061 when the electronic device 900 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 905 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 906 is used to display information input by the user or information provided to the user.
  • the display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 907 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 907 includes a touch panel 9071 and other input devices 9072.
  • the touch panel 9071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 9071 or near the touch panel 9071. operating).
  • the touch panel 9071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 910, the command sent by the processor 910 is received and executed.
  • the touch panel 9071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 907 may also include other input devices 9072.
  • other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 9071 can cover the display panel 9061.
  • the touch panel 9071 detects a touch operation on or near it, it is transmitted to the processor 910 to determine the type of the touch event, and then the processor 910 determines the type of the touch event according to the touch The type of event provides corresponding visual output on the display panel 9061.
  • the touch panel 9071 and the display panel 9061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 9071 and the display panel 9061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 908 is an interface for connecting an external device and the electronic device 900.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 908 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 900 or can be used to connect the electronic device 900 to an external device. Transfer data between devices.
  • the memory 909 can be used to store software programs and various data.
  • the memory 909 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 909 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 910 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 909, and calls data stored in the memory 909 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 910.
  • the electronic device 900 may also include a power source 911 (such as a battery) for supplying power to various components.
  • a power source 911 such as a battery
  • the power source 911 may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 900 includes some functional modules that are not shown, which will not be repeated here.
  • the embodiment of the present invention also provides an electronic device, including a processor 910, a memory 909, a computer program stored on the memory 909 and running on the processor 910, when the computer program is executed by the processor 910
  • an electronic device including a processor 910, a memory 909, a computer program stored on the memory 909 and running on the processor 910, when the computer program is executed by the processor 910
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present invention.
  • a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

Provided are a video playback method and an electronic device. Said method comprises: displaying at least one video thumbnail of a target video, the video thumbnail comprising video feature description information of the target video, and the video thumbnail comprising a target facial image; receiving a first input of a user to a target video thumbnail of the at least one video thumbnail; in response to the first input, playing back video content of a target time node, the target time node being a video playback time node associated with the target video thumbnail, and the video content of the target time node comprising the target facial image.

Description

视频播放方法及电子设备Video playback method and electronic equipment
相关申请的交叉引用Cross references to related applications
本申请主张在2019年12月26日在中国提交的中国专利申请号No.201911365147.X的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201911365147.X filed in China on December 26, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种视频播放方法及电子设备。The present invention relates to the field of communication technology, in particular to a video playback method and electronic equipment.
背景技术Background technique
随着电子设备的迅速发展,电子设备已经成为人们生活中必不可少的一种工具,并且为用户生活的各个方面带来了极大的便捷。例如:人们可以用电子设备播放视频。并且可以通过滑动屏幕、拖动进度条或者触控功能按钮的方式调节视频的播放进度。但是在实际的运用中,通过上述方式调节视频的播放进度的精度较差,在用户需要观看视频中的部分内容(例如某个人物)的情况下,需要反复调整视频的播放进度,可见,当前对视频中的内容的查找效率过低。With the rapid development of electronic devices, electronic devices have become an indispensable tool in people's lives and have brought great convenience to all aspects of users' lives. For example: People can use electronic devices to play videos. And you can adjust the playback progress of the video by sliding the screen, dragging the progress bar, or touching the function buttons. However, in actual applications, the accuracy of adjusting the playback progress of the video through the above methods is poor. In the case that the user needs to watch part of the content in the video (such as a certain character), the playback progress of the video needs to be adjusted repeatedly. It can be seen that the current The search efficiency of the content in the video is too low.
发明内容Summary of the invention
本发明实施例提供一种视频播放方法及电子设备,以解决当前对视频中的内容的查找效率过低的问题。The embodiments of the present invention provide a video playback method and electronic equipment to solve the current problem of low efficiency in searching for content in a video.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above technical problems, the present invention is implemented as follows:
第一方面,本发明实施例提供了一种视频播放方法,应用于电子设备,包括:In the first aspect, an embodiment of the present invention provides a video playback method applied to an electronic device, including:
显示目标视频的至少一个视频缩略图,所述视频缩略图包括所述目标视频的视频特征描述信息,且所述视频缩略图中包括目标人脸图像;Displaying at least one video thumbnail of the target video, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image;
接收用户对所述至少一个视频缩略图中的目标视频缩略图的第一输入;Receiving a user's first input on the target video thumbnail in the at least one video thumbnail;
响应于所述第一输入,播放目标时间节点的视频内容,所述目标时间节点为所述目标视频缩略图关联的视频播放时间节点,所述目标时间节点的视 频内容中包括所述目标人脸图像。In response to the first input, play the video content of a target time node, where the target time node is a video playback time node associated with the target video thumbnail, and the video content of the target time node includes the target face image.
第二方面,本发明实施例还提供一种电子设备,包括:In the second aspect, an embodiment of the present invention also provides an electronic device, including:
显示模块,用于显示目标视频的至少一个视频缩略图,所述视频缩略图包括所述目标视频的视频特征描述信息,且所述视频缩略图中包括目标人脸图像;A display module, configured to display at least one video thumbnail of the target video, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image;
第一接收模块,用于接收用户对所述至少一个视频缩略图中的目标视频缩略图的第一输入;The first receiving module is configured to receive a user's first input of the target video thumbnail in the at least one video thumbnail;
播放模块,用于响应于所述第一输入,播放目标时间节点的视频内容,所述目标时间节点为所述目标视频缩略图关联的视频播放时间节点,所述目标时间节点的视频内容中包括所述目标人脸图像。The play module is configured to play the video content of a target time node in response to the first input, where the target time node is a video play time node associated with the target video thumbnail, and the video content of the target time node includes The target face image.
第三方面,本发明实施例还提供一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述视频播放方法中的步骤。In a third aspect, an embodiment of the present invention also provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and running on the processor, and the processor executes the computer program When realizing the steps in the video playback method above.
第四方面,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述视频播放方法中的步骤。In a fourth aspect, an embodiment of the present invention also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the above video playback method are implemented.
在本发明实施例中,显示目标视频的至少一个视频缩略图,所述视频缩略图包括所述目标视频的视频特征描述信息,且所述视频缩略图中包括目标人脸图像;接收用户对所述至少一个视频缩略图中的目标视频缩略图的第一输入;响应于所述第一输入,播放目标时间节点的视频内容,所述目标时间节点为所述目标视频缩略图关联的视频播放时间节点,所述目标时间节点的视频内容中包括所述目标人脸图像。这样,由于视频缩略图中包括目标人脸图像,可以根据选择的不同的视频缩略图,以不同的播放时间节点播放目标视频,且上述播放时间节点对应的视频内容中均包括目标人脸图像,无需反复调整目标视频的播放进度,从而提高对目标视频中目标人脸图像的查找效率。In the embodiment of the present invention, at least one video thumbnail of the target video is displayed, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image; The first input of the target video thumbnail in the at least one video thumbnail; in response to the first input, the video content of the target time node is played, and the target time node is the video playback time associated with the target video thumbnail Node, the video content of the target time node includes the target face image. In this way, since the video thumbnail includes the target face image, the target video can be played at different playback time nodes according to different selected video thumbnails, and the video content corresponding to the aforementioned playback time node includes the target face image. There is no need to repeatedly adjust the playback progress of the target video, thereby improving the efficiency of searching for the target face image in the target video.
附图说明Description of the drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描 述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following will briefly introduce the drawings used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative labor.
图1是本发明实施例提供的视频播放方法的流程图之一;Figure 1 is one of the flowcharts of a video playback method provided by an embodiment of the present invention;
图2是本发明实施例提供的视频播放方法的流程图之二;FIG. 2 is the second flowchart of a video playback method provided by an embodiment of the present invention;
图3是本发明实施例提供的电子设备的显示界面示意图之一;3 is one of the schematic diagrams of the display interface of the electronic device provided by the embodiment of the present invention;
图4是本发明实施例提供的电子设备的显示界面示意图之二;4 is a second schematic diagram of a display interface of an electronic device provided by an embodiment of the present invention;
图5是本发明实施例提供的电子设备的显示界面示意图之三;5 is the third schematic diagram of the display interface of the electronic device provided by the embodiment of the present invention;
图6是本发明实施例提供的电子设备的结构图之一;Figure 6 is one of the structural diagrams of an electronic device provided by an embodiment of the present invention;
图7是本发明实施例提供的电子设备的结构图之二;FIG. 7 is a second structural diagram of an electronic device provided by an embodiment of the present invention;
图8是本发明实施例提供的电子设备的结构图之三;FIG. 8 is a third structural diagram of an electronic device provided by an embodiment of the present invention;
图9是本发明实施例提供的电子设备的结构图之四。FIG. 9 is the fourth structural diagram of the electronic device provided by the embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
参见图1,图1是本发明实施例提供的一种视频播放方法的流程图,应用于电子设备,如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of a video playback method provided by an embodiment of the present invention, which is applied to an electronic device. As shown in FIG. 1, it includes the following steps:
步骤101、显示目标视频的至少一个视频缩略图,所述视频缩略图包括所述目标视频的视频特征描述信息,且所述视频缩略图中包括目标人脸图像。Step 101: Display at least one video thumbnail of a target video, where the video thumbnail includes video feature description information of the target video, and the video thumbnail includes a target face image.
其中,视频缩略图的具体类型在此不做限定,例如:视频缩略图可以为静态图像或者动态图像,优选的,视频缩略图可以为动态图,且动态图的内容可以用于表示该视频缩略图关联的播放时间节点的视频内容,例如:动态图的内容可以为该视频缩略图关联的播放时间节点的视频内容中最具有代表性的一段内容,或者也可以为该视频缩略图关联的播放时间节点的视频内容开头、中间或者结尾的内容。Among them, the specific type of the video thumbnail is not limited here. For example, the video thumbnail can be a static image or a dynamic image. Preferably, the video thumbnail can be a dynamic image, and the content of the dynamic image can be used to represent the video thumbnail. The video content of the playback time node associated with the thumbnail, for example, the content of the dynamic image can be the most representative segment of the video content of the playback time node associated with the video thumbnail, or it can also be the playback associated with the video thumbnail The content at the beginning, middle, or end of the video content of the time node.
另外,视频缩略图包括目标视频的视频特征描述信息,即每一个视频缩 略图可以包括目标视频中不同播放时间节点的视频内容的视频特征描述信息,该视频特征描述信息可以用于描述该视频缩略图关联的播放时间节点的视频内容,例如:视频特征描述信息可以为对该视频缩略图关联的播放时间节点的视频内容的概括信息,或者,视频特征描述信息可以为对视频缩略图关联的播放时间节点的视频内容开头、中间或者结尾的内容的描述信息。In addition, the video thumbnail includes the video feature description information of the target video, that is, each video thumbnail can include the video feature description information of the video content at different playback time nodes in the target video, and the video feature description information can be used to describe the video thumbnail. The video content of the playback time node associated with the thumbnail. For example, the video feature description information can be summary information of the video content of the playback time node associated with the video thumbnail, or the video feature description information can be the playback associated with the video thumbnail. The description information of the content at the beginning, middle, or end of the video content of the time node.
其中,目标人脸图像在此不做具体限定,目标人脸图像可以为目标视频中包括的所有的人脸图像中的任意一个。The target face image is not specifically limited here, and the target face image may be any one of all the face images included in the target video.
步骤102、接收用户对所述至少一个视频缩略图中的目标视频缩略图的第一输入。Step 102: Receive a user's first input of a target video thumbnail in the at least one video thumbnail.
其中,第一输入的具体类型在此不做限定。例如:第一输入可以为针对目标视频缩略图的按压输入,且按压时长超过预设时长,上述预设时长的具体取值也不限定,如可以为1秒、2秒或者3秒等。另外,第一输入还可以为滑动输入,且滑动输入的轨迹可以为预设轨迹,预设轨迹可以为圆形、矩形或者三角形等。Among them, the specific type of the first input is not limited here. For example, the first input may be a pressing input for a target video thumbnail, and the pressing duration exceeds the preset duration. The specific value of the preset duration is also not limited, for example, it may be 1 second, 2 seconds, or 3 seconds. In addition, the first input may also be a sliding input, and the trajectory of the sliding input may be a preset trajectory, and the preset trajectory may be a circle, a rectangle, a triangle, or the like.
下面举例具体说明目标视频缩略图的确定方式,例如:在目标视频的播放过程中,当接收到用户输入的用于控制目标视频暂停播放的控制指令时,目标视频暂停播放,并显示目标界面,在目标界面中可以包括有多个视频缩略图,用户可以通过触控输入或者滑动输入从多个视频缩略图中确定目标视频缩略图。当然,也可以在目标视频的播放过程中,接收到用户对目标视频某一个目标人脸图像的输入的情况下,可以显示目标人脸图像对应的多个视频缩略图,需要说明的是,目标人脸图像对应的多个视频缩略图与目标人脸图像之间的对应关系可以为预先设置的,也可以为确定目标人脸图像之后对目标视频中的人脸图像进行人脸识别得到的,具体方式在此不做限定。The following example specifically illustrates the method of determining the target video thumbnail. For example, during the playback of the target video, when a control instruction input by the user to control the pause of the target video is received, the target video is paused and the target interface is displayed. The target interface may include multiple video thumbnails, and the user can determine the target video thumbnail from the multiple video thumbnails through touch input or sliding input. Of course, it is also possible to display multiple video thumbnails corresponding to the target face image when the user's input to a certain target face image of the target video is received during the playback of the target video. It should be noted that the target The corresponding relationship between the multiple video thumbnails corresponding to the face image and the target face image may be preset, or may be obtained by performing face recognition on the face image in the target video after determining the target face image. The specific method is not limited here.
步骤103、响应于所述第一输入,播放目标时间节点的视频内容,所述目标时间节点为所述目标视频缩略图关联的视频播放时间节点,所述目标时间节点的视频内容中包括所述目标人脸图像。Step 103: In response to the first input, play the video content of the target time node, where the target time node is the video playback time node associated with the target video thumbnail, and the video content of the target time node includes the Target face image.
其中,目标时间节点为目标视频中的播放时间节点。当然,目标时间节点在目标视频中位置在此不作具体限定。例如:目标视频的整个播放时长为1分钟,则目标时间节点可以为第5秒、第10秒或者第15秒等时刻对应的 播放时间节点。需要说明的是,播放时间节点也可以被称为播放进度点。Among them, the target time node is the playback time node in the target video. Of course, the position of the target time node in the target video is not specifically limited here. For example, if the entire playback duration of the target video is 1 minute, the target time node can be the playback time node corresponding to the 5th, 10th, or 15th second. It should be noted that the playback time node may also be referred to as a playback progress point.
其中,目标时间节点可以为播放开始节点,也可以为播放结束节点。当然,目标时间节点还可以包括播放开始节点和播放结束节点。Among them, the target time node may be the playback start node or the playback end node. Of course, the target time node may also include a playback start node and a playback end node.
例如:当目标时间节点为播放开始节点时,可以跳转至目标视频缩略图关联的播放开始节点,并从上述播放开始节点开始播放目标视频;当目标时间节点为播放结束节点时,可以从目标视频的当前对应的播放时间节点继续播放目标视频,一直播放至播放结束节点时停止播放目标视频;当目标时间节点包括播放开始节点和播放结束节点时,可以跳转至播放开始节点,并从播放开始节点开始播放目标视频,一直播放目标视频至播放结束节点时停止播放目标视频;当然,当播放至播放结束节点时还可以继续播放目标视频,或者直接播放下一个视频缩略图关联的视频播放时间节点的视频内容。For example: when the target time node is the playback start node, you can jump to the playback start node associated with the target video thumbnail, and start playing the target video from the above playback start node; when the target time node is the playback end node, you can start from the target video The current corresponding playback time node of the video continues to play the target video, and stops playing the target video until the playback end node; when the target time node includes the playback start node and the playback end node, you can jump to the playback start node and start playing The start node starts to play the target video, and stops playing the target video when the target video is played to the end of the playback node; of course, when the playback reaches the end node, the target video can be continued to play, or the video playback time associated with the next video thumbnail can be played directly The video content of the node.
本发明实施例中,上述电子设备可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(Personal Digital Assistant,PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等等。In the embodiment of the present invention, the above-mentioned electronic device may be a mobile phone, a tablet (Personal Computer), a laptop (Laptop Computer), a personal digital assistant (Personal Digital Assistant, PDA), a mobile Internet device (Mobile Internet Device, MID). ) Or wearable devices (Wearable Device) and so on.
本发明实施例中,显示目标视频的至少一个视频缩略图,所述视频缩略图包括所述目标视频的视频特征描述信息,且所述视频缩略图中包括目标人脸图像;接收用户对所述至少一个视频缩略图中的目标视频缩略图的第一输入;响应于所述第一输入,播放目标时间节点的视频内容,所述目标时间节点为所述目标视频缩略图关联的视频播放时间节点,所述目标时间节点的视频内容中包括所述目标人脸图像。这样,由于视频缩略图中包括目标人脸图像,可以根据选择的不同的视频缩略图,以不同的播放时间节点播放目标视频,且上述播放时间节点对应的视频内容中均包括目标人脸图像,无需反复调整目标视频的播放进度,从而提高对目标视频中目标人脸图像的查找效率。In the embodiment of the present invention, at least one video thumbnail of the target video is displayed, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image; A first input of a target video thumbnail in at least one video thumbnail; in response to the first input, the video content of a target time node is played, and the target time node is a video playback time node associated with the target video thumbnail , The video content of the target time node includes the target face image. In this way, since the video thumbnail includes the target face image, the target video can be played at different playback time nodes according to different selected video thumbnails, and the video content corresponding to the aforementioned playback time node includes the target face image. There is no need to repeatedly adjust the playback progress of the target video, thereby improving the efficiency of searching for the target face image in the target video.
参见图2,图2是本发明实施例提供的另一种视频播放方法的流程图。本实施例与上个实施例的主要区别在于:目标人脸图像、视频缩略图和视频播放时间节点之间存在第一对应关系。如图2所示,包括以下步骤:Refer to FIG. 2, which is a flowchart of another video playback method provided by an embodiment of the present invention. The main difference between this embodiment and the previous embodiment is that there is a first correspondence between the target face image, the video thumbnail, and the video playback time node. As shown in Figure 2, it includes the following steps:
步骤201、显示目标视频的至少一个视频缩略图,所述视频缩略图包括所述目标视频的视频特征描述信息,且所述视频缩略图中包括目标人脸图像。Step 201: Display at least one video thumbnail of the target video, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image.
其中,步骤201可以参见上述实施例中步骤101的相应表述,在此不再赘述。Wherein, step 201 can refer to the corresponding expression of step 101 in the above-mentioned embodiment, which will not be repeated here.
其中,参见图3,可以显示目标视频的多个视频缩略图,上述多个视频缩略图即为图3中的进度1处缩略图301、进度2处缩略图302、进度3处缩略图303、进度4处缩略图304、进度5处缩略图305、进度6处缩略图306、进度7处缩略图307和进度8处缩略图308,且每一个视频缩略图上可以包括视频特征描述信息,例如图3中的进度1处、进度2处、进度3处、进度4处、进度5处、进度6处、进度7处和进度8处等文本信息。Among them, referring to FIG. 3, multiple video thumbnails of the target video can be displayed. The multiple video thumbnails are the thumbnail 301 at progress 1, the thumbnail 302 at progress 2, and the thumbnail 303 at progress 3. The thumbnail 304 at the progress 4, the thumbnail 305 at the progress 5, the thumbnail 306 at the progress 6, the thumbnail 307 at the progress 7 and the thumbnail 308 at the progress 8. Each video thumbnail may include video feature description information, such as In Figure 3, text information such as progress 1, progress 2, progress 3, progress 4, progress 5, progress 6, progress 7 and progress 8.
可选的,所述第一对应关系存储在预设的索引信息表中,所述索引信息表为在所述电子设备中预先生成的,或者,所述索引信息表为从服务器中获取的。Optionally, the first correspondence relationship is stored in a preset index information table, the index information table is pre-generated in the electronic device, or the index information table is obtained from a server.
其中,索引信息表为在电子设备中预先生成的情况下,可以在电子设备的预览界面中显示目标视频时,自动对目标视频中的第一人脸图像进行人脸识别,从而在目标人脸图像、视频缩略图和所述视频播放时间节点之间建立上述第一对应关系,并可以生成索引信息表中,且可以将上述第一对应关系保存在索引信息表中。Among them, the index information table is pre-generated in the electronic device, when the target video is displayed in the preview interface of the electronic device, the first face image in the target video is automatically recognized, so that the target face The first corresponding relationship is established between the image, the video thumbnail and the video playback time node, and the index information table can be generated, and the first corresponding relationship can be stored in the index information table.
当然,索引信息表也可以为电子设备在显示目标视频时,根据用户的输入指令确定目标视频中的第一人脸图像,并可以对第一人脸图像进行人脸识别,从而建立第一人脸图像与视频缩略图和所述视频播放时间节点的第一对象关系,并可以生成索引信息表中,且可以将上述第一对应关系保存在索引信息表中。需要说明的是,目标人脸图像为第一人脸图像中的某一个人脸图像。Of course, the index information table can also determine the first face image in the target video according to the user's input instructions when the electronic device displays the target video, and can perform face recognition on the first face image, thereby establishing the first person The first object relationship between the face image and the video thumbnail and the video playback time node can be generated in an index information table, and the first corresponding relationship can be stored in the index information table. It should be noted that the target face image is a certain face image in the first face image.
其中,当索引信息表为从服务器上获取的情况下,服务器还可以向电子设备发送目标视频,且服务器向电子设备发送索引信息表的具体方式在此不做限定,例如:可以将索引信息与目标视频关联,服务器在向电子设备发送目标视频时,连同索引信息表一并发送给电子设备。当然,也可以先发送目标视频,然后再单独发送索引信息表。Wherein, when the index information table is obtained from the server, the server can also send the target video to the electronic device, and the specific method for the server to send the index information table to the electronic device is not limited here, for example: the index information can be combined with Target video association, when the server sends the target video to the electronic device, it is sent to the electronic device together with the index information table. Of course, you can also send the target video first, and then send the index information table separately.
本发明实施方式中,由于索引信息表可以为在电子设备中预先生成的,也可以从服务器中获取的,从而增加了获取索引信息表的灵活性。In the embodiment of the present invention, since the index information table may be pre-generated in the electronic device or obtained from the server, the flexibility of obtaining the index information table is increased.
可选的,所述显示目标视频的至少一个视频缩略图之前,所述方法还包括:Optionally, before the displaying at least one video thumbnail of the target video, the method further includes:
接收用户对所述目标视频中的第一人脸图像的第二输入;Receiving a second input of a user on the first face image in the target video;
响应于所述第二输入,对所述目标视频中的第一人脸图像进行人脸识别,得到包括所述第一人脸图像的第一视频缩略图和所述第一视频缩略图对应的第一视频播放时间节点;In response to the second input, perform face recognition on the first face image in the target video to obtain a first video thumbnail that includes the first face image and a corresponding one of the first video thumbnail The first video playback time node;
建立所述第一人脸图像、所述第一视频缩略图和所述第一视频播放时间节点之间的第一对应关系并存储;Establishing and storing a first correspondence between the first face image, the first video thumbnail, and the first video playback time node;
其中,所述至少一个视频缩略图均为所述第一视频缩略图。这样,相对应的,目标人脸图像也可以为第一人脸图像中的图像,目标视频缩略图关联的视频播放时间节点也可以为第一视频播放时间节点中的时间节点。Wherein, the at least one video thumbnail is the first video thumbnail. In this way, correspondingly, the target face image may also be the image in the first face image, and the video playback time node associated with the target video thumbnail may also be the time node in the first video playback time node.
其中,第一人脸图像可以指的是目标视频中的任意一个人脸图像,例如:可以为演员A或者演员B等,而目标人脸图像可以为多个第一人脸图像中的某一个人脸图像,例如,目标人脸图像可以为演员A的人脸图像。Among them, the first face image may refer to any face image in the target video, for example: it may be actor A or actor B, etc., and the target face image may be one of multiple first face images The face image, for example, the target face image may be the face image of actor A.
需要说明的是,在接收到用户的对目标视频的预设输入的情况下,可以显示人脸图像选择界面,而人脸图像选择界面上可以显示有多个人脸图像,且每一个人脸图像的下侧还可以显示有该人脸图像的名称,例如:参见图4,人脸图像选择界面上可以显示有演员1(401)、演员2(402)、演员3(403)、演员4(404)、演员5(405)和演员6(406),相对应的,在每一个演员的人脸图像的下侧还可以显示有该演员的名称。这样,在接收到用户对上述某一个演员的人脸图像(即第一人脸图像)的第二输入的情况下,可以对人脸图像进行人脸识别,并得到相对应的包括第一人脸图像的第一视频缩略图和第一视频缩略图对应的视频播放时间节点,且可以建立第一人脸图像、第一视频缩略图和视频播放时间节点之间的第一对应关系并存储。It should be noted that in the case of receiving the user's preset input to the target video, the face image selection interface can be displayed, and the face image selection interface can display multiple face images, and each face image The name of the face image can also be displayed on the lower side of the. For example: see Figure 4, the face image selection interface can display actor 1 (401), actor 2 (402), actor 3 (403), actor 4 ( 404), actor 5 (405) and actor 6 (406). Correspondingly, the name of the actor can also be displayed on the lower side of the face image of each actor. In this way, in the case of receiving the user's second input to the face image (ie, the first face image) of one of the above-mentioned actors, face recognition can be performed on the face image, and the corresponding one including the first person can be obtained. The first video thumbnail of the face image and the video playback time node corresponding to the first video thumbnail, and a first correspondence relationship between the first face image, the first video thumbnail, and the video playback time node can be established and stored.
由于第一人脸图像可以指的是目标视频中的任意一个人脸图像,因此,目标视频中每一个人脸图像均可以存储具有第一对应关系的第一视频缩略图和第一视频播放时间节点。Since the first face image can refer to any face image in the target video, each face image in the target video can store the first video thumbnail and the first video playback time with the first corresponding relationship. node.
当然,每一个第一人脸图像可以对应有多个第一视频缩略图和多个第一视频播放时间节点,且任意两个第一人脸图像对应的第一视频缩略图和第一 播放时间节点的个数可以相同,也可以不相同。Of course, each first face image may correspond to multiple first video thumbnails and multiple first video playback time nodes, and the first video thumbnail and first playback time corresponding to any two first face images The number of nodes can be the same or different.
本发明实施方式中,第一人脸图像、第一视频缩略图和第一视频播放时间节点之间的第一对应关系为电子设备建立并存储的,这样,与从服务器获取第一对应关系的方式相比,可以避免误获取错误的第一对应关系的现象的出现,从而可以提高第一对应关系的准确度。In the embodiment of the present invention, the first correspondence relationship between the first face image, the first video thumbnail, and the first video playback time node is established and stored by the electronic device. In this way, the first correspondence relationship is obtained from the server. Compared with the method, the phenomenon of erroneously obtaining the wrong first correspondence relationship can be avoided, so that the accuracy of the first correspondence relationship can be improved.
步骤202、接收用户对所述至少一个视频缩略图中的目标视频缩略图的第一输入。Step 202: Receive a user's first input of the target video thumbnail in the at least one video thumbnail.
其中,第一输入的具体类型在此不做限定。例如:第一输入可以为针对目标视频缩略图的按压输入,且按压时长超过预设时长,上述预设时长的具体取值也不限定,如可以为1秒、2秒或者3秒等。另外,第一输入还可以为滑动输入,且滑动输入的轨迹可以为预设轨迹,预设轨迹可以为圆形、矩形或者三角形等。Among them, the specific type of the first input is not limited here. For example, the first input may be a pressing input for a target video thumbnail, and the pressing duration exceeds the preset duration. The specific value of the preset duration is also not limited, for example, it may be 1 second, 2 seconds, or 3 seconds. In addition, the first input may also be a sliding input, and the trajectory of the sliding input may be a preset trajectory, and the preset trajectory may be a circle, a rectangle, a triangle, or the like.
步骤203、基于所述第一对应关系,获取与所述目标视频缩略图对应的所述目标时间节点。Step 203: Obtain the target time node corresponding to the target video thumbnail based on the first correspondence.
其中,上述第一对应关系可以在电子设备中预先生成并存储在电子设备中的信息,当然,也可以为电子设备从服务器中获取得到的。具体方式在此不做限定。Wherein, the above-mentioned first correspondence relationship may be information pre-generated in the electronic device and stored in the electronic device, of course, it may also be obtained by the electronic device from a server. The specific method is not limited here.
步骤204、播放所述目标时间节点的视频内容。Step 204: Play the video content of the target time node.
其中,步骤204可以参见上述实施例中步骤103中的相应表述,在此不再赘述。Wherein, step 204 can refer to the corresponding expression in step 103 in the foregoing embodiment, and will not be repeated here.
可选的,所述目标时间节点为播放开始节点,所述电子设备中还获取有播放时间段,所述播放开始节点和所述播放时间段之间存在第二对应关系;Optionally, the target time node is a play start node, the electronic device also acquires a play time period, and there is a second correspondence between the play start node and the play time period;
所述播放所述目标时间节点的视频内容,包括:The playing the video content of the target time node includes:
基于所述第二对应关系,从所述播放开始节点,播放第一时长的所述目标视频;其中,所述第一时长为所述播放时间段。Based on the second correspondence, the target video of the first duration is played from the playback start node; wherein the first duration is the playback time period.
需要说明的是,每一个播放开始节点(即每一个视频缩略图)对应的视频内容的播放时间段可以相同,也可以不相同。例如:第一播放开始节点对应的视频内容的播放时间段为从目标视频的第15秒至第25秒,第二播放开始节点对应的视频内容的播放时间段为从目标视频的第30秒至第55秒,第 三播放开始节点对应的视频内容的播放时间段为从目标视频的第60秒(1分)至第95秒(1分35秒)。It should be noted that the playback time period of the video content corresponding to each playback start node (that is, each video thumbnail) may be the same or different. For example: the playback time period of the video content corresponding to the first play start node is from the 15th second to the 25th second of the target video, and the play time period of the video content corresponding to the second play start node is from the 30th second to the 30th second of the target video At the 55th second, the play time period of the video content corresponding to the third play start node is from the 60th second (1 minute) to the 95th second (1 minute 35 seconds) of the target video.
其中,当从播放开始节点播放第一时长的目标视频后,可以停止播放目标视频,当然,也可以继续播放目标视频,另外还可以跳转至另一播放开始节点播放第二时长的目标视频。Wherein, after the target video of the first duration is played from the playback start node, the playback of the target video can be stopped, of course, the target video can also continue to be played, and in addition, it can also jump to another playback start node to play the target video of the second duration.
另外,参见表1,每一个视频缩略图中可以包括目标人脸图像,该目标人脸图像可以为演员张三的人脸图像或者李四的人脸图像等,并且目标人脸图像与播放开始节点以及播放时间段(即表1中的播放持续时间)之间可以存在第二对应关系,需要说明的是,上述第二对应关系也可以存储在索引信息表中。In addition, referring to Table 1, each video thumbnail can include a target face image. The target face image can be the face image of the actor Zhang San or the face image of Li Si, etc., and the target face image and playback start There may be a second correspondence between the nodes and the playing time period (that is, the playing duration in Table 1). It should be noted that the above-mentioned second correspondence may also be stored in the index information table.
Figure PCTCN2020139514-appb-000001
Figure PCTCN2020139514-appb-000001
表1Table 1
本发明实施方式中,由于电子设备中还获取有播放时间段,可以从播放开始节点开始播放目标视频,并持续播放上述播放时间段的目标视频,增加了目标视频的播放方式,从而使得在播放目标视频时更加灵活。In the embodiment of the present invention, since the electronic device also acquires a play time period, the target video can be played from the play start node, and the target video of the above play time period can be continuously played. The play mode of the target video is increased, so that the More flexible when targeting video.
其中,可选的,所述视频缩略图包括所述播放时间段内的至少一帧视频图像。Wherein, optionally, the video thumbnail includes at least one frame of video image within the playing time period.
上述视频缩略图的类型在此不做具体限定,例如:视频缩略图可以为播放时间段内的静态图像或者动态图像,当然,也可以为相邻的多帧视频图像。The type of the aforementioned video thumbnail is not specifically limited here. For example, the video thumbnail may be a static image or a dynamic image within the playing time period, and of course, it may also be an adjacent multi-frame video image.
本发明实施方式中,由于视频缩略图包括播放时间段内的至少一帧视频图像,这样,视频缩略图可以概括表示该播放时间段内的播放内容,当用户看到上述视频缩略图时,可以起到预览该播放时间段内的播放内容的效果,从而可以选择是否从该视频缩略图对应的视频播放时间节点播放目标视频。In the embodiment of the present invention, since the video thumbnail includes at least one frame of video image within the playback time period, the video thumbnail can summarize the playback content within the playback time period. When the user sees the above video thumbnail, It has the effect of previewing the play content in the play time period, so that it is possible to choose whether to play the target video from the video play time node corresponding to the video thumbnail.
其中,可选的,所述视频特征描述信息为所述播放时间段内对应的播放内容的描述信息。Wherein, optionally, the video feature description information is the description information of the corresponding play content within the play time period.
上述视频特征描述信息也可以被称作为剧情简介或者剧情简介信息,例 如参见图5,可以显示有四个视频缩略图,即第一个视频缩略图501、第二个视频缩略图502、第三个视频缩略图503和第四个视频缩略图504,且每一个视频缩略图上可以包括视频特征描述信息(即剧情简介)、人脸图像和播放时间段等信息。The above-mentioned video feature description information can also be referred to as story introduction or story introduction information. For example, referring to FIG. 5, four video thumbnails may be displayed, namely, the first video thumbnail 501, the second video thumbnail 502, and the third video thumbnail. There are two video thumbnails 503 and a fourth video thumbnail 504, and each video thumbnail may include information such as video feature description information (ie, a brief introduction of the plot), a face image, and a playing time period.
另外,视频特征描述信息与播放开始节点和播放时间段之间也可以存在对应关系,并保存在索引信息表中,参见表2。当然,视频播放时间节点也可以包括播放开始节点和播放结束节点,参见表3。In addition, there may also be a correspondence between the video feature description information, the playback start node and the playback time period, and they may be stored in the index information table, see Table 2. Of course, the video playback time node may also include a playback start node and a playback end node, see Table 3.
Figure PCTCN2020139514-appb-000002
Figure PCTCN2020139514-appb-000002
表2Table 2
Figure PCTCN2020139514-appb-000003
Figure PCTCN2020139514-appb-000003
表3table 3
本发明实施方式中,由于视频特征描述信息为播放时间段内对应的播放内容的描述信息,这样,当用户看到上述视频缩略图时,同样可以起到预览该播放时间段内的播放内容的效果,从而可以选择是否从该视频缩略图对应的视频播放时间节点播放目标视频。In the embodiment of the present invention, since the video feature description information is the description information of the corresponding playback content within the playback time period, when the user sees the above-mentioned video thumbnail, it can also serve as a preview of the playback content within the playback time period. Effect, you can choose whether to play the target video from the video playback time node corresponding to the video thumbnail.
本发明实施例中,通过步骤201至204,由于目标人脸图像、视频缩略图和视频播放时间节点之间存在第一对应关系,这样,使得可以根据视频缩略图以及第一对应关系确定视频播放时间节点时,从而提高视频播放时间节点确定的准确度以及确定的速率。In the embodiment of the present invention, through steps 201 to 204, since there is a first correspondence between the target face image, the video thumbnail, and the video playback time node, the video playback can be determined according to the video thumbnail and the first correspondence. Time node, thereby improving the accuracy and rate of determining the video playback time node.
参见图6,图6是本发明实施例提供的电子设备的结构图之一,能实现上述实施例中图1和图2所示实施例中的视频播放方法的细节,并达到相同的效果。如图6所示,电子设备600包括:Referring to FIG. 6, FIG. 6 is one of the structural diagrams of the electronic device provided by the embodiment of the present invention, which can realize the details of the video playback method in the embodiment shown in FIG. 1 and FIG. 2 in the above embodiment, and achieve the same effect. As shown in FIG. 6, the electronic device 600 includes:
显示模块601,用于显示目标视频的至少一个视频缩略图,所述视频缩略图包括所述目标视频的视频特征描述信息,且所述视频缩略图中包括目标人脸图像;The display module 601 is configured to display at least one video thumbnail of the target video, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image;
第一接收模块602,用于接收用户对所述至少一个视频缩略图中的目标视频缩略图的第一输入;The first receiving module 602 is configured to receive a user's first input of the target video thumbnail in the at least one video thumbnail;
播放模块603,用于响应于所述第一输入,播放目标时间节点的视频内容,所述目标时间节点为所述目标视频缩略图关联的视频播放时间节点,所述目标时间节点的视频内容中包括所述目标人脸图像。The play module 603 is configured to play the video content of a target time node in response to the first input, where the target time node is a video play time node associated with the target video thumbnail, and the video content of the target time node Including the target face image.
可选的,参见图7,所述目标人脸图像、所述视频缩略图和所述视频播放时间节点之间存在第一对应关系;Optionally, referring to FIG. 7, there is a first correspondence between the target face image, the video thumbnail, and the video playback time node;
所述播放模块603包括:The playing module 603 includes:
获取子模块6031,用于基于所述第一对应关系,获取与所述目标视频缩略图对应的所述目标时间节点;The obtaining submodule 6031 is configured to obtain the target time node corresponding to the target video thumbnail based on the first correspondence;
播放子模块6032,用于播放所述目标时间节点的视频内容。The playing submodule 6032 is used to play the video content of the target time node.
可选的,所述第一对应关系存储在预设的索引信息表中,所述索引信息表为在所述电子设备中预先生成的,或者,所述索引信息表为从服务器中获取的。Optionally, the first correspondence relationship is stored in a preset index information table, the index information table is pre-generated in the electronic device, or the index information table is obtained from a server.
可选的,参见图8,所述电子设备600还包括:Optionally, referring to FIG. 8, the electronic device 600 further includes:
第二接收模块604,用于接收用户对所述目标视频中的第一人脸图像的第二输入;The second receiving module 604 is configured to receive a second input of the user to the first face image in the target video;
人脸识别模块605,用于响应于所述第二输入,对所述目标视频中的第一人脸图像进行人脸识别,得到包括所述第一人脸图像的第一视频缩略图和所述第一视频缩略图对应的视频播放时间节点;The face recognition module 605 is configured to perform face recognition on the first face image in the target video in response to the second input to obtain the first video thumbnail and all the images that include the first face image. The video playback time node corresponding to the first video thumbnail;
建立模块606,用于建立所述第一人脸图像、所述第一视频缩略图和所述视频播放时间节点之间的第一对应关系并存储。The establishment module 606 is configured to establish and store a first correspondence between the first face image, the first video thumbnail, and the video playback time node.
可选的,所述目标时间节点为播放开始节点,所述电子设备中还获取有 播放时间段,所述播放开始节点和所述播放时间段之间存在第二对应关系;Optionally, the target time node is a play start node, the electronic device also acquires a play time period, and there is a second correspondence between the play start node and the play time period;
所述播放模块603还用于:基于所述第二对应关系,从所述播放开始节点,播放第一时长的所述目标视频;其中,所述第一时长为所述播放时间段。The playing module 603 is further configured to: play the target video of a first duration from the playback start node based on the second correspondence; wherein, the first duration is the playback time period.
可选的,所述视频缩略图包括所述播放时间段内的至少一帧视频图像。Optionally, the video thumbnail includes at least one frame of video image within the playing time period.
可选的,所述视频特征描述信息为所述播放时间段内对应的播放内容的描述信息。Optionally, the video feature description information is description information of the corresponding play content within the play time period.
本发明实施例提供的电子设备能够实现图1至图2的方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。本发明实施例中,由于视频缩略图中包括目标人脸图像,可以根据选择的不同的视频缩略图,以不同的播放时间节点播放目标视频,且上述播放时间节点对应的视频内容中均包括目标人脸图像,无需反复调整目标视频的播放进度,从而提高对目标视频中目标人脸图像的查找效率。The electronic device provided by the embodiment of the present invention can implement the various processes implemented by the electronic device in the method embodiments of FIG. 1 to FIG. 2. To avoid repetition, details are not described herein again. In the embodiment of the present invention, since the video thumbnail includes the target face image, the target video can be played at different playback time nodes according to different selected video thumbnails, and the video content corresponding to the aforementioned playback time node includes the target The face image does not need to repeatedly adjust the playback progress of the target video, thereby improving the search efficiency of the target face image in the target video.
图9为实现本发明各个实施例的一种电子设备的硬件结构示意图,FIG. 9 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
该电子设备900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909、处理器910、以及电源911等部件。本领域技术人员可以理解,图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and Power 911 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 9 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiment of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
显示单元906,用于显示目标视频的至少一个视频缩略图,所述视频缩略图包括所述目标视频的视频特征描述信息,且所述视频缩略图中包括目标人脸图像;The display unit 906 is configured to display at least one video thumbnail of the target video, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image;
用户输入单元907,用于接收用户对所述至少一个视频缩略图中的目标视频缩略图的第一输入;The user input unit 907 is configured to receive a user's first input of the target video thumbnail in the at least one video thumbnail;
处理器910,用于响应于所述第一输入,播放目标时间节点的视频内容,所述目标时间节点为所述目标视频缩略图关联的视频播放时间节点,所述目标时间节点的视频内容中包括所述目标人脸图像。The processor 910 is configured to, in response to the first input, play video content of a target time node, where the target time node is a video playback time node associated with the target video thumbnail, and the video content of the target time node Including the target face image.
可选的,所述目标人脸图像、所述视频缩略图和所述视频播放时间节点 之间存在第一对应关系;Optionally, there is a first correspondence between the target face image, the video thumbnail, and the video playback time node;
处理器910执行的所述响应于所述第一输入,播放目标时间节点的视频内容,包括:The execution of the processor 910 in response to the first input to play the video content of the target time node includes:
基于所述第一对应关系,获取与所述目标视频缩略图对应的所述目标时间节点;播放所述目标时间节点的视频内容。Based on the first correspondence, obtain the target time node corresponding to the target video thumbnail; and play the video content of the target time node.
可选的,所述第一对应关系存储在预设的索引信息表中,所述索引信息表为在所述电子设备中预先生成的,或者,所述索引信息表为从服务器中获取的。Optionally, the first correspondence relationship is stored in a preset index information table, the index information table is pre-generated in the electronic device, or the index information table is obtained from a server.
可选的,用户输入单元907还用于接收用户对所述目标视频中的第一人脸图像的第二输入;Optionally, the user input unit 907 is further configured to receive a second input of the user on the first face image in the target video;
处理器910还用于响应于所述第二输入,对所述目标视频中的第一人脸图像进行人脸识别,得到包括所述第一人脸图像的第一视频缩略图和所述第一视频缩略图对应的视频播放时间节点;建立所述第一人脸图像、所述第一视频缩略图和所述视频播放时间节点之间的第一对应关系并存储。The processor 910 is further configured to perform face recognition on the first face image in the target video in response to the second input to obtain a first video thumbnail including the first face image and the first face image. A video playback time node corresponding to the video thumbnail; establishing and storing a first correspondence between the first face image, the first video thumbnail, and the video playback time node.
可选的,所述目标时间节点为播放开始节点,所述电子设备中还获取有播放时间段,所述播放开始节点和所述播放时间段之间存在第二对应关系;Optionally, the target time node is a play start node, the electronic device also acquires a play time period, and there is a second correspondence between the play start node and the play time period;
处理器910执行的所述播放所述目标时间节点的视频内容,包括:The playing the video content of the target time node executed by the processor 910 includes:
基于所述第二对应关系,从所述播放开始节点,播放第一时长的所述目标视频;其中,所述第一时长为所述播放时间段。Based on the second correspondence, the target video of the first duration is played from the playback start node; wherein the first duration is the playback time period.
可选的,所述视频缩略图包括所述播放时间段内的至少一帧视频图像。Optionally, the video thumbnail includes at least one frame of video image within the playing time period.
可选的,所述视频特征描述信息为所述播放时间段内对应的播放内容的描述信息。Optionally, the video feature description information is description information of the corresponding play content within the play time period.
本发明实施例中,由于视频缩略图中包括目标人脸图像,可以根据选择的不同的视频缩略图,以不同的播放时间节点播放目标视频,且上述播放时间节点对应的视频内容中均包括目标人脸图像,无需反复调整目标视频的播放进度,从而提高对目标视频中目标人脸图像的查找效率。In the embodiment of the present invention, since the video thumbnail includes the target face image, the target video can be played at different playback time nodes according to different selected video thumbnails, and the video content corresponding to the aforementioned playback time node includes the target The face image does not need to repeatedly adjust the playback progress of the target video, thereby improving the search efficiency of the target face image in the target video.
应理解的是,本发明实施例中,射频单元901可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器910处理;另外,将上行的数据发送给基站。通常,射频单元901包括但 不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元901还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 901 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 910; Uplink data is sent to the base station. Generally, the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 901 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块902为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 902, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元903可以将射频单元901或网络模块902接收的或者在存储器909中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元903还可以提供与电子设备900执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元903包括扬声器、蜂鸣器以及受话器等。The audio output unit 903 can convert the audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output it as sound. Moreover, the audio output unit 903 may also provide audio output related to a specific function performed by the electronic device 900 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
输入单元904用于接收音频或视频信号。输入单元904可以包括图形处理器(Graphics Processing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元906上。经图形处理器9041处理后的图像帧可以存储在存储器909(或其它存储介质)中或者经由射频单元901或网络模块902进行发送。麦克风9042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元901发送到移动通信基站的格式输出。The input unit 904 is used to receive audio or video signals. The input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042, and the graphics processor 9041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame may be displayed on the display unit 906. The image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or sent via the radio frequency unit 901 or the network module 902. The microphone 9042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 901 for output in the case of a telephone call mode.
电子设备900还包括至少一种传感器905,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板9061的亮度,接近传感器可在电子设备900移动到耳边时,关闭显示面板9061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器905还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 900 also includes at least one sensor 905, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light. The proximity sensor can close the display panel 9061 and the display panel 9061 when the electronic device 900 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 905 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元906用于显示由用户输入的信息或提供给用户的信息。显示单 元906可包括显示面板9061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板9061。The display unit 906 is used to display information input by the user or information provided to the user. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元907可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元907包括触控面板9071以及其他输入设备9072。触控面板9071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板9071上或在触控面板9071附近的操作)。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器910,接收处理器910发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板9071。除了触控面板9071,用户输入单元907还可以包括其他输入设备9072。具体地,其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 907 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 9071 or near the touch panel 9071. operating). The touch panel 9071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 910, the command sent by the processor 910 is received and executed. In addition, the touch panel 9071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 9071, the user input unit 907 may also include other input devices 9072. Specifically, other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板9071可覆盖在显示面板9061上,当触控面板9071检测到在其上或附近的触摸操作后,传送给处理器910以确定触摸事件的类型,随后处理器910根据触摸事件的类型在显示面板9061上提供相应的视觉输出。虽然在图9中,触控面板9071与显示面板9061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板9071与显示面板9061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 9071 can cover the display panel 9061. When the touch panel 9071 detects a touch operation on or near it, it is transmitted to the processor 910 to determine the type of the touch event, and then the processor 910 determines the type of the touch event according to the touch The type of event provides corresponding visual output on the display panel 9061. Although in FIG. 9, the touch panel 9071 and the display panel 9061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 9071 and the display panel 9061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元908为外部装置与电子设备900连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元908可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备900内的一个或多个元件或者可以用于在电子设备900和外部装 置之间传输数据。The interface unit 908 is an interface for connecting an external device and the electronic device 900. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 908 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 900 or can be used to connect the electronic device 900 to an external device. Transfer data between devices.
存储器909可用于存储软件程序以及各种数据。存储器909可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器909可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 909 can be used to store software programs and various data. The memory 909 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 909 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器910是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器909内的软件程序和/或模块,以及调用存储在存储器909内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器910可包括一个或多个处理单元;优选的,处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。The processor 910 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 909, and calls data stored in the memory 909 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 910.
电子设备900还可以包括给各个部件供电的电源911(比如电池),优选的,电源911可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 900 may also include a power source 911 (such as a battery) for supplying power to various components. Preferably, the power source 911 may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,电子设备900包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 900 includes some functional modules that are not shown, which will not be repeated here.
优选的,本发明实施例还提供一种电子设备,包括处理器910,存储器909,存储在存储器909上并可在所述处理器910上运行的计算机程序,该计算机程序被处理器910执行时实现上述一种视频播放方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides an electronic device, including a processor 910, a memory 909, a computer program stored on the memory 909 and running on the processor 910, when the computer program is executed by the processor 910 Each process of the foregoing embodiment of the video playback method is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述一种视频播放方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned video playback method embodiment is realized, and can achieve the same In order to avoid repetition, I won’t repeat them here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或 者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the scope of protection of the claims, and they all fall within the protection of the present invention.

Claims (16)

  1. 一种视频播放方法,应用于电子设备,包括:A video playback method applied to electronic equipment, including:
    显示目标视频的至少一个视频缩略图,所述视频缩略图包括所述目标视频的视频特征描述信息,且所述视频缩略图中包括目标人脸图像;Displaying at least one video thumbnail of the target video, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image;
    接收用户对所述至少一个视频缩略图中的目标视频缩略图的第一输入;Receiving a user's first input on the target video thumbnail in the at least one video thumbnail;
    响应于所述第一输入,播放目标时间节点的视频内容,所述目标时间节点为所述目标视频缩略图关联的视频播放时间节点,所述目标时间节点的视频内容中包括所述目标人脸图像。In response to the first input, play the video content of a target time node, where the target time node is a video playback time node associated with the target video thumbnail, and the video content of the target time node includes the target face image.
  2. 根据权利要求1所述的方法,其中,所述目标人脸图像、所述视频缩略图和所述视频播放时间节点之间存在第一对应关系;The method according to claim 1, wherein there is a first correspondence between the target face image, the video thumbnail, and the video playback time node;
    所述响应于所述第一输入,播放目标时间节点的视频内容,包括:The playing the video content of the target time node in response to the first input includes:
    基于所述第一对应关系,获取与所述目标视频缩略图对应的所述目标时间节点;Obtaining the target time node corresponding to the target video thumbnail based on the first correspondence;
    播放所述目标时间节点的视频内容。Play the video content of the target time node.
  3. 根据权利要求2所述的方法,其中,所述第一对应关系存储在预设的索引信息表中,所述索引信息表为在所述电子设备中预先生成的,或者,所述索引信息表为从服务器中获取的。The method according to claim 2, wherein the first correspondence is stored in a preset index information table, the index information table is pre-generated in the electronic device, or the index information table Obtained from the server.
  4. 根据权利要求2所述的方法,其中,所述显示目标视频的至少一个视频缩略图之前,所述方法还包括:The method according to claim 2, wherein before the displaying at least one video thumbnail of the target video, the method further comprises:
    接收用户对所述目标视频中的第一人脸图像的第二输入;Receiving a second input of a user on the first face image in the target video;
    响应于所述第二输入,对所述目标视频中的第一人脸图像进行人脸识别,得到包括所述第一人脸图像的第一视频缩略图和所述第一视频缩略图对应的第一视频播放时间节点;In response to the second input, perform face recognition on the first face image in the target video to obtain a first video thumbnail that includes the first face image and a corresponding one of the first video thumbnail The first video playback time node;
    建立所述第一人脸图像、所述第一视频缩略图和所述第一视频播放时间节点之间的第一对应关系并存储;Establishing and storing a first correspondence between the first face image, the first video thumbnail, and the first video playback time node;
    其中,所述至少一个视频缩略图均为所述第一视频缩略图。Wherein, the at least one video thumbnail is the first video thumbnail.
  5. 根据权利要求2所述的方法,其中,所述目标时间节点为播放开始节点,所述电子设备中还获取有播放时间段,所述播放开始节点和所述播放时 间段之间存在第二对应关系;The method according to claim 2, wherein the target time node is a play start node, the electronic device also acquires a play time period, and there is a second correspondence between the play start node and the play time period relationship;
    所述播放所述目标时间节点的视频内容,包括:The playing the video content of the target time node includes:
    基于所述第二对应关系,从所述播放开始节点,播放第一时长的所述目标视频;其中,所述第一时长为所述播放时间段。Based on the second correspondence, the target video of the first duration is played from the playback start node; wherein the first duration is the playback time period.
  6. 根据权利要求5所述的方法,其中,所述视频缩略图包括所述播放时间段内的至少一帧视频图像。The method according to claim 5, wherein the video thumbnail includes at least one frame of video image within the playing time period.
  7. 根据权利要求5所述的方法,其中,所述视频特征描述信息为所述播放时间段内对应的播放内容的描述信息。The method according to claim 5, wherein the video feature description information is the description information of the corresponding play content in the play time period.
  8. 一种电子设备,包括:An electronic device including:
    显示模块,用于显示目标视频的至少一个视频缩略图,所述视频缩略图包括所述目标视频的视频特征描述信息,且所述视频缩略图中包括目标人脸图像;A display module, configured to display at least one video thumbnail of the target video, the video thumbnail includes the video feature description information of the target video, and the video thumbnail includes the target face image;
    第一接收模块,用于接收用户对所述至少一个视频缩略图中的目标视频缩略图的第一输入;The first receiving module is configured to receive a user's first input of the target video thumbnail in the at least one video thumbnail;
    播放模块,用于响应于所述第一输入,播放目标时间节点的视频内容,所述目标时间节点为所述目标视频缩略图关联的视频播放时间节点,所述目标时间节点的视频内容中包括所述目标人脸图像。The play module is configured to play the video content of a target time node in response to the first input, where the target time node is a video play time node associated with the target video thumbnail, and the video content of the target time node includes The target face image.
  9. 根据权利要求8所述的电子设备,其中,所述目标人脸图像、所述视频缩略图和所述视频播放时间节点之间存在第一对应关系;8. The electronic device according to claim 8, wherein there is a first correspondence between the target face image, the video thumbnail, and the video playback time node;
    所述播放模块包括:The playing module includes:
    获取子模块,用于基于所述第一对应关系,获取与所述目标视频缩略图对应的所述目标时间节点;An obtaining submodule, configured to obtain the target time node corresponding to the target video thumbnail based on the first correspondence;
    播放子模块,用于播放所述目标时间节点的视频内容。The play sub-module is used to play the video content of the target time node.
  10. 根据权利要求9所述的电子设备,其中,所述第一对应关系存储在预设的索引信息表中,所述索引信息表为在所述电子设备中预先生成的,或者,所述索引信息表为从服务器中获取的。The electronic device according to claim 9, wherein the first correspondence relationship is stored in a preset index information table, and the index information table is pre-generated in the electronic device, or the index information The table is obtained from the server.
  11. 根据权利要求9所述的电子设备,还包括:The electronic device according to claim 9, further comprising:
    第二接收模块,用于接收用户对所述目标视频中的第一人脸图像的第二输入;The second receiving module is configured to receive the second input of the user to the first face image in the target video;
    人脸识别模块,用于响应于所述第二输入,对所述目标视频中的第一人脸图像进行人脸识别,得到包括所述第一人脸图像的第一视频缩略图和所述第一视频缩略图对应的第一视频播放时间节点;The face recognition module is configured to perform face recognition on the first face image in the target video in response to the second input to obtain the first video thumbnail image including the first face image and the The first video playback time node corresponding to the first video thumbnail;
    建立模块,用于建立所述第一人脸图像、所述第一视频缩略图和所述第一视频播放时间节点之间的第一对应关系并存储;An establishment module, configured to establish and store a first correspondence between the first face image, the first video thumbnail, and the first video playback time node;
    其中,所述至少一个视频缩略图均为所述第一视频缩略图。Wherein, the at least one video thumbnail is the first video thumbnail.
  12. 根据权利要求9所述的电子设备,其中,所述目标时间节点为播放开始节点,所述电子设备中还获取有播放时间段,所述播放开始节点和所述播放时间段之间存在第二对应关系;The electronic device according to claim 9, wherein the target time node is a play start node, the electronic device also acquires a play time period, and there is a second time period between the play start node and the play time period. Correspondence;
    所述播放模块还用于:基于所述第二对应关系,从所述播放开始节点,播放第一时长的所述目标视频;其中,所述第一时长为所述播放时间段。The playing module is further configured to: play the target video of a first duration from the playback start node based on the second correspondence; wherein, the first duration is the playback time period.
  13. 根据权利要求12所述的电子设备,其中,所述视频缩略图包括所述播放时间段内的至少一帧视频图像。The electronic device according to claim 12, wherein the video thumbnail includes at least one frame of video image within the playing time period.
  14. 根据权利要求12所述的电子设备,其中,所述视频特征描述信息为所述播放时间段内对应的播放内容的描述信息。The electronic device according to claim 12, wherein the video feature description information is the description information of the corresponding playing content in the playing time period.
  15. 一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1-7中任一项所述的视频播放方法中的步骤。An electronic device comprising: a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the processor implements any of claims 1-7 when the computer program is executed. One of the steps in the video playback method.
  16. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-7中任一项所述的视频播放方法中的步骤。A computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the video playback method according to any one of claims 1-7 are realized.
PCT/CN2020/139514 2019-12-26 2020-12-25 Video playback method and electronic device WO2021129818A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911365147.X 2019-12-26
CN201911365147.XA CN111050214A (en) 2019-12-26 2019-12-26 Video playing method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021129818A1 true WO2021129818A1 (en) 2021-07-01

Family

ID=70240114

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/139514 WO2021129818A1 (en) 2019-12-26 2020-12-25 Video playback method and electronic device

Country Status (2)

Country Link
CN (1) CN111050214A (en)
WO (1) WO2021129818A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050214A (en) * 2019-12-26 2020-04-21 维沃移动通信有限公司 Video playing method and electronic equipment
CN112929748B (en) * 2021-01-22 2022-07-15 维沃移动通信(杭州)有限公司 Video processing method, video processing device, electronic equipment and medium
CN117376649A (en) * 2022-06-30 2024-01-09 中兴通讯股份有限公司 Method and apparatus for video playback, and computer readable medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140089806A1 (en) * 2012-09-25 2014-03-27 John C. Weast Techniques for enhanced content seek
CN104142799A (en) * 2013-05-10 2014-11-12 Lg电子株式会社 Mobile terminal and controlling method thereof
CN104394422A (en) * 2014-11-12 2015-03-04 华为软件技术有限公司 Video segmentation point acquisition method and device
WO2016019841A1 (en) * 2014-08-04 2016-02-11 北京奇虎科技有限公司 Method and client for performing video fixed-point playing by means of picture
CN106851407A (en) * 2017-01-24 2017-06-13 维沃移动通信有限公司 A kind of control method and terminal of video playback progress
CN108228776A (en) * 2017-12-28 2018-06-29 广东欧珀移动通信有限公司 Data processing method, device, storage medium and electronic equipment
CN110557683A (en) * 2019-09-19 2019-12-10 维沃移动通信有限公司 Video playing control method and electronic equipment
CN111050214A (en) * 2019-12-26 2020-04-21 维沃移动通信有限公司 Video playing method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104995639B (en) * 2013-10-30 2018-11-06 宇龙计算机通信科技(深圳)有限公司 terminal and video file management method
CN104185073A (en) * 2014-08-04 2014-12-03 北京奇虎科技有限公司 Method and client for playing video by selecting corresponding video progress through picture

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140089806A1 (en) * 2012-09-25 2014-03-27 John C. Weast Techniques for enhanced content seek
CN104142799A (en) * 2013-05-10 2014-11-12 Lg电子株式会社 Mobile terminal and controlling method thereof
WO2016019841A1 (en) * 2014-08-04 2016-02-11 北京奇虎科技有限公司 Method and client for performing video fixed-point playing by means of picture
CN104394422A (en) * 2014-11-12 2015-03-04 华为软件技术有限公司 Video segmentation point acquisition method and device
CN106851407A (en) * 2017-01-24 2017-06-13 维沃移动通信有限公司 A kind of control method and terminal of video playback progress
CN108228776A (en) * 2017-12-28 2018-06-29 广东欧珀移动通信有限公司 Data processing method, device, storage medium and electronic equipment
CN110557683A (en) * 2019-09-19 2019-12-10 维沃移动通信有限公司 Video playing control method and electronic equipment
CN111050214A (en) * 2019-12-26 2020-04-21 维沃移动通信有限公司 Video playing method and electronic equipment

Also Published As

Publication number Publication date
CN111050214A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
WO2021104195A1 (en) Image display method and electronic device
WO2021036536A1 (en) Video photographing method and electronic device
US11675442B2 (en) Image processing method and flexible-screen terminal
WO2019223494A1 (en) Screenshot capturing method and mobile terminal
WO2021129818A1 (en) Video playback method and electronic device
WO2019196929A1 (en) Video data processing method and mobile terminal
WO2021083168A1 (en) Video sharing method and electronic device
WO2020020126A1 (en) Information processing method and terminal
US20200257433A1 (en) Display method and mobile terminal
WO2020238449A1 (en) Notification message processing method and terminal
WO2020233323A1 (en) Display control method, terminal device, and computer-readable storage medium
WO2021233293A1 (en) Note recording method and electronic device
WO2019196691A1 (en) Keyboard interface display method and mobile terminal
WO2021036553A1 (en) Icon display method and electronic device
WO2021129529A1 (en) Device switching method and related device
WO2020182035A1 (en) Image processing method and terminal device
WO2019223569A1 (en) Information processing method and mobile terminal
WO2020151513A1 (en) Information processing method and terminal device
WO2020156118A1 (en) Management method and terminal apparatus
WO2021077908A1 (en) Parameter adjusting method and electronic device
WO2020199986A1 (en) Video call method and terminal device
WO2020220893A1 (en) Screenshot method and mobile terminal
WO2021129732A1 (en) Display processing method and electronic device
WO2021104232A1 (en) Display method and electronic device

Legal Events

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

Ref document number: 20905964

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20905964

Country of ref document: EP

Kind code of ref document: A1

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 20905964

Country of ref document: EP

Kind code of ref document: A1