CN106250152A - Mobile terminal control method and device and mobile terminal - Google Patents

Mobile terminal control method and device and mobile terminal Download PDF

Info

Publication number
CN106250152A
CN106250152A CN201610621056.8A CN201610621056A CN106250152A CN 106250152 A CN106250152 A CN 106250152A CN 201610621056 A CN201610621056 A CN 201610621056A CN 106250152 A CN106250152 A CN 106250152A
Authority
CN
China
Prior art keywords
application program
mobile terminal
activated
screen interface
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610621056.8A
Other languages
Chinese (zh)
Other versions
CN106250152B (en
Inventor
张科峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610621056.8A priority Critical patent/CN106250152B/en
Publication of CN106250152A publication Critical patent/CN106250152A/en
Application granted granted Critical
Publication of CN106250152B publication Critical patent/CN106250152B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses a mobile terminal control method and device and a mobile terminal. The method comprises the following steps: detecting whether an application program is started on a screen locking interface of the mobile terminal; if the application program is started on the screen locking interface, generating a covering page with a preset color on the next layer of the started application program; detecting whether the started application program is exited; and if the started application program exits, clearing the overlay page and displaying a screen locking interface. According to the method, when the shortcut application program exits, the top layer is replaced by the cover page, and the cover page is removed until the screen locking interface is loaded, so that a user can not see the desktop of the mobile terminal when the application program exiting from the screen locking interface returns to the screen locking interface, and meanwhile, the time for displaying the cover page to the user is reduced as much as possible by shortening the detection time for detecting whether the application program exits, the vision of the user is improved, and the user experience is improved.

Description

The control method of mobile terminal, device and mobile terminal
Technical field
The present invention relates to mobile terminal manufacturing technology field, particularly relate to the control method of a kind of mobile terminal, device with And mobile terminal.
Background technology
Mobile terminal is both provided with locking screen interface at present, and locking screen interface both can be protected by arranging the modes such as screen locking password The safety of user privacy information, it is also possible to as the load bearing interface of reminder message, in order to user checks various message, screen locking circle Face has become the part that mobile terminal is indispensable.In addition to this it is possible to arrange the entrance of quick application at locking screen interface, User is conveniently made also to be able to use some common functions of mobile terminal in the case of not unlocking.Such as, at locking screen interface point Hitting camera applications icon to be directly entered interface of taking pictures, during taking pictures end this camera applications of backed off after random, rebound forwards locking screen interface to, The most both the problem being user-friendly to and don't there will be leakage user data.
But, when user uses the quick entrance entrance camera applications of locking screen interface after taking pictures, return to lock During screen interface, it may appear that the situation of the mobile terminal desktop that flashes, user can clearly feel taking pictures by camera applications The process unlocking interface is arrived at interface again to mobile terminal desktop, causes user to be mistakenly considered mobile terminal itself and occurs that splashette etc. is asked Topic, poor user experience.
Summary of the invention
The invention discloses the control method of a kind of mobile terminal, device and mobile terminal, it is possible to solve to take pictures program Experience the best technical problem.
To this end, the first of the present invention purpose is to propose the control method of a kind of mobile terminal.The method so that When this quick application program exits, user will not see mobile terminal desktop again, it is to avoid user is mistakenly considered mobile terminal itself The generation of the situations such as splashette occurs, improves user's vision, improve Consumer's Experience.
Second object of the present invention is to propose the control device of a kind of mobile terminal.
Third object of the present invention is to propose a kind of mobile terminal.
For reaching above-mentioned purpose, the control method of the mobile terminal of first aspect present invention embodiment, including: detection is mobile eventually Application program whether is had to be activated on the locking screen interface of end;If having application program to be activated on described locking screen interface, then in institute Next layer stating the application program being activated generates the mask page of pre-set color;Whether the application program being activated described in detection Have dropped out;If the application program being activated described in has dropped out, then remove the described mask page, and show described locking screen interface.
The control method of mobile terminal according to embodiments of the present invention, whether the locking screen interface of detection mobile terminal has should Being activated by program, if having, then next layer at the application program being activated generates the mask page of pre-set color, and detects quilt Whether the application program started has dropped out, the most then remove the mask page, and show locking screen interface.I.e. screen locking circle detected When having quick application program to be activated on face, after this quick application program, start the illiteracy of a pre-set color (such as black) The layer page so that when this quick application program exits, substitutes top layer by this mask page, until locking screen interface has loaded Time remove this mask page again, so during the application program exited on locking screen interface returns to locking screen interface, user is not Mobile terminal desktop can be seen again, it is to avoid user is mistakenly considered mobile terminal itself and the generation of the situations such as splashette occurs, passes through simultaneously Shorten the detection time whether application program exits, reduce the mask page as far as possible and present to the time of user, improve user Vision, improves Consumer's Experience.
According to one embodiment of present invention, described pre-set color is black.
According to one embodiment of present invention, whether the locking screen interface of described detection mobile terminal there is application program to be opened Dynamic, including: obtain the screen top-level elements of described mobile terminal, and determine the application package that described screen top-level elements is corresponding Name;Judge whether the application package name that described screen top-level elements is corresponding is destination application bag name;If described screen The application package name that top-level elements is corresponding is not described destination application bag name, then judge screen locking circle of described mobile terminal Application program is had to be activated on face.
According to one embodiment of present invention, whether the locking screen interface of described detection mobile terminal there is application program to be opened Dynamic, include: detecting whether that receiving user starts the triggering command of application program on described locking screen interface;If receiving described User starts the triggering command of application program on described locking screen interface, then judge have application program to be opened on described locking screen interface Dynamic.
According to one embodiment of present invention, whether the application program being activated described in described detection has dropped out, including: obtain Take the screen top-level elements of described mobile terminal, and determine the application package name that described screen top-level elements is corresponding;Judge institute State whether application package name corresponding to screen top-level elements is destination application bag name;If described screen top-level elements pair The entitled described destination application bag name of application package answered, then the application program being activated described in judgement has dropped out.
According to one embodiment of present invention, the described locking screen interface of described display, including: according to described destination application Bag name determines described destination application, and obtains the locking screen interface element in described destination application;To described screen locking circle Surface element carries out loading to show described locking screen interface.
For reaching above-mentioned purpose, the control device of the mobile terminal of second aspect present invention embodiment, including: the first detection mould Whether block, have application program to be activated for detecting on the locking screen interface of mobile terminal;Generation module, in described screen locking circle When having application program to be activated on face, next layer at the described application program being activated generates the mask page of pre-set color; Second detection module, whether the application program being used for being activated described in detecting has dropped out;Remove module, for being activated described Application program when having dropped out, remove the described mask page;Display module, is used for showing described locking screen interface.
The control device of mobile terminal according to embodiments of the present invention, by the lock of first detection module detection mobile terminal Whether screen has application program to be activated on interface, if having, generation module then generates pre-at next layer of the application program being activated If the mask page of color, whether the application program that the second detection module detection is activated has dropped out, and if so, removes module the most clear Except the mask page, display module display locking screen interface.I.e. detect have quick application program to be activated on locking screen interface time, The mask page of a pre-set color (such as black) is started so that move back at this quick application program after this quick application program When going out, substituting top layer by this mask page, until removing this mask page again when locking screen interface has loaded, so exiting During application program on locking screen interface returns to locking screen interface, user will not see mobile terminal desktop again, it is to avoid user It is mistakenly considered mobile terminal itself and the generation of the situations such as splashette occurs, when being shortened by the detection whether application program exits simultaneously Between, reduce the mask page as far as possible and present to the time of user, improve user's vision, improve Consumer's Experience.
According to one embodiment of present invention, described pre-set color is black.
According to one embodiment of present invention, described first detection module includes: acquiring unit, is used for obtaining described movement The screen top-level elements of terminal, and determine the application package name that described screen top-level elements is corresponding;Judging unit, is used for judging Whether the application package name that described screen top-level elements is corresponding is destination application bag name;First identifying unit, is used for When the application package name that described screen top-level elements is corresponding is not described destination application bag name, it is determined that described mobile terminal Locking screen interface on have application program to be activated.
According to one embodiment of present invention, described first detection module includes: detector unit, for detecting whether receive The triggering command of application program on described locking screen interface is started to user;Second identifying unit, for receiving described user When starting the triggering command of application program on described locking screen interface, it is determined that have application program to be activated on described locking screen interface.
According to one embodiment of present invention, described second detection module includes: acquiring unit, is used for obtaining described movement The screen top-level elements of terminal, and determine the application package name that described screen top-level elements is corresponding;Judging unit, is used for judging Whether the application package name that described screen top-level elements is corresponding is destination application bag name;Identifying unit, for described During the entitled described destination application bag name of application package that screen top-level elements is corresponding, it is determined that described in the application journey that is activated Sequence has dropped out.
According to one embodiment of present invention, described display module specifically for: according to described destination application bag name Determine described destination application, and obtain the locking screen interface element in described destination application, and to described screen locking circle Surface element carries out loading to show described locking screen interface.
For reaching above-mentioned purpose, the mobile terminal of third aspect present invention embodiment, including: housing, processor, memorizer, Circuit board and power circuit, wherein, described circuit board is placed in the interior volume that described housing surrounds, described processor and described Memorizer is arranged on described circuit board;Described power circuit, powers for each circuit or the device for described mobile terminal; Described memorizer is used for storing executable program code;Described processor is by reading the performed journey of storage in described memorizer Sequence code runs the program corresponding with described executable program code, for performing following steps: detection mobile terminal Application program whether is had to be activated on locking screen interface;If having application program to be activated on described locking screen interface, then at described quilt Next layer of the application program started generates the mask page of pre-set color;The application program being activated described in detection moves back the most Go out;If the application program being activated described in has dropped out, then remove the described mask page, and show described locking screen interface.
Mobile terminal according to embodiments of the present invention, whether the locking screen interface of detection mobile terminal has application program to be opened Dynamic, if having, then next layer at the application program being activated generates the mask page of pre-set color, and detects the application being activated Whether program has dropped out, the most then remove the mask page, and show locking screen interface.I.e. detecting have on locking screen interface fast When application program is activated, after this quick application program, starts the mask page of a pre-set color (such as black), make Top layer must be substituted by this mask page, until removing again when locking screen interface has loaded when this quick application program exits This mask page, so during the application program exited on locking screen interface returns to locking screen interface, user will not see again Mobile terminal desktop, it is to avoid user is mistakenly considered mobile terminal itself and the generation of the situations such as splashette occurs, is shortened by application simultaneously The detection time whether program exits, reduce the mask page as far as possible and present to the time of user, improve user's vision, promote Consumer's Experience.
Aspect and advantage that the present invention adds will part be given in the following description, and part will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or that add aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially with easy to understand, wherein,
Fig. 1 is the flow chart of the control method of mobile terminal according to an embodiment of the invention;
Fig. 2 is the structured flowchart controlling device of mobile terminal according to an embodiment of the invention;
Fig. 3 is according to the structured flowchart controlling device of the mobile terminal of one specific embodiment of the present invention;
Fig. 4 is according to the structured flowchart controlling device of the mobile terminal of another specific embodiment of the present invention;
The structured flowchart of Fig. 5 the second detection module according to an embodiment of the invention.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, the most from start to finish Same or similar label represents same or similar element or has the element of same or like function.Below with reference to attached The embodiment that figure describes is exemplary, it is intended to is used for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings describe the control method of mobile terminal according to embodiments of the present invention, device and move eventually End.
Fig. 1 is the flow chart of the control method of mobile terminal according to an embodiment of the invention.As it is shown in figure 1, this shifting The control method of dynamic terminal may include that
S110, whether the locking screen interface of detection mobile terminal has application program to be activated.
Wherein, in an embodiment of the present invention, this mobile terminal can be mobile phone (such as smart mobile phone), panel computer, the palm Computer, personal digital assistant etc. have the hardware device of various operating system.Preferably, this operating system is Android Android operation system.
Being appreciated that current mobile terminal is typically provided with locking screen interface, this locking screen interface both can be close by arranging The modes such as code (such as numerical ciphers, gesture password, pattern password etc.) protect data safety, it is also possible to as the carrying of reminder message Interface is so that user checks various message, it is also possible to arrange the entrance of quick application at locking screen interface, to facilitate user not It also is able to use some common functions of mobile terminal in the case of unblock.It is to say, locking screen interface has application program Quick entrance, wherein, the application program in this quick entrance can be that mobile terminal is preset, it is also possible to be user according to from Body requirements set.
Whether be further appreciated that on the locking screen interface of above-mentioned detection mobile terminal has application program to be activated, it is thus understood that Whether the application program in the quick entrance of detection locking screen interface is activated.
The mode generally whether having application program to be activated on the locking screen interface of detection mobile terminal has a variety of, such as, Judge on locking screen interface, whether have application program to be activated by the trigger event of detection user, or, mobile by detection In screen top-level elements judge current screen interface whether locking screen interface, if it is not, then judge there is application journey on locking screen interface Sequence is activated, and two kind examples are given below:
As a kind of example, can first obtain the screen top-level elements of mobile terminal, and determine that screen top-level elements is corresponding Application package name, afterwards, can determine whether whether the application package name that screen top-level elements is corresponding is destination application bag name, If the application package name that screen top-level elements is corresponding is not destination application bag name, then judge screen locking circle of mobile terminal Application program is had to be activated on face.
For example, as a example by operating system is as android system, can be by calling system All processes being currently running in getRunningAppProcesses () the method acquisition system of ActivityManager, and From the process that these are currently running, get the element being in screen top layer, and determine answering of correspondence according to the element of this top layer By program bag name, afterwards, can determine whether whether this application package name is destination application bag name, if it is not, then can confirm that this shifting Application program is had to be activated on the locking screen interface of dynamic terminal.
It is appreciated that above-mentioned destination application can be the application program for realizing locking screen interface, this intended application journey Sequence can be the application program that the operating system of mobile terminal carries, it is also possible to be third party application.
It is further appreciated that when the application package that screen top-level elements is corresponding entitled destination application bag name, can recognize For not having application program to be activated on locking screen interface, say, that the current screen of mobile terminal remains as locking screen interface.
As another kind of example, can detect whether that receiving user starts the triggering command of application program on locking screen interface, If receiving user to start the triggering command of application program on locking screen interface, then judge have application program to be opened on locking screen interface Dynamic.
S120, if there being application program to be activated on locking screen interface, then next layer at the application program being activated generates The mask page of pre-set color.
Preferably, in one embodiment of the invention, this pre-set color can be black.This is because, people nictation time, There will be flashy black, therefore, black is negligible for the perception of human eye.
Specifically, it is assumed that the operating system of the mobile terminal of the embodiment of the present invention is Android operation system, at detection lock When having application program to be activated on screen interface, can be activated at this by the Activity assembly in Android operation system Next layer of application program generates the mask page of pre-set color.It is to say, the application in the quick entrance of locking screen interface When program is activated, Activity (the most above-mentioned black mask page of a black can be started after this application program Face), after this application program being activated, i.e. lay a black mask page.Wherein it is possible to understand, Activity is An application component in Android operation system a, it is possible to provide screen.
S130, whether the application program that detection is activated has dropped out.
Specifically, in one embodiment of the invention, can first obtain the screen top-level elements of mobile terminal, and determine The application package name that screen top-level elements is corresponding, afterwards, can determine whether application package name that screen top-level elements is corresponding whether For destination application bag name, if the application package entitled destination application bag name that screen top-level elements is corresponding, then sentence Surely the application program being activated has dropped out.
In order to shorten the time of the desktop that flashes (i.e. splashette) as far as possible, so that user can ignore, top layer can be shortened by The detection time of element, to improve detection speed.Further, in one embodiment of the invention, it is activated detecting Application program when exiting, intervalometer can be started to obtain the screen top-level elements of mobile terminal.Wherein, in the enforcement of the present invention In example, the time span of this intervalometer can be 200 milliseconds.Thus, it is possible to top-level elements can be completed in a short period of time Detection, so can shorten the time of the desktop that flashes as far as possible, make user ignore.
It is appreciated that above-mentioned destination application can be the application program for realizing locking screen interface, this intended application journey Sequence can be the application program that the operating system of mobile terminal carries, it is also possible to be third party application.
It is further appreciated that when the application package name that screen top-level elements is corresponding is not destination application bag name, can Think that this application program being activated not yet exits, say, that this application program being activated still is running;When screen top During layer application package entitled destination application bag name corresponding to element, it is believed that the application program being activated has dropped out.
S140, if the application program being activated has dropped out, then removes the mask page, and shows locking screen interface.
Specifically, when detecting this application program being activated and having dropped out, the mask page generated before can be removed, i.e. return Receive this mask page, show locking screen interface simultaneously so that the current interface of mobile terminal returns to locking screen interface.
Specifically, in one embodiment of the invention, the process that implements of display locking screen interface can be as follows: can be first Determine destination application according to destination application bag name, and obtain the locking screen interface element in destination application, afterwards, Can load to show locking screen interface to locking screen interface element.
More specifically, first this destination application can be determined according to destination application bag name, afterwards, this target can be obtained For realizing the locking screen interface element of locking screen interface in application program, finally, this locking screen interface element is loaded with display Locking screen interface.
It is to say, when detecting that the application program being activated has dropped out, can be replaced by the mask page of pre-set color For top layer, until locking screen interface has loaded, then remove this mask page so that return at the application program exited on locking screen interface During locking screen interface, user will not see mobile terminal desktop again, it is to avoid user is mistakenly considered mobile terminal itself to be occurred The generation of the situations such as splashette, improves user's vision, promotes Consumer's Experience.
The control method of mobile terminal according to embodiments of the present invention, whether the locking screen interface of detection mobile terminal has should Being activated by program, if having, then next layer at the application program being activated generates the mask page of pre-set color, and detects quilt Whether the application program started has dropped out, the most then remove the mask page, and show locking screen interface.I.e. screen locking circle detected When having quick application program to be activated on face, after this quick application program, start the illiteracy of a pre-set color (such as black) The layer page so that when this quick application program exits, substitutes top layer by this mask page, until locking screen interface has loaded Time remove this mask page again, so during the application program exited on locking screen interface returns to locking screen interface, user is not Mobile terminal desktop can be seen again, it is to avoid user is mistakenly considered mobile terminal itself and the generation of the situations such as splashette occurs, passes through simultaneously Shorten the detection time whether application program exits, reduce the mask page as far as possible and present to the time of user, improve user Vision, improves Consumer's Experience.
In order to realize above-described embodiment, the invention allows for the control device of a kind of mobile terminal.
Fig. 2 is the structured flowchart controlling device of mobile terminal according to an embodiment of the invention.As in figure 2 it is shown, should The control device of mobile terminal may include that first detection module 100, generation module the 200, second detection module 300, removes mould Block 400 and display module 500.
Specifically, first detection module 100 can be used for detecting on the locking screen interface of mobile terminal whether have application program quilt Start.Wherein, in an embodiment of the present invention, this mobile terminal can be mobile phone (such as smart mobile phone), panel computer, palm electricity Brain, personal digital assistant etc. have the hardware device of various operating system.Preferably, this operating system is Android Android behaviour Make system.
Whether have application program be activated, it is thus understood that inspection if being appreciated that on the locking screen interface of above-mentioned detection mobile terminal Whether the application program surveyed in the quick entrance of locking screen interface is activated.
First detection module 100 detects the mode whether having application program to be activated on the locking screen interface of mobile terminal to be had very Multiple, such as, judge on locking screen interface, whether have application program to be activated by the trigger event of detection user, or, logical Cross detection mobile in screen top-level elements to judge current screen interface whether locking screen interface, if it is not, then judge locking screen interface On have application program to be activated, two kind examples are given below:
As a kind of example, as it is shown on figure 3, this first detection module 100 comprises the steps that acquiring unit 110, judging unit 120 and judging unit 130.Wherein, acquiring unit 110 can be used for obtaining the screen top-level elements of mobile terminal, and determines screen The application package name that top-level elements is corresponding.Judging unit 120 can be used for judging the application package that screen top-level elements is corresponding Whether name is destination application bag name.First identifying unit 130 can be used at application package corresponding to screen top-level elements When name is not destination application bag name, it is determined that have application program to be activated on the locking screen interface of mobile terminal.
It is appreciated that above-mentioned destination application can be the application program for realizing locking screen interface, this intended application journey Sequence can be the application program that the operating system of mobile terminal carries, it is also possible to be third party application.
As another kind of example, as shown in Figure 4, this first detection module 100 comprises the steps that detector unit 140 and second is sentenced Cell 150.Wherein, detector unit 140 can be used for detecting whether receiving user and starts touching of application program on locking screen interface Send instructions.Second identifying unit 150 can be used for, when receiving the triggering command that user starts application program on locking screen interface, sentencing Determine on locking screen interface, have application program to be activated.
When generation module 200 can be used for having application program to be activated on locking screen interface, at the application program being activated Next layer generates the mask page of pre-set color.Preferably, in one embodiment of the invention, this pre-set color can be black Color.
More specifically, it is assumed that the operating system of the mobile terminal of the embodiment of the present invention is Android operation system, first Detection module 100 detects when having application program to be activated on locking screen interface, and generation module 200 can pass through Android operation system In Activity assembly this application program being activated next layer generate pre-set color the mask page.It is to say, When generation module application program in the quick entrance of locking screen interface is activated, one can be started after this application program The Activity (the most above-mentioned black mask page) of black, i.e. lays a black after this application program being activated The mask page.
Second detection module 300 can be used for detecting whether the application program being activated has dropped out.Specifically, in the present invention An embodiment in, as it is shown in figure 5, this second detection module 300 comprises the steps that acquiring unit 310, judging unit 320 and sentences Cell 330.Wherein, acquiring unit 310 can be used for obtaining the screen top-level elements of mobile terminal, and determines screen top-level elements Corresponding application package name.Judging unit 320 can be used for judging that whether application package name that screen top-level elements is corresponding is Destination application bag name.Identifying unit 330 can be used in the entitled intended application of the application package that screen top-level elements is corresponding During program bag name, it is determined that the application program being activated has dropped out.It is appreciated that above-mentioned destination application can be for realizing lock The application program at screen interface, this destination application can be the application program that the operating system of mobile terminal carries, it is also possible to It it is third party application.
Remove module 400 and can be used for when the application program being activated has dropped out, remove the mask page.More specifically, Second detection module 300 detects this application program being activated when having dropped out, and removes module 400 and can remove the mask generated before The page, i.e. reclaims this mask page.
Display module 500 can be used for showing locking screen interface.Specifically, in one embodiment of the invention, display mould Block 500 can determine destination application according to destination application bag name, and obtains the locking screen interface unit in destination application Element, and load to show locking screen interface to locking screen interface element.
More more specifically, display module 500 first can determine this destination application according to destination application bag name, it After, can obtain for realizing the locking screen interface element of locking screen interface in this destination application, finally, to this locking screen interface element Carry out loading to show locking screen interface.
It is to say, when detecting that the application program being activated has dropped out, can be replaced by the mask page of pre-set color For top layer, until locking screen interface has loaded, then remove this mask page, finally, show the locking screen interface loaded, by This, so that during the application program exited on locking screen interface returns to locking screen interface, user will not see movement again Terminal desktop, it is to avoid user is mistakenly considered mobile terminal itself and the generation of the situations such as splashette occurs, improves user's vision, promotes user Experience.
The control device of mobile terminal according to embodiments of the present invention, by the lock of first detection module detection mobile terminal Whether screen has application program to be activated on interface, if having, generation module then generates pre-at next layer of the application program being activated If the mask page of color, whether the application program that the second detection module detection is activated has dropped out, and if so, removes module the most clear Except the mask page, display module display locking screen interface.I.e. detect have quick application program to be activated on locking screen interface time, The mask page of a pre-set color (such as black) is started so that move back at this quick application program after this quick application program When going out, substituting top layer by this mask page, until removing this mask page again when locking screen interface has loaded, so exiting During application program on locking screen interface returns to locking screen interface, user will not see mobile terminal desktop again, it is to avoid user It is mistakenly considered mobile terminal itself and the generation of the situations such as splashette occurs, when being shortened by the detection whether application program exits simultaneously Between, reduce the mask page as far as possible and present to the time of user, improve user's vision, improve Consumer's Experience.
In order to realize above-described embodiment, the invention allows for a kind of mobile terminal, including: housing, processor, storage Device, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, processor and memorizer and is arranged on On circuit board;Power circuit, powers for each circuit or the device for mobile terminal;Memorizer is used for storing executable program Code;Processor runs the journey corresponding with executable program code by reading the executable program code of storage in memorizer Sequence, for performing following steps:
S110 ', whether the locking screen interface of detection mobile terminal has application program to be activated.
S120 ', if there being application program to be activated on locking screen interface, then next layer at the application program being activated generates The mask page of pre-set color.
S130 ', whether the application program that detection is activated has dropped out.
S140 ', if the application program being activated has dropped out, then removes the mask page, and shows locking screen interface.
Mobile terminal according to embodiments of the present invention, whether the locking screen interface of detection mobile terminal has application program to be opened Dynamic, if having, then next layer at the application program being activated generates the mask page of pre-set color, and detects the application being activated Whether program has dropped out, the most then remove the mask page, and show locking screen interface.I.e. detecting have on locking screen interface fast When application program is activated, after this quick application program, starts the mask page of a pre-set color (such as black), make Top layer must be substituted by this mask page, until removing again when locking screen interface has loaded when this quick application program exits This mask page, so during the application program exited on locking screen interface returns to locking screen interface, user will not see again Mobile terminal desktop, it is to avoid user is mistakenly considered mobile terminal itself and the generation of the situations such as splashette occurs, is shortened by application simultaneously The detection time whether program exits, reduce the mask page as far as possible and present to the time of user, improve user's vision, promote Consumer's Experience.
In describing the invention, it is to be understood that term " first ", " second " are only used for describing purpose, and can not It is interpreted as instruction or hint relative importance or the implicit quantity indicating indicated technical characteristic.Thus, define " the One ", the feature of " second " can express or implicitly include at least one this feature.In describing the invention, " multiple " It is meant that at least two, such as two, three etc., unless otherwise expressly limited specifically.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or spy Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.And, the specific features of description, structure, material or feature can be in office One or more embodiments or example combine in an appropriate manner.Additionally, in the case of the most conflicting, the skill of this area The feature of the different embodiments described in this specification or example and different embodiment or example can be tied by art personnel Close and combination.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not by shown or discuss suitable Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the present invention Embodiment person of ordinary skill in the field understood.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as to use In the sequencing list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system such as computer based system, including processor or other can hold from instruction Row system, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and the dress that uses Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have the electricity of one or more wiring Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory (ROM), erasable read only memory (EPROM or flash memory), the fiber device edited, and portable optic disk is read-only deposits Reservoir (CDROM).It addition, computer-readable medium can even is that and can print the paper of described program thereon or other are suitable Medium, because then can carry out editing, interpreting or if desired with it such as by paper or other media are carried out optical scanning His suitable method is processed to electronically obtain described program, is then stored in computer storage.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage Or firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), on-the-spot Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the present invention can be integrated in a processing module, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated mould Block both can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.Described integrated module is such as When fruit is using the form realization of software function module and as independent production marketing or use, it is also possible to be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc..Although having shown that above and retouching Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, above-described embodiment can be changed, revise, replace and become by those of ordinary skill in the art within the scope of the invention Type.

Claims (10)

1. the control method of a mobile terminal, it is characterised in that comprise the following steps:
Application program whether is had to be activated on the locking screen interface of detection mobile terminal;
If having application program to be activated on described locking screen interface, then next layer at the described application program being activated generates pre- If the mask page of color;
Whether the application program being activated described in detection has dropped out;
If the application program being activated described in has dropped out, then remove the described mask page, and show described locking screen interface.
2. the control method of mobile terminal as claimed in claim 1, it is characterised in that wherein, described pre-set color is black.
3. the control method of mobile terminal as claimed in claim 1, it is characterised in that screen locking circle of described detection mobile terminal Application program whether is had to be activated on face, including:
Obtain the screen top-level elements of described mobile terminal, and determine the application package name that described screen top-level elements is corresponding;
Judge whether the application package name that described screen top-level elements is corresponding is destination application bag name;
If the application package name that described screen top-level elements is corresponding is not described destination application bag name, then judge described Application program is had to be activated on the locking screen interface of mobile terminal.
4. the control method of mobile terminal as claimed in claim 1, it is characterised in that screen locking circle of described detection mobile terminal Application program whether is had to be activated on face, including:
Detect whether that receiving user starts the triggering command of application program on described locking screen interface;
If receiving described user to start the triggering command of application program on described locking screen interface, then judge described locking screen interface On have application program to be activated.
5. the control method of mobile terminal as claimed in claim 1, it is characterised in that the application being activated described in described detection Whether program has dropped out, including:
Obtain the screen top-level elements of described mobile terminal, and determine the application package name that described screen top-level elements is corresponding;
Judge whether the application package name that described screen top-level elements is corresponding is destination application bag name;
If the entitled described destination application bag name of the application package that described screen top-level elements is corresponding, then judge described quilt The application program started has dropped out.
6. the control method of mobile terminal as claimed in claim 5, it is characterised in that the described locking screen interface of described display, bag Include:
Determine described destination application according to described destination application bag name, and obtain the lock in described destination application Screen interface element;
Load to show described locking screen interface to described locking screen interface element.
7. the control device of a mobile terminal, it is characterised in that including:
Whether first detection module, have application program to be activated for detecting on the locking screen interface of mobile terminal;
Generation module, in time having application program to be activated on described locking screen interface, at the described application program being activated Next layer generates the mask page of pre-set color;
Second detection module, whether the application program being used for being activated described in detecting has dropped out;
Remove module, for when the described application program being activated has dropped out, remove the described mask page;
Display module, is used for showing described locking screen interface.
8. the control device of mobile terminal as claimed in claim 7, it is characterised in that wherein, described pre-set color is black.
9. the control device of mobile terminal as claimed in claim 7, it is characterised in that described first detection module includes:
Acquiring unit, for obtaining the screen top-level elements of described mobile terminal, and determines that described screen top-level elements is corresponding Application package name;
Judging unit, for judging whether the application package name that described screen top-level elements is corresponding is destination application bag Name;
First identifying unit, being used in the application package name that described screen top-level elements is corresponding is not described destination application During bag name, it is determined that have application program to be activated on the locking screen interface of described mobile terminal.
10. a mobile terminal, it is characterised in that including: housing, processor, memorizer, circuit board and power circuit, wherein, Described circuit board is placed in the interior volume that described housing surrounds, described processor and described memorizer and is arranged on described circuit board On;Described power circuit, powers for each circuit or the device for described mobile terminal;Described memorizer is used for storing can be held Line program code;Described processor is run by the executable program code of storage in the described memorizer of reading and holds with described The program that line program code is corresponding, for performing following steps:
Application program whether is had to be activated on the locking screen interface of detection mobile terminal;
If having application program to be activated on described locking screen interface, then next layer at the described application program being activated generates pre- If the mask page of color;
Whether the application program being activated described in detection has dropped out;
If the application program being activated described in has dropped out, then remove the described mask page, and show described locking screen interface.
CN201610621056.8A 2016-07-29 2016-07-29 Mobile terminal control method and device and mobile terminal Active CN106250152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610621056.8A CN106250152B (en) 2016-07-29 2016-07-29 Mobile terminal control method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610621056.8A CN106250152B (en) 2016-07-29 2016-07-29 Mobile terminal control method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106250152A true CN106250152A (en) 2016-12-21
CN106250152B CN106250152B (en) 2019-09-27

Family

ID=57605789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610621056.8A Active CN106250152B (en) 2016-07-29 2016-07-29 Mobile terminal control method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106250152B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648432A (en) * 2016-12-26 2017-05-10 广州视源电子科技股份有限公司 Control method and control apparatus for large-screen display device
CN107390969A (en) * 2017-06-16 2017-11-24 深圳市金立通信设备有限公司 A kind of method and terminal for controlling suspended window
CN108304123A (en) * 2018-02-14 2018-07-20 广东欧珀移动通信有限公司 Page display control method and related product
CN110502925A (en) * 2019-08-23 2019-11-26 四川长虹电器股份有限公司 A kind of method of web page content secret protection
CN112261216A (en) * 2020-10-20 2021-01-22 北京字节跳动网络技术有限公司 Terminal control method and device, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968271A (en) * 2012-11-06 2013-03-13 广东欧珀移动通信有限公司 Unlocking method and mobile terminal
US20130162684A1 (en) * 2011-10-14 2013-06-27 Barnesandnoble.Com Llc System and method for locking the orientation of a display on a mobile
CN103513861A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Method for processing information and electronic device
CN104281366A (en) * 2014-09-26 2015-01-14 广州市久邦数码科技有限公司 Implementing method and system for quickly starting lock screen
CN104899056A (en) * 2015-05-11 2015-09-09 广东美晨通讯有限公司 Mobile terminal of entering and restrictedly using application in screen locked state and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130162684A1 (en) * 2011-10-14 2013-06-27 Barnesandnoble.Com Llc System and method for locking the orientation of a display on a mobile
CN103513861A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Method for processing information and electronic device
CN102968271A (en) * 2012-11-06 2013-03-13 广东欧珀移动通信有限公司 Unlocking method and mobile terminal
CN104281366A (en) * 2014-09-26 2015-01-14 广州市久邦数码科技有限公司 Implementing method and system for quickly starting lock screen
CN104899056A (en) * 2015-05-11 2015-09-09 广东美晨通讯有限公司 Mobile terminal of entering and restrictedly using application in screen locked state and method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648432A (en) * 2016-12-26 2017-05-10 广州视源电子科技股份有限公司 Control method and control apparatus for large-screen display device
CN107390969A (en) * 2017-06-16 2017-11-24 深圳市金立通信设备有限公司 A kind of method and terminal for controlling suspended window
CN107390969B (en) * 2017-06-16 2019-10-22 深圳市金立通信设备有限公司 A kind of method and terminal controlling suspended window
CN108304123A (en) * 2018-02-14 2018-07-20 广东欧珀移动通信有限公司 Page display control method and related product
CN108304123B (en) * 2018-02-14 2021-07-13 Oppo广东移动通信有限公司 Page display control method and related product
CN110502925A (en) * 2019-08-23 2019-11-26 四川长虹电器股份有限公司 A kind of method of web page content secret protection
CN112261216A (en) * 2020-10-20 2021-01-22 北京字节跳动网络技术有限公司 Terminal control method and device, terminal and storage medium
CN112261216B (en) * 2020-10-20 2022-05-03 北京字节跳动网络技术有限公司 Terminal control method and device, terminal and storage medium

Also Published As

Publication number Publication date
CN106250152B (en) 2019-09-27

Similar Documents

Publication Publication Date Title
CN106250152A (en) Mobile terminal control method and device and mobile terminal
CN105282346B (en) Screen power saving method and device and mobile terminal
CN106599716B (en) Message content protection method and device and mobile terminal
CN107333055B (en) Control method, control device, intelligent mirror and computer readable storage medium
CN105117631B (en) Information processing method and electronic equipment
CN107797739A (en) Mobile terminal and its display control method, device and computer-readable recording medium
CN106127009B (en) A kind of display methods and terminal of icon
CN105843524A (en) Camera control method and apparatus used for mobile terminal as well as mobile terminal
CN106326711A (en) Mobile terminal control method and device
CN107026842A (en) A kind of method and device of generation and the authentication of safety problem
CN105630363B (en) Display method of virtual button, electronic device thereof and device for displaying virtual button
CN103544446B (en) The method and apparatus that document is demarcated level of confidentiality
CN106020419A (en) Method and apparatus for reducing power consumption of mobile terminal, and mobile terminal
CN104731446A (en) Hint-based spot healing techniques
CN112148163B (en) Screen recording method and device and electronic equipment
CN105895014B (en) A kind of display methods of background color, display device and terminal
CN108200282B (en) Application starting method and device, storage medium and electronic equipment
CN105243304B (en) A kind of unlocking method and device of mobile terminal
CN106713596A (en) Video playing method, device and mobile terminal
CN103631697A (en) Information processing method and electronic device
KR20200142314A (en) Electronic device and method of providing notification information thereof
CN106909413A (en) A kind of data processing method and device
CN106201257A (en) Control method, control device and electronic installation
CN110389789A (en) A kind of application control method, equipment and computer readable storage medium
CN109697345A (en) A kind of data destruction method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant