CN108132813A - Function locking method, device and the electronic equipment of application program - Google Patents

Function locking method, device and the electronic equipment of application program Download PDF

Info

Publication number
CN108132813A
CN108132813A CN201711396552.9A CN201711396552A CN108132813A CN 108132813 A CN108132813 A CN 108132813A CN 201711396552 A CN201711396552 A CN 201711396552A CN 108132813 A CN108132813 A CN 108132813A
Authority
CN
China
Prior art keywords
functionality controls
control
mark
lock
controls
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
CN201711396552.9A
Other languages
Chinese (zh)
Other versions
CN108132813B (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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711396552.9A priority Critical patent/CN108132813B/en
Publication of CN108132813A publication Critical patent/CN108132813A/en
Application granted granted Critical
Publication of CN108132813B publication Critical patent/CN108132813B/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/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of function locking method of application program, device and electronic equipment, this method to include:If detect the operation for functionality controls in current application program, it is determined that the control of the program identification of the application program and the functionality controls identifies;The use state of the functionality controls is determined according to described program mark and control mark;If it is determined that the use state is lock-out state, then forbid responding the operation.The technical solution of the disclosure can realize the control that control levels are carried out to application program, the normal use of other functionality controls is not influenced while a certain functionality controls of locking applications, be conducive to the bad habit that user corrects a certain functionality controls of frequent operation, the intelligent level of terminal device can be improved, meets user demand.

Description

Function locking method, device and the electronic equipment of application program
Technical field
This disclosure relates to technical field of mobile terminals more particularly to a kind of function locking method of application program, device and Electronic equipment.
Background technology
With the development of mobile terminal technology, the quantity of APP (application program, Application) is continuously increased.Related skill APP in art can also make troubles while good user experience and good content is brought to user to user, user Some function that may be in frequent starting APP or APP, does not stop brush circle of friends/brush microblogging/brush head item etc. no for example, being formed Good custom, and then influence the normal live and work of user.
Invention content
To overcome the problems in correlation technique, the embodiment of the present disclosure provides a kind of function locking side of application program Method, device and electronic equipment, to solve the deficiency in the relevant technologies.
According to the embodiment of the present disclosure in a first aspect, provide a kind of function locking method of application program, including:
If detect the operation for functionality controls in current application program, it is determined that the program identification of the application program It is identified with the control of the functionality controls;
The use state of the functionality controls is determined according to described program mark and control mark;
If it is determined that the use state is lock-out state, then forbid responding the operation.
In one embodiment, if before the operation detected for functionality controls in current application program, the side Method further includes:
If detecting the lock operation for functionality controls in current application program, the program of the application program is obtained The control of mark and the functionality controls identifies;
In the lock controls information table that described program mark and control mark write-in are built in advance.
In one embodiment, the lock controls that described program mark and control mark write-in are built in advance are believed It ceases in table, including:
The control information of the functionality controls, the control information are determined according to described program mark and control mark It is uniquely corresponding to the functionality controls;
In the lock controls information table that control information write-in is built in advance.
In one embodiment, the method further includes:
Determine the locking time section of the functionality controls;
Build the correspondence between the locking time section and control mark;
Based on the correspondence, locking time section is written in the lock controls information table.
In one embodiment, the method further includes:
Based on the correspondence, the control is inquired from the lock controls information table and identifies corresponding locking time Section;
If it is determined that current time is within locking time section, it is determined that the use state is lock-out state.
In one embodiment, the method further includes:
Generate for represent prompt message that the functionality controls are in the lock state and/or, for prompting to the work( The prompt message that energy control is unlocked.
According to the second aspect of the embodiment of the present disclosure, a kind of function locking device of application program is provided, including:
Determining module is identified, for when detecting for the operation of functionality controls in current application program, determining described The control of the program identification of application program and the functionality controls identifies;
State determining module, for determining the use of the functionality controls according to described program mark and control mark State;
Attendant exclusion module, for when it is lock-out state to determine the use state, forbidding responding the operation.
In one embodiment, described device further includes information writing module;
Described information writing module includes:
Mark acquiring unit, for when detecting for the lock operation of functionality controls in current application program, obtaining The control of the program identification of the application program and the functionality controls identifies;
Information writing unit, the lock controls for described program mark and control mark write-in to be built in advance are believed It ceases in table.
In one embodiment, described information writing unit is additionally operable to:
The control information of the functionality controls, the control information are determined according to described program mark and control mark It is uniquely corresponding to the functionality controls;
In the lock controls information table that control information write-in is built in advance.
In one embodiment, described device further includes time writing module;
The time writing module includes:
Time determination unit, for determining the locking time of functionality controls section;
Relationship construction unit, for building the correspondence between the locking time section and control mark;
Locking time section for being based on the correspondence, is written the lock controls and believed by time writing unit It ceases in table.
In one embodiment, described device further includes:
For being based on the correspondence, the control is inquired from the lock controls information table for time inquiring module Identify corresponding locking time section;
The attendant exclusion module is additionally operable to when determining that current time is within locking time section, is determined described Use state is lock-out state.
In one embodiment, described device further includes:
Information generating module, for generate for represent prompt message that the functionality controls are in the lock state and/ Or, for prompting the prompt message being unlocked to the functionality controls.
According to the third aspect of the embodiment of the present disclosure, a kind of electronic equipment is provided, the electronic equipment includes:
Processor;
It is configured as the memory of storage processor-executable instruction;
Wherein, the processor is configured as:
If detect the operation for functionality controls in current application program, it is determined that the program identification of the application program It is identified with the control of the functionality controls;
The use state of the functionality controls is determined according to described program mark and control mark;
If it is determined that the use state is lock-out state, then forbid responding the operation.
According to the fourth aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, is stored thereon with calculating Machine program, the program are realized when being processed by the processor:
If detect the operation for functionality controls in current application program, it is determined that the program identification of the application program It is identified with the control of the functionality controls;
The use state of the functionality controls is determined according to described program mark and control mark;
If it is determined that the use state is lock-out state, then forbid responding the operation.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By above-described embodiment it is found that the disclosure is by detecting the operation for functionality controls in current application program When, determine the program identification of the application program and the control mark of the functionality controls, and according to described program mark and institute It states control mark and determines the use state of the functionality controls, and then when it is lock-out state to determine the use state, forbid The operation is responded, the control that control levels are carried out to application program can be realized, in a certain function control of locking applications The normal use of other functionality controls is not influenced while part, is conducive to user and corrects the bad of a certain functionality controls of frequent operation Custom, can improve the intelligent level of terminal device, meet user demand.
Description of the drawings
Attached drawing herein is incorporated into specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and for explaining the principle of the disclosure together with specification.
Fig. 1 is the flow chart according to a kind of function locking method of application program shown in an exemplary embodiment;
Fig. 2 is the flow chart of the function locking method of a kind of application program shown according to a further exemplary embodiment;
Fig. 3 is how program identification and control to be identified write lock-out control information according to shown in an exemplary embodiment Flow chart in table;
Fig. 4 is the flow chart of the function locking method of a kind of application program shown according to a further exemplary embodiment;
Fig. 5 is the flow chart of the function locking method of a kind of application program shown according to a further exemplary embodiment;
Fig. 6 is the flow chart of the function locking method of a kind of application program shown according to a further exemplary embodiment;
Fig. 7 is illustrated according to a kind of application scenarios of the function locking method of application program shown in an exemplary embodiment Figure;
Fig. 8 is the block diagram according to a kind of function locking device of application program shown in an exemplary embodiment;
Fig. 9 is a kind of block diagram of the function locking device of the application program shown according to a further exemplary embodiment;
Figure 10 is the block diagram according to a kind of electronic equipment shown in an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is the flow chart according to a kind of function locking method of application program shown in an exemplary embodiment;The reality It applies example and can be used for terminal device (such as mobile phone, tablet computer, personal computer etc.).As shown in Figure 1, this method is including following Step S11-S13:
S11:If detect the operation for functionality controls in current application program, it is determined that the program of the application program The control of mark and the functionality controls identifies.
In one embodiment, the operating system of the terminal device detects user for function control in current application program During operation (such as clicking operation) of part, the program identification of the application program and the control mark of functionality controls are determined.
In one embodiment, above-mentioned functionality controls can include being clicked for user in application program, long-press, drag The dynamic control for waiting operations, for example, button, input frame, list etc., the present embodiment is to this without limiting.
In one embodiment, above procedure mark can be used for the title, number, application program that include above application program The information such as packet name are used to distinguish the application program and other applications;Similarly, above-mentioned control mark can be used for including The information such as title, the number of functionality controls are stated, and can be used for distinguishing the functionality controls and other functionality controls.
S12:The use state of the functionality controls is determined according to described program mark and control mark.
In one embodiment, the use state of above-mentioned functionality controls can include lock-out state and unlocked state.Citing comes It says, if the use state of functionality controls is lock-out state, then it represents that the function of the functionality controls is locked, i.e., can not realize corresponding Function;And if the use state of functionality controls is unlocked state, then it represents that the function of the functionality controls is not locked out, you can with Realize corresponding function.
It in one embodiment, can be according to the program identification and control after above procedure mark and control mark is determined Mark determines the use state of above-mentioned functionality controls, such as the Application Column of inquiry locking can be identified according to above procedure Table, however, it is determined that there are described program marks in the application list, then the control of inquiry locking is further identified according to the control Part list, and work as and determine that there are control marks in the list of controls, then can determine the use state of above-mentioned functionality controls For lock-out state;
It is on the contrary, however, it is determined that there is no described program mark or, if it is determined that above-mentioned list of controls in above application program listing In there is no the control identify, then can determine above-mentioned functionality controls use state be unlocked state.
S13:If it is determined that the use state is lock-out state, then forbid responding the operation.
In one embodiment, when determining that the use states of above-mentioned functionality controls for lock-out state, then forbids responding above-mentioned needle Operation to above-mentioned functionality controls does not respond the operation, for example, aforesaid operations event is not carried out to application program Notice.
Seen from the above description, the embodiment of the present disclosure is by detecting the behaviour for functionality controls in current application program When making, determine the application program program identification and the functionality controls control mark, and according to described program mark and The control mark determines the use state of the functionality controls, and then when it is lock-out state to determine the use state, prohibits The operation is only responded, the control that control levels are carried out to application program can be realized, in a certain function of locking applications The normal use of other functionality controls is not influenced while control, is conducive to user and corrects a certain functionality controls of frequent operation not Good custom can improve the intelligent level of terminal device, meet user demand.
Fig. 2 is the flow chart of the function locking method of a kind of application program shown according to a further exemplary embodiment.Such as Shown in Fig. 2, this method includes the following steps S21-S25:
S21:If detecting the lock operation for functionality controls in current application program, the application program is obtained The control of program identification and the functionality controls identifies.
In one embodiment, when the operating system of terminal device detects that user is directed to the lock operation of above-mentioned functionality controls When, the program identification of above application program and the control mark of above-mentioned functionality controls can be obtained.
In one embodiment, above-mentioned lock operation can be that long-press operates, alternatively, can be in control edit menu " lock controls option " trigger action, concrete form can be configured according to the needs of user or developer, this reality Example is applied to this without limiting.
S22:In the lock controls information table that described program mark and control mark write-in are built in advance.
In one embodiment, a table for record locking control information, i.e., above-mentioned lock controls can be built in advance Information table, wherein, the application belonging to the control mark of functionality controls of the lock controls information including locking and the functionality controls The program identification of program.
In one embodiment, after above procedure mark and control mark is obtained, described program can be identified and described In the lock controls information table that control mark write-in is built in advance, and then it can realize and subsequently be determined according to the control information table State whether functionality controls are locked.
S23:If detect the operation for functionality controls in current application program, it is determined that the program of the application program The control of mark and the functionality controls identifies.
S24:The use state of the functionality controls is determined according to described program mark and control mark.
S25:If it is determined that the use state is lock-out state, then forbid responding the operation.
Wherein, the relevant explanation of step S23-S25 and explanation may refer to the step S11- in above-mentioned embodiment illustrated in fig. 1 S13 is no longer repeated herein.
Seen from the above description, the embodiment of the present disclosure is by detecting the lock for functionality controls in current application program When operating surely, the program identification of the application program and the control mark of the functionality controls are obtained, and described program is identified In the lock controls information table built in advance with control mark write-in, it can realize and subsequently be based on the lock controls information table The content of middle record determines whether functionality controls are locked, and to realize the control that control levels are carried out to application program, is conducive to User corrects the bad habit of a certain functionality controls of frequent operation, can improve the intelligent level of terminal device, meet user Demand.
Fig. 3 is how program identification and control to be identified write lock-out control information according to shown in an exemplary embodiment Flow chart in table;The present embodiment is on the basis of above-described embodiment, how program identification and control are identified write lock-out It is illustrated in control information table.As shown in figure 3, by described program mark and the control described in step S22 In the lock controls information table that part mark write-in is built in advance, S31-S32 may comprise steps of:
S31:The control information of the functionality controls, the control are determined according to described program mark and control mark Information is uniquely corresponding to the functionality controls.
It in one embodiment, can be according to the program identification and control after above procedure mark and control mark is obtained Mark determines control information, wherein, which is uniquely corresponding to above-mentioned functionality controls, i.e. the control information and functionality controls It is one-to-one relationship.
In one embodiment, above-mentioned control information can be the correspondence between above procedure mark and control mark, Alternatively, can according to above procedure mark and the new identification information of control mark generation (such as by program identification and control Identify the identification information merged) etc., concrete form can be configured according to the needs of user or developer, this Embodiment is to this without limiting.
S32:In the lock controls information table that control information write-in is built in advance.
In one embodiment, after above-mentioned control information is determined, which can be written to the lock controls information In table.
What deserves to be explained is above-mentioned lock controls information table can be stored in terminal device local, alternatively, can be stored in In the storage device of server-side.
Seen from the above description, the embodiment of the present disclosure passes through according to described program mark and control mark are determining The control information of functionality controls, and in the lock controls information table that control information write-in is built in advance, after can realizing It is continuous to determine whether functionality controls are locked, and then realize correspondence based on the control information recorded in the lock controls information table The control of control levels is carried out with program, meets user demand.
Fig. 4 is the flow chart of the function locking method of a kind of application program shown according to a further exemplary embodiment;Such as Shown in Fig. 4, this method includes the following steps S41-S48:
S41:If detecting the lock operation for functionality controls in current application program, the application program is obtained The control of program identification and the functionality controls identifies.
S42:In the lock controls information table that described program mark and control mark write-in are built in advance.
S43:Determine the locking time section of the functionality controls.
In one embodiment, the prompt message of input locking time section during lock function control, can be generated, And then the locking time section of functionality controls input by user can be received.
In one embodiment, above-mentioned locking time section can be the specific time, such as 9:00-17:00 or can be Specific date, such as September 1 day etc., specific form can be configured according to the needs of user or developer, this implementation Example is to this without limiting.
S44:Build the correspondence between the locking time section and control mark;
In one embodiment, after above-mentioned locking time section is determined, locking time section can be built and identify it with control Between correspondence, will the locking time section with control mark associate, with realize subsequently based on the correspondence inquiry Control identifies corresponding locking time section.
S45:Based on the correspondence, locking time section is written in the lock controls information table.
In one embodiment, after above-mentioned correspondence is determined, the correspondence can be based on, by section of above-mentioned locking time Be written in above-mentioned lock controls information table, i.e., stored simultaneously in lock controls information table above-mentioned control mark, program identification with And locking time section.
S46:If detect the operation for functionality controls in current application program, it is determined that the program of the application program The control of mark and the functionality controls identifies.
S47:The use state of the functionality controls is determined according to described program mark and control mark.
S48:If it is determined that the use state is lock-out state, then forbid responding the operation.
Wherein, step S41-S42, the relevant explanation of S46-S48 and explanation may refer in aforementioned embodiment illustrated in fig. 2 Step S21-S25, is no longer repeated herein.
Seen from the above description, the embodiment of the present disclosure is by determining the locking time section of the functionality controls, and builds institute The correspondence between locking time section and control mark is stated, and then based on the correspondence, by the locking time Section is written in the lock controls information table, can be realized subsequently based on the locking time section recorded in the lock controls information table It determines whether functionality controls are locked, and then can realize the control that control levels are carried out to application program, meet user demand.
Fig. 5 is the flow chart of the function locking method of a kind of application program shown according to a further exemplary embodiment;Such as Shown in Fig. 5, this method may comprise steps of S51-S59:
S51:If detecting the lock operation for functionality controls in current application program, the application program is obtained The control of program identification and the functionality controls identifies.
S52:In the lock controls information table that described program mark and control mark write-in are built in advance.
S53:Determine the locking time section of the functionality controls.
S54:Build the correspondence between the locking time section and control mark;
S55:Based on the correspondence, locking time section is written in the lock controls information table.
S56:If detect the operation for functionality controls in current application program, it is determined that the program of the application program The control of mark and the functionality controls identifies.
S57:The use state of the functionality controls is determined according to described program mark and control mark.
Wherein, the relevant explanation of step S51-S57 and explanation may refer to the step S41- in aforementioned embodiment illustrated in fig. 4 S47 is no longer repeated herein.
S58:Based on the correspondence, the control is inquired from the lock controls information table and identifies corresponding locking Period.
In one implements, the corresponding pass between locking time section and control mark that can be based on above-mentioned structure System inquires the control from the lock controls information table and identifies corresponding locking time section, such as determine current control mark It is 9 to know corresponding locking time section:00-17:00.
S59:If it is determined that current time is within locking time section, it is determined that the use state is locking shape State forbids responding the operation.
In one embodiment, after above-mentioned locking time section is determined, it may be determined that whether current time is in locking time Within section.For example, however, it is determined that above-mentioned locking time section is 9:00-17:00, and current time is 13:00, then it can determine Current time is within locking time section.
In one embodiment, however, it is determined that current time is within locking time section, then can determine the use State is lock-out state, and then can perform above-mentioned the step of forbidding responding the operation.
Seen from the above description, the embodiment of the present disclosure is based on corresponding between locking time section and control mark Relationship inquires the control from the lock controls information table and identifies corresponding locking time section, and when determining current time When within locking time section, determine that the use state for lock-out state, can be realized and application program is controlled The control of part rank does not influence the normal use of other functionality controls while a certain functionality controls of locking applications, Be conducive to the bad habit that user corrects a certain functionality controls of frequent operation, the intelligent level of terminal device can be improved, it is full Sufficient user demand.
Fig. 6 is the flow chart of the function locking method of a kind of application program shown according to a further exemplary embodiment;Such as Shown in Fig. 6, this method includes the following steps S61-S64:
S61:If detect the operation for functionality controls in current application program, it is determined that the program of the application program The control of mark and the functionality controls identifies.
S62:The use state of the functionality controls is determined according to described program mark and control mark.
S63:If it is determined that the use state is lock-out state, then forbid responding the operation.
Wherein, the relevant explanation of step S61-S63 and explanation may refer to the step S11- in aforementioned embodiment illustrated in fig. 1 S13 is no longer repeated herein.
S64:Generate for represent prompt message that the functionality controls are in the lock state and/or, for prompting to institute State the prompt message that functionality controls are unlocked.
In one embodiment, when determining the use state as lock-out state, and forbid after responding the operation, Ke Yisheng Into for representing prompt message that the functionality controls are in the lock state, remind user that the functionality controls are in locking with this State.On this basis, it can also generate for prompting the prompt message being unlocked to the functionality controls, in user's urgency When need to use the functionality controls, the functionality controls can be unlocked by inputting the modes such as password or fingerprint.
Seen from the above description, the embodiment of the present disclosure is by determining the use state as lock-out state, and forbid ringing After answering the operation, generate to represent prompt message that the functionality controls are in the lock state, can realize and remind user The functionality controls are in the lock state.Also, the prompt message being unlocked to the functionality controls is prompted by generating, When can make user's urgent need using the functionality controls, the functionality controls are unlocked by inputting the modes such as password or fingerprint, The intelligent level of terminal device can be improved, meets user demand.
Fig. 7 is illustrated according to a kind of application scenarios of the function locking method of application program shown in an exemplary embodiment Figure;As shown in fig. 7, when the operation of functionality controls during terminal device 100 is detected for current application program, it is determined that should answer It is identified with the program identification of program and the control of functionality controls, and then functionality controls is determined according to the program identification and control mark Use state, however, it is determined that at this time the use state of functionality controls be lock-out state, then forbid responding the operation.Citing comes Say, when detecting the refresh operation for the circle of friends in current wechat, determine wechat packet name " com.tecent.mm " and The control ID of circle of friends, and determine according to the packet name and control ID of wechat the use state of circle of friends, however, it is determined that lock controls are believed There are the packet name " com.tecent.mm " of wechat and the correspondence of the control ID of circle of friends in breath table, and determine current time (such as 10:00) the locking time section (9 in the functionality controls:00-17:00) in, then the use state of circle of friends can be determined For lock-out state, and then operation of the response for the circle of friends can be forbidden, and prompt message shown in fig. 7 can be generated 110, to prompt user friend that circle is in the lock state, also, its locking time is 9:00-17:00.
Seen from the above description, the present embodiment can realize the control that control levels are carried out to application program, should in locking The normal use of other functionality controls is not influenced while with a certain functionality controls of program, is conducive to user and corrects frequent operation The bad habit of a certain functionality controls can improve the intelligent level of terminal device, meet user demand.
Fig. 8 is the block diagram according to a kind of function locking device of application program shown in an exemplary embodiment;Such as Fig. 8 institutes Show, which includes:Determining module 110, state determining module 120 and attendant exclusion module 130 are identified, wherein:
Determining module 110 is identified, for when detecting for the operation of functionality controls in current application program, determining institute State the program identification of application program and the control mark of the functionality controls;
State determining module 120, for determining the functionality controls according to described program mark and control mark Use state;
Attendant exclusion module 130, for when it is lock-out state to determine the use state, forbidding responding the operation.
Fig. 9 is a kind of block diagram of the function locking device of the application program shown according to a further exemplary embodiment;Wherein, Identify determining module 230, state determining module 240 and attendant exclusion module 260 and the mark in aforementioned embodiment illustrated in fig. 8 The function of determining module 110, state determining module 120 and attendant exclusion module 130 is identical, is no longer repeated herein.Such as Shown in Fig. 9, described device further includes information writing module 210;
Information writing module 210 can include:
Mark acquiring unit 211, for when detecting for the lock operation of functionality controls in current application program, obtaining Take the program identification of the application program and the control mark of the functionality controls;
Information writing unit 212, for the locking control for building described program mark and control mark write-in in advance In part information table.
In one embodiment, information writing unit 212 can be also used for:
The control information of the functionality controls, the control information are determined according to described program mark and control mark It is uniquely corresponding to the functionality controls;
In the lock controls information table that control information write-in is built in advance.
In one embodiment, described device can also include time writing module 220;
Time writing module 220 can include:
Time determination unit 221, for determining the locking time of functionality controls section;
Relationship construction unit 222, for building the correspondence between the locking time section and control mark;
For being based on the correspondence, the lock controls are written in locking time section by time writing unit 223 In information table.
In one embodiment, described device can also include:
For being based on the correspondence, the control is inquired from the lock controls information table for time inquiring module 250 Part identifies corresponding locking time section;
Attendant exclusion module 260 can be also used for, when determining that current time is within locking time section, determining The use state is lock-out state.
In one embodiment, device can also include:
Information generating module 270 can be used for generating to represent that the prompting that the functionality controls are in the lock state is believed Breath and/or, for prompting the prompt message that is unlocked to the functionality controls.
About the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 10 is the block diagram according to a kind of electronic equipment shown in an exemplary embodiment.For example, device 300 can be moved Mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building are set It is standby, personal digital assistant etc..
With reference to Figure 10, device 900 can include following one or more components:Processing component 902, memory 904, power supply Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor module 914 and Communication component 916.
The integrated operation of 902 usual control device 900 of processing component, such as with display, call, data communication, phase Machine operates and record operates associated operation.Processing element 902 can refer to including one or more processors 320 to perform It enables, to perform all or part of the steps of the methods described above.In addition, processing component 902 can include one or more modules, just Interaction between processing component 902 and other assemblies.For example, processing component 902 can include multi-media module, it is more to facilitate Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in equipment 900.These data are shown Example includes the instruction of any application program or method for being operated on device 900, contact data, and telephone book data disappears Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 906 provides electric power for the various assemblies of device 900.Electric power assembly 906 can include power management system System, one or more power supplys and other generate, manage and distribute electric power associated component with for device 900.
Multimedia component 908 is included in the screen of one output interface of offer between described device 900 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 908 includes a front camera and/or rear camera.When device 900 is in operation mode, such as screening-mode or During video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike Wind (MIC), when device 900 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set Part 916 is sent.In some embodiments, audio component 910 further includes a loud speaker, for exports audio signal.
I/O interfaces 912 provide interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented Estimate.For example, sensor module 914 can detect opening/closed state of device 900, and the relative positioning of component, for example, it is described Component is the display and keypad of device 900, and sensor module 914 can be with 900 1 components of detection device 900 or device Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900 Temperature change.Sensor module 914 can include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 914 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application application-specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the function of above application program Locking means.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 904 of instruction, above-metioned instruction can be performed to complete above application program by the processor 320 of device 900 Function locking method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as illustratively, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.

Claims (14)

1. a kind of function locking method of application program, which is characterized in that including:
When detecting for the operation of functionality controls in current application program, program identification and the institute of the application program are determined State the control mark of functionality controls;
The use state of the functionality controls is determined according to described program mark and control mark;
When it is lock-out state to determine the use state, forbid responding the operation.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
If detecting the lock operation for functionality controls in current application program, the program identification of the application program is obtained It is identified with the control of the functionality controls;
In the lock controls information table that described program mark and control mark write-in are built in advance.
It is 3. according to the method described in claim 2, it is characterized in that, described by described program mark and control mark write-in In the lock controls information table built in advance, including:
The control information of the functionality controls is determined according to described program mark and control mark, the control information is unique Corresponding to the functionality controls;
In the lock controls information table that control information write-in is built in advance.
4. according to the method described in claim 2, it is characterized in that, the method further includes:
Determine the locking time section of the functionality controls;
Build the correspondence between the locking time section and control mark;
Based on the correspondence, locking time section is written in the lock controls information table.
5. according to the method described in claim 4, it is characterized in that, the method further includes:
Based on the correspondence, the control is inquired from the lock controls information table and identifies corresponding locking time section;
If it is determined that current time is within locking time section, it is determined that the use state is lock-out state.
6. according to the method described in claim 1, it is characterized in that, the method further includes:
Generate for represent prompt message that the functionality controls are in the lock state and/or, for prompting to the function control The prompt message that part is unlocked.
7. a kind of function locking device of application program, which is characterized in that including:
Determining module is identified, for when detecting for the operation of functionality controls in current application program, determining the application The control of the program identification of program and the functionality controls identifies;
State determining module, for according to described program mark and the control mark determine the functionality controls use shape State;
Attendant exclusion module, for when it is lock-out state to determine the use state, forbidding responding the operation.
8. device according to claim 7, which is characterized in that described device further includes information writing module;
Described information writing module includes:
Mark acquiring unit, for when detecting for the lock operation of functionality controls in current application program, described in acquisition The control of the program identification of application program and the functionality controls identifies;
Information writing unit, for the lock controls information table for building described program mark and control mark write-in in advance In.
9. device according to claim 8, which is characterized in that described information writing unit is additionally operable to:
The control information of the functionality controls is determined according to described program mark and control mark, the control information is unique Corresponding to the functionality controls;
In the lock controls information table that control information write-in is built in advance.
10. device according to claim 8, which is characterized in that described device further includes time writing module;
The time writing module includes:
Time determination unit, for determining the locking time of functionality controls section;
Relationship construction unit, for building the correspondence between the locking time section and control mark;
For being based on the correspondence, the lock controls information table is written in locking time section by time writing unit In.
11. device according to claim 10, which is characterized in that described device further includes:
Time inquiring module for being based on the correspondence, inquires the control mark from the lock controls information table Corresponding locking time section;
The attendant exclusion module is additionally operable to, when determining that current time is within locking time section, determine the use State is lock-out state.
12. device according to claim 7, which is characterized in that described device further includes:
Information generating module, for generate for represent prompt message that the functionality controls are in the lock state and/or, use In the prompt message that prompting is unlocked the functionality controls.
13. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
It is configured as the memory of storage processor-executable instruction;
Wherein, the processor is configured as:
If detect the operation for functionality controls in current application program, it is determined that the program identification of the application program and institute State the control mark of functionality controls;
The use state of the functionality controls is determined according to described program mark and control mark;
If it is determined that the use state is lock-out state, then forbid responding the operation.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor It is realized during processing:
If detect the operation for functionality controls in current application program, it is determined that the program identification of the application program and institute State the control mark of functionality controls;
The use state of the functionality controls is determined according to described program mark and control mark;
If it is determined that the use state is lock-out state, then forbid responding the operation.
CN201711396552.9A 2017-12-21 2017-12-21 Function locking method and device of application program and electronic equipment Active CN108132813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711396552.9A CN108132813B (en) 2017-12-21 2017-12-21 Function locking method and device of application program and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711396552.9A CN108132813B (en) 2017-12-21 2017-12-21 Function locking method and device of application program and electronic equipment

Publications (2)

Publication Number Publication Date
CN108132813A true CN108132813A (en) 2018-06-08
CN108132813B CN108132813B (en) 2021-07-23

Family

ID=62391270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711396552.9A Active CN108132813B (en) 2017-12-21 2017-12-21 Function locking method and device of application program and electronic equipment

Country Status (1)

Country Link
CN (1) CN108132813B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542721A (en) * 2018-11-05 2019-03-29 北京炎黄盈动科技发展有限责任公司 Application state control method, device and storage medium in a kind of application container
CN111078329A (en) * 2018-10-22 2020-04-28 青岛海信移动通信技术股份有限公司 Mobile terminal and method for locking and unlocking small control therein
CN111414631A (en) * 2020-03-10 2020-07-14 维沃移动通信有限公司 Information processing method and electronic equipment
CN111638934A (en) * 2020-06-11 2020-09-08 上海摩象网络科技有限公司 State synchronization method and device of interactive control and handheld camera
CN114489858A (en) * 2022-02-11 2022-05-13 Tcl通讯科技(成都)有限公司 Application software information setting method and device, terminal equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840556A (en) * 2009-03-16 2010-09-22 苹果公司 Separate method, device and the relevant device of the supplementary functions assembly of locked application
CN103605429A (en) * 2013-11-30 2014-02-26 深圳市金立通信设备有限公司 Processing method for response key operation and mobile terminal
CN104063654A (en) * 2014-05-30 2014-09-24 小米科技有限责任公司 Monitoring method and device for application program
US20150332038A1 (en) * 2014-05-17 2015-11-19 Adriana Lyons Secure entry of secrets
CN105094962A (en) * 2015-08-25 2015-11-25 小米科技有限责任公司 Application disabled method and apparatus
US20160162668A1 (en) * 2014-12-04 2016-06-09 Canon Kabushiki Kaisha License management method and apparatus
CN106598630A (en) * 2016-12-30 2017-04-26 深圳天珑无线科技有限公司 Key control method and apparatus, and terminal
CN107437016A (en) * 2017-07-11 2017-12-05 广东欧珀移动通信有限公司 Application control method and related product

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840556A (en) * 2009-03-16 2010-09-22 苹果公司 Separate method, device and the relevant device of the supplementary functions assembly of locked application
CN103605429A (en) * 2013-11-30 2014-02-26 深圳市金立通信设备有限公司 Processing method for response key operation and mobile terminal
US20150332038A1 (en) * 2014-05-17 2015-11-19 Adriana Lyons Secure entry of secrets
CN104063654A (en) * 2014-05-30 2014-09-24 小米科技有限责任公司 Monitoring method and device for application program
US20160162668A1 (en) * 2014-12-04 2016-06-09 Canon Kabushiki Kaisha License management method and apparatus
CN105094962A (en) * 2015-08-25 2015-11-25 小米科技有限责任公司 Application disabled method and apparatus
CN106598630A (en) * 2016-12-30 2017-04-26 深圳天珑无线科技有限公司 Key control method and apparatus, and terminal
CN107437016A (en) * 2017-07-11 2017-12-05 广东欧珀移动通信有限公司 Application control method and related product

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078329A (en) * 2018-10-22 2020-04-28 青岛海信移动通信技术股份有限公司 Mobile terminal and method for locking and unlocking small control therein
CN111078329B (en) * 2018-10-22 2024-02-06 青岛海信移动通信技术有限公司 Mobile terminal and method for locking and unlocking widgets in mobile terminal
CN109542721A (en) * 2018-11-05 2019-03-29 北京炎黄盈动科技发展有限责任公司 Application state control method, device and storage medium in a kind of application container
CN111414631A (en) * 2020-03-10 2020-07-14 维沃移动通信有限公司 Information processing method and electronic equipment
WO2021180005A1 (en) * 2020-03-10 2021-09-16 维沃移动通信有限公司 Information processing method and electronic device
CN111638934A (en) * 2020-06-11 2020-09-08 上海摩象网络科技有限公司 State synchronization method and device of interactive control and handheld camera
CN111638934B (en) * 2020-06-11 2023-08-01 上海摩象网络科技有限公司 State synchronization method and device of interaction control and handheld camera
CN114489858A (en) * 2022-02-11 2022-05-13 Tcl通讯科技(成都)有限公司 Application software information setting method and device, terminal equipment and storage medium
CN114489858B (en) * 2022-02-11 2024-03-19 Tcl通讯科技(成都)有限公司 Application software information setting method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN108132813B (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN108132813A (en) Function locking method, device and the electronic equipment of application program
CN104580730B (en) Alarm clock prompting method and device
CN105138319B (en) Event-prompting method and device
CN105704766B (en) The control method and device of double-card mobile terminal
CN104837154B (en) The control method and device of wireless access points
CN107222391A (en) Group's based reminding method, device and equipment
CN107608561A (en) Touch-screen control method and device
CN106021077B (en) The alarming method for power and device of terminal
CN106407079A (en) Mobile terminal charging prompting method, device and equipment
CN106354571A (en) Message reminding method and device thereof
CN106209604A (en) Add the method and device of good friend
CN107635074A (en) Control the method and device of quarter-bell
CN105260439A (en) Data release method and apparatus and terminal
CN109903765A (en) Sound control method and device
CN107493366A (en) Address list information update method, device and storage medium
JP6279815B2 (en) Method and apparatus for reporting status
CN107272896A (en) The method and device switched between VR patterns and non-VR patterns
CN107132983A (en) Split screen window operation method and device
CN104539497B (en) Method for connecting network and device
CN106453774A (en) Method and apparatus for displaying contact information
CN108577709A (en) A kind of method, apparatus and storage medium of the work of intelligence mop
CN107864460A (en) Call transferring method, device and equipment
CN106775240A (en) The triggering method of application program, device and terminal
CN105101076A (en) Message reminding method and device
CN106686263B (en) Communication processing method and device

Legal Events

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