CN103559034B - Control the method and device of screen locking in a mobile device - Google Patents
Control the method and device of screen locking in a mobile device Download PDFInfo
- Publication number
- CN103559034B CN103559034B CN201310532963.1A CN201310532963A CN103559034B CN 103559034 B CN103559034 B CN 103559034B CN 201310532963 A CN201310532963 A CN 201310532963A CN 103559034 B CN103559034 B CN 103559034B
- Authority
- CN
- China
- Prior art keywords
- noiseless
- mobile device
- preset
- time interval
- medium data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
Providing a kind of method and apparatus controlling screen locking in a mobile device, described method includes: loads in the browser of described mobile device and runs the application specified;And in the running of the described application specified, repeatedly play preset noiseless multi-medium data according to predetermined rule, to avoid described mobile device generation screen locking.Use the method for the invention and device can be prevented effectively from web based on browser and apply the outage caused because of equipment generation screen locking in running, further enhance the experience of user.
Description
Technical field
This application relates to a kind of method and device controlling screen locking in a mobile device, particularly relates to one
Mobile device is avoided to occur by constantly playing noiseless audio/video at web based on browser in applying
The technology of screen locking.
Background technology
Along with a large amount of newborn mobile devices and the rise of mobile Internet, web based on browser applies product
Product (web app) get more and more, owing to these web application is capable of cross-platform application, the most also
Increasingly paid close attention to by third party service provider, but these browser application products are in mobile device
Browser in when running, often there is outage because of mobile device generation screen locking, user
Having by operation mobile device, again activating equipment could normally be continuing with, and this not only gives mobile device
User bring many inconvenience, and have impact on user's experience to product.
Summary of the invention
It is an object of the invention to provide a kind of method and apparatus controlling screen locking in a mobile device, to keep away
Exempt from web based on browser to apply in the operation caused because of equipment generation screen locking in running
Disconnected.
According to an aspect of of the present present invention, it is provided that a kind of method controlling screen locking in a mobile device, including:
The browser of described mobile device loads and runs the application specified;Wherein, in the described application specified
Running in, repeatedly play preset noiseless multi-medium data according to predetermined rule, to avoid
State mobile device generation screen locking.
Preferably, the described step bag repeatedly playing preset noiseless multi-medium data according to predetermined rule
Include: periodically play preset noiseless multi-medium data according to default time interval.
Preferably, described default time interval is less than the screen locking time of described mobile device.
Preferably, described noiseless multi-medium data is noiseless audio frequency or silent video.
Preferably, the described step periodically playing preset noiseless multi-medium data according to default time interval
Suddenly include: periodically play preset noiseless audio frequency, wherein, described voiceless sound according to default time interval
Frequency is play by<audio>label of HTML5.
Preferably, the described step periodically playing preset noiseless multi-medium data according to default time interval
Suddenly include: periodically play preset silent video according to default time interval, wherein, described noiseless regard
Frequency is play by<video>label of HTML5.
Preferably, also include: the display position of described silent video is arranged to the screen of described mobile device
Outside curtain indication range.
According to another aspect of the present invention, it is provided that a kind of device controlling screen locking in a mobile device, including:
Start unit, for loading and running the application specified in the browser of described mobile device;Play control
Unit processed, in the running of the described application specified, plays pre-according to predetermined rule repeatedly
The noiseless multi-medium data put, to avoid described mobile device generation screen locking.
Preferably, described playing control unit plays preset noiseless multimedia repeatedly according to predetermined rule
The process of data includes: periodically play described preset noiseless multi-medium data according to default time interval.
Preferably, described default time interval is less than the screen locking time of described mobile device.
Preferably, described noiseless multi-medium data is noiseless audio frequency or silent video.
Preferably, described playing control unit is periodically play preset noiseless many according to default time interval
The process of media data includes: periodically play described preset noiseless audio frequency according to default time interval,
Wherein, described noiseless audio frequency is play by<audio>label of HTML5.
Preferably, described playing control unit is periodically play preset noiseless many according to default time interval
The process of media data includes: periodically play preset silent video according to default time interval, wherein,
Described silent video is play by<video>label of HTML5.
Preferably, described playing control unit is additionally operable to: the display position of described silent video is arranged to
Outside the screen indication range of described mobile device.
Beneficial effect
Compared with prior art, the invention have the advantages that
The present invention can not only guarantee that web application product based on browser is in the browser of mobile device
Continuous service, and the outage caused due to equipment generation screen locking can be prevented effectively from, also simultaneously
Enhance Consumer's Experience.
Accompanying drawing explanation
Will be become by the description carried out below in conjunction with the accompanying drawings, the above and other purpose of the present invention and feature
Obtain clearer, wherein:
Fig. 1 is the method controlling screen locking in a mobile device illustrating the exemplary embodiment according to the present invention
Flow chart;
Fig. 2 is the device controlling screen locking in a mobile device illustrating the exemplary embodiment according to the present invention
Structured flowchart;
Fig. 3 is to illustrate the schematic diagram showing silent video in mobile device screen according to the present invention.
Detailed description of the invention
Hereinafter, with reference to the accompanying drawings to describe embodiments of the invention in detail.
The central scope of the present invention is: in the running of web based on browser application, according in advance
Fixed rule plays noiseless multi-medium data repeatedly, to avoid the outage caused because of equipment screen locking.
Do so is possible not only to guarantee that web based on browser applies continuous service in a mobile device, Er Qieke
To further enhance user's experience to web application product based on browser.
Fig. 1 shows the stream of the preferred embodiment of a kind of method controlling screen locking in a mobile device of the present invention
Cheng Tu.A kind of device controlling screen locking in a mobile device shown in Fig. 2 can be used for realizing described in Fig. 1
Method.
With reference to Fig. 1, at S110, described device loads and runs in the browser of described mobile device and refers to
Fixed application;
Wherein, the described application specified applies (web app) for web based on browser.It is embodied as
Time, described device has only to, by networking, from network side, described web application is loaded onto the clear of described equipment
Look in device, be therefore made without any installation, but, this web applies in running
Can because user mobile device is not operated for a long time, the screen of mobile device will blackening, i.e. send out
Raw screen lock phenomenon, thus have impact on user's experience to this application product.Such as, based on browsing
The GPS(Global i.e. global positioning system of Positioning System of device) navigation web application use
During, once there is equipment screen locking, described GPS navigation process will be interrupted, mobile device
Screen will blackening, this not only brings many operational inconvenience to user, also can run at vehicle
Journey increases the risk factor that user drives.
For solve the problems referred to above, at S120, described device in the running of the described application specified,
Preset noiseless multi-medium data is repeatedly play, to avoid described mobile device to occur according to predetermined rule
Screen locking.
Wherein, described noiseless multi-medium data be volume be the multi-medium data of zero, described media data can
To be various audio files, it is also possible to be various video files, it is also possible to be the video literary composition not comprising audio frequency
Part, is not restricted this present invention, as long as volume is the multimedia of zero.
It should be noted that the application specified of the present invention is except running in a browser
Various web apply, it is also possible to be the online access website of all kinds of portal, do not make any to this present invention
Limit.
An alternative embodiment according to the present invention, described device is play preset according to predetermined rule repeatedly
The step of noiseless multi-medium data include: described device is periodically play described according to default time interval
Preset noiseless multi-medium data.
Wherein, described default time interval is less than the screen locking time of described mobile device.
Specifically, according to one exemplary embodiment of the present invention, described noiseless multi-medium data is noiseless
Audio frequency.
When being embodied as, described device can set up a time in the running that described web applies
Be spaced apart the 30s(second) timeslice, and every 30s play the most noiseless audio frequency, the most neither impact lead
The timely report of boat voice, it is also possible to be prevented effectively from the generation of equipment screen locking, then make mobile device
Browser is constantly in highlighted state.
If it addition, the chained address of described noiseless audio frequency is positioned at far-end server, in order to save as much as possible
Save the flow of described mobile device network request and the consumption to mobile device electricity, can be by described voiceless sound
The reproduction time length of frequency can be controlled in about 1s to 2s.
When described web application presents particular content by Web page user oriented based on HTML5,
According to the exemplary embodiment that noiseless multi-medium data of the present invention is noiseless audio frequency, described device according to
The time interval preset periodically is play the step of preset noiseless multi-medium data and is included: described device according to
The time interval preset periodically plays preset noiseless audio frequency, and wherein, described noiseless audio frequency passes through HTML5
<audio>label play.
Specifically, in accordance with an alternative illustrative embodiment of the present invention, described noiseless multi-medium data is noiseless
Video.
In like manner, within described web application is presented specifically by Web page user oriented based on HTML5
Rong Shi, is the exemplary embodiment of silent video according to noiseless multi-medium data of the present invention, described dress
Put and periodically play the step of preset noiseless multi-medium data according to default time interval and include: described dress
Putting and periodically play preset silent video according to default time interval, wherein, described silent video passes through
<video>label of HTML5 is play.
Furthermore, it is contemplated that silent video can be in described mobile device on-screen display (osd) area when directly using
Occupy certain display area and space, apply at described mobile device screen to not affect described web
On display effect, be the exemplary embodiment of silent video according to noiseless multi-medium data of the present invention,
In the embodiment shown in fig. 1, also include: the display position of described silent video is arranged by described device
Outside the screen indication range of described mobile device.
Below in conjunction with Fig. 3 the present embodiment implemented and be described in further detail.
Fig. 3 shows the present invention and shows the schematic diagram of silent video in mobile device screen.From figure
During it can be seen that described device plays silent video by<video>label of HTML5, silent video
MyVideo can take a part of on-screen display (osd) area, and the most described device needs silent video myVideo
Display position (i.e. solid-line rectangle frame in Fig. 3) adjust the screen indication range to described mobile device
Position (i.e. dotted rectangle in Fig. 3) in addition, will silent video myVideo display position adjust
Whole to outside the user visual field.When implementing, described device can be by controlling silent video myVideo's
The screen coordinate (left, top) of upper left angle point by the display position adjustment of silent video myVideo to screen
Outside curtain viewing area, to guarantee that described web applies the display effect on mobile device screen.Specifically
Process as follows:
Wherein, position attribute is used for absolute fix, left and top attribute is for by silent video
MyVideo shows the position (-1000 ,-1000) beyond described mobile device on-screen display (osd) area, src
Attribute, can be according to described chain by device described in this attribute for depositing the chained address of described silent video
Ground connection location gets described silent video, and video.webm is silent video to be played.
It can be seen that when the screen coordinate position of silent video myVideo upper left angle point be (-1000,
-1000), time, the display position of silent video myVideo has exceeded the indication range of screen area, i.e.
Outside the user visual field, do so, silent video myVideo can be avoided to occupy screen display space, enter
And guarantee the display effect that web described in current mobile device applies.
Meanwhile, described<video>is handled as follows in the code of backstage by described device:
Wherein, setTimeout (" playVideo () ", 6*1000) is used for controlling noiseless in described<video>regarding
The broadcasting repeatedly of frequency, so that video is constantly in broadcast state, thus reaches to make the purpose of screen Chang Liang.
Fig. 2 shows that present invention another kind controls the preferred embodiment knot of the device of screen locking in a mobile device
Structure block diagram.
With reference to Fig. 2, described device at least includes start unit 201 and playing control unit 202.
Wherein, start unit 201, for loading and running appointment in the browser of described mobile device
Application.
Wherein, the described application specified is to rely on the web application that device navigator runs.
Playing control unit 202, in the running of the described application specified, according to predetermined
Rule plays preset noiseless multi-medium data, repeatedly to avoid described mobile device generation screen locking.
According to the present invention an alternative embodiment, described playing control unit 202 is according to predetermined rule
The process the most repeatedly playing preset noiseless multi-medium data includes: periodically broadcast according to default time interval
Put described preset noiseless multi-medium data.
Wherein, described default time interval is less than the screen locking time of described mobile device.
More specifically, according to one exemplary embodiment of the present invention, described noiseless multi-medium data is
Noiseless audio frequency.
When described web application presents particular content by Web page user oriented based on HTML5,
According to the exemplary embodiment that noiseless multi-medium data of the present invention is noiseless audio frequency, described broadcasting controls
The process that unit 202 periodically plays preset noiseless multi-medium data according to default time interval includes:
Periodically playing described preset noiseless audio frequency according to default time interval, wherein, described noiseless audio frequency leads to
<audio>label crossing HTML5 is play.
More specifically, in accordance with an alternative illustrative embodiment of the present invention, described noiseless multi-medium data is
Silent video.
In like manner, within described web application is presented specifically by Web page user oriented based on HTML5
Rong Shi, is the exemplary embodiment of silent video according to noiseless multi-medium data of the present invention, described in broadcast
Put control unit 202 and periodically play the process of preset noiseless multi-medium data according to default time interval
Including: periodically play preset silent video, wherein, described silent video according to default time interval
Play by<video>label of HTML5.
It addition, apply the display effect on described mobile device screen, root to not affect GPS navigation
Being the exemplary embodiment of silent video according to noiseless multi-medium data of the present invention, described broadcasting controls single
Unit 202 is additionally operable to: the display position of described silent video is arranged to the screen of described mobile device and shows
Outside scope.
As can be seen here, compared with prior art the present invention can not only guarantee that web based on browser applies
Product is continuous service in the browser of mobile device, and can be prevented effectively from due to equipment generation screen locking
And the outage caused, then enhance user's experience to described web application product.
It may be noted that according to the needs implemented, can each step described in this application is split as more
Step, it is possible to the part operation of two or more steps or step is combined into new step, to realize
The purpose of the present invention.
Above-mentioned the method according to the invention can realize in hardware, firmware, or is implemented as being storable in
Software in record medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk) or computer
Code, or the original storage being implemented through network download can at long-range record medium or nonvolatile machine
Read in medium and will be stored in the computer code in local recording medium, thus method described here
Use general purpose computer, application specific processor or able to programme or specialized hardware (such as ASIC can be stored in
Or FPGA) record medium on such software processes.Be appreciated that computer, processor,
Microprocessor controller or programmable hardware include the storage group that can store or receive software or computer code
Part (such as, RAM, ROM, flash memory etc.), when described software or computer code are by computer, place
When reason device or hardware access and execution, it is achieved processing method described here.Additionally, work as general purpose computer
Accessing when the code of the process that realization is shown in which, general purpose computer is converted to use by the execution of code
In the special-purpose computer performing the process being shown in which.
Although show and describing the present invention with reference to preferred embodiment, but those skilled in the art should managing
Solve, in the case of without departing from the spirit and scope of the present invention being defined by the claims, can be to these
Embodiment carries out various modifications and alterations.
Claims (10)
1. the method controlling screen locking in a mobile device, including:
The browser of described mobile device loads and runs the application specified;
Wherein, in the running of the described application specified, repeatedly play preset according to predetermined rule
Noiseless multi-medium data, to avoid described mobile device generation screen locking,
Wherein, the described step repeatedly playing preset noiseless multi-medium data according to predetermined rule includes:
Preset noiseless multi-medium data is periodically play according to default time interval, wherein, described default
Time interval less than screen locking time of described mobile device.
2. the method as described in claim 1 any one, it is characterised in that described noiseless multimedia number
According to for noiseless audio frequency or silent video.
3. method as claimed in claim 2, it is characterised in that described fixed according to default time interval
Phase plays the step of preset noiseless multi-medium data and includes:
Periodically playing preset noiseless audio frequency according to default time interval, wherein, described noiseless audio frequency leads to
<audio>label crossing HTML5 is play.
4. method as claimed in claim 2, it is characterised in that described fixed according to default time interval
Phase plays the step of preset noiseless multi-medium data and includes:
Periodically playing preset silent video according to default time interval, wherein, described silent video leads to
<video>label crossing HTML5 is play.
5. method as claimed in claim 4, it is characterised in that also include:
The display position of described silent video is arranged to outside the screen indication range of described mobile device.
6. control a device for screen locking in a mobile device, including:
Start unit, for loading and running the application specified in the browser of described mobile device;
Playing control unit, in the running of the described application specified, according to predetermined rule
Repeatedly play preset noiseless multi-medium data, to avoid described mobile device generation screen locking,
Described playing control unit plays the place of preset noiseless multi-medium data repeatedly according to predetermined rule
Reason includes: periodically play described preset noiseless multi-medium data according to default time interval, wherein,
Described default time interval is less than the screen locking time of described mobile device.
7. the device as described in claim 6 any one, it is characterised in that described noiseless multimedia number
According to for noiseless audio frequency or silent video.
8. device as claimed in claim 7, it is characterised in that described playing control unit is according to presetting
Time interval periodically play the process of preset noiseless multi-medium data and include:
Described preset noiseless audio frequency, wherein, described voiceless sound is periodically play according to default time interval
Frequency is play by<audio>label of HTML5.
9. device as claimed in claim 7, it is characterised in that described playing control unit is according to presetting
Time interval periodically play the process of preset noiseless multi-medium data and include:
Periodically playing preset silent video according to default time interval, wherein, described silent video leads to
<video>label crossing HTML5 is play.
10. device as claimed in claim 9, it is characterised in that described playing control unit is additionally operable to:
The display position of described silent video is arranged to outside the screen indication range of described mobile device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310532963.1A CN103559034B (en) | 2013-09-02 | 2013-10-31 | Control the method and device of screen locking in a mobile device |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310392678 | 2013-09-02 | ||
CN2013103926784 | 2013-09-02 | ||
CN201310392678.4 | 2013-09-02 | ||
CN201310532963.1A CN103559034B (en) | 2013-09-02 | 2013-10-31 | Control the method and device of screen locking in a mobile device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103559034A CN103559034A (en) | 2014-02-05 |
CN103559034B true CN103559034B (en) | 2016-08-17 |
Family
ID=50013290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310532963.1A Active CN103559034B (en) | 2013-09-02 | 2013-10-31 | Control the method and device of screen locking in a mobile device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103559034B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105976849B (en) * | 2016-05-05 | 2019-05-03 | 广州酷狗计算机科技有限公司 | A kind of method and apparatus of playing audio-fequency data |
CN111026450A (en) * | 2019-12-11 | 2020-04-17 | 上海德拓信息技术股份有限公司 | Method for continuous background operation of government affair terminal application |
CN112511857B (en) * | 2021-02-03 | 2021-06-04 | 新东方教育科技集团有限公司 | Method, device, storage medium and terminal for preventing terminal from sleeping based on browser |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731872A (en) * | 2004-08-04 | 2006-02-08 | 财团法人资讯工业策进会 | Electricity-saving method for action communication device in radio communication network |
CN101080050A (en) * | 2006-05-22 | 2007-11-28 | 北京信威通信技术股份有限公司 | A method for utilizing DSP micro dormancy mechanism to save power for terminal |
CN102917123A (en) * | 2012-09-27 | 2013-02-06 | 东莞宇龙通信科技有限公司 | Mobile terminal and dormancy processing method for mobile terminal |
US8386317B2 (en) * | 2007-07-23 | 2013-02-26 | Say Media, Inc. | Full page video advertisement |
-
2013
- 2013-10-31 CN CN201310532963.1A patent/CN103559034B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731872A (en) * | 2004-08-04 | 2006-02-08 | 财团法人资讯工业策进会 | Electricity-saving method for action communication device in radio communication network |
CN101080050A (en) * | 2006-05-22 | 2007-11-28 | 北京信威通信技术股份有限公司 | A method for utilizing DSP micro dormancy mechanism to save power for terminal |
US8386317B2 (en) * | 2007-07-23 | 2013-02-26 | Say Media, Inc. | Full page video advertisement |
CN102917123A (en) * | 2012-09-27 | 2013-02-06 | 东莞宇龙通信科技有限公司 | Mobile terminal and dormancy processing method for mobile terminal |
Non-Patent Citations (2)
Title |
---|
基于Android平台的动态电源管理技术研究;张海绒;《中国优秀硕士学位论文全文数据库 信息科技辑》;20120415;全文 * |
基于Android平台的智能手机流媒体播放器的研究及实现;李刚;《万方数据库》;20120807;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN103559034A (en) | 2014-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10574779B2 (en) | Predictive caching for content | |
US10082999B2 (en) | Audio file processing to reduce latencies in play start times for cloud served audio files | |
US10114865B2 (en) | Tile cache | |
US8701008B2 (en) | Systems and methods for sharing multimedia editing projects | |
JP5730884B2 (en) | Cloud-based media player and offline media access | |
EP3155824B1 (en) | Display mode based media player switching | |
US9237322B2 (en) | Systems and methods for performing selective video rendering | |
US11416538B1 (en) | System and method for sharing trimmed versions of digital media items | |
CN106791953B (en) | Multi-player control method, server and client | |
TW201316752A (en) | Video playing method and apparatus | |
US8176193B2 (en) | Dynamic media asset delivery | |
JP6314252B2 (en) | Network video playback method and apparatus | |
US9307292B2 (en) | Overlay of visual representations of captions on video | |
US9836180B2 (en) | Systems and methods for performing content aware video editing | |
US9728225B2 (en) | Systems and methods for viewing instant updates of an audio waveform with an applied effect | |
CN103559034B (en) | Control the method and device of screen locking in a mobile device | |
US9560104B1 (en) | Streaming media optimization | |
US10824447B2 (en) | Content presentation with enhanced closed caption and/or skip back | |
JP2013511761A (en) | Rendering web pages with plug-in content | |
US9473757B2 (en) | Presentation of a multi-frame segment of video content | |
JP2008152333A (en) | Reproduction device, method and program | |
US11671666B2 (en) | Video playing control method, device and storage medium based on a video source selection | |
CN106713221A (en) | Multimedia file download method and device | |
CA2926585A1 (en) | Method for playing back and separately storing audio and video tracks in the internet | |
CN107888949A (en) | A kind of method and apparatus for downloading audio-video document in advance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |