CN111918139B - Video playing method, device, equipment and storage medium - Google Patents
Video playing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN111918139B CN111918139B CN202010701311.6A CN202010701311A CN111918139B CN 111918139 B CN111918139 B CN 111918139B CN 202010701311 A CN202010701311 A CN 202010701311A CN 111918139 B CN111918139 B CN 111918139B
- Authority
- CN
- China
- Prior art keywords
- user
- backed
- time point
- information
- video
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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/47217—End-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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4882—Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a video playing method, a video playing device, video playing equipment and a storage medium, and belongs to the technical field of video playing. The method comprises the following steps: under the condition that the electronic equipment plays a video, determining a time point to be backed according to target information, wherein the target information comprises at least one of volume information, eardrum amplitude data of a user, face information of the user and display information of a notification message; displaying prompt information, wherein the prompt information comprises a time point to be backed; receiving a first input of a user according to the prompt message; and responding to the first input, and playing the video content corresponding to the time point to be backed as the starting point. According to the embodiment of the application, the problem that the video playing backspacing position is selected inaccurately due to the memory deviation of the user can be solved.
Description
Technical Field
The present application belongs to the technical field of video playing, and in particular, relates to a video playing method, apparatus, device and storage medium.
Background
With the rapid development of the mobile internet and the continuous popularization of the mobile terminal, users have more demands on the mobile internet. Nowadays, video playing is favored by more and more people as a practical function of mobile terminals, and users watching videos through mobile terminals are more and more.
When a user is watching a video, some video content may be missed for some special reasons. At this time, the user usually drags the play progress bar on the display interface according to his own memory, and autonomously selects the backspacing position. However, most users cannot exactly memorize the back-off time point of the video. Therefore, the user often needs to make multiple adjustments on the playing progress bar to reluctantly restore the playing progress of the video to the previous position, which affects the user experience to some extent.
Disclosure of Invention
The embodiment of the application aims to provide a video playing method, a video playing device, video playing equipment and a storage medium, and the problem that the selection of a video playing backspacing position is inaccurate due to the memory deviation of a user can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a video playing method, where the method includes:
under the condition that the electronic equipment plays a video, determining a time point to be backed according to target information, wherein the target information comprises at least one of volume information, eardrum amplitude data of a user, face information of the user and display information of a notification message;
displaying prompt information, wherein the prompt information comprises a time point to be backed, and the prompt information is used for prompting a user to back the video content to the time point to be backed;
receiving a first input of a user according to the prompt message;
and responding to the first input, and playing the video content corresponding to the time point to be backed as the starting point.
In a second aspect, an embodiment of the present application provides a video playing apparatus, where the apparatus includes:
the determining module is used for determining a time point to be backed according to target information under the condition that the electronic equipment plays a video, wherein the target information comprises at least one of volume information, eardrum amplitude data of a user, face information of the user and display information of a notification message;
the display module is used for displaying prompt information, the prompt information comprises a time point to be backed, and the prompt information is used for prompting a user to back the video content to the time point to be backed;
the receiving module is used for receiving first input of a user according to the prompt message;
and the playing module is used for responding to the first input and playing the video content corresponding to the starting point which is the time point to be backed.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the video playing method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, and when executed by a processor, the program or instructions implement the steps of the video playing method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the video playing method according to the first aspect.
In the embodiment of the application, a time point to be backed-off for playing the video content can be determined according to at least one target information of volume information of the electronic device, eardrum amplitude data of the user, face information of the user and display information of the notification message, and prompt information including the time point to be backed-off is displayed, so that the user is prompted to back the video content to the time point to be backed-off. When the first input of the user according to the prompt message is received, the video content corresponding to the time point to be backed can be directly played. Therefore, when the user misses some video contents in the process of watching the video, the video contents can be returned to the accurate time point to be returned according to the displayed prompt information, the playing progress of the video can be restored to the previous position without being adjusted on the playing progress bar, the accuracy of the returning position is guaranteed while the operation difficulty is reduced, and the use experience of the user is improved.
Drawings
Fig. 1 is a schematic flowchart of a video playing method according to an embodiment of the present application;
fig. 2 is a schematic view of a video playing interface provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of another video playing interface provided in the embodiments of the present application;
FIG. 4 is a schematic diagram of another video playing interface provided in the embodiment of the present application;
FIG. 5 is a schematic diagram of another video playing interface provided in the embodiment of the present application;
FIG. 6 is a schematic diagram of another video playing interface provided in the embodiments of the present application;
FIG. 7 is a schematic diagram of another video playing interface provided in the embodiment of the present application;
fig. 8 is a schematic structural diagram of a video playback device according to an embodiment of the present application;
fig. 9 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application;
fig. 10 is a schematic hardware structure diagram of another electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
With the rapid development of the mobile internet and the continuous popularization of the mobile terminal, users have more demands on the mobile internet. Nowadays, video playing is favored by more and more people as a real-time function of a mobile terminal, and users watching videos through the mobile terminal are more and more.
In the prior art, when a user watches videos, some video contents may be missed for some special reasons. At this time, the user usually drags the play progress bar on the display interface according to his own memory, and autonomously selects the backspacing position. However, most users cannot exactly memorize the back-off time point of the video. Therefore, the user often needs to make multiple adjustments on the playing progress bar to reluctantly restore the playing progress of the video to the previous position, which affects the user experience to some extent.
In order to solve the problem that the selection of a video playing backspacing position is inaccurate due to user memory deviation in the prior art, the embodiment of the present application provides a video playing method, and the video playing method provided by the embodiment of the present application is described in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a video playing method provided in an embodiment of the present application, where an execution main body of the video playing method may be an electronic device, and as shown in fig. 1, the video playing method provided in the embodiment of the present application may include:
The time point to be backed can be a corresponding playing position of the video content which the user wants to return to watch on the playing progress bar in the process of watching the video.
Specifically, the target information includes at least one of volume information, eardrum amplitude data of the user, face information of the user, display information of a notification message.
And 102, displaying prompt information, wherein the prompt information comprises a time point to be backed off.
Specifically, when the electronic device acquires a time point to be backed for playing the video content, the electronic device displays prompt information including the time point to be backed, and prompts a user to back the video content to the time point to be backed.
In one embodiment, the prompt message may be a target position displayed on the play progress bar, the target position corresponding to the time point to be backed.
In one embodiment, the prompt message may be a highlighted point on the play progress bar, for example, as shown in fig. 2, the highlighted point is displayed in white, and the user may know the exact time point to be backed off according to the highlighted point.
In the embodiment of the present application, the highlighted dot may be displayed in white, or may be displayed in a color other than white. The display mode of the target position in the embodiment of the present application is not limited to highlight display, and may be a display mode different from the current play progress position, such as shape display.
In one embodiment, the hint information may be a target location and a message box corresponding to a point in time to fall back.
For example, as shown in fig. 3, a message box corresponds to a target position displayed on the play progress bar, and the message box is used to prompt the user that the target position can be returned to.
In one embodiment, the first input comprises a user click input to the prompt message.
For example, as shown in fig. 4, the prompt is a white point highlighted on the play progress bar, and the user can click on the point. Thus, the electronic device can receive the click input of the user to the point.
For another example, as shown in fig. 5, the prompt information is a white point highlighted on the play progress bar and a message prompt box corresponding to the point, which the user can click. Thus, the electronic device can receive the click input of the message prompt box by the user.
In one embodiment, the first input includes a drag input of the play progress bar by the user according to the prompt information.
For example, as shown in fig. 6, the user may drag the play progress bar to a target position corresponding to the highlighted white point according to the prompt information. Thus, the electronic device can receive the dragging input of the user to the playing progress bar.
And 104, responding to the first input, and playing the video content corresponding to the time point to be backed as the starting point.
Specifically, after receiving a first input of a user, in response to the first input, directly playing the video content corresponding to the time point to be rewound as a starting point.
For example, as shown in fig. 7, the time point to be backed off is 13:55 on the play progress bar, and in response to the first input, the video content corresponding to 13:55 is directly played.
In this way, when the user wants to return to watching during watching the video, the playing progress of the video can be directly restored to the previous position by clicking input according to the prompt information or input of dragging the progress bar. And repeated manual adjustment is not needed, so that the operation difficulty is reduced, and the use experience of a user is ensured.
According to the video playing method provided by the embodiment of the application, the time point to be backed of the video content can be determined according to at least one target information of the volume information of the electronic equipment, the eardrum amplitude data of the user, the face information of the user and the display information of the notification message, and the prompt information including the time point to be backed is displayed, so that the user is prompted to back the video content to the time point to be backed. When the first input of the user according to the prompt message is received, the video content corresponding to the time point to be backed can be directly played. Therefore, when the user misses some video contents in the process of watching the video, the video contents can be returned to the accurate time point to be returned according to the displayed prompt information, the playing progress of the video can be restored to the previous position without being adjusted on the playing progress bar, the accuracy of the returning position is guaranteed while the operation difficulty is reduced, and the use experience of the user is improved.
Optionally, in an embodiment, when the user is interfered by sound generated by an external environment during watching the video, the target information may be volume information of the external environment, and determining the time point to be backed off according to the target information may include: firstly, acquiring volume information of an external environment; then, determining the amplitude of the volume of the external environment to the electronic equipment according to the volume information of the external environment; and finally, under the condition that the amplitude is larger than a first preset threshold value, determining the moment of acquiring the volume information of the external environment as a time point to be backed.
For example, the electronic device includes a microphone device through which the electronic device can receive sounds of the external environment. Therefore, the amplitude generated by the volume of the external environment to the electronic device may be the amplitude of the vibration generated by the volume of the external environment to the microphone device.
In an embodiment, the electronic device may determine the first preset threshold in advance, and specifically may include: firstly, acquiring volume information of the electronic equipment; then, determining the amplitude of the volume of the electronic equipment to the electronic equipment according to the volume information of the electronic equipment; and finally, determining a first preset threshold according to the amplitude and the preset coefficient of the volume of the electronic equipment to the electronic equipment.
The preset coefficient is a numerical value larger than 1, and the first preset threshold is a product of the amplitude generated by the volume of the electronic equipment to the electronic equipment and the preset coefficient.
For example, the preset coefficient is M (M >1), the electronic device includes an audio device, the amplitude of the sound volume of the electronic device to the electronic device may be a vibration amplitude N of the sound volume of the electronic device to the audio device, and the first preset threshold is L, where L is M × N. When the amplitude of the external environment volume to the microphone device is larger than L, the user is judged to receive the interference, and at the moment, the electronic device determines that the moment when the microphone device acquires the external environment volume information is the time point to be backed off for playing the video content.
Therefore, when the user watches the video, the electronic equipment can determine the vibration amplitude of the sound of the external environment to the electronic equipment, and judge whether the user is interfered by the external sound by comparing the vibration amplitude with the preset threshold value. When the user is judged to be interfered by the external sound, the electronic equipment determines that the moment of acquiring the external sound is the time point to be backed of the video content, so that the user is assisted to watch the video content which is interfered by the external sound before, and the video watching experience of the user is improved.
Optionally, in another embodiment, when the user is disturbed by sound generated by an external environment during the process of watching the video, the target information may be volume information of the electronic device, and determining the time point to be backed off according to the target information may include: firstly, acquiring volume information of the electronic equipment within a first preset time period from a first moment to a second moment; then, determining the volume adjustment amplification of the electronic equipment according to the volume information of the electronic equipment in a first preset time period; and finally, determining the first moment as a time point to be backed off under the condition that the volume adjustment amplification is greater than a second preset threshold value.
The first preset time period and the second preset threshold value can be set according to specific requirements of users.
For example, the first preset time period may be 5 seconds, and the second preset threshold may be 30%. The electronic equipment acquires video playing volume under the condition of playing a video, and when the video playing volume is adjusted from 50 to 75 within 5 seconds of 10:01-10:06 of the video playing progress, the volume adjustment amplification within 5 seconds is determined to be 50% and is more than 30%. At this time, the electronic device determines that the time when the video playing volume is acquired for the first time, namely 10:01, is a time point to be backed.
Therefore, when a user watches videos, the electronic equipment can determine the volume adjustment amplification by acquiring the video playing volume within a period of time, and judge whether the user is interfered by external sounds by comparing the volume adjustment amplification with the preset threshold value. When the fact that the user is interfered by external sound is judged, the electronic equipment determines that the moment when the video playing volume is obtained for the first time is the time point to be backed of the video content, so that the user can be helped to watch the video content which is interfered by the external sound before, and the video watching experience of the user is improved.
Optionally, in another embodiment, when the user is disturbed by sound generated by an external environment during watching a video, the target information may be ear drum amplitude data of the user, and determining the time point to be backed off according to the target information may include: firstly, obtaining ear drum amplitude data of a user; and then, under the condition that the video playing volume is not adjusted and the eardrum amplitude of the user is larger than a third preset threshold value, determining the time for acquiring the eardrum amplitude data of the user as a time point to be backed.
The third preset threshold may be an eardrum amplitude value formed by a preset maximum video playing volume of the electronic device.
The headset may act as a sensor when the user is using the headset. When the ear receives external environment sound and the earphone outputs sound, the eardrum vibrates, and the sound amplification equipment (metal) in the earphone vibrates correspondingly in the ear canal due to the eardrum vibration. At this time, the earphone collects the amplitude data of the public address device, and transmits the amplitude data to the electronic device as eardrum amplitude data by means of earphone data transmission line or bluetooth transmission. Thus, the electronic device can successfully acquire the ear drum amplitude data of the user.
The eardrum amplitude reflects the volume of sound received by the ear, and under the condition that the video playing volume is not adjusted, if the eardrum amplitude of the user exceeds an eardrum amplitude value which can be formed by the preset maximum video playing volume, the user is judged to be interfered. At this time, the electronic device determines that the time when the eardrum amplitude data of the user is acquired is the time point to be retracted.
Therefore, when the user watches the video, the electronic device can judge whether the user is interfered by the external sound by comparing the current eardrum amplitude of the user with the size of the eardrum amplitude value which can be formed by the preset maximum video playing volume. When the user is judged to be interfered by external sound, the electronic equipment determines that the moment of acquiring the eardrum amplitude data of the user is the time point to be backed of playing the video content, so that the user is assisted to watch the video content which is interfered by the external sound before, and the video watching experience of the user is improved.
During the process of watching the video, the user may not watch part of the video content for some special reasons, and therefore wants to return to continue watching. At this time, the electronic device may acquire the time point to be backed-off for playing the video content when the user does not view the video content for a period of time.
Optionally, in an embodiment, the target information may be face information of the user, and determining the time point to be backed according to the target information may include: firstly, acquiring face information of a user; then, when the face information of the user is not acquired continuously within a second preset time period, determining that the time when the face information of the user is not acquired for the first time is a time point to be backed off.
For example, the second preset time period may be 60 seconds. The electronic equipment continuously acquires the face information of the user under the condition of playing the video content, and when the face information of the user is not continuously acquired within 60 seconds between 10:01 and 11:01 of the video playing progress, 10:01, namely the moment when the electronic equipment does not acquire the face information of the user for the first time, is determined as a time point to be backed.
Optionally, in an embodiment, in the case of playing a video, the electronic device may also obtain the face information of the user once every preset time.
For example, the electronic device acquires the face information of the user once every 10 seconds, counts the number of times the face information of the user is not acquired within a second preset time period, and compares the number of times the face information of the user is not acquired with a fifth preset threshold. And when the frequency of not acquiring the face information of the user is greater than a fifth preset threshold value, determining that the moment when the electronic equipment does not acquire the face information of the user for the first time is a time point to be backed.
Optionally, in another embodiment, the target information may also be line-of-sight information of the user, and determining a time point to be backed off according to the target information may include: firstly, obtaining sight line information of a user in a fourth preset time period; then, determining the times that the sight of the user watching the video content exceeds the target range within a fourth preset time period according to the sight information of the user; and finally, under the condition that the times are greater than a sixth preset threshold value, determining the moment when the sight of the user watching the video content exceeds the target range for the first time as a time point to be backed.
The target range is a display range of the video content on the electronic equipment. For example, when the video content is played in a full screen, the target range is a screen range of the electronic device. The sixth preset threshold and the fourth preset time period may be set according to specific requirements of a user. The fourth preset time period may be the same as the second preset time period, or may be different from the second preset time period.
Specifically, in the case of playing a video, the electronic device acquires the sight line information of the user watching the video content by continuously identifying the eye focus of the user, and records the number of times that the sight line of the user exceeds the screen range of the electronic device within a fourth preset time period. And when the times of exceeding the screen range of the electronic equipment is greater than a sixth preset threshold, determining the moment when the sight of the user firstly exceeds the target range as a time point to be retracted.
Optionally, in one embodiment, when the user enters live viewing of live video during live viewing, the electronic device may automatically save live video content that the user did not view before using a caching function. When the user watches the live broadcast cache, a double-speed playing function is provided to assist the user to quickly watch missed live broadcast video content.
In this way, when the user is watching the video, the electronic device may determine the watching state information of the user within the preset time period by acquiring the facial information or the eye information of the user. When the watching state information of the user in the preset time period is judged to be continuous watching or multiple times of watching, the user is determined to miss the video content, and the moment when the user does not watch the video content for the first time in the preset time period is determined as a time point to be backed, so that the user is assisted to watch the video content missed before, and the video watching experience of the user is improved.
During the process of watching the video, the user may want to return to continue watching due to the interest in a certain piece of video content. At this time, the electronic device may acquire the time point to be backed-back for playing the video content when the user is interested in a certain piece of video content.
Optionally, in an embodiment, the target information is line-of-sight information of the user, and determining a time point to be backed off according to the target information may include: firstly, obtaining sight line information of a user in a fifth preset time period, wherein the fifth preset time period is from fifth time to sixth time; then, determining the sight line activity area of the user in unit time within a fifth preset time period according to the sight line information; and finally, under the condition that the sight line activity area in unit time is smaller than a seventh preset threshold, determining that the fifth moment is a time point to be retracted.
Specifically, the electronic device may determine the seventh preset threshold in advance.
In one embodiment, determining the seventh preset threshold may include: firstly, acquiring a target range S0 and time t0 when the eyes of a user browse the whole target range; then, when the user eyes browse the whole target range according to the target range S0 and the time t0, the sight line activity area per unit time S0/t0, namely a seventh preset threshold value, is determined.
It is understood that when the video content is played in full screen, the target range S0 may be a screen range of the electronic device, t0 is a time of the user 'S eyes browsing the entire screen range, and S0/t0 is a maximum range of the user' S gaze activity in a unit time. In real life, when a user watches video content played in a full screen, the user does not usually scan the full screen range with eyes. Therefore, if it is recognized that the sight line activity area per unit time of the user watching the video content is smaller than S0/t0 in a period of time, it indicates that the sight line of the user watching the video content is more concentrated, and the sight line of the user in the period of time does not leave the range of the screen. Further, the electronic device can determine that the user is interested in the piece of video content.
Specifically, in the case of playing the video content, the electronic device obtains the line-of-sight activity area S1 of the user when watching the video content by continuously recognizing the eye focus of the user within a fifth preset time period t1-t2, and determines the line-of-sight activity area S1/(t2-t1) of the user per unit time when watching the video content. And if the S1/(t2-t1) is smaller than the second preset threshold S0/t0, judging that the sight lines of the users are more concentrated within a fifth preset time period t1-t 2. Further, it is determined that the user is interested in the video content. At this time, the electronic device determines t1 as a time point to be backed off.
Optionally, in an embodiment, in the case of playing the video content, the electronic device may also determine whether the user is interested in the piece of video content by recognizing a facial expression of the user when watching the video content.
For example, when the electronic device identifies that the facial expression of the user watching the piece of video content is in an "excited state" or an "excited state" during the process of watching the video, it may be determined that the user is interested in the piece of video content, and the time when the facial expression of the user is identified is the time point to be backed.
Optionally, in an embodiment, in the case of playing the video content, the electronic device may also determine whether the user is interested in the piece of video content by identifying eye pupil changes when the user watches the video content.
For example, when the user watches a video, the electronic device recognizes that the eye pupil change of the user is obvious when the user watches the video content, and at this time, it may be determined that the user is interested in the video content, and it is determined that the time when the eye pupil change of the user is recognized is the time point to be retracted.
In this way, when the user watches the video, the electronic device may determine the watching state information of the user within the preset time period by acquiring the eye information or the facial expression of the user. When the fact that the sight lines of the users watching the videos are concentrated or the facial expressions of the users are excited in the preset time period is judged, the users are indicated to be interested in the watched video contents. At this time, the electronic device may determine that the starting time of the segment of video content is a time point to be backed-off for playing the video content, so as to assist the user to watch the interested video content again, and improve the video watching experience of the user.
During the process of watching the video, the electronic equipment receives some notification messages at the same time, for example, some notification messages of the instant messaging application program. When notification messages are frequently received within a period of time, the notification messages may frequently obscure a screen of the electronic device, causing some interference to the viewing experience of the user.
Optionally, in an embodiment, the target information may be display information of the notification message, the display information of the notification message may include the number of times of displaying the notification message, and determining the time point to be rolled back according to the target information may include: firstly, acquiring the display times of a notification message in a third preset time period from a third moment to a fourth moment; and then, under the condition that the display times are greater than a fourth preset threshold value, determining that the third time is a time point to be backed.
The notification message may include an application notification message and a system notification message, and the third preset time period and the fourth preset threshold may be set according to specific requirements of the user.
For example, the third preset time may be 5 seconds, and the fourth preset threshold may be 3 times. The electronic equipment acquires the display times of the notification messages under the condition of playing the video content, and when the display times of the notification messages acquired within 5 seconds of the video playing progress of 10:01-10:06 is 4 times, the display times of the notification messages within 5 seconds are determined to be more than 3 times. At this time, the electronic device determines that the time when the notification message is acquired for the first time, namely 10:01, is a time point to be backed.
Therefore, when the user watches the video, the electronic equipment can acquire the times of displaying the notification message on the screen of the electronic equipment, and judge whether the user is interfered by the message or not through the display times and the preset threshold value. When the fact that the user is interfered by the message is judged, the electronic equipment determines that the moment when the notification message is acquired for the first time is the time point to be backed of the video content, so that the user can be assisted to watch the video content which is subjected to the visual interference before, and the video watching experience of the user is improved.
During the process of watching the video, the user may want to return to continue watching due to some special factors. At this time, the user can autonomously select the backspacing position according to the playing progress bar memorized and dragged on the display interface. At this time, the electronic device may obtain the video content corresponding to the backspacing position selected by the user, and determine the time point to be backspacing according to the target scene to which the video content belongs.
In one embodiment, determining a time point to be backed off according to the target information may include: firstly, displaying a playing progress bar under the condition of playing video content; then, receiving a second input that the user selects the target video content on the playing progress bar; and finally, responding to the second input, and determining a time point to be backed off according to the target video content.
And the second input is input of autonomously selecting a backspacing position by dragging a playing progress bar on the display interface according to self memory of a user, and the target video content is the video content corresponding to the backspacing position.
For example, after the electronic device receives a second input that the user selects the target video content on the play progress bar, the electronic device may analyze the scene of the target video content, determine the target scene to which the target video content belongs, and select a relatively consecutive segment of video content that is the same as the target scene. At this time, the electronic device determines that the playing position corresponding to the first frame video image of the video content is the time point to be backed.
Therefore, when a user wants to actively select the target video content in the process of watching the video, the electronic device determines the target video content corresponding to the backspacing position after receiving the input of the user for autonomously selecting the backspacing position, and determines a relatively coherent segment of video content with the same scene as the target video content through the analysis of the target video content. At this time, the electronic device determines that the playing position corresponding to the first frame of video image of the video content is the time point to be backed, so that the user is prevented from missing the video content, and the video watching experience of the user is improved.
It should be noted that the electronic device in the embodiment of the present application may include at least one of the following: the mobile phone, the tablet personal computer, the intelligent wearable device and the like have the functions of receiving information and displaying information.
It should be noted that, in the video playing method provided in the embodiment of the present application, the execution main body may be an electronic device, and may also be a video playing device or a module in the video playing device for executing the video playing method.
In the embodiment of the present application, a video playing device executing a video playing method is taken as an example to describe the video playing device provided in the embodiment of the present application.
Fig. 8 is a schematic structural diagram of a video playback device 800 according to the present application.
As shown in fig. 8, the video playing apparatus provided by the present application may include: a determining module 801, a displaying module 802, a receiving module 803 and a playing module 804.
The determining module 801 is configured to determine a time point to be backed according to target information when the electronic device plays a video, where the target information includes at least one of volume information, eardrum amplitude data of a user, face information of the user, and display information of a notification message;
a display module 802, configured to display a prompt message, where the prompt message includes a time point to be backed, and the prompt message is used to prompt a user to back video content to the time point to be backed;
a receiving module 803, configured to receive a first input according to the prompt information;
the playing module 804 is configured to play, in response to the first input, video content corresponding to a time point to be rewound as a starting point.
In some embodiments, the volume information includes volume information of the external environment, the apparatus further comprising:
the acquisition module is used for acquiring volume information of an external environment;
the determining module 801 is further configured to determine, according to the volume information of the external environment, an amplitude of the volume of the external environment generated to the electronic device;
the determining module 801 is further configured to determine, when the amplitude is greater than a first preset threshold, that a time when the volume information of the external environment is acquired is a time point to be backed off.
In some embodiments, the volume information includes volume information of the electronic device, the apparatus further comprising:
the acquisition module is used for acquiring volume information of the electronic equipment within a first preset time period from a first moment to a second moment;
the determining module 801 is further configured to determine, according to the volume information of the electronic device in the first preset time period, a volume adjustment amplification of the electronic device;
the determining module 801 is further configured to determine that the first time is a time point to be backed off when the volume adjustment amplification is greater than a second preset threshold.
In some embodiments, the apparatus further comprises:
the acquisition module is used for acquiring eardrum amplitude data of a user;
the determining module 801 is further configured to determine, when the video playing volume is not adjusted and the eardrum amplitude of the user is greater than a third preset threshold, that the time when the eardrum amplitude data of the user is acquired is a time point to be backed.
In some embodiments, the apparatus further comprises:
the acquisition module is used for acquiring the face information of a user;
the determining module 801 is further configured to determine, when the face information of the user is not acquired continuously within a second preset time period, that a time when the face information of the user is not acquired for the first time is a time point to be backed off.
In some embodiments, the display information of the notification message includes a number of times the notification message is displayed, the apparatus further comprising:
the acquisition module is used for acquiring the display times of the notification message in a third preset time period from the third moment to the fourth moment;
the determining module 801 is further configured to determine that the third time is a time point to be backed off when the display frequency is greater than a fourth preset threshold.
The video playing device provided by the embodiment of the application can determine the time point to be backed of playing video content according to at least one target information of volume information of the electronic equipment, eardrum amplitude data of a user, face information of the user and display information of a notification message, and display prompt information including the time point to be backed, so that the user is prompted to back the video content to the time point to be backed. When the first input of the user according to the prompt message is received, the video content corresponding to the time point to be backed can be directly played. Therefore, when the user misses some video contents in the process of watching the video, the video contents can be returned to the accurate time point to be returned according to the displayed prompt information, the playing progress of the video can be restored to the previous position without being adjusted on the playing progress bar, the accuracy of the returning position is guaranteed while the operation difficulty is reduced, and the use experience of the user is improved.
The video playing apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The video playing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The video playing apparatus provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 9, an electronic device 900 is further provided in this embodiment of the present application, and includes a processor 901, a memory 902, and a program or an instruction stored in the memory 902 and executable on the processor 901, where the program or the instruction is executed by the processor 901 to implement each process of the above-mentioned video playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 10 is a schematic hardware structure diagram of another electronic device for implementing the embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
The processor 1010 is configured to determine a time point to be backed according to target information when the electronic device plays a video, where the target information includes at least one of volume information, eardrum amplitude data of a user, face information of the user, and display information of a notification message;
a user input unit 1007 configured to receive a first input by a user according to the prompt information;
the display unit 1006 is configured to display a prompt message, where the prompt message includes a time point to be backed, and the prompt message is used to prompt the user to back the video content to the time point to be backed.
In some embodiments, the processor 1010 is further configured to determine, according to the volume information of the external environment, an amplitude of the volume of the external environment generated to the electronic device;
the processor 1010 is further configured to determine, when the amplitude is greater than a first preset threshold, that a time when the volume information of the external environment is acquired is a time point to be backed off.
In some embodiments, the processor 1010 is further configured to determine a volume adjustment amplification of the electronic device according to the volume information of the electronic device within a first preset time period;
the processor 1010 is further configured to determine that the first time is a time point to be backed off when the volume adjustment amplification is greater than a second preset threshold.
In some embodiments, the processor 1010 is further configured to determine, when the video playback volume is not adjusted and the eardrum amplitude of the user is greater than a third preset threshold, that the time at which the eardrum amplitude data of the user is acquired is a time point to be backed.
In some embodiments, the processor 1010 is further configured to determine, when the face information of the user is not acquired for a second preset time period, that a time at which the face information of the user is not acquired for the first time is a time point to be backed off.
In some embodiments, the processor 1010 is further configured to determine the third time point as a time point to be backed off if the number of times of display is greater than a fourth preset threshold.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the video playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above video playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (8)
1. A video playback method, comprising:
under the condition that the electronic equipment plays a video, determining a time point to be backed according to target information, wherein the target information comprises eardrum amplitude data of a user;
displaying prompt information, wherein the prompt information comprises the time point to be backed, and the prompt information is used for prompting a user to back the video content to the time point to be backed;
receiving a first input of the user according to the prompt message;
responding to the first input, and playing the video content corresponding to the time point to be backed as a starting point;
the determining the time point to be backed off according to the target information comprises the following steps:
acquiring eardrum amplitude data of the user;
and under the condition that the video playing volume is not adjusted and the eardrum amplitude of the user is greater than a third preset threshold value, determining the time for acquiring the eardrum amplitude data of the user as the time point to be backed.
2. The method according to claim 1, wherein the target information further includes volume information of an external environment, and the determining a time point to be backed off according to the target information further includes:
acquiring volume information of the external environment;
determining the amplitude of the volume of the external environment to the electronic equipment according to the volume information of the external environment;
and under the condition that the amplitude is larger than a first preset threshold value, determining the moment of acquiring the volume information of the external environment as the time point to be backed.
3. The method of claim 1, wherein the target information further includes volume information of the electronic device, and wherein determining a time point to be backed off according to the target information further comprises:
acquiring volume information of the electronic equipment within a first preset time period from a first moment to a second moment;
determining the volume adjustment amplification of the electronic equipment according to the volume information of the electronic equipment in the first preset time period;
and determining the first moment as the time point to be backed off when the volume adjustment amplification is larger than a second preset threshold value.
4. The method according to claim 1, wherein the target information further includes a number of times of display of a notification message, and the determining a time point to be backed off according to the target information further includes:
acquiring the display times of the notification message in a third preset time period from the third moment to the fourth moment;
and determining the third moment as the time point to be backed off when the display times are larger than a fourth preset threshold.
5. A video playback apparatus, comprising:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a time point to be backed according to target information under the condition that the electronic equipment plays a video, and the target information comprises eardrum amplitude data of a user;
the display module is used for displaying prompt information, the prompt information comprises the time point to be backed, and the prompt information is used for prompting a user to back the video content to the time point to be backed;
the receiving module is used for receiving first input of the user according to the prompt message;
the playing module is used for responding to the first input and playing the video content corresponding to the time point to be backed as a starting point;
the device further comprises:
an obtaining module, configured to obtain eardrum amplitude data of the user;
the determining module is further configured to determine, when the video playing volume is not adjusted and the eardrum amplitude of the user is greater than a third preset threshold, that the time at which the eardrum amplitude data of the user is obtained is the time point to be backed.
6. The apparatus of claim 5, wherein the target information further comprises volume information of an external environment;
the acquisition module is further used for acquiring volume information of the external environment;
the determining module is further configured to determine, according to the volume information of the external environment, an amplitude of the volume of the external environment to the electronic device;
the determining module is further configured to determine, when the amplitude is greater than a first preset threshold, that the time when the volume information of the external environment is acquired is the time point to be backed off.
7. The apparatus of claim 5, wherein the target information further comprises volume information of the electronic device;
the acquisition module is further configured to acquire volume information of the electronic device within a first preset time period, where the first preset time period is from a first time to a second time;
the determining module is further configured to determine a volume adjustment amplification of the electronic device according to the volume information of the electronic device within the first preset time period;
the determining module is further configured to determine that the first time is the time point to be backed off when the volume adjustment amplification is greater than a second preset threshold.
8. The apparatus of claim 5, wherein the target information further comprises a number of times a notification message is displayed;
the obtaining module is further configured to obtain the display times of the notification message within a third preset time period, where the third preset time period is from a third time to a fourth time;
the determining module is further configured to determine that the third time is the time point to be backed off when the display frequency is greater than a fourth preset threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010701311.6A CN111918139B (en) | 2020-07-20 | 2020-07-20 | Video playing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010701311.6A CN111918139B (en) | 2020-07-20 | 2020-07-20 | Video playing method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111918139A CN111918139A (en) | 2020-11-10 |
CN111918139B true CN111918139B (en) | 2022-04-26 |
Family
ID=73280497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010701311.6A Active CN111918139B (en) | 2020-07-20 | 2020-07-20 | Video playing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111918139B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113709566B (en) * | 2021-08-11 | 2024-03-22 | 咪咕数字传媒有限公司 | Method, device, equipment and computer storage medium for playing multimedia content |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105430508B (en) * | 2015-11-27 | 2019-01-25 | 华为技术有限公司 | Video broadcasting method and device |
CN106713653B (en) * | 2017-01-10 | 2020-06-30 | Oppo广东移动通信有限公司 | Audio and video playing control method and device and terminal |
CN110324694B (en) * | 2019-06-11 | 2022-06-07 | 福建天泉教育科技有限公司 | Video playing method and storage medium |
CN110337032A (en) * | 2019-06-11 | 2019-10-15 | 福建天泉教育科技有限公司 | Video broadcasting method, storage medium based on attention rate |
CN111263170B (en) * | 2020-01-17 | 2021-06-08 | 腾讯科技(深圳)有限公司 | Video playing method, device and equipment and readable storage medium |
-
2020
- 2020-07-20 CN CN202010701311.6A patent/CN111918139B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111918139A (en) | 2020-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107801096B (en) | Video playing control method and device, terminal equipment and storage medium | |
CN105224349B (en) | Application program deletion prompting method and device | |
CN108616448B (en) | Information sharing path recommendation method and mobile terminal | |
CN112153396B (en) | Page display method, device, system and storage medium | |
CN111145093A (en) | Image display method, image display device, electronic device, and storage medium | |
CN110392304A (en) | A kind of video display method, apparatus, electronic equipment and storage medium | |
CN112969087A (en) | Information display method, client, electronic equipment and storage medium | |
CN111970566A (en) | Video playing method and device, electronic equipment and storage medium | |
CN106331328B (en) | Information prompting method and device | |
CN111010608A (en) | Video playing method and electronic equipment | |
CN112261218A (en) | Video control method, video control device, electronic device, and readable storage medium | |
CN111970561B (en) | Video cover generation method, system, device, electronic equipment and storage medium | |
CN111770374B (en) | Video playing method and device | |
CN111918139B (en) | Video playing method, device, equipment and storage medium | |
CN112685599B (en) | Video recommendation method and device | |
CN114422854A (en) | Data processing method and device, electronic equipment and storage medium | |
CN112261470A (en) | Audio processing method and device | |
CN110162366B (en) | Information display method and device, electronic equipment and storage medium | |
CN116437155A (en) | Live broadcast interaction method and device, computer equipment and storage medium | |
CN116233554A (en) | Video playing method, device, electronic equipment and storage medium | |
CN112732374A (en) | Page display method, display device, electronic equipment and storage medium | |
CN114025047B (en) | Message processing method, device, system, electronic equipment and storage medium | |
CN115543137A (en) | Video playing method and device | |
CN114594854B (en) | Electronic equipment control method and device, electronic equipment and storage medium | |
CN115643445A (en) | Interaction processing method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |