CN107147928A - Play method, terminal and the computer-readable recording medium of video - Google Patents

Play method, terminal and the computer-readable recording medium of video Download PDF

Info

Publication number
CN107147928A
CN107147928A CN201710371586.6A CN201710371586A CN107147928A CN 107147928 A CN107147928 A CN 107147928A CN 201710371586 A CN201710371586 A CN 201710371586A CN 107147928 A CN107147928 A CN 107147928A
Authority
CN
China
Prior art keywords
terminal
video
screen
instruction
putting
Prior art date
Application number
CN201710371586.6A
Other languages
Chinese (zh)
Inventor
杜鹏
Original Assignee
努比亚技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Priority to CN201710371586.6A priority Critical patent/CN107147928A/en
Publication of CN107147928A publication Critical patent/CN107147928A/en

Links

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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers; Analogous equipment at exchanges
    • H04M1/72Substation extension arrangements; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selecting
    • H04M1/725Cordless telephones
    • H04M1/72519Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status
    • H04M1/72563Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status with means for adapting by the user the functionality or the communication capability of the terminal under specific circumstances
    • H04M1/72569Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status with means for adapting by the user the functionality or the communication capability of the terminal under specific circumstances according to context or environment related information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers; Analogous equipment at exchanges
    • H04M1/72Substation extension arrangements; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selecting
    • H04M1/725Cordless telephones
    • H04M1/72519Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status
    • H04M1/72597Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status wherein handling of applications is triggered by incoming communication events
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4436Power management, e.g. shutting down unused components of the receiver
    • 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

Abstract

The invention discloses a kind of method for playing video, this method includes:During terminal bright screen plays video, detect the terminal and whether receive and put out screen instruction;If the terminal, which is received, puts out screen instruction, judge whether the currently playing video of the terminal is supported to put out screen play mode;If screen play mode is put out in the currently playing video support of the terminal, the display screen of the screen instruction control terminal is put out according into screen state is put out, while blocking the image of the video to export and maintaining the audio output of the video.The invention also discloses a kind of terminal and a kind of computer-readable recording medium.The present invention can alleviate the visual fatigue of user, reduce user misoperation, while reducing the electric quantity consumption of terminal.

Description

Play method, terminal and the computer-readable recording medium of video

Technical field

The present invention relates to field of terminal technology, more particularly to play method, terminal and the computer-readable storage medium of video Matter.

Background technology

With the development of the mobile terminal technologies such as mobile phone, it is increasingly becoming people's life & amusement using mobile phone viewing video and lies fallow One of mode.The common scenario that current mobile phone plays video is:When mobile phone plays video, mobile phone screen keeps Chang Liangzhuan State, while user presses power key and puts out screen, video playback also respective pause.This broadcast mode has the following disadvantages:

First, user is when long-time watches video, especially TV play, it is easy to produce visual fatigue;Secondly, working Race's Comparision is busy, often watches video on road on and off duty, on bus, not only dangerous, and when getting on or off the bus Directly mobile phone is put into pocket also easily causes maloperation;Again, people are also frequent opening video playback when doing housework Device watches video, but basic simply in listening, and mobile phone screen keeps normal bright state undoubtedly to increase disappearing for mobile phone electricity Consumption, is unfavorable for the long continuation of the journey of battery of mobile phone.

The content of the invention

It is a primary object of the present invention to propose a kind of method, terminal and computer-readable recording medium for playing video, It is intended to alleviate the visual fatigue of user, user misoperation is reduced, while reducing the electric quantity consumption of terminal.

To achieve the above object, the present invention provides a kind of method for playing video, and methods described comprises the following steps:

During terminal bright screen plays video, detect the terminal and whether receive and put out screen instruction;

If the terminal, which is received, puts out screen instruction, judge whether the currently playing video of the terminal supports that putting out screen plays Pattern;

If the currently playing video of the terminal is supported to put out screen play mode, the screen instruction control end is put out according to The display screen at end, which enters, puts out screen state, while blocking the image of the video to export and maintaining the audio output of the video.

