CN108235087B - A kind of playback method of video data, mobile terminal - Google Patents
A kind of playback method of video data, mobile terminal Download PDFInfo
- Publication number
- CN108235087B CN108235087B CN201711464004.5A CN201711464004A CN108235087B CN 108235087 B CN108235087 B CN 108235087B CN 201711464004 A CN201711464004 A CN 201711464004A CN 108235087 B CN108235087 B CN 108235087B
- Authority
- CN
- China
- Prior art keywords
- video
- pause
- target
- player
- pausing operation
- 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
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/41—Structure of client; Structure of client peripherals
- H04N21/414—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
- H04N21/41407—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
-
- 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/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4333—Processing operations in response to a pause request
-
- 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
Abstract
The embodiment of the invention provides a kind of playback method of video data, mobile terminal, this method is applied to mobile terminal, comprising: receives the target pausing operation for being directed to video playing, the target pausing operation is the operation for suspending video playing by screen locking key;If receiving unlock instruction, and the display interface after unlocking is the interface that the video pause plays, obtain the frequency of use of the target pausing operation, the frequency of use is the ratio that the number of the target pausing operation accounts for the total degree of pausing operation, and the pausing operation is the pausing operation for video playing;If the frequency of use is less than or equal to preset threshold, the halted state of the video is kept.The embodiment of the present invention, which can be gone out in user by screen locking key, shields pause broadcasting video, when reusing mobile terminal, maintains video data pause broadcasting, avoids making a sound, user is avoided to encounter awkwardness.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of playback methods of video data, mobile terminal.
Background technique
It is widely available with mobile terminal, have benefited from the agility that video is watched by mobile terminal, convenience, user
Frequency using mobile terminal viewing video is increasing.
Currently, user suspends video playing there are three types of mode, the first is the pause button of click play device, second
It is by Home key, the third is by power key.
In the conversion for encountering more urgent situation or occasion, get off for example, user arrives at a station during taking subway,
Friend's greeting, etc., user is usually eager to want to immediately close off video.
In the mode of three above-mentioned pause video playings, since position of the user for power key is familiar with, because
This, directly presses power key, is that user stops the more common mode of video playing, still, when user reuses mobile terminal,
Many video councils continue to play, and make a sound, user may encounter awkwardness.
Summary of the invention
The embodiment of the present invention provides a kind of playback method of video data, mobile terminal, to solve the screen that goes out by power key
After pause plays video, when reusing mobile terminal, video continues the problem of playing.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows: a kind of playback method of video data, is applied to
Mobile terminal, comprising:
The target pausing operation for being directed to video playing is received, the target pausing operation is to suspend video by screen locking key
The operation of broadcasting;
If receiving unlock instruction, and the interface that the display interface after unlock plays for the video pause, described in acquisition
The frequency of use of target pausing operation, the frequency of use are that the number of the target pausing operation accounts for the total degree of pausing operation
Ratio, the pausing operation be for video playing pausing operation;
If the frequency of use is less than or equal to preset threshold, the halted state of the video is kept.
The embodiment of the invention also provides a kind of mobile terminals, comprising:
Target pausing operation receiving module, for receiving the target pausing operation for being directed to video playing, the target pause
Operation is the operation for passing through screen locking key and suspending video playing;
Frequency of use obtains module, if for receiving unlock instruction, and the display interface after unlock is that the video is temporary
Break the interface put, obtain the frequency of use of the target pausing operation, the frequency of use is the target pausing operation
Number accounts for the ratio of the total degree of pausing operation, and the pausing operation is the pausing operation for video playing;
Pause keeps module, if being less than or equal to preset threshold for the frequency of use, keeps the pause shape of the video
State.
The embodiment of the invention provides a kind of mobile terminal, including processor, memory and it is stored on the memory
And the computer program that can be run on the processor, when the computer program is executed by the processor described in realization
The step of playback method of video data.
The embodiment of the invention provides a kind of computer readable storage medium, stored on the computer readable storage medium
Computer program, when the computer program is executed by processor the step of the playback method of the realization video data.
In embodiments of the present invention, the target pausing operation of video playing is directed to by receiving, i.e., it is temporary by screen locking key
The broadcasting for stopping video playing is looked into when the display interface after receiving unlock instruction and unlocking is the interface that video pause plays
The frequency of use of target pausing operation is ask, if frequency of use is less than or equal to preset threshold, pause can be kept to play video,
It can be gone out in user by screen locking key and shield pause broadcasting video, when reusing mobile terminal, video data pause be maintained to broadcast
It puts, avoids making a sound, user is avoided to encounter awkwardness.
Detailed description of the invention
Fig. 1 is the flow chart of the playback method embodiment of video data of the invention.
Fig. 2 is the flow chart of another embodiment of playback method of video data of the invention.
Fig. 3 is the flow chart of the another embodiment of playback method of video data of the invention.
Fig. 4 is the block diagram of mobile terminal embodiment of the invention.
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, show the flow chart of the playback method embodiment of video data of the invention, can specifically include as
Lower step:
Step 101, the target pausing operation for being directed to video playing is received.
In the concrete realization, the embodiment of the present invention can be applied in the terminal, for example, mobile phone, tablet computer, individual
Digital assistants, wearable device (such as glasses, wrist-watch) etc..
The operating system of these mobile terminals may include Android (Android), IOS, WindowsPhone, Windows
Etc..
It can be with provided with player, to the video or mobile terminal local played in network of networking in these operating systems
Video.
In embodiments of the present invention, if being playing video, it can detecte the target pausing operation of the video.
So-called target pausing operation can refer to the operation by screen locking key (executing screen locking processing) pause video playing.
Under normal circumstances, user can press the frequency lockings key such as power key, so that mobile terminal enters screen lock state, thus
It triggers player and suspends playing video data.
Step 102, if receiving unlock instruction, and the display interface after unlock is the interface that the video pause plays,
Obtain the frequency of use of the target pausing operation.
If user presses the screen lockings key such as power key again, screen-lock password or screen locking figure are inputted, alternatively, in screen locking shape
The behaviors such as finger print data are inputted under state, can trigger unlock instruction, and mobile terminal is made to contact screen lock state.
At this point, player detects unlock operation, then can restore to play video automatically under normal circumstances.
Using the embodiment of the present invention, the frequency of use of target pause behavior can be counted in advance in the mobile terminal, from
And determine user suspends video in which kind of scene, so that it is determined that processing mode when unlock.
Wherein, frequency of use is the ratio that the number of target pausing operation accounts for the total degree of pausing operation, and pausing operation
For the pausing operation for video playing.
It should be noted that being directed to the pausing operation of video, refer to for all views played on the mobile terminal
The pausing operation of frequency not merely also will do it system for the pausing operation of current video certainly for currently playing video
Meter, with for subsequent calculating frequency of use.
In the concrete realization, frequency of use can recorde in the database, therefore, receive unlock instruction in mobile terminal
It, can when executing unlock processing, player recovery broadcasting video (interface that display interface at this time is played still in video pause)
To inquire the frequency of use of target pausing operation in the database.
Step 103, if the frequency of use is less than or equal to preset threshold, the halted state of the video is kept.
If the frequency of use of target pausing operation is less than or equal to preset threshold in the mobile terminal, user is indicated
Video is played by screen locking key (executing screen locking processing) pause, larger may be to use in burst scene.
Therefore, when mobile terminal receives unlock instruction and executes unlock processing, player broadcasting video to be restored, further
Secondary pause plays video, keeps the halted state of video, avoids making a sound.
In one embodiment, it can determine the player for playing video, pause instruction be sent to player, with control
Player keeps pause to play video.
In this way of example, for the player that operating system carries, can directly it be broadcast by pause instruction control
It puts device pause and plays video.
In another embodiment, it can determine the player for playing video, target is determined on the interface of player
Pause play instruction is triggered in target position, to simulate pause in position (position etc. as where interface midpoint, pause button)
Operation (is such as clicked).
In this way of example, for third-party player, video can be played by analog subscriber operation suspension.
Certainly, the mode that above-mentioned pause plays video is intended only as example, in implementing the embodiments of the present invention, can basis
The mode that other pauses play video is arranged in actual conditions, and the embodiments of the present invention are not limited thereto.In addition, in addition to above-mentioned temporary
Break outside the mode for putting video, those skilled in the art can also play the side of video using other pauses according to actual needs
Formula, the embodiment of the present invention are also without restriction to this.
In embodiments of the present invention, the target pausing operation of video playing is directed to by receiving, i.e., it is temporary by screen locking key
The broadcasting for stopping video playing is looked into when the display interface after receiving unlock instruction and unlocking is the interface that video pause plays
The frequency of use of target pausing operation is ask, if frequency of use is less than or equal to preset threshold, pause can be kept to play video,
It can be gone out in user by screen locking key and shield pause broadcasting video, when reusing mobile terminal, video data pause be maintained to broadcast
It puts, avoids making a sound, user is avoided to encounter awkwardness.
Referring to Fig. 2, the flow chart of another embodiment of the playback method of video data of the invention is shown, it specifically can be with
Include the following steps:
Step 201, when detecting the pausing operation of video, the pausing operation is recorded.
In embodiments of the present invention, the player for being used to play video installed in mobile terminal can be detected automatically.
If monitoring the starting of the player, the pausing operation of the video played on the player can be monitored.
In the concrete realization, pausing operation includes target pausing operation, i.e., temporarily by screen locking key (executing screen locking processing)
Stop the operation of video playing.
Certainly, other than target temporarily operates and is, there may also be other pausing operations, for example, temporary by pause button
Break and put video, suspend broadcasting video by Home key, etc., the embodiments of the present invention are not limited thereto.
If detect the pausing operation of video, its relevant information can recorde, for example, the title of player, pause
Mode (such as target pausing operation), pause time, etc..
Step 202, calculate the target pausing operation number account for the pausing operation total degree ratio.
In embodiments of the present invention, the total degree of all pausing operations can be counted, and, statistics target pausing operation
Number, the number of calculating target pausing operation account for the ratio of the total degree of all pausing operations.
Assuming that the number of target pausing operation is x, the total degrees of all pausing operations is y, ratio m, then m=x/y.
Step 203, it is stored using the ratio as frequency of use.
In the concrete realization, it can know that user (is executed by screen locking key by the ratio of statistics target pausing operation
Screen locking processing) pause video playing probability, analyze the behavior disposition of user, storage in the database, so that it is determined that when unlock
To the processing mode of the video of pause.
Furthermore, it can be determined that whether the ratio is less than or equal to preset threshold.
If so, determining that target pausing operation belongs to burst usage type, corresponding user group will be judged as
Pass through the broadcasting of screen locking key (executing screen locking processing) pause video in burst scene.
If not, it is determined that target pausing operation belongs to conventional usage type, and corresponding user group will be judged as
Frequently by the broadcasting of screen locking key (executing screen locking processing) pause video.
Step 204, the target pausing operation for being directed to video playing is received.
Wherein, target pausing operation is the operation for suspending video playing by screen locking key.
Step 205, if receiving unlock instruction, and the display interface after unlock is the interface that the video pause plays,
Obtain the frequency of use of the target pausing operation.
Wherein, frequency of use is the ratio that the number of the target pausing operation accounts for the total degree of pausing operation, and is suspended
Operation is the pausing operation for video playing.
Step 206, if the frequency of use is less than or equal to preset threshold, the halted state of the video is kept.
In embodiments of the present invention, persistently pausing operation can be recorded, persistently to the ratio of target pausing operation
(frequency of use) is counted, to be monitored to arrive target pausing operation and unlock instruction, then can extract the use in the database
Frequency can then keep pause to play current video when the frequency of use is less than or equal to preset threshold.
Referring to Fig. 3, the flow chart of the another embodiment of the playback method of video data of the invention is shown, it specifically can be with
Include the following steps:
Step 301, the target pausing operation for being directed to video playing is received.
Wherein, target pausing operation is the operation for suspending video playing by screen locking key.
Step 302, if receiving unlock instruction, and the display interface after unlock is the interface that the video pause plays,
Obtain the frequency of use of the target pausing operation.
Wherein, frequency of use is the ratio that the number of the target pausing operation accounts for the total degree of pausing operation, and is suspended
Operation is the pausing operation for video playing.
Step 303, if the frequency of use is less than or equal to preset threshold, the halted state of the video is kept.
Step 304, it generates and plays selection information.
In embodiments of the present invention, after pause plays video, pop-up can be generated, show and play selection information.
Wherein, playing selection information includes continuing broadcast information, pause broadcast information.
Step 305, when the continuation broadcast information is triggered, restore to play the video.
If user, which clicks, continues broadcast information, make its triggering, then mobile terminal can restore to play video.
In one embodiment, it can determine the player for playing video, play instruction be sent to player, with control
Player restores to play video.
In this way of example, for the player that operating system carries, can directly it be broadcast by play instruction control
Device is put to restore to play video.
In another embodiment, it can determine the player for playing video, target is determined on the interface of player
Position (position etc. as where interface midpoint, pause button) triggers in target position and replys play instruction, plays to simulate
Operation (is such as clicked).
In this way of example, for third-party player, video can be played by analog subscriber operation recovery.
Certainly, the mode that above-mentioned recovery plays video is intended only as example, in implementing the embodiments of the present invention, can basis
Other modes for restoring to play video are arranged in actual conditions, and the embodiments of the present invention are not limited thereto.In addition, in addition to above-mentioned extensive
Replay is put outside the mode of video, and those skilled in the art can also be according to actual needs using other sides for restoring to play video
Formula, the embodiment of the present invention are also without restriction to this.
Step 306, when the pause broadcast information is triggered, the halted state of the video is kept.
If user clicks pause broadcast information, make its triggering, then mobile terminal can continue to keep temporary without processing
Break and puts video.
Step 307, cancel and show that the broadcasting selects information.
It plays after selection information is triggered and performs corresponding processing, pop-up can be cancelled, to cancel broadcasting selection letter
Breath.
Step 308, if the frequency of use is greater than preset threshold, restore to play the video.
If target pausing operation frequency of use is greater than preset threshold in the mobile terminal, indicate that user passes through screen locking
Key (executing screen locking processing) pause plays video, and larger may be to be commonly used, that is, belong to habitual operation.
Therefore, when mobile terminal receives unlock instruction and executes unlock processing, player broadcasting video to be restored, it then follows
User's habit allows player voluntarily to restore to play video.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Referring to Fig. 4, the block diagram of mobile terminal embodiment of the invention is shown, mobile terminal 400 shown in Fig. 4 specifically may be used
To include following module:
Target pausing operation receiving module 401, for receiving the target pausing operation for being directed to video playing, the target is temporary
Stop operation as by the operation of screen locking key pause video playing;
Frequency of use obtains module 402, if for receiving unlock instruction, and the display interface after unlock is the video
Suspend the interface played, obtain the frequency of use of the target pausing operation, the frequency of use is the target pausing operation
Number account for pausing operation total degree ratio, the pausing operation be for video playing pausing operation;
Pause keeps module 403, if being less than or equal to preset threshold for the frequency of use, keeps the pause of the video
State.
In one embodiment of the invention, the pause holding module 403 includes:
First player inquires submodule, for determining the player for playing the video;
Pause instruction sending submodule, for sending pause instruction to the player, to control the player pause
Play the video;
Alternatively,
First object position determination submodule, for determining target position on the interface of the player;
Pause instruction triggers submodule, for triggering pause instruction in the target position.
In one embodiment of the invention, further includes:
Selection information generating module is played, plays selection information for generating, the broadcasting selection information includes continuing to broadcast
Put information, pause broadcast information;
Video recovery playing module plays the video for restoring when the continuation broadcast information is triggered;
Pause, which plays, keeps module, for keeping the pause shape of the video when the pause broadcast information is triggered
State;
It plays selection information and cancels module, show that the broadcasting selects information for cancelling.
In one embodiment of the invention, the video recovery playing module includes:
Second player inquires submodule, for determining the player for playing the video;
Play instruction sending submodule is restored for sending play instruction to the player with controlling the player
Play the video;
Alternatively,
Second target position determines submodule, for determining target position on the interface of the player;
Play instruction triggers submodule, for triggering play instruction in the target position.
In one embodiment of the invention, further includes:
Restore playing module, if being greater than preset threshold for the frequency of use, restores to play the video.
In one embodiment of the invention, further includes:
Suspend behavior record module, it is described temporary for when detecting the pausing operation of video, recording the pausing operation
Stopping operation includes target pausing operation;
Ratio computing module, the number for calculating the target pausing operation account for the ratio of the total degree of the pausing operation
Example;
Frequency of use memory module, for being stored using the ratio as frequency of use.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 3 and realize
Each process, to avoid repeating, which is not described herein again.
In embodiments of the present invention, the target pausing operation of video playing is directed to by receiving, i.e., it is temporary by screen locking key
The broadcasting for stopping video playing is looked into when the display interface after receiving unlock instruction and unlocking is the interface that video pause plays
The frequency of use of target pausing operation is ask, if frequency of use is less than or equal to preset threshold, pause can be kept to play video,
It can be gone out in user by screen locking key and shield pause broadcasting video, when reusing mobile terminal, video data pause be maintained to broadcast
It puts, avoids making a sound, user is avoided to encounter awkwardness.
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention.
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated
Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor
The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted
Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 510, for receiving the target pausing operation for being directed to video playing, the target pausing operation is
Suspend the operation of video playing by screen locking key;If receiving unlock instruction, and the display interface after unlock is the video
Suspend the interface played, obtain the frequency of use of the target pausing operation, the frequency of use is the target pausing operation
Number account for pausing operation total degree ratio, the pausing operation be for video playing pausing operation;If described make
It is less than or equal to preset threshold with frequency, keeps the halted state of the video.
In embodiments of the present invention, the target pausing operation of video playing is directed to by receiving, i.e., it is temporary by screen locking key
The broadcasting for stopping video playing is looked into when the display interface after receiving unlock instruction and unlocking is the interface that video pause plays
The frequency of use of target pausing operation is ask, if frequency of use is less than or equal to preset threshold, pause can be kept to play video,
It can be gone out in user by screen locking key and shield pause broadcasting video, when reusing mobile terminal, video data pause be maintained to broadcast
It puts, avoids making a sound, user is avoided to encounter awkwardness.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor
(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited
Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike
Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear
Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and
Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071
Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area
It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments
5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it
On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching
The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display
Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal
Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage
Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511
Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in
On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510
Each process of the playback method embodiment of the above-mentioned video data of Shi Shixian, and identical technical effect can be reached, to avoid weight
Multiple, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each mistake of the playback method embodiment of above-mentioned video data when being executed by processor
Journey, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium
Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (12)
1. a kind of playback method of video data is applied to mobile terminal characterized by comprising
The target pausing operation for being directed to video playing is received, the target pausing operation is to suspend video playing by screen locking key
Operation;
If receiving unlock instruction, and the display interface after unlock is the interface that the video pause plays, and obtains the target
The frequency of use of pausing operation, the frequency of use are the ratio that the number of the target pausing operation accounts for the total degree of pausing operation
Example, pausing operation are the pausing operation for all videos played on the mobile terminal;
If the frequency of use is less than or equal to preset threshold, the halted state of the video is kept.
2. the method according to claim 1, wherein the halted state for keeping the video, comprising:
Determine the player for playing the video;
Pause instruction is sent to the player, keeps pause to play the video to control the player;
Alternatively,
Target position is determined on the interface of the player, triggers pause play instruction in the target position.
3. the method according to claim 1, wherein being gone back after the halted state for keeping the video
Include:
It generates and plays selection information, the broadcasting selection information includes continuing broadcast information, pause broadcast information;
When the continuation broadcast information is triggered, restore to play the video;
When the pause broadcast information is triggered, the halted state of the video is kept;
Cancel and shows that the broadcasting selects information.
4. according to the method described in claim 3, it is characterized in that, the recovery plays the video, comprising:
Determine the player for playing the video;
Play instruction is sent to the player, restores to play the video to control the player;
Alternatively,
Target position is determined on the interface of the player, is triggered in the target position and is restored play instruction.
5. method according to claim 1-4, which is characterized in that if receiving unlock instruction described, and solve
Display interface after lock is the interface that the video pause plays, after the frequency of use for obtaining the target pausing operation, also
Include:
If the frequency of use is greater than preset threshold, restore to play the video.
6. a kind of mobile terminal characterized by comprising
Target pausing operation receiving module, for receiving the target pausing operation for being directed to video playing, the target pausing operation
For the operation for suspending video playing by screen locking key;
Frequency of use obtains module, if for receiving unlock instruction, and the display interface after unlock is that the video pause is broadcast
The interface put, obtains the frequency of use of the target pausing operation, and the frequency of use is the number of the target pausing operation
The ratio of the total degree of pausing operation is accounted for, pausing operation is the pause behaviour for all videos played on the mobile terminal
Make;
Pause keeps module, if being less than or equal to preset threshold for the frequency of use, keeps the halted state of the video.
7. mobile terminal according to claim 6, which is characterized in that the pause keeps the module to include:
First player inquires submodule, for determining the player for playing the video;
Pause instruction sending submodule is played for sending pause instruction to the player with controlling the player pause
The video;
Alternatively,
First object position determination submodule, for determining target position on the interface of the player;
Pause instruction triggers submodule, for triggering pause instruction in the target position.
8. mobile terminal according to claim 6, which is characterized in that further include:
Selection information generating module is played, plays selection information for generating, the broadcasting selection information includes continuing to play letter
Breath, pause broadcast information;
Video recovery playing module plays the video for restoring when the continuation broadcast information is triggered;
Pause, which plays, keeps module, for keeping the halted state of the video when the pause broadcast information is triggered;
It plays selection information and cancels module, show that the broadcasting selects information for cancelling.
9. mobile terminal according to claim 8, which is characterized in that the video recovery playing module includes:
Second player inquires submodule, for determining the player for playing the video;
Play instruction sending submodule is restored to play for sending play instruction to the player to control the player
The video;
Alternatively,
Second target position determines submodule, for determining target position on the interface of the player;
Play instruction triggers submodule, for triggering play instruction in the target position.
10. according to the described in any item mobile terminals of claim 6-9, which is characterized in that further include:
Restore playing module, if being greater than preset threshold for the frequency of use, restores to play the video.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor
Any one of described in video data playback method the step of.
12. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence realizes the broadcasting of the video data as described in any one of claims 1 to 5 when the computer program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711464004.5A CN108235087B (en) | 2017-12-28 | 2017-12-28 | A kind of playback method of video data, mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711464004.5A CN108235087B (en) | 2017-12-28 | 2017-12-28 | A kind of playback method of video data, mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108235087A CN108235087A (en) | 2018-06-29 |
CN108235087B true CN108235087B (en) | 2019-07-26 |
Family
ID=62645562
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711464004.5A Active CN108235087B (en) | 2017-12-28 | 2017-12-28 | A kind of playback method of video data, mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108235087B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114115793A (en) * | 2021-12-01 | 2022-03-01 | 维沃移动通信有限公司 | Audio adjusting method and audio adjusting device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0775082A (en) * | 1993-09-02 | 1995-03-17 | Matsushita Electric Ind Co Ltd | Terminal equipment for catv |
EP2521018A2 (en) * | 2011-05-06 | 2012-11-07 | Lg Electronics Inc. | Mobile device and control method thereof |
CN104581320A (en) * | 2013-10-16 | 2015-04-29 | 中兴通讯股份有限公司 | Method, device and terminal for switching play modes |
CN107147928A (en) * | 2017-05-23 | 2017-09-08 | 努比亚技术有限公司 | Play method, terminal and the computer-readable recording medium of video |
CN107241648A (en) * | 2017-06-26 | 2017-10-10 | 中广热点云科技有限公司 | The mobile terminal of video is played under a kind of screen lock state under video broadcasting method and screen lock state |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101474467B1 (en) * | 2013-07-09 | 2014-12-19 | 엘지전자 주식회사 | Mobile terminal and control method for the mobile terminal |
US9531422B2 (en) * | 2013-12-04 | 2016-12-27 | Lg Electronics Inc. | Mobile terminal and control method for the mobile terminal |
US9632664B2 (en) * | 2015-03-08 | 2017-04-25 | Apple Inc. | Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback |
US9942611B2 (en) * | 2015-12-21 | 2018-04-10 | Rovi Guides, Inc. | Methods and systems for displaying a countdown alert for children |
KR102429740B1 (en) * | 2015-12-24 | 2022-08-05 | 삼성전자 주식회사 | Method and apparatus for precessing touch event |
CN107291302B (en) * | 2017-07-28 | 2020-02-07 | Oppo广东移动通信有限公司 | Control method and device of touch screen, storage medium and terminal |
-
2017
- 2017-12-28 CN CN201711464004.5A patent/CN108235087B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0775082A (en) * | 1993-09-02 | 1995-03-17 | Matsushita Electric Ind Co Ltd | Terminal equipment for catv |
EP2521018A2 (en) * | 2011-05-06 | 2012-11-07 | Lg Electronics Inc. | Mobile device and control method thereof |
CN104581320A (en) * | 2013-10-16 | 2015-04-29 | 中兴通讯股份有限公司 | Method, device and terminal for switching play modes |
CN107147928A (en) * | 2017-05-23 | 2017-09-08 | 努比亚技术有限公司 | Play method, terminal and the computer-readable recording medium of video |
CN107241648A (en) * | 2017-06-26 | 2017-10-10 | 中广热点云科技有限公司 | The mobile terminal of video is played under a kind of screen lock state under video broadcasting method and screen lock state |
Also Published As
Publication number | Publication date |
---|---|
CN108235087A (en) | 2018-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110177296A (en) | A kind of video broadcasting method and mobile terminal | |
CN110062105A (en) | A kind of interface display method and terminal device | |
CN108418950B (en) | Message prompt method and mobile terminal | |
CN110058836A (en) | A kind of output method and terminal device of audio signal | |
CN108391008A (en) | A kind of message prompt method and mobile terminal | |
CN108512980A (en) | A kind of detection method and mobile terminal of mobile terminal | |
CN108509141A (en) | A kind of generation method and mobile terminal of control | |
CN108319833A (en) | A kind of control method and mobile terminal of application program | |
CN108347642B (en) | A kind of video broadcasting method and mobile terminal | |
CN109992192A (en) | A kind of interface display method and terminal device | |
CN109474747A (en) | A kind of information cuing method and mobile terminal | |
CN108307048A (en) | A kind of message output method and device and mobile terminal | |
CN109218984A (en) | A kind of method for tracing and mobile terminal | |
CN108718360A (en) | A kind of charging method and mobile terminal | |
CN108235087B (en) | A kind of playback method of video data, mobile terminal | |
CN109246312B (en) | Information prompting method and mobile terminal | |
CN110290317A (en) | A kind of camera control method and terminal device | |
CN109992941A (en) | A kind of right management method and terminal device | |
CN108600824A (en) | A kind of record screen method and terminal device | |
CN109614827A (en) | The control method and mobile terminal of mobile terminal | |
CN109729431A (en) | The method for secret protection and terminal device of video | |
CN109582174A (en) | A kind of touch-control input response method and terminal device | |
CN108737762A (en) | A kind of video call method and terminal device | |
CN108540654A (en) | A kind of operating method and mobile terminal of mobile terminal | |
CN108184014A (en) | The based reminding method and mobile terminal of a kind of notification message |
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 |