CN104793956A - Screen locking switching method and device of client APP - Google Patents
Screen locking switching method and device of client APP Download PDFInfo
- Publication number
- CN104793956A CN104793956A CN201510218778.4A CN201510218778A CN104793956A CN 104793956 A CN104793956 A CN 104793956A CN 201510218778 A CN201510218778 A CN 201510218778A CN 104793956 A CN104793956 A CN 104793956A
- Authority
- CN
- China
- Prior art keywords
- client end
- screen locking
- mobile terminal
- described client
- response
- 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.)
- Pending
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention provides a screen locking switching method of a client APP. The client APP is installed in a mobile terminal. The method includes the steps that 1, the current state of the client APP is detected; 2, the current state of the client APP is responded to be a foreground running state, and whether preset physical operation on the mobile terminal exists or not is detected; 3, the existing preset physical operation on the mobile terminal is responded, screen locking operation or screen unlocking operation is carried out on the client APP. Screen locking switching is finished by detecting whether the preset physical operation on the mobile terminal exists or not, and operation is convenient. By means of the method, a special screen locking button does not need to be arranged, so that a client APP page is simpler, learning cost of a user is reduced, and better experience is brought to the user. Besides, the invention provides a screen locking switching device of the client APP.
Description
Technical field
Embodiments of the present invention relate to areas of information technology, and more specifically, embodiments of the present invention relate to screen locking changing method and the device of a kind of client end AP P (Application, application program).
Background technology
This part embodiments of the present invention be intended to for stating in claims provide background or context.Description is not herein because be included in just admit it is prior art in this part.
Along with popularizing of mobile terminal, user has got used to using all kinds of client end AP P in mobile terminal to carry out routine work, amusement.In some client end AP P, such as video class APP, can by screen locking to avoid the conversion repeatedly of page orientation.
At present, occur that some carry out the method for screen locking blocked operation in client end AP P, such as video class APP plays in the page of video at it can exist a screen locking button, and user by clicking this screen locking button and complete the screen locking blocked operation of client end AP P on the page of APP.
Summary of the invention
But, in the prior art, in client end AP P, button is many comparatively speaking, such as, can there is time-out broadcast button, fast forward button, fast backward button in the broadcasting page of video class APP simultaneously, share all kinds of buttons such as button, download button, favorite button, and mobile device screen area is limited, increase a screen locking button and not only can occupy certain screen space, destroy the terseness of the page, numerous button faced by user also can be allowed to be at a loss, improve the possibility of the use cost of user, learning cost and maloperation, reduce Consumer's Experience.
Therefore the screen locking of client end AP P switches in the prior art, and this is very bothersome process.
For this reason, the screen locking being starved of a kind of client end AP P of improvement switches, with the convenience making the screen locking of raising client end AP P switch.
In the present context, embodiments of the present invention expect the screen locking changing method and the device that provide a kind of client end AP P.
In the first aspect of embodiment of the present invention, provide the screen locking changing method of a kind of client end AP P, described client end AP P is installed in mobile terminal, comprising: A), detect the current state of described client end AP P; B), be front stage operation state in response to described client end AP P current state, detect whether to exist the predetermined physical of described mobile terminal operated; C), in response to existence the predetermined physical of described mobile terminal is operated, screen locking operation is carried out to described client end AP P or removes screen locking operation.
In the second aspect of embodiment of the present invention, provide the screen locking device of a kind of client end AP P, described client end AP P is installed in mobile terminal, comprising: the first detecting unit, for detecting the current state of described client end AP P; Second detecting unit, for being front stage operation state in response to described client end AP P current state, whether detection exists operates the predetermined physical of described mobile terminal; Operating unit, for operating the predetermined physical of described mobile terminal in response to existence, carrying out screen locking operation to described client end AP P or removing screen locking operation.
According to screen locking method and the device of the client end AP P of embodiment of the present invention, by when client end AP P front stage operation, detect whether to exist and the predetermined physical of client end AP P place mobile terminal is operated, when existence operates the predetermined physical of described mobile terminal, screen locking operation is carried out to client end AP P or removes screen locking operation, like this, without the need to arranging special screen locking button again in client end AP P, user only needs to carry out predetermined physical operation to mobile terminal, such as insert/extract earphone, the modes such as shake mobile terminal, can realize switching the screen locking of client end AP P, it is more convenient that screen locking switches, decrease the learning cost of user, and the page of client end AP P is more succinct, for user brings better experience.
Accompanying drawing explanation
By reference to accompanying drawing reading detailed description hereafter, above-mentioned and other objects of exemplary embodiment of the invention, feature and advantage will become easy to understand.In the accompanying drawings, show some embodiments of the present invention by way of example, and not by way of limitation, wherein:
Fig. 1 schematically shows an exemplary application scene graph of embodiment of the present invention;
Fig. 2 schematically shows the process flow diagram of screen locking changing method one embodiment of the client end AP P of embodiment of the present invention;
Fig. 3 schematically shows the process flow diagram of another embodiment of screen locking changing method of the client end AP P of embodiment of the present invention;
The process flow diagram of the screen locking changing method that Fig. 4 schematically shows the client end AP P of an embodiment of the present invention embodiment again;
Fig. 5 schematically shows the structural drawing of screen locking switching device shifter one embodiment of the client end AP P of embodiment of the present invention.
In the accompanying drawings, identical or corresponding label represents identical or corresponding part.
Embodiment
Below with reference to some illustrative embodiments, principle of the present invention and spirit are described.Should be appreciated that providing these embodiments is only used to enable those skilled in the art understand better and then realize the present invention, and not limit the scope of the invention by any way.On the contrary, provide these embodiments to be to make the disclosure more thorough and complete, and the scope of the present disclosure intactly can be conveyed to those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method or computer program.Therefore, the disclosure can be implemented as following form, that is: hardware, completely software (comprising firmware, resident software, microcode etc.) completely, or the form that hardware and software combines.
According to the embodiment of the present invention, the screen locking switching method and apparatus of a kind of client end AP P is proposed.
In this article, it is to be appreciated that any number of elements in accompanying drawing is all unrestricted for example, and any name is all only for distinguishing, and does not have any limitation.
Below with reference to some representative embodiments of the present invention, explaination principle of the present invention and spirit in detail.
summary of the invention
Need in prior art to carry out screen locking blocked operation in some client end AP P, such as, client end AP P is switched to screen lock state from non-screen lock state, or switch to non-screen lock state from screen lock state.Usually in the page of client end AP P, have a screen locking button, user completes screen locking blocked operation by clicking screen locking button on the client end AP P page.But, the present inventor finds, in client end AP P, screen locking blocked operation is carried out in prior art, need to increase a screen locking button in limited Page Range, destroy the terseness of the page, user also can be allowed to be at a loss in the face of numerous buttons, to improve the possibility of the use cost of user, learning cost and maloperation, reduce Consumer's Experience.
For above problem, basic thought of the present invention is: by when client end AP P front stage operation, detect the predetermined physical whether existed for mobile terminal to operate, if existed, direct screen locking blocked operation is carried out to client end AP P, and without the need to arranging special screen locking button in client end AP P, user only needs to carry out predetermined physical operation to mobile terminal, such as insert/extract earphone, the modes such as shake mobile terminal, can realize switching the screen locking of client end AP P, simple and convenient, decrease the learning cost of user, and the page of client end AP P is more succinct, for user brings better experience.
After describing ultimate principle of the present invention, lower mask body introduces various non-limiting embodiment of the present invention.
application scenarios overview
First with reference to figure 1, screen locking can be realized switch in client end AP P as shown in Figure 1, screen locking operation is carried out to client end AP P or removes screen locking operation.Such as, client end AP P can be video class APP, and this client end AP P is installed in mobile terminal.Mobile terminal is specifically as follows smart mobile phone, panel computer, E-book reader, MP3 (Moving Picture Experts Group Audio LayerIII, dynamic image expert compression standard audio frequency aspect 3) player, MP4 (Moving Picture ExpertsGroup Audio Layer IV, dynamic image expert compression standard audio frequency aspect 3) player etc.The APP of video class shown in Fig. 1 is only a kind of possible application scenarios, and the embodiment of the present invention can realize based on any client end AP P.
illustrative methods
Below in conjunction with the application scenarios of Fig. 1, the method switched according to the screen locking for client end AP P of exemplary embodiment of the invention is described with reference to figure 2-4.It should be noted that above-mentioned application scenarios is only that embodiments of the present invention are unrestricted in this regard for the ease of understanding spirit of the present invention and principle and illustrating.On the contrary, embodiments of the present invention can be applied to applicable any scene.
Such as, see Fig. 2, show the process flow diagram of screen locking changing method one embodiment of client end AP P in the present invention.The present embodiment can be applied to client end AP P, and described client end AP P can be installed in mobile terminal, such as, specifically can comprise the steps:
Step 201: the current state detecting described client end AP P.
Client end AP P can have at least two kinds of running statuses: front stage operation state and background operation state, the front stage operation state of client end AP P is that client end AP P window is current is in display state, user directly can carry out interactive operation to client end AP P by client end AP P window page, client end AP P be in front stage operation state can illustrate active client APP use by user.Relative to front stage operation state, although the background operation state of client end AP P is client end AP P in operation, client end AP P window is hidden and is in non-display state, and namely client end AP P is only at running background.The client end AP P of front stage operation by opening the client end AP P of closedown or the client end AP P of running background being switched to front stage operation, or can be switched to running background or directly close by user, changes the running status of client end AP P.
In actual applications, can detect the current state of client end AP P by detecting the state flag bit of client end AP P, it be front stage operation state or client end AP P current state is background operation state that the state flag bit of client end AP P can represent client end AP P current state.Such as, state flag bit is 1 expression client end AP P current state is front stage operation state, and state flag bit is 0 expression client end AP P current state is background operation state.
Whether step 202: be front stage operation state in response to described client end AP P current state, detect to exist and operate the predetermined physical of described mobile terminal.
When client end AP P current state is front stage operation state, represent that user uses client end AP P, then may there is the demand of carrying out screen locking switching in user, now can detect the predetermined physical whether existed mobile terminal and operate.
In the embodiment that some are possible, described client end AP P is video class APP, described method also comprises: be front stage operation state in response to described client end AP P current state, detects whether described client end AP P is current is in video broadcasting condition and/or described client end AP P is current whether is in full-screen display mode.
Client end AP P is video class APP, and be in video broadcasting condition if client end AP P is current and/or is in full-screen display mode, usual representative of consumer watches video, now user to carry out the demand of screen locking more clear and definite.
In actual applications, video playback zone bit and full screen display zone bit can be had in video class APP, by reading video playback zone bit and/or full screen display zone bit, detect whether client end AP P is current is in video broadcasting condition and/or client end AP P is current whether is in full-screen display mode.Such as, to be that 1 expression client end AP P is current be in video broadcasting condition to video playback zone bit, and to be that 0 expression client end AP P is current be not in video broadcasting condition to video playback zone bit; To be that 1 expression client end AP P is current be in full screen display state to full screen display zone bit, and to be that 0 expression client end AP P is current be not in full screen display state to full screen display zone bit.
In the embodiment that some are possible, detect whether described client end AP P is current is in video broadcasting condition and/or described client end AP P is current whether is in full-screen display mode, after occurring in the predetermined physical operation detecting and exist described mobile terminal.
In the embodiment that some are possible, detect and whether there is specific implementation that the predetermined physical of described mobile terminal operate and whether can there is earphone and insert the operation of described mobile terminal or earphone and extract described mobile terminal and operate for detecting.Namely mobile terminal operation can be inserted for existing earphone to the operation of the predetermined physical of mobile terminal or mobile terminal operation extracted by earphone.
In actual applications, client end AP P can be pre-set and can read data in the receiver J-Horner audiomonitor of mobile terminal, be detected by the zone bit read in the receiver J-Horner audiomonitor of mobile terminal and whether there is earphone and insert the operation of described mobile terminal or the operation of described mobile terminal extracted by earphone.Such as, zone bit in receiver J-Horner audiomonitor be 1 expression exist earphone insert described mobile terminal operation, namely current earphone is inserted in mobile terminal, comprise two kinds of situations below, the first: before detecting that client end AP P enters front stage operation state, earphone has been inserted in mobile terminal, and the zone bit namely in receiver J-Horner audiomonitor change did not occur, and was in 1 always; The second: after detecting that client end AP P enters front stage operation state, earphone is just inserted in mobile terminal, there is change in the zone bit namely in receiver J-Horner audiomonitor, such as, becomes 1 from 0; Zone bit in receiver J-Horner audiomonitor be 0 expression exist earphone extract described mobile terminal operation, namely current earphone is not inserted in mobile terminal, comprise two kinds of situations below, the first: after detecting that client end AP P enters front stage operation state, not there is change in the zone bit in receiver J-Horner audiomonitor, be in 0 always; The second: after detecting that client end AP P enters front stage operation state, there is change in the zone bit in receiver J-Horner audiomonitor, such as, becomes 0 from 1.
In the embodiment that some are possible, detect the specific implementation whether existed the predetermined physical of described mobile terminal operates and also whether all can be greater than predetermined threshold value for all directions acceleration of gravity data detecting described mobile terminal.Namely can be the shake to mobile terminal to the operation of the predetermined physical of mobile terminal, and correspondingly detect described mobile terminal and whether be in shake state.
In actual applications, client end AP P can be pre-set and can read data in the gravity audiomonitor of mobile terminal, data in gravity audiomonitor comprise all directions acceleration of gravity data, the i.e. acceleration of gravity data of x, y, z axle, judge whether all directions acceleration of gravity data are all greater than predetermined threshold value, if all directions acceleration of gravity data are all greater than predetermined threshold value, then illustrate that current mobile terminal is in shake state.
Step 203: operate the predetermined physical of described mobile terminal in response to existence, carries out screen locking operation to described client end AP P or removes screen locking operation.
In the embodiment that some are possible, also in response to existing the operation of the predetermined physical of described mobile terminal and being in video broadcasting condition and/or described client end AP P is current is in full-screen display mode in response to described client end AP P is current, screen locking operation can be carried out to described client end AP P or removes screen locking operation.
That is, when the predetermined physical operation existed mobile terminal being detected, can screen locking operation be carried out to client end AP P or remove screen locking operation, or, detect exist the operation of the predetermined physical of mobile terminal and client end AP P current be in video broadcasting condition and/or current be in full-screen display mode time, can screen locking operation be carried out to client end AP P or remove screen locking operation.
Concrete, in the embodiment that some are possible, the specific implementation of step 203 can be: insert the operation of described mobile terminal in response to there is described earphone, then carry out screen locking operation to described client end AP P; Extract the operation of described mobile terminal in response to there is described earphone, then releasing screen locking operation is carried out to described client end AP P.Such as, when detecting the predetermined physical operation whether existed mobile terminal, the zone bit read in receiver J-Horner audiomonitor be 1 or receiver J-Horner audiomonitor in zone bit become 1 from 0, represent that there is earphone inserts mobile terminal operation, then screen locking operation is carried out to client end AP P, the zone bit read in receiver J-Horner audiomonitor be 0 or from 1 become 0 expression exist earphone extract mobile terminal operation, then to client end AP P carry out releasings screen locking operate.
Certainly, it will be appreciated by those skilled in the art that, in other embodiment, a screen locking zone bit also can be set, this screen locking zone bit only can insert by earphone the impact that the operation of mobile terminal extracted by the operation of mobile terminal and earphone, also video broadcasting condition and/or the current impact whether being in full-screen display mode can whether be in by client end AP P is current, and detect exist earphone insert the operation of mobile terminal and earphone extract the operation of mobile terminal time, carry out corresponding action according to screen locking zone bit.
Such as, to be that 1 expression client end AP P is current be in screen lock state to screen locking zone bit, and to be that 0 expression client end AP P is current be in non-screen lock state to screen locking zone bit.On the one hand, when screen locking zone bit only by whether exist earphone insert the operation of mobile terminal and earphone extract affecting of the operation of mobile terminal, when opening client end AP P from closed condition, general screen locking zone bit is defaulted as 0, when detecting that client end AP P current state is front stage operation state first after namely opening client end AP P, read the zone bit in receiver J-Horner audiomonitor.If the zone bit read in receiver J-Horner audiomonitor is 1, then screen locking zone bit is become 1 from 0, if the zone bit read in receiver J-Horner audiomonitor is 0, keep screen locking zone bit to be 0.If screen locking zone bit is after 1, the zone bit read in receiver J-Horner audiomonitor becomes 0 from 1, then screen locking zone bit is become 0 from 1, if screen locking zone bit is after 0, the zone bit read in receiver J-Horner audiomonitor becomes 1 from 0, then screen locking zone bit is become 1 from 0.Similar, if when client end AP P switches back front stage operation state again from background operation state, general screen locking zone bit with front once exit front stage operation state time identical, if now screen locking zone bit is 1, the zone bit read in receiver J-Horner audiomonitor is 1, then keep screen locking zone bit to be 1, the zone bit read in receiver J-Horner audiomonitor is 0 or becomes 0 from 1, then screen locking zone bit is become 0 from 1; If screen locking zone bit is 0, the zone bit read in receiver J-Horner audiomonitor is 0, then keep screen locking zone bit to be 0, the zone bit read in receiver J-Horner audiomonitor is 1 or becomes 1 from 0, then screen locking zone bit is become 1 from 0.On the other hand, when screen locking zone bit by client end AP P current whether be in video broadcasting condition and/or current whether be in full-screen display mode and whether exist earphone insert the operation of mobile terminal and earphone extract the joint effect of the operation of mobile terminal, when video playback zone bit is 1 and/or full screen display zone bit is 1, screen locking zone bit can change with the change of the zone bit in receiver J-Horner audiomonitor, to read the zone bit in receiver J-Horner audiomonitor be 1 or become 1 from 0, then screen locking zone bit is 1, to read the zone bit in receiver J-Horner audiomonitor be 0 or become 0 from 1, then screen locking zone bit is 0, and when video playback zone bit or full screen display zone bit are 0, screen locking zone bit does not change with the change of the zone bit in receiver J-Horner audiomonitor, remain 0.
In the embodiment that some are possible, the specific implementation of step 203 also can be: be all greater than predetermined threshold value in response to all directions acceleration of gravity data, reads screen locking zone bit; Identify in response to described screen locking zone bit that described client end AP P is current is in non-screen lock state, screen locking operation is carried out to described client end AP P; Identify in response to described screen locking zone bit that described client end AP P is current is in screen lock state, releasing screen locking operation is carried out to described client end AP P.Such as, to be that 1 expression client end AP P is current be in screen lock state to screen locking zone bit, to be that 0 expression client end AP P is current be in non-screen lock state to screen locking zone bit, all predetermined threshold value is greater than and screen locking zone bit is 0 in response to all directions acceleration of gravity data, then screen locking operation is carried out to client end AP P, screen locking zone bit is become 1 from 0, all predetermined threshold value is greater than and screen locking zone bit is 1 in response to all directions acceleration of gravity data, then releasing screen locking operation is carried out to client end AP P, screen locking zone bit is become 0 from 1.
In addition, described screen locking operates to comprise and forbids screen rotation and/or forbid trigger action system master menu.When user uses client end AP P, the master menu of false touch operating system sometimes, such as, return button or return screen homepage button, then forbid trigger action system master menu while forbidding screen rotation when screen locking operates, can prevent the maloperation of user.
Like this, by when client end AP P front stage operation, detect whether to exist and the predetermined physical of client end AP P place mobile terminal is operated, when existence operates the predetermined physical of described mobile terminal, screen locking operation is carried out to client end AP P or removes screen locking operation, like this, without the need to arranging special screen locking button again in client end AP P, user only needs to carry out predetermined physical operation to mobile terminal, such as insert/extract earphone, shake mobile terminal, pressing improves/reduces volume button, the modes such as pressing power key, can realize switching the screen locking of client end AP P, it is more convenient that screen locking switches, decrease the learning cost of user, and the page of client end AP P is more succinct, for user brings better experience.
Again in conjunction with embody rule example, above-described embodiment is described further.Such as, see Fig. 3, show the process flow diagram of another embodiment of screen locking changing method of client end AP P in the present invention.The present embodiment can be applied to client end AP P, and described client end AP P can be video class APP, and described client end AP P can be installed in mobile terminal, such as, specifically can comprise the steps:
Step 301: the current state detecting described client end AP P.
Step 302: be front stage operation state in response to described client end AP P current state, detects whether described client end AP P is current is in video broadcasting condition and/or described client end AP P is current whether is in full-screen display mode.
Step 303: detect whether exist earphone insert described mobile terminal operation or earphone extract described mobile terminal operation.
Step 304: insert the operation of described mobile terminal or earphone and extract the operation of described mobile terminal in response to there is earphone and be in video broadcasting condition and/or described client end AP P is current is in full-screen display mode in response to described client end AP P is current, screen locking operation is carried out to described client end AP P or removes screen locking operation.
Concrete, insert the operation of described mobile terminal in response to there is described earphone, then screen locking operation is carried out to described client end AP P; Extract the operation of described mobile terminal in response to there is described earphone, then releasing screen locking operation is carried out to described client end AP P.
In the present embodiment, such as client end AP P is video class APP, when client end AP P is in video broadcasting condition and/or full-screen display mode, and earphone is inserted mobile terminal, substantially can illustrate user or be about to viewing video, now, have the needs of screen locking, automatically can realize carrying out screen locking operation to described client end AP P, and earphone be extracted mobile terminal, automatically can realize carrying out releasing screen locking operation to described client end AP P, thus achieve screen locking switching.
Again such as, see Fig. 4, the process flow diagram of the screen locking changing method showing client end AP P in a present invention embodiment again.The present embodiment can be applied to client end AP P, and described client end AP P can be installed in mobile terminal, such as, specifically can comprise the steps:
Step 401: the current state detecting described client end AP P.
Step 402: be front stage operation state in response to described client end AP P current state, whether all directions acceleration of gravity data detecting described mobile terminal are all greater than predetermined threshold value.
Step 403: be all greater than predetermined threshold value in response to all directions acceleration of gravity data, reads screen locking zone bit.
Step 404: identify in response to described screen locking zone bit that described client end AP P is current is in non-screen lock state, carries out screen locking operation to described client end AP P.
Step 405: identify in response to described screen locking zone bit that described client end AP P is current is in screen lock state, carries out releasing screen locking operation to described client end AP P.
In the present embodiment, can also by being in front stage operation state at client end AP P time, detect the predetermined physical operation whether having and mobile terminal is shaken, if had, client end AP P can be switched screen lock state from non-screen lock state, switch to non-screen lock state from screen lock state, thus achieve screen locking switching.
It should be noted that, above-mentioned two embodiments are only the exemplary illustrations of the method that the screen locking of client end AP P provided by the invention switches, embodiments of the present invention are not limited to this, such as, when client end AP P is video class APP, after carrying out screen locking by the mode of plugged earphone, also whether can all be greater than predetermined threshold value by all directions acceleration of gravity data detecting mobile terminal and carry out releasing screen locking.
Like this, by when client end AP P front stage operation, detect whether to exist and the predetermined physical of client end AP P place mobile terminal is operated, when existence operates the predetermined physical of described mobile terminal, screen locking operation is carried out to client end AP P or removes screen locking operation, like this, without the need to arranging special screen locking button again in client end AP P, user only needs to carry out predetermined physical operation to mobile terminal, such as insert/extract earphone, shake mobile terminal, pressing improves/reduces volume button, the modes such as pressing power key, can realize switching the screen locking of client end AP P, it is more convenient that screen locking switches, decrease the learning cost of user, and the page of client end AP P is more succinct, for user brings better experience.
example devices
After the method describing exemplary embodiment of the invention, next, with reference to figure 5 pairs of exemplary embodiment of the invention, be described for the screen locking device of client end AP P
See Fig. 5, show the structural drawing of screen locking device one embodiment of client end AP P in the present invention, described client end AP P can be installed in mobile terminal, such as, specifically can comprise:
First detecting unit 501, may be used for the current state detecting described client end AP P.
Second detecting unit 502, whether may be used in response to described client end AP P current state is front stage operation state, detect to exist to operate the predetermined physical of described mobile terminal.
Operating unit 503, may be used for operating the predetermined physical of described mobile terminal in response to existence, carries out screen locking operation or remove screen locking operation to described client end AP P.
In the embodiment that some are possible, described client end AP P is video class APP, and described device can also comprise:
3rd detecting unit, for being front stage operation state in response to described client end AP P current state, detects whether described client end AP P is current is in video broadcasting condition and/or described client end AP P is current whether is in full-screen display mode;
Then described operating unit, specifically in response to existing the operation of the predetermined physical of described mobile terminal and being in video broadcasting condition and/or described client end AP P is current is in full-screen display mode in response to described client end AP P is current, screen locking operation can be carried out to described client end AP P or removes screen locking operation.
In the embodiment that some are possible, described second detecting unit can be specifically for: detect and whether there is earphone and insert the operation of described mobile terminal or the operation of described mobile terminal extracted by earphone.
In the embodiment that some are possible, described operating unit can comprise:
First operator unit, for inserting the operation of described mobile terminal in response to there is described earphone, then carries out screen locking operation to described client end AP P;
Second operator unit, for extracting the operation of described mobile terminal in response to there is described earphone, then carries out releasing screen locking operation to described client end AP P.
In the embodiment that some are possible, described second detecting unit can also be specifically for: whether all directions acceleration of gravity data detecting described mobile terminal are all greater than predetermined threshold value.
In the embodiment that some are possible, described operating unit can comprise:
Reading subelement, for being all greater than predetermined threshold value in response to all directions acceleration of gravity data, reading screen locking zone bit;
3rd operator unit, for identifying in response to described screen locking zone bit, described client end AP P is current is in non-screen lock state, carries out screen locking operation to described client end AP P;
4th operator unit, for identifying in response to described screen locking zone bit, described client end AP P is current is in screen lock state, carries out releasing screen locking operation to described client end AP P.
In addition, in the embodiment that some are possible, described screen locking operation comprises to be forbidden screen rotation and/or forbids trigger action system master menu.
Like this, by when client end AP P front stage operation, detect whether to exist and the predetermined physical of client end AP P place mobile terminal is operated, when existence operates the predetermined physical of described mobile terminal, screen locking operation is carried out to client end AP P or removes screen locking operation, like this, without the need to arranging special screen locking button again in client end AP P, user only needs to carry out predetermined physical operation to mobile terminal, such as insert/extract earphone, shake mobile terminal, pressing improves/reduces volume button, the modes such as pressing power key, can realize switching the screen locking of client end AP P, it is more convenient that screen locking switches, decrease the learning cost of user, and the page of client end AP P is more succinct, for user brings better experience.
Although it should be noted that some unit or the subelement of the screen locking device being referred to client end AP P in above-detailed, this division is only exemplary not enforceable.In fact, according to the embodiment of the present invention, the Characteristic and function of two or more unit above-described can be specialized in a unit.Otherwise, the Characteristic and function of an above-described unit can Further Division for be specialized by multiple unit.
In addition, although describe the operation of the inventive method in the accompanying drawings with particular order, this is not that requirement or hint must perform these operations according to this particular order, or must perform the result that all shown operation could realize expectation.Additionally or alternatively, some step can be omitted, multiple step be merged into a step and perform, and/or a step is decomposed into multiple step and perform.
Although describe spirit of the present invention and principle with reference to some embodiments, but should be appreciated that, the present invention is not limited to disclosed embodiment, can not combine to be benefited to the feature that the division of each side does not mean that in these aspects yet, this division is only the convenience in order to state.The present invention is intended to contain the interior included various amendment of spirit and scope and the equivalent arrangements of claims.
Claims (14)
1. a screen locking changing method of client end AP P, described client end AP P is installed in mobile terminal, comprising:
A) current state of described client end AP P, is detected;
B), be front stage operation state in response to described client end AP P current state, detect whether to exist the predetermined physical of described mobile terminal operated;
C), in response to existence the predetermined physical of described mobile terminal is operated, screen locking operation is carried out to described client end AP P or removes screen locking operation.
2. method according to claim 1, described client end AP P is video class APP, in step C) before, described method also comprises:
Be front stage operation state in response to described client end AP P current state, detect whether described client end AP P is current is in video broadcasting condition and/or described client end AP P is current whether is in full-screen display mode, and
In step C), in response to existing the operation of the predetermined physical of described mobile terminal and being in video broadcasting condition and/or described client end AP P is current is in full-screen display mode in response to described client end AP P is current, screen locking operation is carried out to described client end AP P or removes screen locking operation.
3. method according to claim 1 and 2, wherein, whether described detection exists operates the predetermined physical of described mobile terminal, comprising:
Detect whether exist earphone insert described mobile terminal operation or earphone extract described mobile terminal operation.
4. method according to claim 3, wherein, step C) comprising:
Insert the operation of described mobile terminal in response to there is described earphone, then screen locking operation is carried out to described client end AP P;
Extract the operation of described mobile terminal in response to there is described earphone, then releasing screen locking operation is carried out to described client end AP P.
5. method according to claim 1 and 2, wherein, whether described detection exists operates the predetermined physical of described mobile terminal, comprising:
Whether all directions acceleration of gravity data detecting described mobile terminal are all greater than predetermined threshold value.
6. method according to claim 5, wherein, step C) comprising:
All be greater than predetermined threshold value in response to all directions acceleration of gravity data, read screen locking zone bit;
Identify in response to described screen locking zone bit that described client end AP P is current is in non-screen lock state, screen locking operation is carried out to described client end AP P;
Identify in response to described screen locking zone bit that described client end AP P is current is in screen lock state, releasing screen locking operation is carried out to described client end AP P.
7. the method according to any one of claim 1,4 or 6, wherein, described screen locking operation comprises to be forbidden screen rotation and/or forbids trigger action system master menu.
8. a screen locking device of client end AP P, described client end AP P is installed in mobile terminal, comprising:
First detecting unit, for detecting the current state of described client end AP P;
Second detecting unit, for being front stage operation state in response to described client end AP P current state, whether detection exists operates the predetermined physical of described mobile terminal;
Operating unit, for operating the predetermined physical of described mobile terminal in response to existence, carrying out screen locking operation to described client end AP P or removing screen locking operation.
9. device according to claim 8, described client end AP P is video class APP, and described device also comprises:
3rd detecting unit, for being front stage operation state in response to described client end AP P current state, detects whether described client end AP P is current is in video broadcasting condition and/or described client end AP P is current whether is in full-screen display mode;
Described operating unit, specifically in response to existing the operation of the predetermined physical of described mobile terminal and being in video broadcasting condition and/or described client end AP P is current is in full-screen display mode in response to described client end AP P is current, screen locking operation is carried out to described client end AP P or removes screen locking operation.
10. device according to claim 8 or claim 9, wherein, described second detecting unit specifically for: detect and whether there is earphone and insert the operation of described mobile terminal or the operation of described mobile terminal extracted by earphone.
11. devices according to claim 10, wherein, described operating unit comprises:
First operator unit, for inserting the operation of described mobile terminal in response to there is described earphone, then carries out screen locking operation to described client end AP P;
Second operator unit, for extracting the operation of described mobile terminal in response to there is described earphone, then carries out releasing screen locking operation to described client end AP P.
12. devices according to claim 8 or claim 9, wherein, described second detecting unit specifically for: whether all directions acceleration of gravity data detecting described mobile terminal are all greater than predetermined threshold value.
13. devices according to claim 12, wherein, described operating unit comprises:
Reading subelement, for being all greater than predetermined threshold value in response to all directions acceleration of gravity data, reading screen locking zone bit;
3rd operator unit, for identifying in response to described screen locking zone bit, described client end AP P is current is in non-screen lock state, carries out screen locking operation to described client end AP P;
4th operator unit, for identifying in response to described screen locking zone bit, described client end AP P is current is in screen lock state, carries out releasing screen locking operation to described client end AP P.
Device according to any one of 14. according to Claim 8,11 or 13, wherein, described screen locking operation comprises to be forbidden screen rotation and/or forbids trigger action system master menu.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510218778.4A CN104793956A (en) | 2015-04-30 | 2015-04-30 | Screen locking switching method and device of client APP |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510218778.4A CN104793956A (en) | 2015-04-30 | 2015-04-30 | Screen locking switching method and device of client APP |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104793956A true CN104793956A (en) | 2015-07-22 |
Family
ID=53558772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510218778.4A Pending CN104793956A (en) | 2015-04-30 | 2015-04-30 | Screen locking switching method and device of client APP |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104793956A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105511770A (en) * | 2015-12-09 | 2016-04-20 | 广东欧珀移动通信有限公司 | Control method and device of mobile terminal as well as mobile terminal |
CN106468991A (en) * | 2015-08-21 | 2017-03-01 | 中兴通讯股份有限公司 | The method and apparatus that a kind of management screen uses |
CN106775748A (en) * | 2016-12-28 | 2017-05-31 | 北京金山安全软件有限公司 | Screen locking switching method and device and electronic equipment |
CN107562355A (en) * | 2017-08-15 | 2018-01-09 | 深圳市沃特沃德股份有限公司 | The control method and device of touch screen terminal |
CN113741767A (en) * | 2020-05-27 | 2021-12-03 | 青岛海信移动通信技术股份有限公司 | Deep reading method and communication terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895633A (en) * | 2010-07-14 | 2010-11-24 | 中兴通讯股份有限公司 | Mobile terminal and unlocking method thereof |
CN103034423A (en) * | 2012-12-25 | 2013-04-10 | 珠海金山办公软件有限公司 | Method for rotating screen display direction of equipment through shaking equipment |
CN103581438A (en) * | 2013-10-21 | 2014-02-12 | 深圳市金立通信设备有限公司 | Method and terminal for switching dual-calling states |
CN104536657A (en) * | 2014-12-10 | 2015-04-22 | 广东欧珀移动通信有限公司 | Mobile terminal false lock screen setting method and apparatus |
-
2015
- 2015-04-30 CN CN201510218778.4A patent/CN104793956A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895633A (en) * | 2010-07-14 | 2010-11-24 | 中兴通讯股份有限公司 | Mobile terminal and unlocking method thereof |
CN103034423A (en) * | 2012-12-25 | 2013-04-10 | 珠海金山办公软件有限公司 | Method for rotating screen display direction of equipment through shaking equipment |
CN103581438A (en) * | 2013-10-21 | 2014-02-12 | 深圳市金立通信设备有限公司 | Method and terminal for switching dual-calling states |
CN104536657A (en) * | 2014-12-10 | 2015-04-22 | 广东欧珀移动通信有限公司 | Mobile terminal false lock screen setting method and apparatus |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106468991A (en) * | 2015-08-21 | 2017-03-01 | 中兴通讯股份有限公司 | The method and apparatus that a kind of management screen uses |
CN105511770A (en) * | 2015-12-09 | 2016-04-20 | 广东欧珀移动通信有限公司 | Control method and device of mobile terminal as well as mobile terminal |
CN105511770B (en) * | 2015-12-09 | 2019-02-05 | Oppo广东移动通信有限公司 | Control method, device and the mobile terminal of mobile terminal |
CN106775748A (en) * | 2016-12-28 | 2017-05-31 | 北京金山安全软件有限公司 | Screen locking switching method and device and electronic equipment |
CN107562355A (en) * | 2017-08-15 | 2018-01-09 | 深圳市沃特沃德股份有限公司 | The control method and device of touch screen terminal |
CN113741767A (en) * | 2020-05-27 | 2021-12-03 | 青岛海信移动通信技术股份有限公司 | Deep reading method and communication terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104793956A (en) | Screen locking switching method and device of client APP | |
CN104010230B (en) | The method and system of the video playback under screen lock state | |
US10551987B2 (en) | Multiple screen mode in mobile terminal | |
US20190121537A1 (en) | Information displaying method and device, and electronic device | |
CN105867815A (en) | Split screen display method and device | |
US20140315522A1 (en) | Apparatus and method for displaying unchecked messages in a terminal | |
CN102782637B (en) | The system and method for display graphics user-interface object | |
CN104750450A (en) | File sharing method in IM (Instant Messaging) and terminal | |
CN104933170A (en) | Information exhibition method and device | |
CN104408385A (en) | Equipment and method for hiding privacy content in terminal | |
CN107515707B (en) | Mobile terminal multilevel menu control method and system, storage medium, electronic equipment | |
CN107563174A (en) | A kind of method and apparatus of fingerprint recognition | |
CN114095776B (en) | Screen recording method and electronic equipment | |
CN104536787B (en) | Resource preloads method and device | |
CN105095426A (en) | Processing method and device for search results | |
WO2019137155A1 (en) | Screen display mode switching method and device, storage medium and electronic device | |
CN106775272A (en) | System of selection, device and electronic equipment | |
EP2884759A1 (en) | Display device and method for controlling the same | |
CN105183303A (en) | Application program display control method and device and mobile terminal | |
CN105892820A (en) | Icon display management method and device | |
CN104238928A (en) | Method and device for performing locking operation on screen of touch screen device | |
CN103500122B (en) | A kind of method for broadcasting multimedia file and electronic equipment | |
CN104765525A (en) | Operation interface switching method and device | |
CN104216996A (en) | File information display method and device | |
CN112188001A (en) | Shortcut setting method, shortcut setting device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150722 |
|
RJ01 | Rejection of invention patent application after publication |