CN107332992A - A kind of video broadcasting method and mobile terminal - Google Patents

A kind of video broadcasting method and mobile terminal Download PDF

Info

Publication number
CN107332992A
CN107332992A CN201710514552.8A CN201710514552A CN107332992A CN 107332992 A CN107332992 A CN 107332992A CN 201710514552 A CN201710514552 A CN 201710514552A CN 107332992 A CN107332992 A CN 107332992A
Authority
CN
China
Prior art keywords
mobile terminal
video
screen
duration
play
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.)
Granted
Application number
CN201710514552.8A
Other languages
Chinese (zh)
Other versions
CN107332992B (en
Inventor
张良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710514552.8A priority Critical patent/CN107332992B/en
Publication of CN107332992A publication Critical patent/CN107332992A/en
Application granted granted Critical
Publication of CN107332992B publication Critical patent/CN107332992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44218Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The present invention provides a kind of video broadcasting method and mobile terminal, and this method includes:During mobile terminal bright screen plays video, detect and whether there is video-see object in front of the mobile terminal screen;Video-see object is not present in front of the mobile terminal screen if detecting, the screen display of the mobile terminal is closed, and continue to play the video.The video broadcasting method provided by the present invention, when the embodiment of the present invention in front of mobile terminal screen by being not present user, the screen of one side turning-off mobile terminal, to save the power consumption of mobile terminal, extend the cruising time of mobile terminal, on the other hand video is persistently played, meets the demand that user continues to listen the sound in video.

Description

A kind of video broadcasting method and mobile terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of video broadcasting method and mobile terminal.
Background technology
With the fast development of mobile Internet, a kind of more universal regard is had become by mobile terminal playing video Frequency broadcast mode, is used by increasing user.At present, the mobile terminal screen during by mobile terminal playing video All the time illuminating state is in, video playback more power consumption is caused.Once and turning-off mobile terminal screen, then video pause play, Influence user uses.
In the prior art, video playback more power consumption is caused for video playback form under different usage scenarios is single Problem, not yet proposes effective solution at present.
The content of the invention
The embodiment of the present invention provides a kind of video broadcasting method and mobile terminal, is broadcast with solving video under different usage scenarios Put form it is single cause video playback more power consumption the problem of.
In a first aspect, the embodiments of the invention provide a kind of video broadcasting method, applied to mobile terminal, this method bag Include:
During the mobile terminal bright screen plays video, detect and whether there is video in front of the mobile terminal screen Watch object;
Video-see object is not present in front of the mobile terminal screen if detecting, the screen of the mobile terminal is closed Curtain display, and continue to play the video.
Second aspect, the embodiment of the present invention also provides a kind of mobile terminal.The mobile terminal includes:
First detection module, during playing video in the mobile terminal bright screen, detects the mobile terminal screen Curtain front whether there is video-see object;
Closedown module, if video-see object is not present in front of the mobile terminal screen for detecting, closes institute The screen display of mobile terminal is stated, and continues to play the video.
The third aspect, the embodiment of the present invention also provides a kind of mobile terminal, including processor, memory and is stored in described On memory and the video reproduction program that can run on the processor, the video reproduction program is by the computing device The step of Shi Shixian above-mentioned video broadcasting methods.
Fourth aspect, the embodiment of the present invention also provides a kind of computer-readable recording medium, the computer-readable storage Be stored with video reproduction program on medium, and the video reproduction program realizes above-mentioned video broadcasting method when being executed by processor The step of.
So, in the embodiment of the present invention, during mobile terminal bright screen plays video, the mobile terminal screen is detected Front whether there is video-see object;Video-see object is not present in front of the mobile terminal screen if detecting, closes The screen display of the mobile terminal is closed, and continues to play the video.The embodiment of the present invention passes through before mobile terminal screen When user is not present in side, the screen of one side turning-off mobile terminal, to save the power consumption of mobile terminal, extension mobile terminal In cruising time, video is persistently on the other hand played, the demand that user continues to listen the sound in video is met.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed for description of the embodiment of the present invention The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart of video broadcasting method provided in an embodiment of the present invention;
Fig. 2 is the flow chart for the video broadcasting method that further embodiment of this invention is provided;
Fig. 3 is the flow chart for the video broadcasting method that further embodiment of this invention is provided;
Fig. 4 is one of structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is the two of the structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the three of the structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the four of the structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 8 is the five of the structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 9 is the six of the structure chart of mobile terminal provided in an embodiment of the present invention;
Figure 10 is the seven of the structure chart of mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of video broadcasting method, applied to mobile terminal.Referring to Fig. 1, Fig. 1 is of the invention real The flow chart of the video broadcasting method of example offer is applied, as shown in figure 1, comprising the following steps:
Step 101, during mobile terminal bright screen plays video, detect and whether there is in front of the mobile terminal screen Video-see object.
, can be by the infrared ray distance of mobile terminal during mobile terminal bright screen plays video in the present embodiment It whether there is video-see object in front of sensor, and/or the camera detection mobile terminal screen of mobile terminal, wherein, institute State infrared ray range sensor and be located at homonymy with the mobile terminal screen, the camera is located at the mobile terminal screen Homonymy.
For example, in order to save mobile terminal electricity, mobile terminal screen first can be detected using infrared ray range sensor Front whether there is video-see object, for example, whether there is barrier in detection screen front preset distance range, if in the presence of Then determine there is video-see object in front of mobile terminal screen, otherwise determine that screen is not present in front of screen watches object.Can Choosing, front camera collection screen forward image can be started when infrared ray range sensor detects failure, to detect screen Curtain front whether there is face, if detecting face, it is determined that there is video-see object in front of screen, otherwise determine before screen Side is not present screen and watches object.
If step 102, detecting video-see object being not present in front of the mobile terminal screen, the movement is closed The screen display of terminal, and continue to play the video.
In the present embodiment, when video-see object is not present in front of mobile terminal screen, namely user there is currently no Watch video, then can be with the screen of turning-off mobile terminal, and the video is persistently played, to save electricity.Specifically, at some Under scene, for example, the scene such as move, cycle, walk, drive, doing housework, user may when by mobile terminal playing video And video content need not be watched, and only want to listen the sound in video, now, shown by the screen of turning-off mobile terminal Show, can effectively reduce mobile terminal power consumption, extend the cruising time of mobile terminal, pass through lasting broadcasting video, Ke Yiman Sufficient user listens the demand of the sound in video.In the embodiment of the present invention, above-mentioned mobile terminal can be mobile phone, tablet personal computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal Digital assistant, abbreviation PDA) or wearable device (Wearable Device) etc..
The video broadcasting method of the embodiment of the present invention, during mobile terminal bright screen plays video, detects the movement It whether there is video-see object in front of terminal screen;Video-see pair is not present in front of the mobile terminal screen if detecting As then closing the screen display of the mobile terminal, and continue to play the video.The embodiment of the present invention passes through in mobile terminal When user is not present in front of screen, the screen of one side turning-off mobile terminal, to save the power consumption of mobile terminal, extension movement In the cruising time of terminal, video is persistently on the other hand played, the demand that user continues to listen the sound in video is met.
Referring to Fig. 2, Fig. 2 is the flow chart of video broadcasting method provided in an embodiment of the present invention.The embodiment of the present invention with it is upper The difference of one embodiment, which is essentially consisted in, to be had also combined screen brightness value to determine whether turning-off mobile terminal screen.The present invention is implemented In, if video-see object is not present in described detect in front of the mobile terminal screen, close the screen of the mobile terminal Curtain display, and continue to play the video, including:Video-see pair is not present in front of the mobile terminal screen if detecting As then obtaining the brightness value of the mobile terminal screen;If the brightness value of the mobile terminal screen is less than or equal to default bright Angle value, then judge whether the brightness value of the mobile terminal screen reaches that first presets less than or equal to the duration of predetermined luminance value Duration;If the brightness value of the mobile terminal screen be less than or equal to predetermined luminance value duration reach described first it is default when It is long, then the screen display of the mobile terminal is closed, and continue to play the video.
As shown in Fig. 2 the video broadcasting method that the present invention implements to provide comprises the following steps:
Step 201, during mobile terminal bright screen plays video, detect and whether there is in front of the mobile terminal screen Video-see object.
The step will not be repeated here with above-mentioned steps 101.
If step 202, detecting video-see object being not present in front of the mobile terminal screen, the movement is obtained The brightness value of terminal screen.
If the brightness value of step 203, the mobile terminal screen is less than or equal to predetermined luminance value, the movement is judged Whether the duration that the brightness value of terminal screen is less than or equal to predetermined luminance value reaches the first preset duration.
In the present embodiment, predetermined luminance value can be configured according to actual conditions, for example, it may be mobile terminal screen The minimum of brightness regulation scope, the first preset duration can be 30 seconds, 1 minute, 5 minutes etc..Specifically, in mobile terminal screen The duration that the brightness value of curtain is less than or equal to predetermined luminance value reaches the first preset duration, step 204 is performed, in mobile terminal screen When the duration that the brightness value of curtain is less than or equal to predetermined luminance value is not up to the first preset duration, execution step 201 can be returned.
Optionally, after the brightness value for obtaining the mobile terminal screen, methods described also includes:If described move The brightness value of dynamic terminal screen is more than the predetermined luminance value, then adjusts the mobile terminal screen brightness to the predetermined luminance Value.
In the present embodiment, the brightness value of video-see object and mobile terminal screen is not present in front of mobile terminal screen During more than the predetermined luminance value, the brightness of mobile terminal screen can be automatically adjusted to predetermined luminance value, it is mobile whole to reduce Power consumption is held, and realizes the transition regulation that video power saving is played.
If the brightness value of step 204, the mobile terminal screen reaches described less than or equal to the duration of predetermined luminance value First preset duration, then close the screen display of the mobile terminal, and continues to play the video.
In the present embodiment, the screen display of the mobile terminal is closed, and it can be direct close to continue to play the video The backlight of mobile terminal screen is closed, and keeps mobile terminal system and application program etc. normally to run or be based on The dormancy mechanism of existing mobile terminal is improved, if for example, the operating system of mobile terminal be Android operation system, can Realized with the wake_lock mechanism based on Android operation system and keep playing answering for the video when mobile terminal screen is closed Running status is in program.It should be noted that the present embodiment is to closing the screen display of the mobile terminal, and persistently broadcast The specific implementation for putting the video is not limited.
The operational order of mobile terminal is determined the need for close it should be noted that the present embodiment can also combine user Close mobile terminal screen and persistently play video.For example, can be when detecting user the predetermined registration operation of mobile terminal being instructed It is determined that needing turning-off mobile terminal screen and persistently playing video, now can it be closed in spite of video-see object is detected The screen display of the mobile terminal is closed, and continues to play the video, if being not detected by default behaviour of the user to mobile terminal Instruct, then can determine whether turning-off mobile terminal screen according to above-mentioned steps 201 to step 204 and persistently play video.
The present embodiment is by the way that when detecting in front of mobile terminal screen in the absence of video-see object, further detection is moved Whether the screen value of dynamic terminal is less than or equal to predetermined luminance value, and is less than or equal to predetermined luminance in the screen value of mobile terminal When the duration of value reaches first preset duration, the screen display of the mobile terminal is closed, and continues to play the video, On the one hand it can realize and transition regulation is carried out to video playback, on the other hand user can be avoided not watch video because of the of short duration time Mobile terminal screen is caused to be closed, influence user normally watches.
Optionally, the screen display of the mobile terminal is closed described, and after continuing to play the video, the side Method also includes:Detect and whether there is video-see object in front of the mobile terminal screen;If detecting the mobile terminal screen When curtain front has video-see object, then the mobile terminal screen is lighted, and continue to play the video.
In the present embodiment, the screen display of the mobile terminal is closed described, and after continuing to play the video, can It whether there is video-see object in front of screen to detect mobile terminal in real time, there is video observing in front of mobile terminal screen When seeing object, mobile terminal screen can be lighted, and continues to play the video, can need to watch automatic during video in user Realize that the bright screen of video is played, to save user's operation.
It should be noted that the present embodiment can also light institute when receiving user to the predetermined registration operation of mobile terminal Mobile terminal screen is stated, and persistently plays the video.For example, the predetermined registration operation to mobile terminal screen can detected (for example, the operation of clicking operation, weight, slide etc.) or to mobile terminal key (for example, power key, volume key etc.) During predetermined registration operation (for example, long-press operation, continuous key-press operation etc.), the mobile terminal screen is lighted, and continue to play described Video.
Optionally, the screen display of the mobile terminal is closed described, and after continuing to play the video, the side Method also includes:Judge that whether the mobile terminal is in the duration of breath screen broadcast state more than the second preset duration, wherein, it is described Breath screen broadcast state is used to indicate that the mobile terminal screen is closed and persistently plays the state of the video;If described mobile whole Duration of the end in the breath screen broadcast state is more than second preset duration, then controls the mobile terminal pause to play institute State video.
In the present embodiment, timing is started when can enter deposit interest screen broadcast state in mobile terminal, if mobile terminal is in breath Shield the duration of broadcast state more than the second preset duration, then control mobile terminal pause to play the video, it is mobile whole to reduce Hold power consumption.
Optionally, the second preset duration can input for user duration or default duration.The present embodiment can When user needs timing pause to play, to start timing pause broadcast button, and incoming timing duration (namely second it is default when It is long), control the mobile terminal pause to play the video after timing length arrival, further, movement can be controlled eventually End enters resting state.
It should be noted that mobile terminal enters after resting state in the present embodiment, mobile terminal system, application program etc. Resting state is in, it is out of service.
Optionally, the screen display of the mobile terminal is closed described, and after continuing to play the video, the side Method also includes:If detecting the button operation of the programmable button to the mobile terminal, judge that the button operation duration is It is no to be more than the 3rd preset duration;If the button operation duration is more than the 3rd preset duration, the mobile terminal is lighted Screen, and persistently play the video;If the button operation duration is less than or equal to the 3rd preset duration, institute is controlled State mobile terminal pause and play the video.
In the present embodiment, programmable button can be power key, volume key, HOME keys etc., and the 3rd preset duration can basis Actual demand is configured, for example, 3 seconds, 5 seconds etc..The present embodiment is grasped according to user to the button of the programmable button of mobile terminal The different durations control mobile terminal of work performs different response operations.If specifically, when button operation duration is default more than the 3rd It is long, then mobile terminal screen is lighted, and continue to play video;If button operation duration is less than or equal to the 3rd preset duration, Mobile terminal pause is controlled to play the video.Further, mobile terminal can be controlled to enter resting state.Likewise, this Mobile terminal enters after resting state in embodiment, and mobile terminal system, application program etc. are in resting state, stops fortune OK.
In the present embodiment, user can be by controlling the button operation duration to the programmable button of mobile terminal to control movement End point bright screen curtain or pause video playback, it is simple and convenient.
Optionally, the present embodiment can also close the screen display of the mobile terminal described, and continue to play described In preset time after video, if detecting the key-press event of programmable button, control mobile terminal pause video playback, It is described to close the screen display of the mobile terminal, and continue to play after the preset time after the video, if detecting pre- If the key-press event of button, then light mobile terminal screen.
It should be noted that above-mentioned all optional technical schemes can form the optional implementation of the present invention using any combination Example, this is no longer going to repeat them.
The embodiment of the present invention is illustrated with application example below, referring to Fig. 3, the video broadcasting method bag of the present embodiment Include following steps:
Step 301, mobile terminal playing video.
Specifically, the present embodiment can perform step 302 when detecting user by mobile terminal playing video.
It whether there is video-see object in front of step 302, detection mobile terminal screen.
If there is video-see object in front of mobile terminal screen specifically, detecting, step 303 is performed, is otherwise held Row step 305.
Step 303, detection mobile terminal screen state.
In the present embodiment, mobile terminal screen state can include closed mode, low-light level state and normal brightness state, Wherein, low-light level state refers to that mobile terminal screen brightness value is less than or equal to predetermined luminance value, and normal brightness state refers to move Dynamic screen luminance of terminal value is more than predetermined luminance value.
Specifically, there is video-see object in front of mobile terminal and mobile terminal screen is closed or low During luminance state, step 304 is performed;There is video-see object in front of mobile terminal and mobile terminal screen is in normal bright During degree state, execution step 302 can be returned, flow can also be terminated.
Step 304, mobile terminal screen luminance recovery normal brightness state.
Specifically, there is video-see object and mobile terminal screen in front of mobile terminal screen is in low-light level state When, mobile terminal screen brightness can be heightened, for example, screen intensity is adjusted into default luminance value, to facilitate user to watch video Content.There is video-see object in front of mobile terminal screen and when mobile terminal screen is closed, light screen And screen intensity can be modulated default luminance value.
Step 305, detection mobile terminal screen state.
Specifically, video-see object and mobile terminal screen are not present in front of mobile terminal is in normal brightness state When, step 306 is performed, video-see object is not present in front of mobile terminal and mobile terminal screen reaches in low-light level state To the first preset duration, step 307 is performed, video-see object is not present in front of mobile terminal and mobile terminal screen is in Low-light level state is not up to the first preset duration, can return to execution step 302, video-see is not present in front of mobile terminal Object and when mobile terminal screen is closed, can also return to execution step 302.
Step 306, regulation mobile terminal screen brightness to predetermined luminance value.
Step 307, closing screen, and continue to play video.
Step 308, whether detect button operation or the touch operation to screen.
Specifically, in the present embodiment, it is closed in mobile terminal screen or during low-light level state, if detecting Button operation or the touch operation to screen, control mobile terminal screen recover normal brightness state, to facilitate user's viewing to regard Frequency content.If not detecting button operation or the touch operation to screen, execution step 302 can be returned.
It should be noted that the present embodiment can also first detect mobile terminal screen state, then whether detect screen front There is video-see object.
From the foregoing, it will be observed that the embodiment of the present invention can not watch mobile whole during mobile terminal playing video in user When holding screen, control mobile terminal screen carries out screen broadcasting of going out, and is in user in front of mobile terminal screen or operates shifting During dynamic terminal, the normal bright screen of control mobile terminal is played, and can not only save electricity, the sound that user listens video can be met again Demand.
Referring to Fig. 4, Fig. 4 is the structure chart for the mobile terminal that the present invention implements offer, as shown in figure 4, mobile terminal 400 is wrapped First detection module 401 and closedown module 402 are included, wherein:
First detection module 401, during playing video in the mobile terminal bright screen, detects the mobile terminal It whether there is video-see object in front of screen;
Closedown module 402, if video-see object is not present in front of the mobile terminal screen for detecting, is closed The screen display of the mobile terminal, and continue to play the video.
Optionally, referring to Fig. 5, the closedown module 402 includes:Acquisition module 4021, if for described in described detect Video-see object is not present in front of mobile terminal screen, then obtains the brightness value of the mobile terminal screen;Judging unit 4022, if the brightness value for the mobile terminal screen is less than or equal to predetermined luminance value, judge the mobile terminal screen Whether the duration that the brightness value of curtain is less than or equal to predetermined luminance value reaches the first preset duration;Closing unit 4023, if for The duration that the brightness value of the mobile terminal screen is less than or equal to predetermined luminance value reaches first preset duration, then closes The screen display of the mobile terminal, and continue to play the video.
Optionally, referring to Fig. 6, the mobile terminal 400 also includes:Adjustment module 403, if for the mobile terminal screen The brightness value of curtain is more than the predetermined luminance value, then adjusts the mobile terminal screen brightness to the predetermined luminance value.
Optionally, referring to Fig. 7, the mobile terminal 400 also includes:Second detection module 404, in the closing institute The screen display of mobile terminal is stated, and after continuing to play the video, detects and whether there is in front of the mobile terminal screen Video-see object;First lights module 405, if there is video-see object for detecting in front of the mobile terminal screen When, then the mobile terminal screen is lighted, and continue to play the video.
Optionally, referring to Fig. 8, the mobile terminal 400 also includes:Judge module 406, for closing described move described The screen display of dynamic terminal, and after continuing to play the video, judge the mobile terminal be in breath shield broadcast state when It is long whether to be more than the second preset duration, wherein, the breath screen broadcast state is used to indicate that the mobile terminal screen is closed and held The state of the video is put in continued broadcasting;First control module 407, if being in the breath screen broadcast state for the mobile terminal Duration is more than second preset duration, then controls the mobile terminal pause to play the video.
Optionally, referring to Fig. 9, the mobile terminal 400 also includes:3rd detection module 408, in the closing institute The screen display of mobile terminal is stated, and after continuing to play the video, if detecting the programmable button to the mobile terminal Button operation, then judge the button operation duration whether be more than the 3rd preset duration;Second lights module 409, if for The button operation duration is more than the 3rd preset duration, then lights the mobile terminal screen, and continues to regard described in broadcasting Frequently;Second control module 410, if being less than or equal to the 3rd preset duration for the button operation duration, controls institute State mobile terminal pause and play the video.
Mobile terminal 400 can realize each process that mobile terminal is realized in Fig. 1 to Fig. 3 embodiment of the method, to keep away Exempt to repeat, repeat no more here.
The mobile terminal 400 of the embodiment of the present invention, first detection module 401 plays video mistake in the mobile terminal bright screen Cheng Zhong, detects and whether there is video-see object in front of the mobile terminal screen;If closedown module 402 detects the movement Video-see object is not present in front of terminal screen, then closes the screen display of the mobile terminal, and continues to regard described in broadcasting Frequently.When the embodiment of the present invention in front of mobile terminal screen by being not present user, the screen of one side turning-off mobile terminal, with The power consumption of mobile terminal is saved, extends the cruising time of mobile terminal, on the other hand persistently plays video, user's continuation is met Listen the demand of the sound in video.
Referring to Figure 10, Figure 10 is the structure chart for the mobile terminal that the present invention implements offer, as shown in Figure 10, mobile terminal 1000 include:At least one processor 1001, memory 1002, at least one network interface 1004 and user interface 1003.Move Each component in dynamic terminal 1000 is coupled by bus system 1005.It is understood that bus system 1005 is used to realize Connection communication between these components.Bus system 1005 is in addition to including data/address bus, in addition to power bus, controlling bus And status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system 1005 in Fig. 10.
Wherein, user interface 1003 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 1002 in the embodiment of the present invention can be volatile memory or non-volatile memories Device, or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only Read memory (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, ) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static random-access Memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous Connect dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 1002 of system and method described herein be intended to including but not limited to this The memory of a little and any other suitable type.
In some embodiments, memory 1002 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 10021 and application program 10022.
Wherein, operating system 10021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for Realize various basic businesses and handle hardware based task.Application program 10022, includes various application programs, such as matchmaker Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented The program of example method may be embodied in application program 10022.
In embodiments of the present invention, mobile terminal 1 000 also includes:It is stored on memory 1002 and can be in processor The video reproduction program run on 1001, can be the video reproduction program in application program 10022, video playback specifically Program realizes following steps when being performed by processor 1001:During mobile terminal bright screen plays video, the movement is detected It whether there is video-see object in front of terminal screen;Video-see pair is not present in front of the mobile terminal screen if detecting As then closing the screen display of the mobile terminal, and continue to play the video.
The method that the embodiments of the present invention are disclosed can apply in processor 1001, or real by processor 1001 It is existing.Processor 1001 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1001 or software form.Above-mentioned Processor 1001 can be general processor, digital signal processor (Digital Signal Processor, DSP), special Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 1002, processor 1001 reads the information in memory 1002, the step of completing the above method with reference to its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized by performing the module (such as process, function) of function described herein herein for software Described technology.Software code is storable in memory and by computing device.Memory can within a processor or Realized outside processor.
Optionally, following steps can be also realized when video reproduction program is performed by processor 1001:If described detect institute State and video-see object is not present in front of mobile terminal screen, obtain the brightness value of the mobile terminal screen;If the movement The brightness value of terminal screen is less than or equal to predetermined luminance value, then judges that the brightness value of the mobile terminal screen is less than or equal to Whether the duration of predetermined luminance value reaches the first preset duration;If the brightness value of the mobile terminal screen is less than or equal to default The duration of brightness value reaches first preset duration, then closes the screen display of the mobile terminal, and continues to play described Video.
Optionally, following steps can be also realized when video reproduction program is performed by processor 1001:Described in the acquisition After the brightness value of mobile terminal screen, if the brightness value of the mobile terminal screen is more than the predetermined luminance value, adjust The mobile terminal screen brightness is to the predetermined luminance value.
Optionally, following steps can be also realized when video reproduction program is performed by processor 1001:Described in the closing The screen display of mobile terminal, and after continuing to play the video, is detected in front of the mobile terminal screen with the presence or absence of regarding Frequency viewing object;If detecting when there is video-see object in front of the mobile terminal screen, the mobile terminal is lighted Screen, and continue to play the video.
Optionally, following steps can be also realized when video reproduction program is performed by processor 1001:Described in the closing The screen display of mobile terminal, and after continuing to play the video, judge that the mobile terminal is in breath screen broadcast state Whether duration is more than the second preset duration, wherein, the breath screen broadcast state be used to indicating the mobile terminal screen close and Persistently play the state of the video;If the duration that the mobile terminal is in the breath screen broadcast state is pre- more than described second If duration, then the mobile terminal pause is controlled to play the video.
Optionally, following steps can be also realized when video reproduction program is performed by processor 1001:Described in the closing The screen display of mobile terminal, and after continuing to play the video, if detecting to the programmable button of the mobile terminal Button operation, then judge whether the button operation duration is more than the 3rd preset duration;If the button operation duration is more than institute The 3rd preset duration is stated, then lights the mobile terminal screen, and persistently plays the video;If the button operation duration is small In or equal to the 3rd preset duration, then the mobile terminal pause is controlled to play the video.
Mobile terminal 1 000 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, this In repeat no more.
The mobile terminal 1 000 of the embodiment of the present invention, during mobile terminal bright screen plays video, detects the movement It whether there is video-see object in front of terminal screen;Video-see pair is not present in front of the mobile terminal screen if detecting As then closing the screen display of the mobile terminal, and continue to play the video.The embodiment of the present invention passes through in mobile terminal When user is not present in front of screen, the screen of one side turning-off mobile terminal, to save the power consumption of mobile terminal, extension movement In the cruising time of terminal, video is persistently on the other hand played, the demand that user continues to listen sound in video is met.
It is stored with and regards on also a kind of computer-readable recording medium of the embodiment of the present invention, the computer-readable recording medium Frequency playing program, the video reproduction program realizes the video broadcasting method of any of the above-described embodiment of the method when being executed by processor The step of.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (14)

