CN107608726A - Monitoring method, device, electronic equipment and storage medium - Google Patents

Monitoring method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN107608726A
CN107608726A CN201710683534.2A CN201710683534A CN107608726A CN 107608726 A CN107608726 A CN 107608726A CN 201710683534 A CN201710683534 A CN 201710683534A CN 107608726 A CN107608726 A CN 107608726A
Authority
CN
China
Prior art keywords
user interface
user
interface components
components
preparatory condition
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
Application number
CN201710683534.2A
Other languages
Chinese (zh)
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.)
Zhuhai Seal Interest Technology Co Ltd
Original Assignee
Zhuhai Juntian Electronic Technology 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 Zhuhai Juntian Electronic Technology Co Ltd filed Critical Zhuhai Juntian Electronic Technology Co Ltd
Priority to CN201710683534.2A priority Critical patent/CN107608726A/en
Publication of CN107608726A publication Critical patent/CN107608726A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the present invention provides a kind of monitoring method, device, electronic equipment and storage medium, for solving to need to obtain System Privileges before third party's screen locking application is monitored, and the user interface components of current top layer are constantly read, the problem of causing to consume a large amount of performances.Wherein, this method includes:Detect into after screen lock state, start the first user interface components;Detecting that the first user interface components are halted state, and when second user interface assembly meets preparatory condition, confirming that user performs clicking operation to second user interface assembly, second user interface assembly is the current top level user interface of system.Implement the embodiment of the present invention, the switch instances of user interface can be obtained by monitoring the life cycle of the first user interface components, improve monitoring efficiency and accuracy, and save the performance consumption of electronic equipment.

Description

Monitoring method, device, electronic equipment and storage medium
Technical field
The present invention relates to electronic technology field, and in particular to a kind of monitoring method, device, electronic equipment and storage medium.
Background technology
The method of the current electronic equipment screen locking for carrying android system can be divided into two kinds, and one kind is primary using system Screen locking application, the second is using third party's screen locking application.However, because third party's screen locking application is developed by third party developer , then need acquisition system checks the authorities such as application permission.And in order to improve the speed of response, third party's screen locking application is obtained The timing of the user interface components of current top layer is arranged between 200-500 milliseconds, causes to consume systematic function resource.
The content of the invention
The embodiment of the present invention provides a kind of monitoring method, device, electronic equipment and storage medium, for solving third party's lock Screen application needs to obtain System Privileges before being monitored, and constantly reads the user interface components of current top layer, causes to disappear The problem of consuming a large amount of performances.
First aspect of the embodiment of the present invention provides a kind of monitoring method, including:
Detect into after screen lock state, start the first user interface components;
Detecting that first user interface components are halted state, and second user interface assembly meets preparatory condition When, confirm that user performs clicking operation to the second user interface assembly, the second user interface assembly is system Current top level user interface.
With reference to the embodiment of the present invention in a first aspect, first aspect of the embodiment of the present invention the first possible implementation In, the interface of first user interface components is arranged to transparent.
With reference to the possible implementation of the first of first aspect of the embodiment of the present invention or first aspect, implement in the present invention In second of possible implementation of example first aspect, methods described also includes:
If detect changing interface instruction corresponding to physical button operation and/or notice idsplay order, described the is confirmed Two user interface components are unsatisfactory for the preparatory condition, first user interface components are activated, so that first user circle Face component enters active state or running status.
With reference to the possible implementation of the first of first aspect of the embodiment of the present invention or first aspect, implement in the present invention In the third possible implementation of example first aspect, the dimension of the preparatory condition is comprised at least with the next item down:Preset Hit number, default click duration, default click location and default click force.
The third with reference to second possible implementation or first aspect of first aspect of the embodiment of the present invention may Implementation, in the 4th kind of possible implementation of first aspect of the embodiment of the present invention, it is described confirmation user to institute State after second user interface assembly performs clicking operation, methods described also includes:
Obtain intended application interface corresponding to the clicking operation;
The second user interface assembly is switched into unlock interface;
Receive the unblock checking information of user input in the unlock interface, the unblock checking information checking into During work(, into the intended application interface.
Second aspect of the embodiment of the present invention provides a kind of supervising device, including:
Start unit, for detecting into after screen lock state, start the first user interface components;
First confirmation unit, for detecting that first user interface components are halted state, and second user circle When face component meets preparatory condition, confirm that user performs clicking operation to the second user interface assembly, described second uses Family interface assembly is the current top level user interface of system.
With reference to second aspect of the embodiment of the present invention, in the first possible implementation of second aspect of the embodiment of the present invention In, the interface of first user interface components is arranged to transparent.
With reference to the possible implementation of the first of second aspect of the embodiment of the present invention or second aspect, implement in the present invention In second of possible implementation of example second aspect, described device also includes:
Second confirmation unit, if switching page instruction corresponding to button operation and/or display notification instruction for detecting When, confirm that the second user interface assembly is unsatisfactory for the preparatory condition;
Unit is activated, for activating first user interface components, is lived so that first user interface components enter Dynamic state or running status.
With reference to the possible implementation of the first of second aspect of the embodiment of the present invention or second aspect, implement in the present invention In the third possible implementation of example second aspect, the dimension of the preparatory condition is comprised at least with the next item down:Preset Hit number, default click duration, default click location and default click force.
The third with reference to second possible implementation or second aspect of second aspect of the embodiment of the present invention may Implementation, in the 4th kind of possible implementation of second aspect of the embodiment of the present invention, described device also includes:
Acquiring unit, for obtaining intended application interface corresponding to the clicking operation;
First switch unit, for the second user interface assembly to be switched into unlock interface;
Second switch unit, for receiving the unblock checking information of user's input in the unlock interface, described When unblock checking information is proved to be successful, into the intended application interface.
The third aspect of the embodiment of the present invention provides a kind of electronic equipment, including:Housing, processor, memory, circuit board and Power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, and processor and memory are set on circuit boards;Electricity Source circuit, for each circuit or the device power supply for electronic equipment;Memory is used to store executable program code;Processor The executable program code stored by reading in memory runs program corresponding with executable program code, for holding The monitoring method that row embodiment of the present invention first aspect provides.
Fourth aspect of the embodiment of the present invention provides a kind of non-transitorycomputer readable storage medium, wherein, the storage Medium is used to store computer program, and the computer program realizes that first aspect of the embodiment of the present invention carries when being executed by processor The monitoring method of confession.
In the embodiment of the present invention, after terminal enters screen lock state, start the first user interface components.In the first user circle When face component enters halted state, i.e. the current top level user interface of system is changed, and judges second user interface group Whether part meets preparatory condition, if, it may be determined that cause the first user interface components be not current top level user interface be because User performs clicking operation to second user interface assembly.As long as that is, life of the first user interface components of monitoring Cycle can obtain the switch instances of user interface, improve monitoring efficiency and accuracy, and the performance for saving electronic equipment disappears Consumption.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is Activity provided in an embodiment of the present invention life schematic diagram;
Fig. 2 is a kind of schematic flow sheet of monitoring method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another monitoring method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of supervising device provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another supervising device provided in an embodiment of the present invention;
Fig. 6 is the structure chart of a kind of electronic equipment provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Term " first ", " second " and " the 3rd " in description and claims of this specification and accompanying drawing etc. is to be used for Different objects are distinguished, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, It is intended to cover non-exclusive include.Such as contain the process of series of steps or unit, method, system, product or set Standby the step of being not limited to list or unit, but alternatively also including the step of not listing or unit, or alternatively Also include for the intrinsic other steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments In at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
When third party's screen locking is applied and there is notice to read authority, (the example if notice on notifications panel changes Such as:Notified, deletion notice etc.) service that third party's screen locking application is registered can be adjusted back.But delete notice and two kinds of feelings be present Condition, a kind of is the deletion component that user clicks the notice, the second is after user clicks on the notice, the notice is deleted in triggering, and The system readjustment that third party's screen locking application receives only informs that notice is deleted, then can not judge whether user clicks on exactly The notice.
And when tripartite's screen locking is applied with application permission is checked, in order to improve the speed of response, by third party's screen locking application The timing for obtaining the user interface components of current top layer is arranged between 200-500 milliseconds, causes to consume systematic function money Source.
Electronic equipment described by the embodiment of the present invention can include smart mobile phone (such as Android phone), tablet personal computer, Palm PC, notebook computer, mobile internet device (MID, Mobile Internet Devices) or Wearable Only it is citing Deng, electronic equipment, and it is non exhaustive, including but not limited to electronic equipment.
The embodiment of the present invention provides a kind of monitoring method, device, electronic equipment and storage medium, for solving third party's lock Screen application needs to obtain System Privileges before being monitored, and constantly reads the user interface components of current top layer, causes to disappear The problem of consuming a large amount of performances.
Activity is the user interface components of android system, is mainly used in showing interactive interface.Wherein, it is empty Activity interface is arranged to transparent, therefore is a kind of displaying interface mode of unaware for a user.
In Android, Activity, Activity reality are managed by way of a kind of Activity stacks Its position in stack of the Determines of example.Activity in foreground is always on the top of stack, as the Activity on foreground Because when abnormal or other reasons are destroyed, the Activity in the stack second layer will be activated, and float to stack top.When new When Activity starts stacking, former Activity can be pressed into the second layer of stack.Positions of one Activity in stack becomes Change the conversion for reflecting it between different conditions.
In Android, Activity possesses active state or running status (active or running), pause State (Paused), halted state (Stopped) and destruction state (Killed).Wherein:When a new Activity start into After stack, it is shown in screen front end, and processing is the top (Activity stack tops) in stack, is now in visible and can be with The state of activation of user mutual, it is called active state or running status;It is new non-complete by one when Activity loses focus Activity or transparent Activity of screen is placed on stack top, and state now is called halted state;When one Activity is completely covered by other Activity, is called halted state;When an Activity be halted state or Halted state, system can delete the Activity from internal memory, be called destruction state.
Referring to Fig. 1, Fig. 1 is Activity life schematic diagram, the method that is related in figure is introduced respectively below:
onCreate():It can be called when Activity is created for the first time, this method needs to complete all normal quiet State is set, for example creates a view (view), the data etc. of list of bindings.Generally called upon after calling this method OnStart () method;
onRestart():This method can be called when being restarted after Activity is stopped, extended meeting thereafter is called OnStart () method;
onStart():This method is called before Activity is visible for user.If Activity returns to foreground OnResume () is then then called, onStop () is called if Activity hides;
onResume():Start in Activity with calling this method before user mutual.At this moment the Activity is in The top of Activity stacks, and receive the input of user.Thereafter onPause () method is called in extended meeting.
onPause():This method can be called when system prepares and starts to recover other Activity, in this method generally For submitting some also what is do not preserved to be changed in persistant data, stop some animations or operation of some other consumption performance etc. Deng.No matter any operation is carried out inside this method, be required for faster completing, because if its non-return word, next Activity will be unable to recover.If Activity, which returns to foreground, will call onResume (), if Activity OnStop () will be called by having become invisible to user.
onStop():This method will be called when Activity is invisible to user.May be because of current Activity Just destroyed, or another Activity (existing Activity or new Activity) is recovered is ready for It is covered, and calls this method.If onRestart () is called in extended meeting after when Activity is ready for return and user mutual, OnDestroy () can be called if Activity is released.
onDestroy():This method can be called before Activity is destroyed.It is last that this is that Activity can be received One calling.Finish () method may be have invoked because of someone so that current Activity is being closed, or system in order to Protection internal memory discharges this Activity example temporarily, and calls this method.You can with isFinishing () method come Distinguish both different situations.
That is, monitoring Activity life cycle, when the active state or running status of the Activity are entered When entering halted state, system readjustment notifies the Activity, can now confirm that the page of the Activity changes, now just The page to change is detected, is judged whether because user clicks notifications or applicative notifications and causes the page to become Change, if it is not, then returning to foreground calls onResume () method, until it is determined that user clicks notifications or applicative notifications are led The page is caused to change.
Referring to Fig. 2, Fig. 2 is a kind of flow chart of monitoring method provided in an embodiment of the present invention.As shown in Fig. 2 the party Method may comprise steps of.
Step S201, detect into after screen lock state, start the first user interface components.
In embodiments of the present invention, electronic equipment is after third party's screen locking application is enabled, when entering screen lock state, just The no longer primary screen locking application of activation system, but start the first user interface components, that is to say, that by the first user interface components It is placed in system top level user interface.
Optionally, the interface of the first user interface components is arranged to transparent.That is the first user interface components are sky Activity, that is to say, that will not be user when enabling the first user interface components whether user's detection interface changes Bring the rolling of page layout switch dynamic, improve Consumer's Experience.
Step S202, detecting that above-mentioned first user interface components are halted state, and second user interface assembly is expired During sufficient preparatory condition, confirm that user performs clicking operation to above-mentioned second user interface assembly.
Wherein, second user interface assembly is the current top level user interface of system;Dimension in preparatory condition may include One or more in default number of clicks, default click duration, default click location and default click force, the present invention is real Example is applied not limit for preparatory condition.As an example it is assumed that default number of clicks is twice, and default click location is second Goal notification device region in user interface components, then when the number of clicks of clicking operation is the region that user clicks on three times For goal notification device region, then it is more than default number of clicks, meets default click location, so as to meet preparatory condition.
In embodiments of the present invention, it is temporary when detecting the first user interface components from active state or running status and entering When stopping state, system readjustment notifies the first user interface components, can now confirm that the current top level user interface of system becomes Change, and current top level user interface is second user interface assembly, wherein, second user interface assembly comprises at least applicative notifications Component.
Under screen lock state, locking screen interface, which changes, generally may include following three kinds, first, receiving information, phone Or the notification message or PUSH message of other application, cause to show its notification message or PUSH message on locking screen interface;Second, with Family pressed power key or, the physical button such as main (Home) key, volume key, or the default gesture of the gesture of user's input and terminal Matching, causes to enter corresponding page, such as:Press Home key switch to system startup desktop, input circle enter take pictures should With;Third, user clicks the notification message of locking screen interface under bright screen state, if current system is provided with unblock checking, Changing interface to unlock interface when unblock is verified, can just be entered application interface corresponding to the notification message;If work as When preceding system is not provided with unblock, application interface corresponding to the notification message is directly entered.Because above-mentioned three kinds of situations can all be led Locking screen interface is caused to change, then when detecting that the first user interface components enter halted state, it is necessary to discuss, so as to filter It is not two kinds of situations that user interface switches to fall, and improves the accuracy of judgement.The embodiment of the present invention is for locking screen interface Situation about changing does not limit, that is to say, that except three of the above may also include other situations.
If as an alternative embodiment, detect switching page corresponding to button operation and/or display notification instruction When face instructs, determine that above-mentioned second user interface assembly is unsatisfactory for above-mentioned preparatory condition, activate above-mentioned first user interface components, So that above-mentioned first user interface components are active or running status.
That is, if the reason for causing the first user interface components to enter halted state is because the button of user's input Operation, and/or, the display notification instruction of system or application transmission, then corresponding switching page instruction is called, judges not meeting use Family performs the preparatory condition of clicking operation to second user interface assembly, so as to activate the first user interface components, so that the One user interface components enter active state or running status, that is, call onPause () method, now the first user interface group Part is in the top of Activity stacks, and receives the input of user.Thereafter onPause () method is called in extended meeting, that is, determines to use Family, which clicks notifications or applicative notifications, causes the page to change.
In the monitoring method described by Fig. 2, after terminal enters screen lock state, start the first user interface components. When first user interface components enter halted state, i.e. the current top level user interface of system is changed, and judges second Whether user interface components meet preparatory condition, if, it may be determined that it is not current top layer user to cause the first user interface components Interface is because user performs clicking operation to second user interface assembly.As long as that is, the first user interface of monitoring The life cycle of component can obtain the switch instances of user interface, improve monitoring efficiency and accuracy, and save electronics and set Standby performance consumption.
Referring to Fig. 3, Fig. 3 is the flow chart of another monitoring method provided in an embodiment of the present invention.As shown in figure 3, should Method may comprise steps of.
Step S301, detect into after screen lock state, start the first user interface components.
Step S302, detecting that above-mentioned first user interface components are halted state, and second user interface assembly is expired During sufficient preparatory condition, confirm that user performs clicking operation to above-mentioned second user interface assembly.
Wherein, step S301 and S302 can refer to step S201 and S202 in the monitoring method shown in 2, no longer superfluous herein State.
Step S303, intended application interface corresponding to above-mentioned clicking operation is obtained.
Step S304, above-mentioned second user interface assembly is switched into unlock interface.
Step S305, the unblock checking information of above-mentioned user's input is received in above-mentioned unlock interface, is verified in above-mentioned unblock During Information Authentication success, into above-mentioned intended application interface.
After confirming that user performs clicking operation to above-mentioned second user interface assembly, unlock interface should be switched to, from And user is reminded to be unlocked operation.The unblock checking information of user's input is being received, and is unlocking checking information when being proved to be successful, Into intended application interface corresponding to clicking operation.
For example, after electronic equipment enters screen lock state, the first user interface components are started.If receive intended application During the first notice sent, then display first notifies on locking screen interface, and now the state of the first user interface components is pause State, restart the first user interface components.Assuming that user clicks the first notice in locking screen interface, current system is detected Top user interface of uniting is second user interface assembly, and the first user interface components restarted enter halted state, will Second user interface assembly switches to second user interface assembly, after unlocking successfully, is notified into the first of intended application Interface assembly.
Optionally, for different types of intended application interface, different unlock interfaces is can switch to, so as to further carry The security of height checking.
In the monitoring method described by Fig. 3, after terminal enters screen lock state, start the first user interface components. When first user interface components enter halted state, i.e. the current top level user interface of system is changed, and judges second Whether user interface components meet preparatory condition, if, it may be determined that it is not current top layer user to cause the first user interface components Interface is because user performs clicking operation to second user interface assembly, then switches to unlock interface, remind user to carry out Unblock operation.The unblock checking information of user's input is being received, and is unlocking checking information when being proved to be successful, into clicking operation pair The intended application interface answered.That is, as long as the life cycle of the first user interface components of monitoring can obtain user interface Switch instances, improve monitoring efficiency and accuracy, and save the performance consumption of electronic equipment.
Referring to Fig. 4, Fig. 4 is a kind of structure chart of supervising device provided in an embodiment of the present invention.As shown in figure 4, the dress Putting 400 can include:
Start unit 401, for detecting into after screen lock state, start the first user interface components;
First confirmation unit 402, for detecting that above-mentioned first user interface components are halted state, and second user When interface assembly meets preparatory condition, confirm that user performs clicking operation to above-mentioned second user interface assembly, above-mentioned second User interface components are the current top level user interface of system.
It will be appreciated that the function of each functional unit of the supervising device 400 of the present embodiment can be real according to above-mentioned Fig. 2 methods The method specific implementation of example is applied, here is omitted.
In the supervising device described by Fig. 4, after terminal enters screen lock state, start the first user interface components. When first user interface components enter halted state, i.e. the current top level user interface of system is changed, and judges second Whether user interface components meet preparatory condition, if, it may be determined that it is not current top layer user to cause the first user interface components Interface is because user performs clicking operation to second user interface assembly.As long as that is, the first user interface of monitoring The life cycle of component can obtain the switch instances of user interface, improve monitoring efficiency and accuracy, and save electronics and set Standby performance consumption.
Referring to Fig. 5, Fig. 5 is the structure chart of another supervising device provided in an embodiment of the present invention.As shown in figure 5, should Device 500 can include:
Start unit 501, for detecting into after screen lock state, start the first user interface components;
First confirmation unit 502, for detecting that above-mentioned first user interface components are halted state, and second user When interface assembly meets preparatory condition, confirm that user performs clicking operation to above-mentioned second user interface assembly, above-mentioned second User interface components are the current top level user interface of system;
Acquiring unit 503, for obtaining intended application interface corresponding to above-mentioned clicking operation;
First switch unit 504, for above-mentioned second user interface assembly to be switched into unlock interface;
Second switch unit 505, for receiving the unblock checking information of above-mentioned user's input in above-mentioned unlock interface, upper Unblock checking information is stated when being proved to be successful, into above-mentioned intended application interface.
As a kind of alternative embodiment, the interface of above-mentioned first user interface components is arranged to transparent.
As a kind of alternative embodiment, said apparatus 500 also includes:
Second confirmation unit 506, if for detecting that the switching page corresponding to button operation and/or display notification instruction refers to When making, confirm that above-mentioned second user interface assembly is unsatisfactory for above-mentioned preparatory condition;
Unit 507 is activated, for activating above-mentioned first user interface components, so that above-mentioned first user interface components enter Active state or running status.
As a kind of alternative embodiment, the dimension of above-mentioned preparatory condition is comprised at least with the next item down:It is default number of clicks, pre- Set up an office and hit duration, default click location and default click force.
It will be appreciated that the function of each functional unit of the supervising device 400 of the present embodiment can be according to above-mentioned Fig. 2 and Fig. 3 The method specific implementation of embodiment of the method, here is omitted.
In the supervising device described by Fig. 5, after terminal enters screen lock state, start the first user interface components. When first user interface components enter halted state, i.e. the current top level user interface of system is changed, and judges second Whether user interface components meet preparatory condition, if, it may be determined that it is not current top layer user to cause the first user interface components Interface is because user performs clicking operation to second user interface assembly, then switches to unlock interface, remind user to carry out Unblock operation.The unblock checking information of user's input is being received, and is unlocking checking information when being proved to be successful, into clicking operation pair The intended application interface answered.That is, as long as the life cycle of the first user interface components of monitoring can obtain user interface Switch instances, improve monitoring efficiency and accuracy, and save the performance consumption of electronic equipment.
Referring to Fig. 6, Fig. 6 is electronic equipment provided in an embodiment of the present invention.Wherein, the monitoring method be applied to mobile phone, The electronic equipments such as tablet personal computer.As shown in fig. 6, the electronic equipment can include housing 610, processor 620, memory 630, electricity Road plate 640 and power circuit 650, wherein, circuit board 640 is placed in the interior volume that housing surrounds, processor 620 and memory 630 are arranged on circuit board 640;Power circuit 650, for each circuit or the device power supply for electronic equipment;Memory 630 For storing executable program code;Processor 620 is run by reading the executable program code stored in memory 630 Program corresponding with executable program code, for performing following steps:
Detect into after screen lock state, start the first user interface components;
Detecting that above-mentioned first user interface components are halted state, and second user interface assembly meets preparatory condition When, confirm that user performs clicking operation to above-mentioned second user interface assembly, above-mentioned second user interface assembly is system Current top level user interface.
As a kind of alternative embodiment, the interface of above-mentioned first user interface components is arranged to transparent.
As a kind of alternative embodiment, above-mentioned processor 620 is additionally operable to perform following operation:
If detect switching page instruction corresponding to button operation and/or display notification instruction, confirm that above-mentioned second uses Family interface assembly is unsatisfactory for above-mentioned preparatory condition, above-mentioned first user interface components is activated, so that above-mentioned first user interface group Part enters active state or running status.
As a kind of alternative embodiment, the dimension of above-mentioned preparatory condition is comprised at least with the next item down:It is default number of clicks, pre- Set up an office and hit duration, default click location and default click force.
As a kind of alternative embodiment, confirm that user performs to above-mentioned second user interface assembly in above-mentioned processor 620 After clicking operation, above-mentioned processor 620 is additionally operable to perform following operation:
Obtain intended application interface corresponding to above-mentioned clicking operation;
Above-mentioned second user interface assembly is switched into unlock interface;
Receive the unblock checking information of above-mentioned user input in above-mentioned unlock interface, the checking of above-mentioned unblock checking information into During work(, into above-mentioned intended application interface.
In the electronic equipment described by Fig. 6, after terminal enters screen lock state, start the first user interface components. When first user interface components enter halted state, i.e. the current top level user interface of system is changed, and judges second Whether user interface components meet preparatory condition, if, it may be determined that it is not current top layer user to cause the first user interface components Interface is because user performs clicking operation to second user interface assembly.As long as that is, the first user interface of monitoring The life cycle of component can obtain the switch instances of user interface, improve monitoring efficiency and accuracy, and save electronics and set Standby performance consumption.
A kind of non-transitorycomputer readable storage medium is provided in one embodiment, is stored thereon with computer journey Sequence, wherein, the computer program realizes the monitoring method of embodiment one or embodiment two when being executed by processor.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, module or unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or group when actually realizing Part can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown Or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, device or unit it is indirect Coupling or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, be shown as unit Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Integrated unit was both It can be realized, can also be realized in the form of SFU software functional unit in the form of hardware.
If integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can To be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application substantially or Saying all or part of the part to be contributed to prior art or the technical scheme can be embodied in the form of software product Out, the computer software product is stored in a storage medium, including some instructions are causing a computer equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform each implementation of the application The all or part of step of example method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read Only Memory;Hereinafter referred to as:ROM), random access memory (Random Access Memory;Hereinafter referred to as:RAM), magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
More than, the only embodiment of the application, but the protection domain of the application is not limited thereto is any to be familiar with Those skilled in the art can readily occur in change or replacement in the technical scope that the application discloses, and should all cover Within the protection domain of the application.Therefore, the protection domain of the application should be defined by scope of the claims.

Claims (10)

  1. A kind of 1. monitoring method, it is characterised in that including:
    Detect into after screen lock state, start the first user interface components;
    Detecting that first user interface components are halted state, and when second user interface assembly meets preparatory condition, Confirm that user performs clicking operation to the second user interface assembly, the second user interface assembly is current for system Top level user interface.
  2. 2. according to the method for claim 1, it is characterised in that the interface of first user interface components is arranged to It is bright.
  3. 3. method according to claim 1 or 2, it is characterised in that methods described also includes:
    If detect switching page instruction corresponding to button operation and/or display notification instruction, second user circle is confirmed Face component is unsatisfactory for the preparatory condition, first user interface components is activated, so that first user interface components enter Enter active state or running status.
  4. 4. method according to claim 1 or 2, it is characterised in that the dimension of the preparatory condition is comprised at least with next :Default number of clicks, default click duration, default click location and default click force.
  5. 5. the method according to claim 3 or 4, it is characterised in that in the confirmation user to the second user interface After component performs clicking operation, methods described also includes:
    Obtain intended application interface corresponding to the clicking operation;
    The second user interface assembly is switched into unlock interface;
    The unblock checking information of user's input is received in the unlock interface, is proved to be successful in the unblock checking information When, into the intended application interface.
  6. A kind of 6. supervising device, it is characterised in that including:
    Start unit, for detecting into after screen lock state, start the first user interface components;
    First confirmation unit, for detecting that first user interface components are halted state, and second user interface group When part meets preparatory condition, confirm that user performs clicking operation, second user circle to the second user interface assembly Face component is the current top level user interface of system.
  7. 7. device according to claim 6, it is characterised in that the interface of first user interface components is arranged to It is bright.
  8. 8. the device according to claim 6 or 7, it is characterised in that described device also includes:
    Second confirmation unit, if switch page instruction corresponding to button operation and/or display notification instruction for detecting, really Recognize the second user interface assembly and be unsatisfactory for the preparatory condition;
    Unit is activated, for activating first user interface components, so that first user interface components enter moving type State or running status.
  9. 9. a kind of electronic equipment, including:Housing, processor, memory, circuit board and power circuit, wherein, circuit board is placed in The interior volume that housing surrounds, processor and memory are set on circuit boards;Power circuit, for for each of electronic equipment Circuit or device power supply;Memory is used to store executable program code;What processor was stored by reading in memory holds Line program code runs program corresponding with executable program code, for performing as described in the claim any one of 1-5 Method.
  10. 10. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the meter The method as described in any in claim 1-5 is realized when calculation machine program is executed by processor.
CN201710683534.2A 2017-08-10 2017-08-10 Monitoring method, device, electronic equipment and storage medium Pending CN107608726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710683534.2A CN107608726A (en) 2017-08-10 2017-08-10 Monitoring method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710683534.2A CN107608726A (en) 2017-08-10 2017-08-10 Monitoring method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN107608726A true CN107608726A (en) 2018-01-19

Family

ID=61065330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710683534.2A Pending CN107608726A (en) 2017-08-10 2017-08-10 Monitoring method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107608726A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109101289B (en) * 2018-06-21 2021-09-10 海信视像科技股份有限公司 Data processing method and device for terminal equipment
WO2022017328A1 (en) * 2020-07-22 2022-01-27 华为技术有限公司 Method for displaying lock screen interface of electronic device and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375836A (en) * 2014-11-19 2015-02-25 深圳市腾讯计算机系统有限公司 Method and device for showing lock screen window
CN105022955A (en) * 2014-04-22 2015-11-04 腾讯科技(深圳)有限公司 Locking method and mobile terminal of application program
CN105243326A (en) * 2015-09-29 2016-01-13 北京金山安全软件有限公司 Display method and device of screen locking interface and electronic equipment
CN105988673A (en) * 2015-02-06 2016-10-05 中兴通讯股份有限公司 Unlocking process and screen locking interface display method and device
CN106502862A (en) * 2016-10-20 2017-03-15 广州优视网络科技有限公司 A kind of unit of monitoring Application Status and method
CN106648855A (en) * 2016-11-21 2017-05-10 武汉斗鱼网络科技有限公司 Method and device for controlling application program of terminal
CN106919306A (en) * 2017-03-08 2017-07-04 珠海市魅族科技有限公司 Method into application interface and the system into application interface
CN106951748A (en) * 2017-03-15 2017-07-14 莆田市烛火信息技术有限公司 A kind of quick release enters the method and terminal of application program
CN106951159A (en) * 2017-03-15 2017-07-14 莆田市烛火信息技术有限公司 A kind of terminal unlocking rapidly enters the method and terminal of application program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105022955A (en) * 2014-04-22 2015-11-04 腾讯科技(深圳)有限公司 Locking method and mobile terminal of application program
CN104375836A (en) * 2014-11-19 2015-02-25 深圳市腾讯计算机系统有限公司 Method and device for showing lock screen window
CN105988673A (en) * 2015-02-06 2016-10-05 中兴通讯股份有限公司 Unlocking process and screen locking interface display method and device
CN105243326A (en) * 2015-09-29 2016-01-13 北京金山安全软件有限公司 Display method and device of screen locking interface and electronic equipment
CN106502862A (en) * 2016-10-20 2017-03-15 广州优视网络科技有限公司 A kind of unit of monitoring Application Status and method
CN106648855A (en) * 2016-11-21 2017-05-10 武汉斗鱼网络科技有限公司 Method and device for controlling application program of terminal
CN106919306A (en) * 2017-03-08 2017-07-04 珠海市魅族科技有限公司 Method into application interface and the system into application interface
CN106951748A (en) * 2017-03-15 2017-07-14 莆田市烛火信息技术有限公司 A kind of quick release enters the method and terminal of application program
CN106951159A (en) * 2017-03-15 2017-07-14 莆田市烛火信息技术有限公司 A kind of terminal unlocking rapidly enters the method and terminal of application program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109101289B (en) * 2018-06-21 2021-09-10 海信视像科技股份有限公司 Data processing method and device for terminal equipment
WO2022017328A1 (en) * 2020-07-22 2022-01-27 华为技术有限公司 Method for displaying lock screen interface of electronic device and electronic device

Similar Documents

Publication Publication Date Title
KR102150778B1 (en) Information image display method and device
CN106990972B (en) Method and device for operating a trusted user interface
CN107450839B (en) Control method and device based on black screen gesture, storage medium and mobile terminal
CN104133687A (en) Method for handling unhandled notification event and portable terminal
CN105022955A (en) Locking method and mobile terminal of application program
CN102693391A (en) Display method and electronic equipment
CN107844342A (en) Management-control method, device and the storage medium and mobile terminal of application program keep-alive
CN101083818A (en) Terminal operation method and user terminal
CN106295296A (en) A kind of startup method of application program and terminal
CN102393805A (en) Operating method of terminal screen lock interface, and device and terminal
CN104008345A (en) Method and device for protecting user privacy data of application program
CN107835316A (en) Method for displaying image and device, storage medium for mobile terminal
CN106959754A (en) Control the method and mobile terminal of mobile terminal
CN106487798A (en) Method of data synchronization and device
CN107370874A (en) Startup method, mobile terminal and the storage medium of application
CN107608726A (en) Monitoring method, device, electronic equipment and storage medium
CN113992615B (en) Method and device for displaying withdrawal message, electronic equipment and storage medium
US7975309B2 (en) Systems and methods for securing data in an electronic apparatus
CN113867585B (en) Interface display method, device, electronic equipment and storage medium
CN103513917A (en) Touch control device, touch control device unlocking detection method and device, and touch control device unlocking method and device
CN103294386A (en) Electronic device and locking/unlocking method
CN106776908A (en) Data clearing method, device and terminal
CN108920704A (en) File access pattern method, file restoring device and mobile terminal
CN112929254A (en) Message processing method and device and electronic equipment
CN113138675B (en) Information display method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20181206

Address after: Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Applicant after: Zhuhai Seal Interest Technology Co., Ltd.

Address before: 519070, six level 601F, 10 main building, science and technology road, Tangjia Bay Town, Zhuhai, Guangdong.

Applicant before: Zhuhai Juntian Electronic Technology Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180119