CN112383827B - Video playing control method and device - Google Patents

Video playing control method and device Download PDF

Info

Publication number
CN112383827B
CN112383827B CN202011250236.2A CN202011250236A CN112383827B CN 112383827 B CN112383827 B CN 112383827B CN 202011250236 A CN202011250236 A CN 202011250236A CN 112383827 B CN112383827 B CN 112383827B
Authority
CN
China
Prior art keywords
playing
target video
video
type
control
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
Application number
CN202011250236.2A
Other languages
Chinese (zh)
Other versions
CN112383827A (en
Inventor
王奇
邱学侃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Lexuebang Network Technology Co Ltd
Original Assignee
Beijing Lexuebang Network Technology Co Ltd
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 Beijing Lexuebang Network Technology Co Ltd filed Critical Beijing Lexuebang Network Technology Co Ltd
Priority to CN202011250236.2A priority Critical patent/CN112383827B/en
Publication of CN112383827A publication Critical patent/CN112383827A/en
Application granted granted Critical
Publication of CN112383827B publication Critical patent/CN112383827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • 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/439Processing of audio elementary streams
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • 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
    • 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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a video playing control method and a video playing control device, which relate to the technical field of video playing, and the video playing control method comprises the following steps: when a target video is playing, firstly acquiring the playing type of the target video and detecting the posture information of electronic equipment playing the target video; then, determining a playing control instruction for the target video according to the attitude information and the playing type; and finally, performing corresponding play control on the target video according to the play control instruction so as to realize non-point contact type interactive video control, thereby improving the operation convenience degree of the electronic equipment for the video.

Description

Video playing control method and device
Technical Field
The present application relates to the field of video playing, and in particular, to a video playing control method and apparatus.
Background
With continuous progress of science and technology, more and more electronic equipment and wearable equipment appear in front of people, bring huge convenience for people. Most electronic devices and wearable devices have their own display screens, so that the display screens can display numerical values, images or videos. However, in practice, it is found that both the electronic device and the wearable device need to be manually controlled in a point-touch operation during the video playing process, so that the convenience of the electronic device in video operation is reduced.
Disclosure of Invention
An object of the embodiments of the present application is to provide a video playing control method and apparatus, so as to implement non-point-contact interactive video control, thereby improving the operation convenience of an electronic device for video.
A first aspect of an embodiment of the present application provides a video playing control method, including:
when a target video is being played, acquiring the playing type of the target video and detecting the posture information of electronic equipment playing the target video;
determining a playing control instruction for the target video according to the attitude information and the playing type;
and performing corresponding playing control on the target video according to the playing control instruction.
In the implementation process, when the target video is playing, firstly, the playing type of the target video is obtained and the posture information of the electronic equipment playing the target video is detected; then, determining a playing control instruction for the target video according to the attitude information and the playing type; and finally, performing corresponding play control on the target video according to the play control instruction so as to realize non-point contact type interactive video control, thereby improving the operation convenience degree of the electronic equipment for the video.
Further, the determining a play control instruction for the target video according to the gesture information and the play type includes:
acquiring a control mapping table matched with the playing type;
and determining a control instruction corresponding to the attitude information according to the control mapping table.
In the implementation process, the corresponding control mapping table is determined according to the playing type, and then the corresponding control instruction is determined according to the determined control mapping table, so that the pertinence is strong, the video control step is simple, and the convenience degree of the electronic equipment for video operation is improved.
Further, the playing type of the target video comprises a live type and a playback type, wherein a control mapping table matched with the live type is a live control table, and a control mapping table matched with the playback type is a playback control table.
In the implementation process, different playing types correspond to different control mapping tables, so that the target videos of different playing types can be played and controlled, the flexibility is improved, and the convenience degree of the electronic equipment for video operation is further improved.
Further, the performing corresponding play control on the target video according to the play control instruction includes:
when the playing type is a playback type and the playing control instruction is a useless segment skipping instruction, identifying the video content of the target video, and determining an effective content segment and a useless content segment in the target video according to a playing time sequence;
judging whether the video content currently played by the target video belongs to the useless content segment;
if so, determining the next effective content segment connected with the currently played video content according to the effective content segments and the time lapse sequence;
and skipping the current playing progress of the target video to the next effective content segment for continuing playing.
In the implementation process, when the playing type is the playback type, the useless content segments in the target video can be skipped through the useless segment skipping instruction, so that the effectiveness of watching the target video by a user is improved, and the efficiency of watching the target video is improved.
Further, the performing, according to the play control instruction, corresponding play control on the target video includes:
when the playing type is a playback type and the playing control instruction is a pause leaving instruction, judging whether a user watches the target video;
if not, pausing the playing of the target video and outputting prompt information of pausing the playing of the video.
In the implementation process, when the playing type is the playback type and when the pause leaving instruction is received, the playing of the target video is controlled by judging whether the user watches the target video, so that the control accuracy is improved, and the user experience is improved.
Further, after the performing corresponding play control on the target video according to the play control instruction, the method further includes:
judging whether the target video is played completely;
if yes, acquiring a content subject of the target video;
acquiring recommended resource information according to the content theme;
and outputting the content subject and the recommended resource information.
In the implementation process, after the playing is finished, the video content theme summarizing the target video is displayed for the user by outputting the corresponding content theme and the recommended resource information, so that the user can know the target video more clearly, the content displayed by the target video can be understood more easily, and the corresponding recommended resource information is also output, so that the target video is further expanded on the basis of the target video, and the user experience is improved.
A second aspect of the embodiments of the present application provides a video playback control apparatus, including:
the device comprises an acquisition unit, a display unit and a processing unit, wherein the acquisition unit is used for acquiring the play type of a target video when the target video is playing;
the detection unit is used for detecting the attitude information of the electronic equipment playing the target video;
the determining unit is used for determining a playing control instruction aiming at the target video according to the attitude information and the playing type;
and the control unit is used for carrying out corresponding playing control on the target video according to the playing control instruction.
In the implementation process, when the target video is playing, the acquisition unit firstly acquires the playing type of the target video, and the detection unit detects the posture information of the electronic equipment playing the target video; then the determining unit determines a playing control instruction aiming at the target video according to the attitude information and the playing type; and finally, the control unit performs corresponding play control on the target video according to the play control instruction so as to realize non-point contact type interactive video control, thereby improving the operation convenience degree of the electronic equipment for the video.
Further, the determining unit includes:
the acquisition subunit is used for acquiring a control mapping table matched with the play type;
and the determining subunit is used for determining a control instruction corresponding to the attitude information according to the control mapping table.
In the implementation process, the obtaining subunit obtains the corresponding control mapping table according to the playing type, then the determining subunit determines the corresponding control instruction according to the determined control mapping table, the pertinence is strong, the video control step is simple, and the improvement of the operation convenience degree of the electronic equipment for the video is facilitated.
A third aspect of the embodiments of the present application provides an electronic device, including a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the video playback control method according to any one of the first aspect of the embodiments of the present application.
A fourth aspect of the present embodiment provides a computer-readable storage medium, which stores computer program instructions, where the computer program instructions, when read and executed by a processor, perform the video playback control method according to any one of the first aspect of the present embodiment.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a video playing control method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another video playing control method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a video playback control apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of another video playback control apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a video playing control method according to an embodiment of the present application. The method is applied to video playing scenes, in particular to video playing scenes of online education, such as live courses or recorded courses of online education. The video playing control method comprises the following steps:
s101, when the target video is playing, the playing type of the target video is obtained.
In the embodiment of the present application, the method may be applied to electronic devices such as a smart phone, a tablet computer, an electronic learning machine, a notebook computer, a video playing device, a smart watch, and a projection device, and is not limited in any way in this embodiment.
In the embodiment of the present application, when the method is applied to an electronic device, an execution subject of the method may specifically be a client having a video playing function. That is, the electronic device may be any device running a client (or an applet, etc.) having a video playing function.
In the embodiment of the present application, the play type of the target video may be a live type and a playback type (i.e., a recording type).
In the embodiment of the application, when the target video is a live type, the target video is generated by installing an independent signal acquisition device (audio + video) in the field and importing the signal acquisition device into a director terminal (director device or platform), and then the target video is uploaded to a server through a network, and then a user can acquire the target video from the server through an electronic device for watching.
In the embodiment of the application, the target video of the live broadcast type has strong real-time performance, needs to be watched at a specific time, and cannot be fast-forwarded, backed, doubled in speed, paused and the like when the video is played; on the other hand, when the user watches the target video in the live type, the user can carry out interactive operations such as connecting to the wheat, instantly asking questions, answering questions of the main broadcast and the like with the main broadcast in the target video.
In the embodiment of the application, when the target video is of a playback type, the video is usually recorded in advance and stored in the server, a user can obtain and watch the target video at any time and any place through the electronic equipment, the flexibility is good, the target video does not need to be watched at specific time, and the target video can be fast-forwarded, backed, doubled in speed, paused and other operations at any time when being played; on the other hand, for a playback type target video, a user cannot perform interactive operations such as connecting to a wheat, asking questions instantly and the like with a main broadcast in the target video.
After step S102, the method further includes the following steps:
s102, detecting the posture information of the electronic equipment playing the target video.
In the embodiment of the present application, a motion sensor may be disposed in an electronic device, and specifically, the motion sensor may include an accelerometer, a gyroscope sensor, and the like, which is not limited to this embodiment of the present application.
As an alternative implementation, detecting the pose information of the electronic device playing the target video may include the following steps:
the motion parameters of the electronic equipment are obtained through a motion sensor in the electronic equipment.
And calculating the attitude information of the electronic equipment according to the motion parameters.
In the above embodiment, the motion parameters may include an acceleration parameter and a gyro parameter. The acceleration parameters can be expressed as (ax, ay, az) and represent acceleration values along three coordinate axes, and in a static state, the resultant force of each coordinate system points to the geocentric; the gyroscope parameters may be expressed as (wx, wy, wz) that indicate the angular velocity of the rigid body (i.e., the electronic device) rotating along three coordinate axis directions.
In the above embodiment, the attitude information may include a pitch angle and a roll angle, wherein the pitch angle roll represents an angle of elevation in the electronic device direction, and the roll angle pith represents an angle of elevation in the electronic device side direction.
As a further optional implementation, calculating the posture information of the electronic device according to the motion parameters may include the following steps:
calculating first attitude information of the electronic equipment according to the acceleration parameters;
calculating second attitude information of the electronic equipment according to the gyroscope parameters;
and calculating the attitude information of the electronic equipment according to the first attitude information and the second attitude information.
In the above embodiment, at a certain time t, the attitude information of the electronic device includes the pitch angle roll (t) and the roll angle pith (t).
In the above embodiment, at a certain time t, the first attitude information includes a first pitch angle grip (t) and a first roll angle gpith (t), wherein the first pitch angle grip (t) is calculated by the following formula:
groll(t)=g_roll(ax(t),ay(t),az(t));
the first tumble angle gpith (t) is calculated as follows:
gpith(t)=g_pith(ax(t),ay(t),az(t));
at a certain time t, the acceleration parameters are ax (t), ay (t), az (t), and g _ roll (t) are pitch angle calculation functions based on the accelerometer, and g _ pith (t) is roll angle calculation functions based on the accelerometer, which may be preset.
In the above embodiment, at a certain time t, the second posture information includes a second pitch angle wroll (t) and a second roll angle wpith (t), where the second pitch angle wroll (t) is calculated by the following formula:
wroll(t)=w_roll(wx(t),wy(t),wz(t),roll(t-1),pith(t-1));
the second tumble angle wpith (t) is calculated as follows:
wpith(t)=w_pith(wx(t),wy(t),wz(t),roll(t-1),pith(t-1));
wherein, roll (t-1) is a pitch angle of the electronic equipment at the time of t-1, and pith (t-1) is a roll angle of the electronic equipment at the time of t-1;
at a certain time t, the gyroscope parameters are wx (t), wy (t), wz (t) w _ roll (t) are a pitch angle calculation function based on the gyroscope sensor, and w _ pith is a roll angle calculation function based on the gyroscope sensor, and may be preset.
In the above embodiment, at a certain time t, the attitude information of the electronic device includes a pitch angle roll (t) and a roll angle pith (t), wherein the calculation formula of the pitch angle roll (t) is as follows:
roll(t)=(groll(t)+wroll(t))/2;
the roll angle pith (t) is calculated as follows:
pith(t)=(gpith(t)+wpith(t))/2。
after step S103, the following steps are also included:
s103, determining a playing control instruction for the target video according to the attitude information and the playing type.
In the embodiment of the present application, since the target video has different playing types, the playing control of the target video is also different, and therefore, the corresponding playing control instruction needs to be determined together according to the posture information and the playing type.
For example, for a live video, a mobile phone is shaken to indicate that a hand-holding is initiated (namely, a request is made for connecting with a main broadcasting, and the main broadcasting can be a teacher client); a left throw handset, indicating praise; throwing the mobile phone to the right to indicate quit watching the live broadcast and the like;
for the playback video, shaking the mobile phone to represent pause; throwing the mobile phone to the left to show backing; and throwing the mobile phone to the right to represent fast forwarding and the like.
And S104, performing corresponding playing control on the target video according to the playing control instruction.
It can be seen that the video playing control method described in this embodiment is implemented to implement non-point-contact interactive video control, so as to improve the operation convenience of the electronic device for videos.
Please refer to fig. 2, fig. 2 is a schematic flowchart of a video playback control method according to an embodiment of the present disclosure. As shown in fig. 2, the video playing control method includes:
s201, when the target video is playing, obtaining the playing type of the target video.
S202, detecting the posture information of the electronic equipment playing the target video.
S203, obtaining a control mapping table matched with the playing type.
In the embodiment of the application, the playing type of the target video comprises a live type and a playback type, wherein a control mapping table matched with the live type is a live control table, and a control mapping table matched with the playback type is a playback control table.
And S204, determining a control instruction corresponding to the attitude information according to the control mapping table.
In the embodiment of the application, the determined control mapping table is a live control table or a playback control table.
As an optional embodiment, the control mapping table at least includes a plurality of instructions and a gesture identifier corresponding to each instruction; or, the control mapping table at least comprises a plurality of instructions and a posture parameter threshold corresponding to each instruction.
As an optional implementation manner, when the control mapping table at least includes a plurality of instructions and a posture parameter threshold corresponding to each instruction, for example, if the posture information of the electronic device includes roll (t) and pith (t), and the control mapping table includes three instructions and a posture parameter threshold corresponding to each instruction, where the three instructions are instruction 1, instruction 2, and instruction 3, respectively, then:
the attitude parameter threshold corresponding to the instruction 1 is: r10< roll (t) < r11, p10< pith (t) < p11, where r10, r11, p10, p11 are preset parameters.
The attitude parameter threshold corresponding to the instruction 2 is as follows: r20< roll (t) < r21, p20< pith (t) < p21, wherein r20, r21, p20, p21 are preset parameters.
The attitude parameter threshold corresponding to the instruction 3 is: r30< roll (t) < r31, p30< pith (t) < p31, wherein r30, r31, p30, p31 are preset parameters.
When the control instruction corresponding to the attitude information is determined according to the control mapping table, the corresponding instruction can be determined according to the attitude parameter threshold, and then the corresponding control instruction is obtained.
As another optional implementation manner, when the control mapping table at least includes a plurality of instructions and a gesture identifier corresponding to each instruction, determining a control instruction corresponding to the gesture information according to the control mapping table may include the following steps:
determining the current motion attitude of the electronic equipment according to the attitude information;
and determining a control instruction corresponding to the identifier of the current motion attitude according to the control mapping table.
In the embodiment of the present application, by implementing the above steps S203 to S204, the playback control command for the target video can be determined according to the attitude information and the playback type.
After step S204, the method further includes the following steps:
and S205, performing corresponding play control on the target video according to the play control instruction.
In the embodiment of the application, when the control mapping table at least comprises a plurality of instructions and gesture identifications corresponding to the instructions, the live broadcast control table comprises a plurality of live broadcast control instructions and gesture identifications corresponding to the live broadcast control instructions; the playback control table includes a plurality of playback control instructions and a gesture identifier corresponding to each playback control instruction. Correspondingly, the determined play control instruction for the target video is specifically a live control instruction or a playback control instruction.
In this embodiment of the application, when the control mapping table at least includes a plurality of instructions and a gesture identifier corresponding to each instruction, where the gesture identifier included in the control mapping table may specifically be a shake, a quick right swing, a quick left swing, a front-down flat, a front-up flat, a side-down (that is, a preset time length is placed at a certain angle, for example, the side holds for 5 seconds, etc.), and the like, which is not limited in this embodiment of the application.
In the embodiment of the application, when the method is applied to an online education scene, the live control instruction included in the live control table may specifically be one or more of a quick response instruction, a hand raising instruction, a knowledge point skip instruction, a microphone connecting instruction and the like, and the embodiment of the application is not limited.
In this embodiment of the application, when the method is applied to an online education scene, the playback control instruction included in the playback control table may specifically be one or more of a fast forward instruction, a rewind instruction, a double speed instruction, a knowledge point jump instruction, a job jump instruction, a comment area jump instruction, a pause instruction, a jump next set instruction, a useless segment jump instruction, a leave pause instruction, and the like, which is not limited in this embodiment of the application.
In the embodiment of the application, in actual use, because live broadcast and playback are different, the same gesture identification can be corresponding to a live broadcast control instruction and a playback control instruction. For example, when the method is applied to an online education scene, a gesture identifier for the rapid right throwing is set, in a live broadcast control table, a live broadcast control instruction corresponding to the gesture identifier for the rapid right throwing is a rapid first-answer instruction, and in a playback control table, a playback control instruction corresponding to the gesture identifier for the rapid right throwing is a fast forward instruction; and when the target video is in a live type, the electronic equipment playing the target video is quickly thrown to the right, the gesture information of the electronic equipment can be detected to be quickly thrown to the right, then the playing control instruction of the target video can be determined to be a quick response instruction according to the live control table and the gesture information, and then quick response skip control is carried out according to the quick response instruction. Similarly, when the target video is in a playback type, the electronic device playing the target video is quickly thrown to the right, the gesture information of the electronic device can be detected to be the quick throwing to the right, then the playing control instruction of the target video can be determined to be a fast forward instruction according to the playback control table and the gesture information, and then the fast forward operation is carried out on the target video according to the fast forward instruction.
As an optional implementation manner, performing corresponding play control on the target video according to the play control instruction includes:
when the playing type is a playback type and the playing control instruction is a useless segment skipping instruction, identifying the video content of the target video, and determining an effective content segment and a useless content segment in the target video according to the playing time sequence;
judging whether the video content currently played by the target video belongs to a useless content segment;
if yes, determining the next effective content segment connected with the currently played video content according to the effective content segments and the time lapse sequence;
and jumping to the next effective content segment to continue playing the current playing progress of the target video.
In the above embodiment, when applied to an application scenario of online education, for a playback video in which a teacher gives lessons, the useless content segments may include content segments in which the teacher repeats many times, content segments in which the teacher asks other students, content segments in which other students speak, content segments in which the teacher does not speak, and the like, and accordingly, the valid content segments are content segments in which the teacher gives lessons, which is not limited by this embodiment of the present application.
In the embodiment, when the method is applied to an application scene of online education, useless content segments in the target video are skipped through the useless segment skipping instruction, so that the effectiveness of watching the target video by a user is improved, the time utilization rate is improved, and the learning efficiency of the user is improved.
In the above embodiment, when identifying the video content of the target video, the content topic of the target video may be obtained first, and then the video content of the target video may be identified according to the content topic. In the use scene of online education, knowledge point information explained by a target video is acquired, and then the target video is identified according to the knowledge point information, so that effective content segments can be determined.
In the above embodiment, for the identification of the useless content segments, the content segments that the teacher does not speak may be identified according to the audio information of the target video, then the audio information of the target video is subjected to voice identification, the content segments that are irrelevant to the knowledge point information explained by the target video (for example, the content segments that the teacher has a chat) are determined, and finally, the audio information of the target video may be subjected to tone color identification, and the content segments that the teacher asks other students and the content segments that other students speak are determined.
As a further optional implementation manner, when it is determined that the video content currently played by the target video does not belong to the useless content segment, the following steps may be further included;
determining a content segment corresponding to video content currently played by a target video;
determining a next invalid content segment connected with the content segment according to the valid content segment and the time lapse sequence;
and outputting progress bar prompt information comprising the next invalid content segment.
In the above embodiment, when the video content currently played by the target video does not belong to the useless content segment, the progress bar position information of the next useless content segment is prompted to the user by outputting the progress bar prompt information.
As an optional implementation manner, performing corresponding play control on the target video according to the play control instruction includes:
when the playing type is a playback type and the playing control instruction is a pause leaving instruction, judging whether the user watches the target video;
if not, pausing the playing of the target video and outputting prompt information of pausing the playing of the video.
In the above embodiment, when determining whether the user is watching the target video, it may be specifically determined whether a human face or eyes are detected by the image pickup device of the electronic device, and if not, it is determined that the user is not watching the target video.
In the above embodiment, the identifier of the electronic device posture information corresponding to the departure pause instruction may be specifically placed face down, or placed face up, or placed sideways, and the like, and at this time, it is possible that the user is still watching a video, and therefore, it is necessary to determine whether the user is watching a target video, which is favorable for improving the accuracy of control and improving the user experience.
As an optional implementation manner, performing corresponding play control on the target video according to the play control instruction includes:
when the playing type is a playback type and the playing control instruction is a job skipping instruction, acquiring job information of the target video according to the job skipping instruction;
and outputting the operation information.
As an optional implementation manner, performing corresponding play control on the target video according to the play control instruction includes:
when the playing type is a playback type and the playing control instruction is a next set skip instruction, acquiring a next video associated with the target video according to the next set skip instruction;
the target video is stopped from playing and the next video is played.
As an optional implementation manner, performing corresponding play control on the target video according to the play control instruction includes:
and when the playing type is the live type and the playing control instruction is the quick answering instruction, starting a quick answering function on the target video according to the quick answering instruction.
As an optional implementation manner, performing corresponding play control on the target video according to the play control instruction includes:
when the playing type is the live broadcasting type and the playing control instruction is a hand lifting instruction, sending a hand lifting request to a live broadcasting end corresponding to the target video according to the hand lifting instruction;
and when receiving confirmation information sent by the live broadcast end aiming at the hand-lifting request, starting a microphone of the electronic equipment to carry out hand-lifting question-asking operation.
As an optional implementation manner, performing corresponding play control on the target video according to the play control instruction includes:
when the playing type is a live type and the playing control instruction is a knowledge point skip instruction, identifying and processing the currently played video content of the target video according to the knowledge point skip instruction, and determining knowledge point identification information included in the currently played video content;
matching corresponding knowledge point information according to a preset knowledge point base and knowledge point identification information;
and outputting knowledge point information.
As an optional implementation manner, performing corresponding play control on the target video according to the play control instruction includes:
when the playing type is a live broadcasting type and the playing control instruction is a microphone connecting instruction, sending a microphone connecting request to a live broadcasting end corresponding to the target video according to the microphone connecting instruction;
and when receiving confirmation information sent by the live broadcast end aiming at the microphone connecting request, starting a microphone of the electronic equipment to carry out microphone connecting operation.
After step S205, the following steps are also included:
s206, judging whether the target video is played completely, if so, executing the step S207 to the step S209; if not, continuously judging whether the target video is played completely.
And S207, acquiring a content theme of the target video.
In the embodiment of the present application, when the method of the present application is applied to the field of online education, the content subject of the target video may specifically be knowledge point information, chapter information, course topic information, and the like, which is not limited in this embodiment of the present application.
In the embodiment of the present application, the content theme of the target video may be preset, or may be obtained by identifying the video content of the target video, which is not limited in the embodiment of the present application.
And S208, acquiring recommended resource information according to the content theme.
In this embodiment of the present application, when the method is applied to the field of online education, the recommended resource information may include job information corresponding to a target video, knowledge point information corresponding to the target video, associated learning video information, discussion information for the target video, and the like, which is not limited in this embodiment of the present application.
And S209, outputting the content subject and the recommended resource information.
In the embodiment of the application, after the playing is finished, the video content theme summarizing the target video is displayed for the user by outputting the corresponding content theme and the recommended resource information, so that the user can know the target video more clearly, the content displayed by the target video can be understood more easily, the corresponding recommended resource information is output, the video playing method is further expanded on the basis of the target video, the effectiveness of watching the video by the user can be improved, and the experience of the user can be improved.
It can be seen that the video playing control method described in this embodiment is implemented to implement non-point-contact interactive video control, so as to improve the operation convenience of the electronic device for videos.
Please refer to fig. 3, fig. 3 is a schematic structural diagram of a video playback control apparatus according to an embodiment of the present disclosure. As shown in fig. 3, the video playback control apparatus includes:
an obtaining unit 310, configured to obtain a play type of the target video when the target video is playing.
The detecting unit 320 is configured to detect pose information of the electronic device playing the target video.
A determining unit 330, configured to determine a play control instruction for the target video according to the pose information and the play type.
And the control unit 340 is configured to perform corresponding play control on the target video according to the play control instruction.
It can be seen that, the video playing control device described in this embodiment is implemented to implement non-point-contact interactive video control, so as to improve the operation convenience of the electronic device for videos.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a video playback control apparatus according to an embodiment of the present disclosure. The video playback control apparatus shown in fig. 4 is optimized from the video playback control apparatus shown in fig. 3. As shown in fig. 4, the determination unit 330 includes:
the obtaining sub-unit 331 is configured to obtain a control mapping table matching the play type.
And a determining subunit 332, configured to determine, according to the control mapping table, a control instruction corresponding to the posture information.
In the embodiment of the application, the playing type of the target video comprises a live type and a playback type, wherein a control mapping table matched with the live type is a live control table, and a control mapping table matched with the playback type is a playback control table.
As an alternative embodiment, the control unit 340 includes:
and the identifying subunit 341 is configured to identify the video content of the target video when the play type is the playback type and when the play control instruction is the useless segment skipping instruction, and determine an effective content segment and a useless content segment in the target video according to the play time sequence.
The determining subunit 342 is configured to determine whether the video content currently played by the target video belongs to a useless content segment.
The segment determining subunit 343 is configured to, when it is determined that the currently played video content belongs to the useless content segment, determine, according to the valid content segments, a next valid content segment connected to the currently played video content in the time lapse order.
And a skip subunit 344, configured to skip the current playing progress of the target video to the next effective content segment for continuous playing.
As another alternative embodiment, the control unit 340 includes:
and the judging subunit is used for judging whether the user watches the target video or not when the playing type is the playback type and the playing control instruction is the leaving pause instruction.
And the playing subunit is used for pausing the playing of the target video and outputting prompt information of the paused playing video when judging that the user watches the target video.
As an optional implementation manner, the video playback control apparatus further includes:
the determining unit 350 is configured to determine whether the target video is played completely after performing corresponding play control on the target video according to the play control instruction.
The obtaining unit 310 is further configured to obtain a content theme of the target video when it is determined that the target video is played completely; and acquiring the recommended resource information according to the content subject.
And an output unit 360 for outputting the content subject and the recommended resource information.
It can be seen that the video playing control device described in this embodiment is implemented to implement non-point-contact interactive video control, so as to improve the operation convenience of the electronic device for video.
The embodiment of the application provides an electronic device, which comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor runs the computer program to enable the electronic device to execute a video playing control method in the embodiment of the application.
The embodiment of the present application provides a computer-readable storage medium, which stores computer program instructions, and when the computer program instructions are read and executed by a processor, the computer program instructions execute the video playing control method in the embodiment of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (9)

1. A video playback control method, comprising:
when a target video is being played, acquiring the playing type of the target video and detecting the posture information of electronic equipment playing the target video; the playing type of the target video comprises a live type and a playback type;
determining a playing control instruction for the target video according to the attitude information and the playing type;
performing corresponding playing control on the target video according to the playing control instruction;
the performing, according to the play control instruction, corresponding play control on the target video includes:
when the playing type is a playback type and the playing control instruction is a useless segment skipping instruction, identifying the video content of the target video, and determining an effective content segment and a useless content segment in the target video according to a playing time sequence;
judging whether the video content currently played by the target video belongs to the useless content segment;
if so, determining the next effective content segment connected with the currently played video content according to the effective content segments and the time lapse sequence;
and jumping the current playing progress of the target video to the next effective content segment for continuous playing.
2. The video playback control method according to claim 1, wherein the determining a playback control instruction for the target video according to the pose information and the playback type includes:
acquiring a control mapping table matched with the playing type;
and determining a control instruction corresponding to the attitude information according to the control mapping table.
3. The video playback control method according to claim 2, wherein the playback type of the target video includes a live type and a playback type, and wherein the control mapping table that matches the live type is a live control table, and the control mapping table that matches the playback type is a playback control table.
4. The video playback control method according to claim 3, wherein performing the corresponding playback control on the target video according to the playback control instruction includes:
when the playing type is a playback type and the playing control instruction is a leave pause instruction, judging whether a user watches the target video;
if not, pausing the playing of the target video and outputting prompt information of pausing the playing of the video.
5. The video playback control method according to claim 1, wherein after the performing the corresponding playback control on the target video according to the playback control instruction, the method further comprises:
judging whether the target video is played completely;
if yes, acquiring a content subject of the target video;
acquiring recommended resource information according to the content theme;
and outputting the content subject and the recommended resource information.
6. A video playback control apparatus, characterized in that the video playback control apparatus comprises:
the device comprises an acquisition unit, a display unit and a processing unit, wherein the acquisition unit is used for acquiring the playing type of a target video when the target video is playing;
the detection unit is used for detecting the attitude information of the electronic equipment playing the target video; the playing type of the target video comprises a live type and a playback type;
the determining unit is used for determining a playing control instruction aiming at the target video according to the attitude information and the playing type;
the control unit is used for carrying out corresponding playing control on the target video according to the playing control instruction;
wherein the control unit includes:
the identification subunit is used for identifying the video content of the target video when the playing type is the playback type and the playing control instruction is the useless segment skipping instruction, and determining an effective content segment and an useless content segment in the target video according to the playing time sequence;
the judging subunit is used for judging whether the video content currently played by the target video belongs to a useless content segment;
the segment determining subunit is used for determining the next effective content segment connected with the currently played video content according to the effective content segments and the time lapse sequence when the currently played video content is judged to belong to the useless content segment;
and the skip subunit is used for skipping the current playing progress of the target video to the next effective content segment for continuous playing.
7. The video playback control device according to claim 6, wherein the determination unit includes:
the acquisition subunit is used for acquiring a control mapping table matched with the play type;
and the determining subunit is used for determining a control instruction corresponding to the attitude information according to the control mapping table.
8. An electronic device, comprising a memory for storing a computer program and a processor for executing the computer program to cause the electronic device to perform the video playback control method of any one of claims 1 to 5.
9. A readable storage medium having stored therein computer program instructions which, when read and executed by a processor, perform the video playback control method of any one of claims 1 to 5.
CN202011250236.2A 2020-11-10 2020-11-10 Video playing control method and device Active CN112383827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011250236.2A CN112383827B (en) 2020-11-10 2020-11-10 Video playing control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011250236.2A CN112383827B (en) 2020-11-10 2020-11-10 Video playing control method and device

Publications (2)

Publication Number Publication Date
CN112383827A CN112383827A (en) 2021-02-19
CN112383827B true CN112383827B (en) 2023-03-31

Family

ID=74579833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011250236.2A Active CN112383827B (en) 2020-11-10 2020-11-10 Video playing control method and device

Country Status (1)

Country Link
CN (1) CN112383827B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113741782A (en) * 2021-07-21 2021-12-03 西安闻泰信息技术有限公司 Method and device for generating control instruction, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108080A (en) * 2013-01-21 2013-05-15 深圳市金立通信设备有限公司 Video playing control method and mobile terminal
CN104918064A (en) * 2015-05-27 2015-09-16 努比亚技术有限公司 Rapid video play method and device of mobile terminal
CN105578235A (en) * 2014-10-09 2016-05-11 上海大相科技有限公司 Broadcast control method and device
CN105847586A (en) * 2016-05-13 2016-08-10 努比亚技术有限公司 Multimedia playing control method and mobile terminal
CN106060612A (en) * 2016-06-29 2016-10-26 乐视控股(北京)有限公司 Video playing method and video playing device
CN107547930A (en) * 2017-06-02 2018-01-05 北京小嘿科技有限责任公司 A kind of video play controller and control method based on mobile device rotation detection
CN109040773A (en) * 2018-07-10 2018-12-18 武汉斗鱼网络科技有限公司 A kind of video improvement method, apparatus, equipment and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547859B (en) * 2017-09-21 2021-12-07 腾讯科技(深圳)有限公司 Video clip determination method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108080A (en) * 2013-01-21 2013-05-15 深圳市金立通信设备有限公司 Video playing control method and mobile terminal
CN105578235A (en) * 2014-10-09 2016-05-11 上海大相科技有限公司 Broadcast control method and device
CN104918064A (en) * 2015-05-27 2015-09-16 努比亚技术有限公司 Rapid video play method and device of mobile terminal
CN105847586A (en) * 2016-05-13 2016-08-10 努比亚技术有限公司 Multimedia playing control method and mobile terminal
CN106060612A (en) * 2016-06-29 2016-10-26 乐视控股(北京)有限公司 Video playing method and video playing device
CN107547930A (en) * 2017-06-02 2018-01-05 北京小嘿科技有限责任公司 A kind of video play controller and control method based on mobile device rotation detection
CN109040773A (en) * 2018-07-10 2018-12-18 武汉斗鱼网络科技有限公司 A kind of video improvement method, apparatus, equipment and medium

Also Published As

Publication number Publication date
CN112383827A (en) 2021-02-19

Similar Documents

Publication Publication Date Title
JP7254772B2 (en) Methods and devices for robot interaction
CN109416562B (en) Apparatus, method and computer readable medium for virtual reality
CN107872731B (en) Panoramic video playing method and device
EP3334173A1 (en) Method and device for playing video content at any position and time
CN107786827B (en) Video shooting method, video playing method and device and mobile terminal
CN112969087B (en) Information display method, client, electronic equipment and storage medium
JP2009277097A (en) Information processor
CN114449162B (en) Method, device, computer equipment and storage medium for playing panoramic video
CN112383827B (en) Video playing control method and device
CN110650294A (en) Video shooting method, mobile terminal and readable storage medium
JP2021018408A (en) Learning system, learning class providing method and program
CN106921802B (en) Audio data playing method and device
CN113794934A (en) Anti-addiction guiding method, television and computer-readable storage medium
JP6292672B2 (en) Operation support apparatus, operation support method, and operation support program
TW202345062A (en) Method and device for implementing user interface of live auction
CN107767712B (en) Method and device for adjusting matching degree, storage medium and electronic equipment
CN111079495A (en) Point reading mode starting method and electronic equipment
US20230163987A1 (en) Personal space bubble in vr environments
TWI581626B (en) System and method for processing media files automatically
JP2022060820A (en) Remote conference support control apparatus, method and program
CN111610851A (en) Interaction method and device and user terminal for realizing interaction method
JPWO2020039476A1 (en) Message output device, learning device, message output method, learning method and program
JP7067481B2 (en) Information processing equipment, information processing methods, programs, and communication systems
US20230271093A1 (en) Vocal collision queue
US20170296918A1 (en) Interactive game system

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