Alternatively, the image for blocking the video is exported and included the step of maintaining the audio output of the video:

The video image output channel of the terminal is controlled to close or enter low power consumpting state, while obtaining the video pair The digital audio stream answered;

The digital audio stream is sent the audio output path to the terminal to export corresponding audio signal.

Alternatively, the display screen of the screen instruction control terminal is put out described in the basis into screen state is put out, is blocked simultaneously After the step of image of the video exports and maintains the audio output of the video, in addition to:

Detect whether the terminal receives bright screen instruction in the first preset duration entered after putting out screen state;

If so, then controlling the video image output channel of the terminal to open, currently exported with the terminal while obtaining The corresponding video image digital stream of audio signal;

By the video image digital stream to the image output channel of the terminal to export corresponding picture signal.

Alternatively, whether the detecting terminal receives bright screen in the first preset duration entered after putting out screen state After the step of instruction, in addition to:

If it is not, then suspending the broadcasting of the video and controlling the terminal to enter preset dormancy state.

Alternatively, it is described during terminal bright screen plays video, detect the terminal and whether receive and put out screen instruction Step includes:

During terminal bright screen plays video, detecting whether there is the pressing operation based on the terminal supplying power key;

If in the presence of the pressing operation based on the terminal supplying power key, judging that the terminal is received and putting out screen instruction.

Alternatively, it is described during terminal bright screen plays video, detect the terminal and whether receive and put out screen instruction Step also includes:

During terminal bright screen plays video, judge whether the terminal receives touch in the second preset duration and refer to Order or key command;

If the terminal does not receive touching instruction and key command in the second preset duration, screen instruction is put out in generation.

Alternatively, it is described during terminal bright screen plays video, detect the terminal and whether receive and put out screen instruction Before step, in addition to:

The play mode of the video of the terminal plays is set according to the setting instruction of user.

Alternatively, after the step of whether video for judging that the terminal is currently playing is supported to put out screen play mode, Also include:

If the currently playing video of the terminal is not supported to put out screen play mode, export prompt message to point out user to beat That opens the video puts out screen play mode.

In addition, to achieve the above object, the present invention also provides a kind of terminal, and the terminal includes:Memory, processor and What is be stored on the memory and can run on the processor puts out the program that screen plays video, and the screen that puts out plays video Program by realized during the computing device it is as described above play video method the step of.

In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable It is stored with storage medium and puts out the program that screen plays video, the program for putting out screen broadcasting video is realized such as when being executed by processor The step of method of upper described broadcasting video.

Whether the present invention is played in terminal bright screen during video, detect the terminal and receive and put out screen instruction;If described Terminal, which is received, puts out screen instruction, then judges whether the currently playing video of the terminal is supported to put out screen play mode;If the end The currently playing video in end supports to put out screen play mode, then according to the display screen for putting out the screen instruction control terminal into putting out Screen state, while blocking the image of the video to export and maintaining the audio output of the video.By the above-mentioned means, of the invention The mode of a kind of tin of video is provided the user, which can either make user get video content, can alleviate user again Visual fatigue caused by video is seen for a long time, the maloperation of user can be reduced while putting out screen and playing, the electricity of reduction terminal disappears Consumption.

Brief description of the drawings

Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the invention;

Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;

Fig. 3 plays the schematic flow sheet of the method first embodiment of video for the present invention;

Fig. 4 puts out the schematic diagram of a scenario that screen plays video for terminal in the embodiment of the present invention;

Fig. 5 plays for the present invention to be blocked the image of the video to export and remains described in the method first embodiment of video The refinement schematic flow sheet of the audio output of video;

Fig. 6 plays the schematic flow sheet of the method second embodiment of video for the present invention;

Fig. 7 plays the schematic flow sheet of the method 3rd embodiment of video for the present invention.

The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.

Embodiment

It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.