1. a kind of video broadcasting method, it is characterised in that applied to mobile terminal, including:
During the mobile terminal bright screen plays video, detect and whether there is video-see in front of the mobile terminal screen Object;
Video-see object is not present in front of the mobile terminal screen if detecting, the screen for closing the mobile terminal shows Show, and continue to play the video.
2. according to the method described in claim 1, it is characterised in that if described detect is not deposited in front of the mobile terminal screen In video-see object, then the screen display of the mobile terminal is closed, and continue to play the video, including:
Video-see object is not present in front of the mobile terminal screen if detecting, the bright of the mobile terminal screen is obtained Angle value;
If the brightness value of the mobile terminal screen is less than or equal to predetermined luminance value, the bright of the mobile terminal screen is judged Whether the duration that angle value is less than or equal to predetermined luminance value reaches the first preset duration;
If the duration that the brightness value of the mobile terminal screen is less than or equal to predetermined luminance value reaches first preset duration, The screen display of the mobile terminal is then closed, and continues to play the video.
3. method according to claim 2, it is characterised in that the brightness value for obtaining the mobile terminal screen it Afterwards, methods described also includes:
If the brightness value of the mobile terminal screen be more than the predetermined luminance value, adjust the mobile terminal screen brightness to The predetermined luminance value.
4. according to the method described in claim 1, it is characterised in that in the screen display for closing the mobile terminal, and Persistently play after the video, methods described also includes:
Detect and whether there is video-see object in front of the mobile terminal screen;
If detecting when there is video-see object in front of the mobile terminal screen, the mobile terminal screen is lighted, and Persistently play the video.
5. according to the method described in claim 1, it is characterised in that in the screen display for closing the mobile terminal, and Persistently play after the video, methods described also includes:
Judge that whether the mobile terminal is in the duration of breath screen broadcast state more than the second preset duration, wherein, the breath screen Broadcast state is used to indicate that the mobile terminal screen is closed and persistently plays the state of the video;
If the duration that the mobile terminal is in the breath screen broadcast state is more than second preset duration, the shifting is controlled The video is played in dynamic terminal pause.
6. according to the method described in claim 1, it is characterised in that in the screen display for closing the mobile terminal, and Persistently play after the video, methods described also includes:
If detecting the button operation of the programmable button to the mobile terminal, judge whether the button operation duration is more than 3rd preset duration;
If the button operation duration is more than the 3rd preset duration, the mobile terminal screen, and lasting broadcasting are lighted The video;
If the button operation duration is less than or equal to the 3rd preset duration, the mobile terminal pause is controlled to play institute State video.
7. a kind of mobile terminal, it is characterised in that including:
First detection module, during playing video in the mobile terminal bright screen, is detected before the mobile terminal screen Side whether there is video-see object;
Closedown module, if video-see object is not present in front of the mobile terminal screen for detecting, closes the shifting The screen display of dynamic terminal, and continue to play the video.
8. mobile terminal according to claim 7, it is characterised in that the closedown module includes:
Acquiring unit, if video-see object is not present in front of the mobile terminal screen for detecting, obtains the shifting The brightness value of dynamic terminal screen;
Judging unit, if the brightness value for the mobile terminal screen is less than or equal to predetermined luminance value, judges the shifting Whether the duration that the brightness value of dynamic terminal screen is less than or equal to predetermined luminance value reaches the first preset duration;
Closing unit, if the brightness value for the mobile terminal screen be less than or equal to predetermined luminance value duration reach it is described First preset duration, then close the screen display of the mobile terminal, and continues to play the video.
9. mobile terminal according to claim 8, it is characterised in that the mobile terminal also includes:
Adjustment module, if the brightness value for the mobile terminal screen is more than the predetermined luminance value, adjusts the movement Screen luminance of terminal is to the predetermined luminance value.
10. mobile terminal according to claim 7, it is characterised in that the mobile terminal also includes:
Second detection module, for closing the screen display of the mobile terminal described, and after continuing to play the video, Detect and whether there is video-see object in front of the mobile terminal screen;
First lights module, if there is video-see object in front of the mobile terminal screen for detecting, lights institute Mobile terminal screen is stated, and continues to play the video.
11. mobile terminal according to claim 7, it is characterised in that the mobile terminal also includes:
Judge module, for closing the screen display of the mobile terminal described, and after continuing to play the video, judges Whether the duration that the mobile terminal is in breath screen broadcast state is more than the second preset duration, wherein, the breath screen broadcast state For indicating that the mobile terminal screen is closed and persistently plays the state of the video;
First control module, presets if being more than described second for the duration that the mobile terminal is in the breath screen broadcast state Duration, then control the mobile terminal pause to play the video.
12. mobile terminal according to claim 7, it is characterised in that the mobile terminal also includes:
3rd detection module, for closing the screen display of the mobile terminal described, and after continuing to play the video, If detecting the button operation of the programmable button to the mobile terminal, judge whether the button operation duration is more than the 3rd Preset duration;
Second lights module, if being more than the 3rd preset duration for the button operation duration, lights described mobile whole Screen is held, and persistently plays the video;
Second control module, if being less than or equal to the 3rd preset duration for the button operation duration, control is described The video is played in mobile terminal pause.
13. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The video reproduction program run on processor is stated, the video reproduction program is realized such as claim during the computing device The step of video broadcasting method any one of 1 to 6.
14. a kind of computer-readable recording medium, it is characterised in that the video that is stored with the computer-readable recording medium is broadcast Program is put, the video playback as any one of claim 1 to 6 is realized when the video reproduction program is executed by processor The step of method.
CN201710514552.8A 2017-06-29 2017-06-29 Video playing method and mobile terminal Active CN107332992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710514552.8A CN107332992B (en) 2017-06-29 2017-06-29 Video playing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710514552.8A CN107332992B (en) 2017-06-29 2017-06-29 Video playing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107332992A true CN107332992A (en) 2017-11-07
CN107332992B CN107332992B (en) 2020-08-25

Family

ID=60199042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710514552.8A Active CN107332992B (en) 2017-06-29 2017-06-29 Video playing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107332992B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958454A (en) * 2018-07-31 2018-12-07 努比亚技术有限公司 Terminal screen energy-saving displaying method, terminal and computer readable storage medium
CN108989545A (en) * 2018-06-12 2018-12-11 Oppo(重庆)智能科技有限公司 Control method, device, mobile terminal and the computer-readable medium of mobile terminal
CN110191503A (en) * 2019-06-04 2019-08-30 惠州Tcl移动通信有限公司 Audio frequency playing method, system, storage medium and mobile terminal
WO2020093888A1 (en) * 2018-11-09 2020-05-14 中兴通讯股份有限公司 Power saving method and apparatus, and storage medium
CN111212181A (en) * 2018-11-22 2020-05-29 奇酷互联网络科技(深圳)有限公司 Method for adjusting screen of intelligent terminal, intelligent terminal and storage device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201072646Y (en) * 2007-08-14 2008-06-11 青岛海信电器股份有限公司 TV set
CN101465952A (en) * 2007-12-21 2009-06-24 鸿富锦精密工业(深圳)有限公司 Electronic device
CN102176733A (en) * 2011-01-28 2011-09-07 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for controlling screen backlight
CN105828144A (en) * 2016-03-14 2016-08-03 乐视网信息技术(北京)股份有限公司 Terminal control method and device
CN106303007A (en) * 2016-08-08 2017-01-04 乐视控股(北京)有限公司 Video broadcasting method, playing device and playback terminal
CN106686257A (en) * 2017-03-10 2017-05-17 广东欧珀移动通信有限公司 Control method and device of mobile terminal and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201072646Y (en) * 2007-08-14 2008-06-11 青岛海信电器股份有限公司 TV set
CN101465952A (en) * 2007-12-21 2009-06-24 鸿富锦精密工业(深圳)有限公司 Electronic device
CN102176733A (en) * 2011-01-28 2011-09-07 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for controlling screen backlight
CN105828144A (en) * 2016-03-14 2016-08-03 乐视网信息技术(北京)股份有限公司 Terminal control method and device
CN106303007A (en) * 2016-08-08 2017-01-04 乐视控股(北京)有限公司 Video broadcasting method, playing device and playback terminal
CN106686257A (en) * 2017-03-10 2017-05-17 广东欧珀移动通信有限公司 Control method and device of mobile terminal and mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989545A (en) * 2018-06-12 2018-12-11 Oppo(重庆)智能科技有限公司 Control method, device, mobile terminal and the computer-readable medium of mobile terminal
CN108958454A (en) * 2018-07-31 2018-12-07 努比亚技术有限公司 Terminal screen energy-saving displaying method, terminal and computer readable storage medium
WO2020093888A1 (en) * 2018-11-09 2020-05-14 中兴通讯股份有限公司 Power saving method and apparatus, and storage medium
CN111212181A (en) * 2018-11-22 2020-05-29 奇酷互联网络科技(深圳)有限公司 Method for adjusting screen of intelligent terminal, intelligent terminal and storage device
CN110191503A (en) * 2019-06-04 2019-08-30 惠州Tcl移动通信有限公司 Audio frequency playing method, system, storage medium and mobile terminal

Also Published As

Publication number Publication date
CN107332992B (en) 2020-08-25

Similar Documents

Publication Publication Date Title
CN107332992A (en) A kind of video broadcasting method and mobile terminal
CN103576834B (en) Electricity-saving control method and the electronic equipment for supporting electricity-saving control method
CN107396198A (en) A kind of video call method and mobile terminal
CN106406739B (en) A kind of note generation method and mobile terminal
RU2651194C2 (en) Button interaction method and apparatus
CN106406710A (en) Screen recording method and mobile terminal
CN106919313A (en) The startup method and mobile terminal of a kind of application program
CN106851407A (en) A kind of control method and terminal of video playback progress
CN106454456A (en) Video playing control method and mobile terminal
CN103699323A (en) Method and device for realizing music desktop display
CN106998393A (en) A kind of video playing control method and mobile terminal
CN104965703A (en) Method and mobile terminal for controlling screen-on of mobile terminal
CN106937054A (en) Take pictures weakening method and the mobile terminal of a kind of mobile terminal
CN107438204A (en) A kind of method and mobile terminal of media file loop play
CN107172465B (en) A kind of video playing control method and mobile terminal
CN107147957A (en) Video broadcasting method and device
CN107562174A (en) A kind of screen control method and terminal device
CN108287743A (en) Method for page jump, terminal in application program and storage medium
CN107608601A (en) A kind of video playback method, mobile terminal and computer-readable recording medium
CN107315583A (en) Application control method and device, computer installation and storage medium
CN107396151A (en) A kind of video playing control method and electronic equipment
CN107024990A (en) A kind of method for attracting children to autodyne and mobile terminal
CN107679381A (en) A kind of announcement information processing method and mobile terminal
CN107454255A (en) A kind of lyric display method, mobile terminal and computer-readable recording medium
CN107566750A (en) Control method, device and the storage medium of flash lamp

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