CN106648325A - Method and device for playing video on screen locking interface and electronic equipment - Google Patents
Method and device for playing video on screen locking interface and electronic equipment Download PDFInfo
- Publication number
- CN106648325A CN106648325A CN201611236786.2A CN201611236786A CN106648325A CN 106648325 A CN106648325 A CN 106648325A CN 201611236786 A CN201611236786 A CN 201611236786A CN 106648325 A CN106648325 A CN 106648325A
- Authority
- CN
- China
- Prior art keywords
- interface
- video
- bright screen
- screen event
- type
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a method and a device for playing a video on a screen locking interface and electronic equipment, relates to a video playing technology, and can simplify the playing operation process. The method for playing the video on the screen locking interface comprises the following steps: after a screen-up event is monitored to occur on a screen locking interface, judging whether the type of the monitored screen-up event is a preset screen-up event type or not; if the monitored type of the bright screen event is the preset type of the bright screen event, updating the window attribute of the interface to be normally bright; loading a video lock interface to play a video; and after the video playing is monitored to be finished, updating the window attribute of the interface to be screen-off. The method and the device are suitable for playing the video on the screen locking interface.
Description
Technical field
The present invention relates to video display arts, more particularly to a kind of method that video is played on locking screen interface, device and
Electronic equipment.
Background technology
With the high speed development of mobile Internet, cellphone subscriber is no longer satisfied with simple note, multimedia message and voice call
Etc. simple function.And with G mobile communication (3G, 3rd-Generation), forth generation mobile communication technology
The popularization of (4G, 4th-Generation) and Wireless Fidelity (WIFI, Wireless Fidelity), user can be by movement
Internet smoothness underground carries video clip and is watched, and to meet the amusement and recreation demand of user, the development of Video Applications is
Into the trend of a certainty.
While consumer entertainment demand is met, Android (Android) user also has strong to the security of mobile phone
Demand, including financing, the shopping application of Alipay, Jingdone district and palm life etc., the various accounts of handset binding, personal is short
The privacies such as letter, address list are all badly in need of protection, and conventional mode is using screen locking technology.
In order to meet higher demand of the user to amusement, safety and convenience simultaneously, improved technology is to use video
Lock function, i.e., play the video not high to security requirement on locking screen interface, while without the need for being unlocked to screen, so as to drop
Low user operation.Due to be locking screen interface play video, thus, when the length of video is longer, i.e., video playback when grow up
When the bright screen time that user is arranged, system can go out screen automatically, so that user can not glibly watch video, reduce and regard
Frequency result of broadcast.For the problem, keep screen normal by way of proposing at present holding system wake-up lock (Wake Lock)
Bright, so that user watches glibly video, but the method, holding the application of system wake-up lock needs to apply for new authority, operation
Flow process is complex, and is unfavorable for edition upgrading so that the method versatility is not strong.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method that video is played on locking screen interface, device and electronics and sets
It is standby, play operation flow process can be simplified, with the method for solving the existing broadcasting video on locking screen interface, by holding system
The complicated problem of play operation flow process caused by the mode locked is waken up to keep screen Chang Liang.
In a first aspect, the embodiment of the present invention provides a kind of method that video is played on locking screen interface, including:
After monitoring that locking screen interface occurs bright screen event, whether the type for judging the bright screen event for monitoring is to set in advance
The bright screen event type put;
The type of the bright screen event for such as monitoring is the bright screen event type for pre-setting, and the window attribute for updating interface is
Chang Liang;
Loading video locks interface to play video;
After monitoring that the video playback is finished, the window attribute for updating interface is the screen that goes out.
With reference in a first aspect, in the first embodiment of first aspect, the bright screen event for judging to monitor
Whether type is that the bright screen event type for pre-setting includes:
Judge whether bright screen event is that the information flow triggering for receiving causes;
If it is, the type for determining the bright screen event for monitoring not is the bright screen event type for pre-setting, if it is not,
It is determined that the type of the bright screen event for monitoring is the bright screen event type for pre-setting.
With reference in a first aspect, in second embodiment of first aspect, the window attribute at the renewal interface is normal
It is bright including:
The attribute of window is set to into FLAG_KEEP_SCREEN_ON.
With reference in a first aspect, in the third embodiment of first aspect, in the bright screen event for such as monitoring
Type is the window attribute that interface is updated after the bright screen event type for pre-setting for before Chang Liang, methods described also includes:
Whether the displayings priority at inquiry video lock interface is higher than the displaying priority of other locking screen interfaces, is if so, performed
The window attribute at the more new video lock interface is often bright step.
With reference to first aspect, first aspect the first into the third any one embodiment, the of first aspect
In four kinds of embodiments, methods described also includes:
In video display process, the instruction that interface is locked from the video is received, the video to playing carries out phase
Should control.
Second aspect, the embodiment of the present invention provides a kind of device that video is played on locking screen interface, including:Bright screen event
Judge module, the update module of window attribute first, load-on module and the update module of window attribute second, wherein,
Bright screen event judge module, for after monitoring that locking screen interface occurs bright screen event, judging the bright screen for monitoring
Whether the type of event is the bright screen event type for pre-setting;
The update module of window attribute first, the type of the bright screen event for such as monitoring is the bright screen event for pre-setting
Type, the window attribute for updating interface is Chang Liang;
Load-on module, interface is locked to play video for loading video;
The update module of window attribute second, for after monitoring that the video playback is finished, updating the window category at interface
Property to go out screen.
With reference to second aspect, in the first embodiment of second aspect, the bright screen event judge module includes:Prison
Unit and bright screen event judging unit are surveyed, wherein,
Monitoring unit, for after monitoring that locking screen interface occurs bright screen event, notifying bright screen event judging unit;
Bright screen event judging unit, for judging whether bright screen event is that the information flow triggering for receiving causes;If it is,
It is determined that the type of the bright screen event for monitoring not is the bright screen event type that pre-sets, if it is not, determining monitor bright
The type of screen event is the bright screen event type for pre-setting.
With reference to second aspect, in second embodiment of second aspect, the window attribute at the renewal interface is normal
It is bright including:
The attribute of window is set to into FLAG_KEEP_SCREEN_ON.
With reference to second aspect, in the third embodiment of second aspect, the update module of the window attribute first is also
For after the type of the bright screen event for such as monitoring is the bright screen event type for pre-setting, inquiring about the displaying that video locks interface
Whether priority higher than the displaying priority of other locking screen interfaces, if so, perform the window attribute at the more new video lock interface
For often bright step.
With reference to second aspect, second aspect the first into the third any one embodiment, the of second aspect
In four kinds of embodiments, described device method also includes:
Play control module, in video display process, receiving the instruction that interface is locked from the video, to playing
The video accordingly controlled.
The third aspect, the embodiment of the present invention provides a kind of electronic equipment, and the electronic equipment includes:Housing, processor, deposit
Reservoir, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing is surrounded, and processor and memory are arranged
On circuit boards;Power circuit, powers for each circuit or device for above-mentioned electronic equipment;Memory is used to store and can hold
Line program code;Processor is run and executable program code pair by the executable program code stored in reading memory
The program answered, for performing following operation:
After monitoring that locking screen interface occurs bright screen event, whether the type for judging the bright screen event for monitoring is to set in advance
The bright screen event type put;
The type of the bright screen event for such as monitoring is the bright screen event type for pre-setting, and the window attribute for updating interface is
Chang Liang;
Loading video locks interface to play video;
After monitoring that the video playback is finished, the window attribute for updating interface is the screen that goes out.
Fourth aspect, the embodiment of the present invention additionally provides a kind of storage medium, for storing application program, the application journey
Sequence is used to perform a kind of method that video is played on locking screen interface that the embodiment of the present invention is provided.
5th aspect, the embodiment of the present invention additionally provides a kind of application program, is provided for performing the embodiment of the present invention
It is a kind of on locking screen interface play video method.
A kind of method that video is played on locking screen interface provided in an embodiment of the present invention, device and electronic equipment, pass through
After monitoring that locking screen interface occurs bright screen event, whether the type for judging the bright screen event for monitoring is the bright screen for pre-setting
Event type;The type of the bright screen event for such as monitoring is the bright screen event type for pre-setting, and updates the window attribute at interface
For Chang Liang;Loading video locks interface to play video;After monitoring that the video playback is finished, the window attribute at interface is updated
For the screen that goes out, play operation flow process can be simplified, with the method for solving the existing broadcasting video on locking screen interface, by holding
The mode of system wake-up lock to keep screen Chang Liang caused by the complicated problem of play operation flow process.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the method flow schematic diagram that embodiments of the invention one play video on locking screen interface;
Fig. 2 is the method flow schematic diagram that embodiments of the invention two play video on locking screen interface;
Fig. 3 is the apparatus structure schematic diagram that embodiments of the invention three play video on locking screen interface;
Fig. 4 is the structural representation of electronic equipment one embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
It will be appreciated that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.Base
Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its
Its embodiment, belongs to the scope of protection of the invention.
Embodiment one
Fig. 1 is the method flow schematic diagram that embodiments of the invention one play video on locking screen interface, as shown in figure 1,
The method of the present embodiment can include:
Step 101, after monitoring that locking screen interface occurs bright screen event, whether the type of the bright screen event that judgement is monitored
For the bright screen event type for pre-setting;
In the present embodiment, as an alternative embodiment, it is described monitor that locking screen interface occurs bright screen event before, the party
Method also includes:
Register the monitoring module for monitoring bright screen event.
In the present embodiment, used as an alternative embodiment, registering the monitoring module for monitoring bright screen event includes:
Background service (service) process is opened, is used to monitor bright screen event using the background service process registers
Monitor module.
In the present embodiment, electronic device system can send phase when turning on/off that screen event is corresponding to turn on/off screen
That what is answered turns on/off screen broadcast, for example, in the corresponding bright screen of generation bright screen event, can send (broadcast) bright screen broadcast,
Screen event of going out is corresponding go out screen when, screen broadcast of going out can be sent.
In the present embodiment, the monitoring module of registration is used to monitor bright screen event, certainly, in practical application, the monitoring of registration
Module may be arranged as monitoring and go out the events such as screen event, talking state event and alarm clock unblock event, and in the event monitored
Respective logic is triggered during generation.
In the present embodiment, used as an alternative embodiment, monitoring module is radio receiver.By the way that the present embodiment is being locked
The method of video is played on screen interface carries out program code segments editor one application program installation kit of formation, and set up applications is installed
Bag, obtains an application program, by the application program registration radio receiver, it is possible to receive and occur what is broadcasted during bright screen event
Bright screen broadcast, so as to listen to bright screen broadcast.
In the present embodiment, used as an alternative embodiment, whether the type for judging the bright screen event for monitoring is to pre-set
Bright screen event type include:
Judge whether bright screen event is that the information flow triggering for receiving causes;
If it is, the type for determining the bright screen event for monitoring not is the bright screen event type for pre-setting, if it is not,
It is determined that the type of the bright screen event for monitoring is the bright screen event type for pre-setting.
In the present embodiment, if the bright screen caused by user's triggering, is user's active bright screen.For example, if user
It is then active bright screen to arrange screen locking, press power key, is then automatic bright screen if the bright screen that information flow causes.
Step 102, the type of the bright screen event for such as monitoring is the bright screen event type for pre-setting, and updates the window at interface
Mouth attribute is Chang Liang;
In the present embodiment, because the interface in Android operation system shows all on window (Window), Android
The Window attributes at the interface in operating system are accordingly preserved, thus, using the Window supervisors of Android operation system
System, by changing Window attributes, can be with dynamic change Window attributes, i.e., by the Window attributes at each interface of setting, can
To control the exhibition method of respective interface, for example, show priority, show duration etc..
In the present embodiment, used as an alternative embodiment, the window attribute at more new video lock interface includes for Chang Liang:
The attribute of window is set to into FLAG_KEEP_SCREEN_ON.
It is to pre-set in the type of the bright screen event for such as monitoring as an alternative embodiment in the present embodiment
Bright screen event type after, update interface window attribute be Chang Liang before, the method also includes:
Whether the displayings priority at inquiry video lock interface is higher than the displaying priority of other locking screen interfaces, is if so, performed
The window attribute at the more new video lock interface is often bright step.
In the present embodiment, if the video that inquiry is obtained locks the displaying that the displaying priority at interface is not higher than other locking screen interfaces
Priority, is processed according to prior art flow process.
In the present embodiment, used as an alternative embodiment, video lock interface can lock window by video or video lock is lived
Dynamic (Activity) component is realized.Wherein, video lock window can be a suspended window.
In the present embodiment, video locks interface and locks movable component realization by video.
In the present embodiment, if the displaying priority at video lock interface is higher than the displaying priority of other locking screen interfaces, example
Such as, the displaying priority at video lock interface can be caused after bright screen higher than the displaying priority at system lock interface, video lock
Activity components or suspended window are covered on other locking screen interfaces.So, in bright screen, the video lock of screen locking is shown first
Activity components or suspended window.
Step 103, loading video locks interface to play video;
In the present embodiment, after loading video lock interface success, can according to advance setting play corresponding video with
It is easy to user to watch.
In the present embodiment, used as an alternative embodiment, the method also includes:
In video display process, the instruction that interface is locked from the video is received, the video to playing carries out phase
Should control.
In the present embodiment, user can lock the control included in the broadcast window that video is played in interface according to video and press
Button, for example, advance key, back spacer, fast forward button, fast backspace key, Pause key, stop key, replays key etc., when user clicks on wherein
A key when, perform corresponding control.I.e. during video is played at video lock interface, can arrange only video bag is contained
Control button is responded.
Step 104, after monitoring that the video playback is finished, the window attribute for updating interface is the screen that goes out.
In the present embodiment, as an alternative embodiment, it is also possible to monitor video playback by the monitoring module registered and finish
When operating system broadcast the monitoring for finishing broadcast to realize finishing video playback.
In the present embodiment, after active bright screen, Window attributes are set for normal bright FLAG_KEEP_SCREEN_ON so as to
Chang Liang is kept, after video playback is complete, the normal bright attribute of Window attributes is cancelled so as to which go out screen.
The method that the present embodiment plays video on locking screen interface, after monitoring that locking screen interface occurs bright screen event, sentences
Whether the type of the disconnected bright screen event for monitoring is the bright screen event type for pre-setting;The type of the bright screen event for such as monitoring
For the bright screen event type for pre-setting, the window attribute for updating interface is Chang Liang;Loading video locks interface to play video;
After monitoring that the video playback is finished, the window attribute for updating interface is the screen that goes out.So, interface is locked by automatically updating video
Window attribute for Chang Liang mode, actively apply for authority without the need for user arrange system wake-up lock by completely viewing screen locking on
Video, be effectively simplified the operating process of viewing video, method highly versatile is conducive to edition upgrading such that it is able to effectively
Improve experience, the installation rate of user.
Embodiment two
Fig. 2 is the method flow schematic diagram that embodiments of the invention two play video on locking screen interface, as shown in Fig. 2
As a example by watching video after user's bright screen, the method for the present embodiment can include:
Step 201, the window attribute for arranging system interface is the screen that goes out automatically, goes out the screen time for 10 seconds;
Step 202, into application program, selects video of the duration more than 10 seconds, is set to screen locking video;
Step 203, presses cellular phone power supplies key, into screen lock state;
Step 204, presses cellular phone power supplies key, into bright screen state;
Step 205, the window attribute for updating interface is that Chang Lianghou plays video at video lock interface.
In the present embodiment, completely video can be played under bright screen state, screen remains bright screen, finishes in video playback
Afterwards, the window attribute for updating interface is the screen that goes out, and efficiently solves the problems, such as the screen that goes out in video display process.
Embodiment three
Fig. 3 is the apparatus structure schematic diagram that embodiments of the invention three play video on locking screen interface, as shown in figure 3,
The device of the present embodiment can include:Bright screen event judge module, the update module of window attribute first, load-on module and window
The update module of attribute second, wherein,
Bright screen event judge module, for after monitoring that locking screen interface occurs bright screen event, judging the bright screen for monitoring
Whether the type of event is the bright screen event type for pre-setting;
In the present embodiment, used as an alternative embodiment, bright screen event judge module includes:Monitoring unit and bright screen event
Judging unit (not shown), wherein,
Monitoring unit, for after monitoring that locking screen interface occurs bright screen event, notifying bright screen event judging unit;
Bright screen event judging unit, for judging whether bright screen event is that the information flow triggering for receiving causes;If it is,
It is determined that the type of the bright screen event for monitoring not is the bright screen event type that pre-sets, if it is not, determining monitor bright
The type of screen event is the bright screen event type for pre-setting.
The update module of window attribute first, the type of the bright screen event for such as monitoring is the bright screen event for pre-setting
Type, the window attribute for updating interface is Chang Liang;
In the present embodiment, used as an alternative embodiment, the window attribute at the renewal interface includes for Chang Liang:
The attribute of window is set to into FLAG_KEEP_SCREEN_ON.
In the present embodiment, used as an alternative embodiment, the update module of window attribute first is additionally operable to bright what is such as monitored
Whether the type of screen event is the displaying priority that video lock interface is inquired about after the bright screen event type for pre-setting higher than other
The displaying priority of locking screen interface, if so, the window attribute at more new video lock interface is often bright step described in execution.
In the present embodiment, if the video that inquiry is obtained locks the displaying that the displaying priority at interface is not higher than other locking screen interfaces
Priority, is processed according to prior art flow process.
Load-on module, interface is locked to play video for loading video;
In the present embodiment, used as an alternative embodiment, video lock interface includes:Video locks window and video lock activity group
Part.Wherein, video lock window can be a suspended window.
The update module of window attribute second, for after monitoring that the video playback is finished, more new video to lock interface
Window attribute is the screen that goes out automatically.
In the present embodiment, used as an alternative embodiment, the device also includes:
Play control module, in video display process, receiving the instruction that interface is locked from the video, to playing
The video accordingly controlled.
In the present embodiment, user can lock the control included in the broadcast window that video is played in interface according to video and press
Button, for example, advance key, back spacer, fast forward button, fast backspace key, Pause key, stop key, replays key etc., when user clicks on wherein
A key when, perform corresponding control.I.e. during video is played at video lock interface, can arrange only video bag is contained
Control button is responded.
In the present embodiment, used as another alternative embodiment, the device also includes:
Registering modules, are used to monitor the monitoring module of bright screen event for registration.
In the present embodiment, used as an alternative embodiment, registering the monitoring module for monitoring bright screen event includes:
Background service process is opened, is used to monitor the monitoring module of bright screen event using the background service process registers.
In the present embodiment, used as an alternative embodiment, monitoring module is radio receiver.
The device of the present embodiment, can be used for performing the technical scheme of embodiment of the method shown in Fig. 1 and Fig. 2, and it realizes former
Reason is similar with technique effect, and here is omitted.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposit between operating
In any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to
Nonexcludability is included, so that a series of process, method, article or equipment including key elements not only will including those
Element, but also including other key elements being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that
Also there is other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of correlation, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.
For especially for device embodiment, because it is substantially similar to embodiment of the method, so the comparison of description is simple
Single, related part is illustrated referring to the part of embodiment of the method.
In flow charts expression or here logic described otherwise above and/or step, for example, are considered use
In the order list of the executable instruction for realizing logic function, in may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (as computer based system, the system including processor or other can hold from instruction
The system of row system, device or equipment instruction fetch and execute instruction) use, or with reference to these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
The dress that defeated program is used for instruction execution system, device or equipment or with reference to these instruction execution systems, device or equipment
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:With the electricity that one or more are connected up
Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can thereon print described program or other are suitable
Medium, because for example by carrying out optical scanner to paper or other media edlin, interpretation can then be entered or if necessary with it
His suitable method is processed to electronically obtain described program, in being then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.
In the above-described embodiment, multiple steps or method can in memory and by suitable instruction be performed with storage
Software that system is performed or firmware are realizing.For example, if realized with hardware, with another embodiment, can use
Any one of following technology well known in the art or their combination are realizing:With for realizing logic work(to data-signal
The discrete logic of the logic gates of energy, the special IC with suitable combinational logic gate circuit, programmable gate
Array (PGA), field programmable gate array (FPGA) etc..
The embodiment of the present invention also provides a kind of electronic equipment, and the electronic equipment includes the dress described in aforementioned any embodiment
Put.
Fig. 4 is the structural representation of electronic equipment one embodiment of the present invention, it is possible to achieve implemented shown in Fig. 1-3 of the present invention
The flow process of example, as shown in figure 4, above-mentioned electronic equipment can include:Housing 41, processor 42, memory 43, circuit board 44 and electricity
Source circuit 45, wherein, circuit board 44 is placed in the interior volume that housing 41 is surrounded, and processor 42 and memory 43 are arranged on circuit
On plate 44;Power circuit 45, powers for each circuit or device for above-mentioned electronic equipment;Memory 43 is used to store and can hold
Line program code;Processor 42 is run and executable program generation by the executable program code stored in reading memory 43
The corresponding program of code, for performing following operation:
After monitoring that locking screen interface occurs bright screen event, judge that whether the bright screen event that monitors is pre-set bright
Screen event;
The bright screen event for such as monitoring is the bright screen event for pre-setting, and the window attribute at more new video lock interface is normal
It is bright;
Loading video locks interface to play video;
After monitoring that the video playback is finished, the window attribute at more new video lock interface is the screen that goes out automatically.
Processor 42 to the concrete implementation procedure and processor 42 of above-mentioned steps by run executable program code come
The step of further performing, may refer to the description of Fig. 1-3 illustrated embodiments of the present invention, will not be described here.
The electronic equipment is present in a variety of forms, including but not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that possess mobile communication function, and to provide speech, data
Communicate as main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, feature mobile phone, and it is low
End mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, has calculating and processes work(
Can, typically also possess mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play content of multimedia.The kind equipment includes:Audio frequency,
Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigator.
(4) server:The equipment for providing the service of calculating, the composition of server includes that processor, hard disk, internal memory, system are total
Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, therefore processing energy
The aspects such as power, stability, reliability, security, extensibility, manageability require higher.
(5) other have the electronic equipment of data interaction function.
The embodiment of the present invention additionally provides a kind of storage medium, and for storing application program, the application program is used to hold
A kind of method that video is played on locking screen interface that the row embodiment of the present invention is provided.
The embodiment of the present invention additionally provides a kind of application program, is locking for performing one kind that the embodiment of the present invention is provided
The method that video is played on screen interface.
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried
Suddenly the hardware that can be by program to instruct correlation is completed, and described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
For convenience of description, it is to be divided into various units/modules with function to describe respectively to describe apparatus above.Certainly, exist
Implement the function of each unit/module can be realized in same or multiple softwares and/or hardware during the present invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that this
Invention can add the mode of required general hardware platform to realize by software.Based on such understanding, the present invention
The part that substantially prior art contributed in other words of technical scheme can be embodied in the form of software product, should
Computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions use so that
One computer equipment (can be personal computer, server, or network equipment etc.) perform each embodiment of the invention or
Method described in some parts of person's embodiment.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, the change or replacement that can be readily occurred in, all should
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (11)
1. it is a kind of on locking screen interface play video method, it is characterised in that include:
After monitoring that locking screen interface occurs bright screen event, whether the type for judging the bright screen event for monitoring pre-sets
Bright screen event type;
The type of the bright screen event for such as monitoring is the bright screen event type for pre-setting, and the window attribute for updating interface is normal
It is bright;
Loading video locks interface to play video;
After monitoring that the video playback is finished, the window attribute for updating interface is the screen that goes out.
2. it is according to claim 1 on locking screen interface play video method, it is characterised in that the judgement is monitored
The type of bright screen event whether be that the bright screen event type for pre-setting includes:
Judge whether bright screen event is that the information flow triggering for receiving causes;
If it is, the type for determining the bright screen event for monitoring not is the bright screen event type for pre-setting, if it is not, determining
The type of the bright screen event for monitoring is the bright screen event type for pre-setting.
3. it is according to claim 1 on locking screen interface play video method, it is characterised in that the renewal interface
Window attribute includes for Chang Liang:
The attribute of window is set to into FLAG_KEEP_SCREEN_ON.
4. it is according to claim 1 on locking screen interface play video method, it is characterised in that such as monitor described
The type of bright screen event be that to update the window attribute at interface be institute before Chang Liang after the bright screen event type for pre-setting
Stating method also includes:
The displayings priority at inquiry video lock interface whether higher than the displaying priority of other locking screen interfaces, if so, perform described in
The window attribute at more new video lock interface is often bright step.
5. according to any one of Claims 1-4 on locking screen interface play video method, it is characterised in that it is described
Method also includes:
In video display process, the instruction that interface is locked from the video is received, the video to playing accordingly is controlled
System.
6. it is a kind of on locking screen interface play video device, it is characterised in that include:Bright screen event judge module, window category
Property the first update module, load-on module and the update module of window attribute second, wherein,
Bright screen event judge module, for after monitoring that locking screen interface occurs bright screen event, judging the bright screen event for monitoring
Type whether be the bright screen event type for pre-setting;
The update module of window attribute first, the type of the bright screen event for such as monitoring is the bright screen event class for pre-setting
Type, the window attribute for updating interface is Chang Liang;
Load-on module, interface is locked to play video for loading video;
The update module of window attribute second, for after monitoring that the video playback is finished, the window attribute for updating interface is
Go out screen.
7. it is according to claim 6 on locking screen interface play video device, it is characterised in that the bright screen event is sentenced
Disconnected module includes:Monitoring unit and bright screen event judging unit, wherein,
Monitoring unit, for after monitoring that locking screen interface occurs bright screen event, notifying bright screen event judging unit;
Bright screen event judging unit, for judging whether bright screen event is that the information flow triggering for receiving causes;If it is, determining
The type of the bright screen event for monitoring not is the bright screen event type for pre-setting, if it is not, determining the bright screen thing for monitoring
The type of part is the bright screen event type for pre-setting.
8. it is according to claim 6 on locking screen interface play video device, it is characterised in that the renewal interface
Window attribute includes for Chang Liang:
The attribute of window is set to into FLAG_KEEP_SCREEN_ON.
9. the device that video is played on locking screen interface according to claim 6, it is characterised in that the window attribute the
One update module is additionally operable to after the type of the bright screen event for such as monitoring is the bright screen event type for pre-setting, and inquires about video
The displayings priority at lock interface whether higher than the displaying priority of other locking screen interfaces, if so, perform described in more new video lock boundary
The window attribute in face is often bright step.
10. according to any one of claim 6 to 9 on locking screen interface play video device, it is characterised in that it is described
Installation method also includes:
Play control module, in video display process, receiving the instruction that interface is locked from the video, to the institute for playing
State video accordingly to be controlled.
11. a kind of electronic equipment, it is characterised in that the electronic equipment includes:Housing, processor, memory, circuit board and electricity
Source circuit, wherein, circuit board is placed in the interior volume that housing is surrounded, and processor and memory are arranged on circuit boards;Power supply
Circuit, powers for each circuit or device for above-mentioned electronic equipment;Memory is used to store executable program code;Process
Device runs program corresponding with executable program code by the executable program code stored in reading memory, for holding
The following operation of row:
After monitoring that locking screen interface occurs bright screen event, whether the type for judging the bright screen event for monitoring pre-sets
Bright screen event type;
The type of the bright screen event for such as monitoring is the bright screen event type for pre-setting, and the window attribute for updating interface is normal
It is bright;
Loading video locks interface to play video;
After monitoring that the video playback is finished, the window attribute for updating interface is the screen that goes out.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611236786.2A CN106648325B (en) | 2016-12-28 | 2016-12-28 | Method and device for playing video on screen locking interface and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611236786.2A CN106648325B (en) | 2016-12-28 | 2016-12-28 | Method and device for playing video on screen locking interface and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106648325A true CN106648325A (en) | 2017-05-10 |
CN106648325B CN106648325B (en) | 2020-11-03 |
Family
ID=58832428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611236786.2A Active CN106648325B (en) | 2016-12-28 | 2016-12-28 | Method and device for playing video on screen locking interface and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106648325B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107147928A (en) * | 2017-05-23 | 2017-09-08 | 努比亚技术有限公司 | Play method, terminal and the computer-readable recording medium of video |
CN107241648A (en) * | 2017-06-26 | 2017-10-10 | 中广热点云科技有限公司 | The mobile terminal of video is played under a kind of screen lock state under video broadcasting method and screen lock state |
CN108200271A (en) * | 2017-12-25 | 2018-06-22 | 深圳市金立通信设备有限公司 | Control method, terminal and the computer readable storage medium of drawing pin application interface |
CN108334253A (en) * | 2017-12-26 | 2018-07-27 | 珠海市君天电子科技有限公司 | A kind of information displaying method, device and terminal device |
CN108647074A (en) * | 2018-05-09 | 2018-10-12 | 北京微播视界科技有限公司 | Method, apparatus, hardware device and the medium of multidate information are shown under screen lock state |
CN110446109A (en) * | 2019-08-01 | 2019-11-12 | 珠海格力电器股份有限公司 | Method for preventing terminal from being touched by mistake during video playing, storage medium and terminal |
CN111787384A (en) * | 2019-05-07 | 2020-10-16 | 北京沃东天骏信息技术有限公司 | Split-screen playing method, device and equipment for screen locking video and storage medium |
WO2021047432A1 (en) * | 2019-09-09 | 2021-03-18 | 北京字节跳动网络技术有限公司 | Method and device for displaying video playback interface, terminal device, and storage medium |
US11483677B2 (en) | 2018-06-07 | 2022-10-25 | Huawei Technologies Co., Ltd. | Information pushing method and terminal device |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030050019A1 (en) * | 2001-09-07 | 2003-03-13 | Dowling Eric Morgan | Mobile units with fexible-retractable peripherals |
US20050071761A1 (en) * | 2003-09-25 | 2005-03-31 | Nokia Corporation | User interface on a portable electronic device |
CN103345360A (en) * | 2013-06-21 | 2013-10-09 | 广东欧珀移动通信有限公司 | Method for recognizing intelligent terminal touch screen gestures |
CN104010230A (en) * | 2014-06-17 | 2014-08-27 | 合一网络技术(北京)有限公司 | Video playing method and system in screen-locked state |
CN104346100A (en) * | 2014-10-17 | 2015-02-11 | 广东欧珀移动通信有限公司 | Method and device for rapidly operating smart mobile terminal in blank screen state |
CN104765551A (en) * | 2015-04-20 | 2015-07-08 | 深圳市欧珀通信软件有限公司 | Method, device and system for lightening mobile terminal screen |
CN104935739A (en) * | 2015-05-29 | 2015-09-23 | 努比亚技术有限公司 | Audio and video application control method and device |
CN105549721A (en) * | 2015-12-18 | 2016-05-04 | Tcl集团股份有限公司 | Sleep method and apparatus for intelligent terminal |
CN105573468A (en) * | 2015-12-14 | 2016-05-11 | Tcl移动通信科技(宁波)有限公司 | Power-saving control method for awakening of touch screen and mobile terminal |
CN105892793A (en) * | 2015-12-04 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Operation method for intelligent terminal device and intelligent terminal device |
CN106055073A (en) * | 2016-05-31 | 2016-10-26 | 广东欧珀移动通信有限公司 | Processing method and device based on screen-lighting lock |
CN106131334A (en) * | 2016-07-11 | 2016-11-16 | 广东欧珀移动通信有限公司 | Control the method and device of mobile terminal screen state |
CN106201600A (en) * | 2016-06-30 | 2016-12-07 | 北京奇虎科技有限公司 | Application program for mobile terminal progress control method and operating system |
-
2016
- 2016-12-28 CN CN201611236786.2A patent/CN106648325B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030050019A1 (en) * | 2001-09-07 | 2003-03-13 | Dowling Eric Morgan | Mobile units with fexible-retractable peripherals |
US20050071761A1 (en) * | 2003-09-25 | 2005-03-31 | Nokia Corporation | User interface on a portable electronic device |
CN103345360A (en) * | 2013-06-21 | 2013-10-09 | 广东欧珀移动通信有限公司 | Method for recognizing intelligent terminal touch screen gestures |
CN104010230A (en) * | 2014-06-17 | 2014-08-27 | 合一网络技术(北京)有限公司 | Video playing method and system in screen-locked state |
CN104346100A (en) * | 2014-10-17 | 2015-02-11 | 广东欧珀移动通信有限公司 | Method and device for rapidly operating smart mobile terminal in blank screen state |
CN104765551A (en) * | 2015-04-20 | 2015-07-08 | 深圳市欧珀通信软件有限公司 | Method, device and system for lightening mobile terminal screen |
CN104935739A (en) * | 2015-05-29 | 2015-09-23 | 努比亚技术有限公司 | Audio and video application control method and device |
CN105892793A (en) * | 2015-12-04 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Operation method for intelligent terminal device and intelligent terminal device |
CN105573468A (en) * | 2015-12-14 | 2016-05-11 | Tcl移动通信科技(宁波)有限公司 | Power-saving control method for awakening of touch screen and mobile terminal |
CN105549721A (en) * | 2015-12-18 | 2016-05-04 | Tcl集团股份有限公司 | Sleep method and apparatus for intelligent terminal |
CN106055073A (en) * | 2016-05-31 | 2016-10-26 | 广东欧珀移动通信有限公司 | Processing method and device based on screen-lighting lock |
CN106201600A (en) * | 2016-06-30 | 2016-12-07 | 北京奇虎科技有限公司 | Application program for mobile terminal progress control method and operating system |
CN106131334A (en) * | 2016-07-11 | 2016-11-16 | 广东欧珀移动通信有限公司 | Control the method and device of mobile terminal screen state |
Non-Patent Citations (1)
Title |
---|
程序员人生: "New UI-妙用view的keepScreenOn属性保持屏幕常亮", 《HTTP://WWW.WFUYU.COM/TECHNOLOGY/21266.HTML》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107147928A (en) * | 2017-05-23 | 2017-09-08 | 努比亚技术有限公司 | Play method, terminal and the computer-readable recording medium of video |
CN107241648A (en) * | 2017-06-26 | 2017-10-10 | 中广热点云科技有限公司 | The mobile terminal of video is played under a kind of screen lock state under video broadcasting method and screen lock state |
CN107241648B (en) * | 2017-06-26 | 2019-05-24 | 中广热点云科技有限公司 | The mobile terminal of video is played under a kind of screen lock state under video broadcasting method and screen lock state |
CN108200271A (en) * | 2017-12-25 | 2018-06-22 | 深圳市金立通信设备有限公司 | Control method, terminal and the computer readable storage medium of drawing pin application interface |
CN108334253A (en) * | 2017-12-26 | 2018-07-27 | 珠海市君天电子科技有限公司 | A kind of information displaying method, device and terminal device |
CN108647074A (en) * | 2018-05-09 | 2018-10-12 | 北京微播视界科技有限公司 | Method, apparatus, hardware device and the medium of multidate information are shown under screen lock state |
CN108647074B (en) * | 2018-05-09 | 2022-01-07 | 北京微播视界科技有限公司 | Method, device, hardware device and medium for displaying dynamic information in screen locking state |
US11483677B2 (en) | 2018-06-07 | 2022-10-25 | Huawei Technologies Co., Ltd. | Information pushing method and terminal device |
CN111787384A (en) * | 2019-05-07 | 2020-10-16 | 北京沃东天骏信息技术有限公司 | Split-screen playing method, device and equipment for screen locking video and storage medium |
CN110446109A (en) * | 2019-08-01 | 2019-11-12 | 珠海格力电器股份有限公司 | Method for preventing terminal from being touched by mistake during video playing, storage medium and terminal |
WO2021047432A1 (en) * | 2019-09-09 | 2021-03-18 | 北京字节跳动网络技术有限公司 | Method and device for displaying video playback interface, terminal device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106648325B (en) | 2020-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106648325A (en) | Method and device for playing video on screen locking interface and electronic equipment | |
CN105516767B (en) | Smart television and its application switching method | |
CN101430745B (en) | Digital rights management method and apparatus of mobile terminal | |
CN105049423A (en) | Authority management system, device and method | |
CN104796743A (en) | Content item display system, method and device | |
CN105554522A (en) | Method for playing audio in group, server and terminal | |
CN105138400B (en) | Application program self-starting management method and device | |
CN104333811A (en) | Display method and electronic equipment | |
CN105867735A (en) | Application program sequencing display method and device and mobile device | |
CN105117295A (en) | Memory resource release method and device and electronic equipment | |
CN105187733A (en) | Video processing method, device and terminal | |
CN106648698A (en) | Method and device for displaying message notification and electronic equipment | |
CN105100477B (en) | Terminal notifying device and method | |
CN106231093A (en) | Alarm clock prompting method and device | |
WO2018000840A1 (en) | Notification field display method, device, and electronic apparatus | |
CN105163189A (en) | Method for reserving multimedia programs, server and terminal | |
CN105608095A (en) | Multimedia playing method and device as well as mobile terminal | |
CN106126488A (en) | Information storage means and device | |
CN104469746A (en) | Target mobile terminal, supervision method and system of target mobile terminal and supervision mobile terminal | |
CN107682526A (en) | A kind of application message methods of exhibiting and its equipment | |
CN106708501A (en) | Activity monitoring method and device | |
CN112087365A (en) | Instant messaging method and device applied to group, electronic equipment and storage medium | |
CN108600950A (en) | Online audio and video playing method, audio and video display device and storage medium | |
CN106559573B (en) | Mobile terminal and multimedia data processing method | |
CN112969147B (en) | Call method and device |
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 |