In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed Ground is used.

Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media termination (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are mobile Terminal, and the fixed terminal such as numeral TV, desktop computer.

It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.

Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.

The all parts of mobile terminal are specifically introduced with reference to Fig. 1:

Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..

WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.

Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..

A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042,1041 pairs of graphics processor is in video acquisition mode Or the view data progress of the static images or video obtained in image capture mode by image capture apparatus (such as camera) Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after being handled through graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound The noise produced during frequency signal or interference.

Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.

Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.

User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.

Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein Limit.

Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with For transmitting data between mobile terminal 1 00 and external device (ED).

Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.

Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulatedemodulate mediate Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.

Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.

Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..

For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below Row description.

Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。

Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.

E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.

EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.

IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..

Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.

Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.

The present invention provides a kind of method for playing video.

Reference picture 3, Fig. 3 plays the schematic flow sheet of the method first embodiment of video for the present invention, and methods described includes:

Whether step S10, during terminal bright screen plays video, detect the terminal and receive and put out screen instruction;

In the present embodiment, terminal can have the equipment of video playback capability for mobile phone, tablet personal computer etc..Using mobile phone as Example is illustrated, in the prior art, and user plays video using mobile phone, because current most of video players are all with anti- Only mobile phone puts out the function of screen, therefore in video display process, the display screen of mobile phone can be always maintained at illuminating state, when user presses While lower power key puts out screen, video playback (including image and sound) also respective pause, if want to continue to watch video must by user Lock screen must be solved and press play button to play video.

Therefore, the present embodiment proposes a kind of method for playing video, applied to terminal.First, terminal is played in bright screen and regarded During frequency, whether detecting, which receives, is put out screen instruction, and this, which puts out screen instruction, can be pressed the power key of terminal by user or treat switch Generation, or, for some without the player for preventing that terminal from putting out screen function, putting out screen instruction can also be automatically generated by terminal, What such as user pre-set terminal is 1 minute without operation dormancy time, and it is any that terminal did not detected user's execution in 1 minute Screen instruction is put out in operation, i.e. generation, and now terminal automatic distinguishing screen and will enter resting state.

Step S20, if the terminal, which is received, puts out screen instruction, judges whether the currently playing video of the terminal is supported Put out screen play mode;

If terminal is received during bright screen plays video puts out screen instruction, terminal judges that currently playing video is Screen play mode is put out in no support.

A kind of video that the present embodiment is proposed puts out screen play mode, puts out screen rear video with existing mobile phone and suspends broadcasting Difference be:Put out under screen play mode, even if terminal display screen extinguishes, video still may proceed to play, but now video And exported without image, and audio output is only carried out, so as to provide the user with the experience of a kind of " listening video ".

Specifically, the video play mode that user can be provided by terminal sets function in advance by all of terminal plays Video is both configured to acquiescence support and puts out screen play mode, certainly, and single video can also be set to support and put out screen to broadcast by user Mode playback, such as, can set a support to put out screen on the display interface or menu interface of the currently playing video of terminal and play Screen broadcasting mould is put out in the switch of pattern, the support that user may be selected by whether opening currently playing video by touching the switch Formula.If the currently playing video of terminal, which is pre-set to support, puts out screen play mode, judge that terminal is currently playing and regard Frequency is supported to put out screen play mode.

Step S30, if the currently playing video of the terminal is supported to put out screen play mode, puts out screen instruction control according to The display screen of the terminal is made into screen state is put out, while blocking the image of the video to export and maintaining the audio of the video Output.

In the step, if the currently playing video of terminal is supported to put out screen play mode, terminal is according to putting out for receiving Screen instruction control display screen, which enters, puts out screen state, while blocking the image of currently playing video to export and remain currently playing The audio output of video.

In the prior art, when some video of terminal plays, Video decoding module is by the video format file root of the video Decoded according to specific decoding algorithm, obtain decoded digital video stream.Digital video stream can be divided into image digitization stream again With digital audio stream, wherein, image digitization stream correspondence video image, video image is by system bus, internal memory, by CPU controls Display is output to through MIPI (Mobile Industry Processor Interface, mobile Industry Processor Interface) bus Screen, realize the output of video image, digital audio stream is then sent to audio-frequency module, by audio Codec (audio codec), Power amplifier, loudspeaker realize the output of video sound.In addition, many terminals are also equipped with 3D Graphics Acceleration Modules, in video For improving the presentation speed of complex geometry when image is exported, increase display effect.Screen or standby shape are put out when terminal enters During state, Video decoding module is to be stopped or enter low power consumpting state, now video playback also respective pause.

Reference picture 4, Fig. 4 is put out in the schematic diagram of a scenario that screen plays video, the scene for terminal in the embodiment of the present invention, terminal The audio output of video is still kept in the case where putting out screen state.In the present embodiment, exported as the image of blocking video and maintain to regard A kind of embodiment of the audio output of frequency, after terminal, which enters, puts out screen play mode, Video decoding module does not stop immediately Work or enter low power consumpting state, and be to continue with being decoded video format file obtaining image digitization stream and digital audio Stream, audio output path corresponding with digital audio stream works on, and image output channel corresponding with image digitization stream is then It is closed, so that terminal only carries out audio output to video and exported without image;As blocking, the image of video is defeated Go out and maintain the another embodiment of the audio output of video, after terminal, which enters, puts out screen play mode, Video decoding module Only the audio-frequency unit in video format file can be decoded, without being solved to the image section in video format file Code, digital audio stream is only included so as to decode in obtained digital video stream, the digital audio stream is complete by audio output path Into audio output.

At the same time, the power module of drives terminal display screen, backlight module are also switched off, and touch screen module enters sleep mould Formula.

In this way, user can carry out " listening video " by terminal, can continue acquisition and regard after viewing a period of time video Frequency content, can alleviate visual fatigue again;User is on road on and off duty, " listening video " can also be taken on bus, so as to note Meaning power need not be always held on mobile phone screen, not only safety, and when user gets on or off the bus terminal being put into pocket, terminal Putting out screen state reduces the maloperation of user;In addition, user can also take " listening video " when doing housework, terminal puts out screen shape State greatly reduces the electric quantity consumption of terminal, is conducive to the long continuation of the journey of terminal.

In the present embodiment, during terminal bright screen plays video, detect the terminal and whether receive and put out screen instruction; If the terminal, which is received, puts out screen instruction, judge whether the currently playing video of the terminal is supported to put out screen play mode;If The currently playing video of the terminal is supported to put out screen play mode, is then put out according to and shield the display screen that instruction controls the terminal Into screen state is put out, while blocking the image of the video to export and maintaining the audio output of the video.By the above-mentioned means, The present embodiment has provided the user the mode of a kind of tin of video, and which can either make user get video content, again can Alleviate user and see visual fatigue caused by video for a long time, can reduce the maloperation of user while putting out screen and playing, reduce terminal Electric quantity consumption.

Further, reference picture 5, Fig. 5 is played in the method first embodiment of video for the present invention and is blocked the video Image exports and maintained the refinement schematic flow sheet of the audio output of the video.The image of the video is blocked to export and maintain The step of audio output of the video, can include:

Step S31, controls the video image output channel of the terminal to close or enter low power consumpting state, while obtaining institute State the corresponding digital audio stream of video;

Step S32, the digital audio stream is sent the audio output path to the terminal to export corresponding audio Signal.

While terminal enters and puts out screen state, Video decoding module is not stopped or into low-power consumption shape immediately State, and be to continue with being decoded video format file, audio output path corresponding with digital audio stream works on, i.e. sound Frequency digital stream continues to be sent to audio Codec, power amplifier, loudspeaker to carry out the output of audio signal, and video figure As low power consumpting state is then closed or entered to output channel, now video image digital stream is no longer pass through in system bus deposit system Deposit, alternatively, DSI (Display Serial Interface, display interface) controller, 3D Graphics Acceleration Modules are also closed Close.Thus block the image of video to export and maintain the audio output of video.

Further, reference picture 6, Fig. 6 plays the schematic flow sheet of the method second embodiment of video for the present invention.It is based on Embodiment shown in above-mentioned Fig. 3, after step S30, can also include:

Step S40, whether the detecting terminal receives bright screen in the first preset duration entered after putting out screen state refers to Order;

Step S50, if the terminal receives bright screen instruction in the first preset duration entered after putting out screen state, is controlled The video image output channel for making the terminal is opened, while obtaining regard corresponding with the audio signal that the terminal is currently exported Frequency image digitization stream;

Step S60, the video image digital stream is corresponding to export to the image output channel of the terminal Picture signal.

In the present embodiment, whether terminal detecting receives bright screen in the first preset duration entered after putting out screen state and refers to Order, wherein, the first preset duration can need flexibly to be set according to user, such as 10 minutes, 30 minutes, 1 hour etc.;If eventually Hold and bright screen instruction is received in the first preset duration entered after putting out screen state, such as receive user and be based on terminal supplying power key Or the pressing operation of switch is treated, now terminal control video image output channel is opened, while obtaining the audio with currently exporting The corresponding video image digital stream of signal, video image digital stream is believed to image output channel with exporting corresponding image Number.Specifically, video image digital stream begins to pass through system bus from present video corresponding time point and is transferred to internal memory, by CPU and DSI controller control and are output to display screen, in this way, terminal comes back to bright screen state, corresponding video image output Path is also opened therewith, and user can carry out the normal viewing of video.

Further, after above-mentioned steps S40, it can also include:

Step S70, if the terminal does not receive bright screen instruction in the first preset duration entered after putting out screen state, Suspend the broadcasting of the video and control the terminal to enter preset dormancy state.

Due to terminal put out screen play screen during user possibly off or forget terminal also play video, therefore, For the electric quantity consumption of further reduction terminal, terminal detects whether to receive in the first preset duration entered after putting out screen state Bright screen is instructed, such as receives user based on terminal supplying power key or treat the pressing operation of switch, if terminal puts out screen state entering Bright screen instruction is not received in the first preset duration afterwards, then suspends the broadcasting of current video and control terminal enters preset dormancy State, now the Video decoding module of terminal is to be stopped, and is no longer decoded video format file, and terminal enters default Resting state, the resting state can be system default, can also flexibly be set by user, such as can set dormancy The video player of terminal is closed automatically under state, and other applications are in low power consumpting state, the electricity of drives terminal display screen Source module, backlight module are closed, and touch screen module enters sleep pattern etc..

When the present embodiment terminal receives bright screen instruction in the first preset duration entered after putting out screen state, output is with working as The corresponding picture signal of audio signal of preceding video, it is ensured that user watches the seamless connection of video;And terminal puts out screen in entrance When not receiving bright screen instruction in the first preset duration after state, the broadcasting and control terminal for suspending current video enter default Resting state, reduces the electric quantity consumption of terminal.

Further, based on the embodiment shown in above-mentioned Fig. 3, as a kind of embodiment, step S10 can include:

Step S11, during terminal bright screen plays video, detecting whether there is the pressing based on the terminal supplying power key Operation;

Step S12, if in the presence of the pressing operation based on the terminal supplying power key, judging that the terminal is received and putting out screen and refer to Order.

During terminal bright screen plays video, user presses terminal supplying power key so that screen instruction, terminal are put out in terminal generation Detecting real-time whether there is the pressing operation based on power key, and screen instruction is put out if so, then judging to receive.

As another embodiment, step S10 can include:

Step S13, during terminal bright screen plays video, judges whether the terminal receives in the second preset duration To touching instruction or key command;

Step S14, if the terminal does not receive touching instruction and key command in the second preset duration, generation is put out Screen instruction.

During terminal bright screen plays video, judge in the second preset duration terminal whether receive touching instruction or Key command, wherein, the second preset duration user can flexibly be set as needed, such as 10 minutes, 30 minutes, 1 hour Deng;If terminal does not receive touching instruction and key command in the second preset duration, illustrate user in the second preset duration It is not based on terminal and performs any operation, screen instruction is put out in now terminal generation.If subsequently judging the currently playing video branch of terminal Hold and put out screen play mode, then terminal continues to play current video to put out screen play mode while screen is put out.

Reference picture 7, Fig. 7 plays the schematic flow sheet of the method 3rd embodiment of video for the present invention.Based on above-mentioned Fig. 3 institutes The embodiment shown, before step S10, can also include:

Step S80, the play mode of the video of the terminal plays is set according to the setting instruction of user;

After step S20, it can also include:

Step S90, if the currently playing video of the terminal is not supported to put out screen play mode, exports prompt message to carry That shows user's opening video puts out screen play mode.

In the present embodiment, the video play mode that user can be provided by terminal sets function to pre-set terminal and broadcast The play mode for the video put, the play mode of the video includes putting out screen play mode and existing normal play modes.Setting When putting the play mode of video, all videos of terminal plays can be both configured to acquiescence support and put out screen play mode, certainly, Only currently playing video can also be set to support put out screen play mode, such as, can be in the currently playing video of terminal Display interface or menu interface on set one to support to put out the switch of screen play mode, user can just select by touching the switch Select and whether open the support of currently playing video and put out screen play mode.

When terminal receives and puts out screen instruction, if judging, the currently playing video of terminal is not supported to put out screen play mode, Exportable prompt message is to point out what user opened the video to put out screen play mode.

The present embodiment pre-sets the play mode of the video of terminal plays according to the setting instruction of user, and works as in terminal When the video of preceding broadcasting does not support to put out screen play mode, output prompt message is played with the screen that puts out for pointing out user to open the video Pattern, puts out screen broadcasting video for subsequent terminal and provides premise.

The present invention also provides a kind of terminal.

Terminal of the present invention includes:Memory, processor and it is stored on the memory and can transports on the processor Capable puts out the program that screen plays video, and the program for putting out screen broadcasting video is realized as described above during the computing device The step of playing the method for video.

Wherein, the method that the program for putting out screen broadcasting video run on the processor is realized when being performed can refer to Each embodiment of the method for present invention broadcasting video, here is omitted.

The present invention also provides a kind of computer-readable recording medium.

It is stored with computer-readable recording medium of the present invention and puts out the program that screen plays video, the screen that puts out plays video The step of method of broadcasting video as described above is realized when program is executed by processor.

Wherein, the method that the program for putting out screen broadcasting video run on the processor is realized when being performed can refer to Each embodiment of the method for present invention broadcasting video, here is omitted.

It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the device of key element.

The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.

Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.

Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of method for playing video, it is characterised in that methods described comprises the following steps:
During terminal bright screen plays video, detect the terminal and whether receive and put out screen instruction;
If the terminal, which is received, puts out screen instruction, judge whether the currently playing video of the terminal supports that putting out screen plays mould Formula;
If the currently playing video of the terminal is supported to put out screen play mode, the screen instruction control terminal is put out according to Display screen, which enters, puts out screen state, while blocking the image of the video to export and maintaining the audio output of the video.
2. the method as described in claim 1, it is characterised in that the image of the blocking video exports and remains described and regards The step of audio output of frequency, includes:
The video image output channel of the terminal is controlled to close or enter low power consumpting state, while it is corresponding to obtain the video Digital audio stream;
The digital audio stream is sent the audio output path to the terminal to export corresponding audio signal.
3. method as claimed in claim 1 or 2, it is characterised in that the screen instruction control terminal is put out described in the basis Display screen enter puts out screen state, while the step of blocking the image of the video to export and maintain the audio output of the video it Afterwards, in addition to:
Detect whether the terminal receives bright screen instruction in the first preset duration entered after putting out screen state;
If so, then controlling the video image output channel of the terminal to open, while obtaining the sound currently exported with the terminal The corresponding video image digital stream of frequency signal;
By the video image digital stream to the image output channel of the terminal to export corresponding picture signal.
4. method as claimed in claim 3, it is characterised in that the detecting terminal is entering first after putting out screen state After whether receiving the step of bright screen is instructed in preset duration, in addition to:
If it is not, then suspending the broadcasting of the video and controlling the terminal to enter preset dormancy state.
5. the method as described in claim 1, it is characterised in that described during terminal bright screen plays video, detecting is described Whether terminal, which receives the step of putting out screen instruction, includes:
During terminal bright screen plays video, detecting whether there is the pressing operation based on the terminal supplying power key;
If in the presence of the pressing operation based on the terminal supplying power key, judging that the terminal is received and putting out screen instruction.
6. method as claimed in claim 5, it is characterised in that described during terminal bright screen plays video, detecting is described Whether terminal, which receives the step of putting out screen instruction, also includes:
During terminal bright screen plays video, judge in the second preset duration the terminal whether receive touching instruction or Key command;
If the terminal does not receive touching instruction and key command in the second preset duration, screen instruction is put out in generation.
7. the method as described in claim 1, it is characterised in that described during terminal bright screen plays video, detecting is described Whether terminal is received before the step of putting out screen instruction, in addition to:
The play mode of the video of the terminal plays is set according to the setting instruction of user.
8. method as claimed in claim 7, it is characterised in that whether the video for judging that the terminal is currently playing is supported After the step of putting out screen play mode, in addition to:
If the currently playing video of the terminal is not supported to put out screen play mode, export prompt message to point out user to open institute That states video puts out screen play mode.
9. a kind of terminal, it is characterised in that the terminal includes:Memory, processor and it is stored on the memory and can That runs on the processor puts out the program that screen plays video, and the screen that puts out plays the program of video by the computing device The step of method of broadcasting videos of the Shi Shixian as any one of claim 1 to 8.
10. a kind of computer-readable recording medium, it is characterised in that be stored with the computer-readable recording medium and put out screen and broadcast The program of video is put, the program for putting out screen broadcasting video is realized such as any one of claim 1 to 8 institute when being executed by processor The step of method for the broadcasting video stated.
CN201710371586.6A 2017-05-23 2017-05-23 Play method, terminal and the computer-readable recording medium of video CN107147928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710371586.6A CN107147928A (en) 2017-05-23 2017-05-23 Play method, terminal and the computer-readable recording medium of video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710371586.6A CN107147928A (en) 2017-05-23 2017-05-23 Play method, terminal and the computer-readable recording medium of video

Publications (1)

Publication Number Publication Date
CN107147928A true CN107147928A (en) 2017-09-08

Family

ID=59780826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710371586.6A CN107147928A (en) 2017-05-23 2017-05-23 Play method, terminal and the computer-readable recording medium of video

Country Status (1)

Country Link
CN (1) CN107147928A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995354A (en) * 2017-10-31 2018-05-04 努比亚技术有限公司 A kind of application control method, terminal and computer-readable recording medium
CN108174269A (en) * 2017-12-28 2018-06-15 优酷网络技术(北京)有限公司 Visualize audio frequency playing method and device
CN108235087A (en) * 2017-12-28 2018-06-29 维沃移动通信有限公司 A kind of playback method of video data, mobile terminal
CN108235084A (en) * 2018-02-09 2018-06-29 维沃移动通信有限公司 A kind of video broadcasting method and mobile terminal
CN108337543A (en) * 2017-12-27 2018-07-27 努比亚技术有限公司 A kind of video broadcasting method, terminal and computer readable storage medium
CN110417986A (en) * 2018-04-28 2019-11-05 华为技术有限公司 A kind of method and electronic equipment of screen display of going out

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024490A (en) * 2012-12-26 2013-04-03 北京奇艺世纪科技有限公司 Method and device supporting independent playing of audio and video
CN105578266A (en) * 2015-12-29 2016-05-11 北京奇艺世纪科技有限公司 Audio and video play method and multimedia player
CN105979355A (en) * 2015-12-10 2016-09-28 乐视网信息技术(北京)股份有限公司 Method and device for playing video
CN106648325A (en) * 2016-12-28 2017-05-10 北京金山安全软件有限公司 Method and device for playing videos on screen lock interfaces and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024490A (en) * 2012-12-26 2013-04-03 北京奇艺世纪科技有限公司 Method and device supporting independent playing of audio and video
CN105979355A (en) * 2015-12-10 2016-09-28 乐视网信息技术(北京)股份有限公司 Method and device for playing video
CN105578266A (en) * 2015-12-29 2016-05-11 北京奇艺世纪科技有限公司 Audio and video play method and multimedia player
CN106648325A (en) * 2016-12-28 2017-05-10 北京金山安全软件有限公司 Method and device for playing videos on screen lock interfaces and electronic equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995354A (en) * 2017-10-31 2018-05-04 努比亚技术有限公司 A kind of application control method, terminal and computer-readable recording medium
CN108337543A (en) * 2017-12-27 2018-07-27 努比亚技术有限公司 A kind of video broadcasting method, terminal and computer readable storage medium
CN108174269A (en) * 2017-12-28 2018-06-15 优酷网络技术(北京)有限公司 Visualize audio frequency playing method and device
CN108235087A (en) * 2017-12-28 2018-06-29 维沃移动通信有限公司 A kind of playback method of video data, mobile terminal
CN108235087B (en) * 2017-12-28 2019-07-26 维沃移动通信有限公司 A kind of playback method of video data, mobile terminal
CN108235084A (en) * 2018-02-09 2018-06-29 维沃移动通信有限公司 A kind of video broadcasting method and mobile terminal
CN110417986A (en) * 2018-04-28 2019-11-05 华为技术有限公司 A kind of method and electronic equipment of screen display of going out

Similar Documents

Publication Publication Date Title
CN108055572A (en) Control method, mobile terminal and the computer readable storage medium of mobile terminal
CN107566635A (en) Screen intensity method to set up, mobile terminal and computer-readable recording medium
CN107895561A (en) Method, terminal and the computer-readable recording medium of a kind of intelligent bright screen and the screen that goes out
CN108319512A (en) Display control method, terminal and computer readable storage medium
CN107995354A (en) A kind of application control method, terminal and computer-readable recording medium
CN107402387A (en) Movement tendency based on ultrasonic wave determines method, apparatus and readable storage medium storing program for executing
CN107229402A (en) Dynamic screenshotss method, device and the readable storage medium storing program for executing of terminal
CN108345426A (en) A kind of terminal control method, terminal and computer readable storage medium
CN108227897A (en) Control method for screen display, flexible screen terminal and computer readable storage medium
CN107027114A (en) A kind of SIM card switching method, equipment and computer-readable recording medium
CN107943400A (en) Double-sided screen switching method, mobile terminal and readable storage medium storing program for executing
CN107864357A (en) Video calling special effect controlling method, terminal and computer-readable recording medium
CN107277216A (en) A kind of volume adjusting method, terminal and computer-readable recording medium
CN107562336A (en) A kind of method, equipment and computer-readable recording medium for controlling suspension ball
CN107613362A (en) A kind of video display control method and mobile terminal
CN107682547A (en) A kind of voice messaging regulation and control method, equipment and computer-readable recording medium
CN107145385A (en) A kind of multitask interface display methods, mobile terminal and computer-readable storage medium
CN108280136A (en) A kind of multimedia object method for previewing, equipment and computer readable storage medium
CN108537021A (en) Unlocked by fingerprint method, terminal and computer readable storage medium based on double-sided screen
CN107943384A (en) Terminal and its screens switch, lighting control method, computer-readable recording medium
CN107885474A (en) Multi-screen terminal mobile payment control method, terminal and computer-readable recording medium
CN107844763A (en) A kind of face identification method, mobile terminal and computer-readable recording medium
CN108172161A (en) Display methods, mobile terminal and computer readable storage medium based on flexible screen
CN108108081A (en) Method for information display, mobile terminal and readable storage medium storing program for executing based on double-sided screen
CN108322609A (en) A kind of notification information regulation and control method, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination