CN108717377A - Method and device for controlling event operation, terminal equipment and storage medium - Google Patents
Method and device for controlling event operation, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN108717377A CN108717377A CN201810262896.9A CN201810262896A CN108717377A CN 108717377 A CN108717377 A CN 108717377A CN 201810262896 A CN201810262896 A CN 201810262896A CN 108717377 A CN108717377 A CN 108717377A
- Authority
- CN
- China
- Prior art keywords
- event
- keyword
- restrictive condition
- program
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000005192 partition Methods 0.000 claims abstract description 34
- 238000004590 computer program Methods 0.000 claims description 20
- 238000001514 detection method Methods 0.000 claims description 7
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 claims description 4
- 230000006870 function Effects 0.000 description 12
- 206010012335 Dependence Diseases 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000006855 networking Effects 0.000 description 6
- 230000006399 behavior Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000284 resting effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
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)
Abstract
The invention discloses a method for controlling event operation, which comprises the following steps: detecting a current event to be operated and acquiring a keyword of the event; querying a non-volatile partition for a restriction condition corresponding to the keyword; and controlling the operation of the event according to the inquired limiting condition. The invention also discloses a device for controlling the event operation, terminal equipment and a storage medium, which realize the control of the application program operation or the program playing, can effectively control the use behavior of the user, avoid the user from being excessively enthusiastic in the application program or the program, and can not cancel or repeatedly set the limiting conditions at will.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of method, apparatus of control event operation, terminal devices
And storage medium.
Background technology
With the development of science and technology, the intelligent terminals such as mobile phone, tablet computer and television set rapidly develop, and these
The function of intelligent terminal is stronger and stronger, therefore occurs more and more different application programs and amusement section on the market
Mesh, these miscellaneous application programs and program brings great convenience to people's lives and benefit still, also have very
More people are because excessively indulge in these application programs and program, it is difficult to the time to draw oneself up, to people's health, work,
Habit all brings serious damage.In the prior art, a kind of Anti-addiction method carries out application program using clocking capability
Control, when application program uses certain time length with regard to the compulsory withdrawal application program, the method for another Anti-addiction uses password
Function controls application program.
However, inventor has found in the practice of the invention, in fact, most application program or entertainment
Deng often not doing any Anti-addiction measure or limit the access right of user, and Anti-addiction method in the prior art
It can cancel or be arranged repeatedly, function performs practically no function, and is unable to reach the effect of Anti-addiction.
Invention content
In view of the above-mentioned problems, the purpose of the present invention is to provide a kind of method, apparatus of control event operation, terminal devices
And storage medium, the usage behavior of user can be controlled, user is avoided excessively to indulge in application program or amusement section
Mesh, and user cannot arbitrarily cancel or be arranged repeatedly restrictive condition.
In a first aspect, an embodiment of the present invention provides a kind of method of control event operation, include the following steps:
Detection it is current wait for run case, and obtain the keyword of the event;
Restrictive condition corresponding with the keyword is inquired in non-volatile partition;
According to the restrictive condition inquired, the operation of the event is controlled.
In the first realization method of first aspect, the detection it is current wait for run case, and obtain the thing
Before the keyword of part, further include:
Obtain the keyword for waiting for restriction event of user's addition;
It obtains set by user for the restrictive condition for waiting for restriction event;
The keyword and the restrictive condition are stored in non-volatile partition.
In second of realization method of first aspect, the restrictive condition includes the keyword for the event for allowing operation;
The restrictive condition that then basis inquires, controls the operation of the event, specially:
Judge in the restrictive condition with the presence or absence of the keyword with the keyword match of the event;
If in the presence of the operation of the event is allowed;
If being not present, forbid the operation of the event.
In the third realization method of first aspect, the restrictive condition includes event corresponding with each keyword
Limit usage time interval;
Then according to the restrictive condition inquired, the operation of the event is controlled, specially:
According to the restrictive condition corresponding with the keyword is inquired, judge whether current time is in the limit
In the limitation usage time interval of condition processed;
If so, forbidding the operation of the event;
If it is not, then allowing the operation of the event.
According to second of realization method of first aspect and the third realization method, in the 4th kind of realization side of first aspect
In formula, the restrictive condition further includes term of validity, then the method for the control event operation further includes:
When detecting that the term of validity has expired, then the restrictive condition is removed.
In the 5th kind of realization method of first aspect, the event is the program in play-back application;
What then the detection was current waits for run case, and obtains the keyword of the event, specially:
Current program to be broadcast is detected in the play-back application, and obtains the keyword of the program;
It is described to inquire restrictive condition corresponding with the keyword in non-volatile partition, specially:
According to the keyword, restrictive condition corresponding with the program is inquired in non-volatile partition;
The restrictive condition that the basis inquires, controls the operation of the event, specially:
According to the restrictive condition inquired, the broadcasting of the program is controlled in the play-back application.
Second aspect, the embodiment of the present invention additionally provide a kind of device of control event operation, including:
Keyword acquisition module for detecting the current run case that waits for, and obtains the keyword of the event;
Restrictive condition enquiry module, for inquiring restrictive condition corresponding with the keyword in non-volatile partition;
Event control module, for according to the restrictive condition inquired, controlling the operation of the event.
In the first realization method of second aspect, further include:
Keyword add module, the keyword for waiting for restriction event for obtaining user's addition;
Restrictive condition acquisition module, it is set by user for the restrictive condition for waiting for restriction event for obtaining;
Memory module, for the keyword and the restrictive condition to be stored in non-volatile partition.
The third aspect, the embodiment of the present invention additionally provide a kind of terminal device, including processor, memory and are stored in
In the memory and it is configured as the computer program executed by the processor, the processor executes the computer journey
The method that the control event operation described in above-mentioned any one is realized when sequence.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, described computer-readable to deposit
Storage media includes the computer program of storage, wherein the computer-readable storage is controlled when the computer program is run
The method that equipment where medium executes the operation of the control event described in above-mentioned any one.
A technical solution in above-mentioned technical proposal has the following advantages that:It obtains and set by user described waits for restriction event
Restrictive condition, be configured according to the actual conditions of user, it is ensured that the restrictive condition of event is that user oneself is desired,
Improve the experience sense of user;According to the restrictive condition inquired, the operation of the event is controlled, is realized to application program
The control that operation or program play, can effectively control the usage behavior of user, avoid user from excessively indulging in and answer
With program or program;Keyword and corresponding restrictive condition are stored in non-volatile partition so that user cannot be with
Restrictive condition is cancelled or be arranged repeatedly to meaning.Certainly, it implements any of the products of the present invention it is not absolutely required to while reaching above
All advantages.
Description of the drawings
In order to illustrate more clearly of technical scheme of the present invention, attached drawing needed in embodiment will be made below
Simply introduce, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, general for this field
For logical technical staff, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of flow diagram of the method for the control event operation that first embodiment of the invention provides.
Fig. 2 is a kind of flow of control event operation of the method for the control event operation that first embodiment of the invention provides
Figure.
Fig. 3 is the stream of another control event operation of the method for the control event operation that first embodiment of the invention provides
Cheng Tu.
Fig. 4 is another flow diagram of the method for the control event operation that second embodiment of the invention provides.
Fig. 5 is the flow of the control application program operation of the method for the control event operation that second embodiment of the invention provides
Figure.
Fig. 6 is a kind of structural schematic diagram of the device for the control event operation that fourth embodiment of the invention provides.
Fig. 7 is another structural schematic diagram of the device for the control event operation that fourth embodiment of the invention provides.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, first embodiment of the invention provides a kind of method of control event operation, can be set in terminal
Standby upper execution, and include the following steps:
S10 detects the current run case that waits for, and obtains the keyword of the event.
In the present embodiment, the terminal device can include but is not limited to:Desktop PC, notebook, palm electricity
All kinds of internet devices such as brain, mobile phone and television set, can install a variety of application programs on the terminal device, can also
Program is played using the terminal device.
In the present embodiment, described to wait for that run case be the application program that user is opening, the application program
It can include but is not limited to:Social networking application, reading application, multimedia application etc. easily cause the application program of user's addiction.When
So, described to wait for that run case be the program in multimedia application or play-back application, the program is electricity
Depending on entertainment or variety video etc..
As an example, when detecting that user opens the application program on its terminal device, the application program is obtained
Keyword detects that user opens some social networking application (such as social networking application is wechat) for example, working as, is opened according to user
The social networking application gets keyword (such as keyword is " wechat ") corresponding with the social networking application.
S20 inquires restrictive condition corresponding with the keyword in non-volatile partition.
In the present embodiment, the non-volatile partition is a partition holding in terminal device system, and this point
Area cannot arbitrarily be changed by ordinary user, will not be disappeared because of system software upgrading or factory reset, non-volatile
Subregion can be used for storing restrictive condition corresponding with keyword, that is, store limitation item corresponding with application program or program
Part.In the present embodiment, after terminal device acquires the keyword for waiting for run case, you can according to the keyword,
It inquires or extracts and the relevant restrictive condition of the keyword in non-volatile partition.For example, when detecting that wechat is opened
When, the keyword that acquires is " wechat ", is inquired in non-volatile partition according to keyword " wechat " corresponding with " wechat "
Restrictive condition.
S30 controls the operation of the event according to the restrictive condition inquired.
It in the present embodiment, can be to the event according to the concrete restriction content in the restrictive condition inquired
Operation controlled, such as allow or forbid the operation of the event.As an example, the restrictive condition contains the pass
The intraday of the corresponding application program of key word uses duration, for example, the corresponding restrictive condition of keyword " wechat " is in one day
Use when it is 2 hours a length of, when detect user open wechat when, start timing, when timing duration reaches 2 hours, then
Prompt user has been expired using duration, and exits wechat.It is understood that the operation for forbidding the event, can be to use
The event cannot be opened or be started in family, or positive closing or the event be exited when user opens the event, in this reality
It applies in example and is not specifically limited.
In a kind of realization method of the present embodiment, the restrictive condition includes the keyword for the event for allowing operation;Then
The restrictive condition that the basis inquires, controls the operation of the event, specially:
Judge in the restrictive condition with the presence or absence of the keyword with the keyword match of the event;
If in the presence of the operation of the event is allowed;
If being not present, forbid the operation of the event.
In the present embodiment, the restrictive condition includes the keyword for the event for allowing operation, herein, if current to be shipped
Keyword in the keyword of capable event and corresponding restrictive condition matches, then the event can with normal operation, if
There is unmatched situation, then the event can be prohibited to run, and in the present embodiment, only allow operation and the pass in restrictive condition
The event that key word matches.In the present embodiment, referring to Fig. 2, as an example, include in the restrictive condition allows to run
Event keyword be " wechat " and " microblogging ", when detect user open wechat apply event when, acquire the thing
The keyword of part is " wechat ", due to including the keyword with the event matches, i.e. " wechat " in the restrictive condition, therefore
User normally can open and use wechat application, it is to be understood that when user opens microblogging in application, also can normally make
It with microblogging application, and when user opens other applications, such as plays, then cannot normally start the game, or can be strong
System exits.
Above-mentioned realization method in the present embodiment is described with a concrete instance below:Student indulges in order to prevent
Entertainment applications cause to delay study, can be on the terminal device (such as student's tablet or Student computer) of student, to student's
Application program on terminal device is limited, for example, the application about study that will be used suitable for student on the terminal device
Program (hereinafter referred to as learning application program) is positioned to allow for the event of operation, i.e., the keyword for including in the described restrictive condition with
The keyword of above-mentioned study application program matches, therefore student can normally start on the terminal device and use above-mentioned
Application program is practised, and cannot normally start or install other applications (such as game application), so that parent can be with
Limitation student achievees the purpose that Anti-addiction to the access right of application program well.It is of course also possible to in multimedia application
Program limited, such as limitation student polyhedron application above can only play and watch study video or be beneficial to study
Program, and other unfavorable entertainments cannot be played.
In another realization method of the present embodiment, the restrictive condition includes event corresponding with each keyword
Limit usage time interval;Then according to the restrictive condition inquired, the operation of the event is controlled, specially:
According to the restrictive condition corresponding with the keyword is inquired, judge whether current time is in the limit
In the limitation usage time interval of condition processed;
If so, forbidding the operation of the event;
If it is not, then allowing the operation of the event.
In the present embodiment, the current time can be the time of the clock display on the terminal device, but unlimited
In this.The restrictive condition includes the limitation usage time interval of event corresponding with each keyword, it is to be understood that non-
The keyword of one or more event and corresponding restrictive condition, each confined thing can be stored in volatile partition
The corresponding limitation usage time interval of part can be the same or different, and certainly, the limitation in a confined event uses
Period can also include multiple periods, and the limitation usage time interval can be certain a few minutes or a few small in one day
When, it might even be possible to whole day is set 24 hours.In the present embodiment, referring to Fig. 3, as an example, when user opens application program
When, the terminal device needs to inquire corresponding limitation item in non-volatile partition according to the keyword of the application program
Part, and current time is judged whether in the limitation usage time interval in the restrictive condition, if judging to obtain current time
It in the limitation usage time interval, then reminds user and exits the application program, otherwise, user normally can open and use
The application program.
Above-mentioned realization method in the present embodiment is described with a concrete instance below:In order to avoid user is resting
Time plays mobile phone for a long time, can (such as social networking application, game application, video are answered by the application program for easily causing addiction
With etc.) limitation usage time interval be set as 13:00-14:00 (lunch break) and 22:00-6:00 (sleeping at night time), because
This, within the two periods, the above-mentioned application program being set be unusable state, i.e., the application program can not start and
May not operate, to be effectively prevented user for a long time indulge in mobile phone and influence user rest.
In the present embodiment, the restrictive condition is stored in non-volatile partition, and user cannot be to the restrictive condition
It modifies and cancels, when need not event be limited or be controlled, need to remove corresponding restrictive condition, therefore,
One term of validity can be set in the present embodiment in the restrictive condition, and work as and detect that the term of validity has arrived
Phase then removes the restrictive condition.As an example, when detecting that user opens an application program, wherein apply journey with this
The term of validity of limitation usage time interval and the limitation usage time interval is contained in the corresponding restrictive condition of sequence, is obtained user and is beaten
The current time for opening the application program, by current time and the restrictive condition carry out it is relevant compare, when judging that the limitation uses
Between section whether within the term of validity, that is, the restrictive condition is judged whether within term of validity, if the restrictive condition is not having
It imitates in the time limit, then the application program can be opened normally;If the restrictive condition within term of validity, judges that current time is
No to be in the limitation usage time interval, if so, limiting the operation of the application program, i.e., the application program cannot be transported normally
Row.It should be noted that when judging that the restrictive condition not within term of validity, that is, detects that the term of validity has arrived
Phase then removes the restrictive condition, and after removing the restrictive condition, event corresponding with the restrictive condition then will not be by the limitation item
Part is limited.
In conclusion according to the restrictive condition inquired, the operation of the event is controlled, realizes and application program is transported
The control that row or program play, can effectively control the usage behavior of user, user is avoided excessively to indulge in application
Program or program;Keyword and corresponding restrictive condition are stored in non-volatile partition so that user cannot be random
Cancel or be arranged repeatedly restrictive condition so that be not in the case where restrictive condition is closed or cancelled by user, to help
User is helped to improve autocontrol force.
Second embodiment of the invention:
On the basis of one embodiment, figure N is please referred to, before S10, further includes:
S101 obtains the keyword for waiting for restriction event of user's addition;
S102 is obtained set by user for the restrictive condition for waiting for restriction event;
The keyword and the restrictive condition are stored in non-volatile partition by S103.
In the present embodiment, the restrictive condition of each event can be set by user oneself, thus can be ensured to this
The limitation of event is that user oneself is desired, herein, user can previously according to actual conditions to the restrictive condition of event into
Row limitation.As an example it is supposed that user needs to limit an event, user is prompted to input the name for the event to be limited
Claim, herein, can provide and match whole word only or fuzzy matching, to be somebody's turn to do according to the name acquiring of event input by user
Then the keyword of event prompts user to input the restrictive condition of the event, such as inputs the limitation usage time interval of the event
And term of validity, herein, the period segment of the limitation usage time interval can also be arranged in user, for example may be configured as every
One day a certain segment may be set to be some day or a few days, can be as the case may be configured by user.When obtaining
It, will be in the corresponding keyword of the event and restrictive condition storage to non-volatile partition after the restrictive condition for obtaining the event
(non-volatile data partition), the subregion will not be eliminated or wipe when upgrading software and factory reset
It removes, so that user to the restrictive condition saved cannot arbitrarily change or cancel.
For the ease of the understanding to the present embodiment, the present embodiment is described with a concrete instance below:It please refers to
Fig. 5, such as in common android system, the function that can will control application program operation are placed in setting list, when with
When family uses the function, i.e., user needs to limit application program, and user is prompted to input the name for the application program to be limited
Claim, herein, can provide and match whole word only or fuzzy matching, to be obtained according to the name of application program input by user
To the keyword of the application program, user is then prompted to input the restrictive condition of the application program, for example, prompt user's input should
The limitation usage time interval that application program cannot be opened, such as the limitation usage time interval is the 23 of every day:00-24:00,
Finally prompt user inputs term of validity of the limitation usage time interval, such as on December 31st, 2018, when user setting it is good this
After a little information, system alert " whether in this way, cannot cancel within term of validity after setting ", and pop up confirmation or take
The selection window to disappear is selected for user, after user confirms, is then used the corresponding keyword of the application program, limitation
To (non-volatile data partition) in non-volatile partition, which is rising for period and term of validity storage
It will not be eliminated or wipe when grade software and factory reset.In the present embodiment, since application program can be all inherited from
The activity.java of system or oncreate () method in service.java, and application program is all when opening
It is created by oncreate () method, so being added to the run-limiting of application program in oncreate () method corresponding
Judgement;When detecting that user opens an application program, inquires the restrictive condition of the application program and extract, then
This application program is judged whether in the term of validity in defining application list, while whether confirming current opening time
In limitation usage time interval, if there is no limit just normally open the application program, otherwise system pops up the application program
The prompt opened by limitation in the limitation usage time interval.
By the above-mentioned means, the restrictive condition for waiting for restriction event set by user is obtained, according to the practical feelings of user
Condition is configured, and operating process is simple and convenient, and can ensure that the restrictive condition of event is that user oneself is desired, is improved
The experience sense of user.
Third embodiment of the invention:
On the basis of one embodiment, further include:The event is the program in play-back application;
What then the detection was current waits for run case, and obtains the keyword of the event, specially:
Current program to be broadcast is detected in the play-back application, and obtains the keyword of the program;
It is described to inquire restrictive condition corresponding with the keyword in non-volatile partition, specially:
According to the keyword, restrictive condition corresponding with the program is inquired in non-volatile partition;
The restrictive condition that the basis inquires, controls the operation of the event, specially:
According to the restrictive condition inquired, the broadcasting of the program is controlled in the play-back application.
In the present embodiment, the event can also be the program of play-back application, and the play-back application can be with
For multimedia application, such as music application, Video Applications etc., herein, user equally can be to being limited
Program is configured in advance, is not repeated in the present embodiment, the limitation item corresponding with program to be broadcast obtained according to inquiry
Part controls the broadcasting of the program in the play-back application.For the ease of the understanding to the present embodiment, below with
The present embodiment is described in one concrete instance:In the present embodiment, modification is needed to play the broadcasting application journey of corresponding program
Play () method of sequence, when detecting that user opens some program in the play-back application, in the broadcasting application journey
The correspondence programme information of the program is identified in sequence, obtains the keyword of the program, it, will be non-volatile according to the keyword
Limit programme informations in property subregion (NV data partition) take out (LoadData (NV)), and carry out relevant ratio
It is right;Assuming that restrictive condition corresponding with the program includes broadcasting limiting time and the term of validity of the program, then basis is needed
Current play time, while term of validity and broadcasting limiting time are judged, if all matched, pop-up prompt is reminded
User's actual program cannot be played in present period, otherwise normal play program.
By above-mentioned, by limiting the broadcasting of the program in play-back application, user can be effectively prevented from
The entertainment in play-back application is excessively indulged in, and the program that some are easy to addiction can be directed to and limited, from
Other programs are watched without influencing user.
Referring to Fig. 6, fourth embodiment of the invention additionally provides a kind of device of control event operation, including:
Keyword acquisition module 10 for detecting the current run case that waits for, and obtains the keyword of the event;
Restrictive condition enquiry module 20, for inquiring restrictive condition corresponding with the keyword in non-volatile partition;
Event control module 30, for according to the restrictive condition inquired, controlling the operation of the event.
Further, referring to Fig. 7, further including:
Keyword add module 101, the keyword for waiting for restriction event for obtaining user's addition;
Restrictive condition acquisition module 102, it is set by user for the restrictive condition for waiting for restriction event for obtaining;
Memory module 103, for the keyword and the restrictive condition to be stored in non-volatile partition.
Preferably, the restrictive condition includes the keyword for the event for allowing operation;
Then event control module 30, specially:
Keyword judging unit whether there is and the keyword match of the event for judging in the restrictive condition
Keyword;
First allows unit, if in the presence of allowing the operation of the event;
First forbids unit, if for being not present, forbids the operation of the event.
Preferably, the restrictive condition includes the limitation usage time interval of event corresponding with each keyword;
Then event control module 30, specially:
Current time judging unit, for according to the restrictive condition corresponding with the keyword inquired, judging
Whether current time is in the limitation usage time interval of the restrictive condition;
Second forbids unit, for if so, forbidding the operation of the event;
Second allows unit, for if it is not, then allowing the operation of the event.
Further, the restrictive condition further includes term of validity, then the device of the control event operation further includes:
Restrictive condition limits module, for when detecting that the term of validity has expired, then removing the restrictive condition.
Preferably, the event is the program in play-back application;
Then keyword acquisition module 10, specially:
Program key word acquiring unit for detecting current program to be broadcast in the play-back application, and obtains
Take the keyword of the program;
The restrictive condition enquiry module 20, specially:
Program restrictive condition query unit, for according to the keyword, being inquired and the section in non-volatile partition
The corresponding restrictive condition of mesh.
The event control module 30, specially:
TV program control unit, for according to the restrictive condition inquired, institute to be controlled in the play-back application
State the broadcasting of program.
Fifth embodiment of the invention additionally provides a kind of terminal device of control event operation.The control event of the embodiment
The terminal device of operation includes:It processor, display, memory and is stored in the memory and can be in the processor
The computer program of upper operation, such as control the program of event operation.The processor is realized when executing the computer program
Step in the embodiment of the method for above-mentioned each control event operation, such as step S10 shown in FIG. 1.Alternatively, the processing
Device realizes the function of each unit in above-mentioned each device embodiment, such as keyword shown in fig. 6 when executing the computer program
Acquisition module 10.
Illustratively, the computer program can be divided into one or more modules, one or more of moulds
Block is stored in the memory, and is executed by the processor, to complete the present invention.One or more of modules can be with
It is the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing the computer program in institute
State the implementation procedure in the terminal device of control event operation.
The terminal device of the control event operation can be desktop PC, notebook, palm PC and high in the clouds clothes
The computing devices such as business device.The terminal device of the control event operation may include, but be not limited only to, processor, memory, display
Device.It will be understood by those skilled in the art that the schematic diagram is only the example of the terminal device of control event operation, not structure
The restriction of the terminal device of control event operation in pairs may include components more more or fewer than diagram, or combine certain
Component or different components, such as the terminal device of control event operation can also include input-output equipment, network
Access device, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
It is the control centre of the terminal device of the control event operation Deng, the processor, it is whole using various interfaces and connection
The various pieces of the terminal device of a control event operation.
The memory can be used for storing the computer program and/or module, and the processor is by running or executing
Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization
The various functions of the terminal device of control event operation.The memory can include mainly storing program area and storage data field,
Wherein, storing program area can storage program area, application program (such as sound-playing function, text needed at least one function
Word conversion function etc.) etc.;Storage data field can be stored uses created data (such as audio data, word according to mobile phone
Message data etc.) etc..In addition, memory may include high-speed random access memory, can also include nonvolatile memory,
Such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatibility are solid
State memory device.
Wherein, if the module that the terminal device of control event operation integrates is realized in the form of SFU software functional unit
And when sold or used as an independent product, it can be stored in a computer read/write memory medium.Based on such
Understand, the present invention realizes all or part of flow in above-described embodiment method, can also instruct phase by computer program
The hardware of pass is completed, and the computer program can be stored in a computer readable storage medium, the computer program
When being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer
Program code, the computer program code can be source code form, object identification code form, executable file or certain centres
Form etc..The computer-readable medium may include:Can carry the computer program code any entity or device,
Recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software
Distribution medium etc..It should be noted that the content that the computer-readable medium includes can be according to making laws in jurisdiction
Requirement with patent practice carries out increase and decrease appropriate, such as in certain jurisdictions, according to legislation and patent practice, computer
Readable medium does not include electric carrier signal and telecommunication signal.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separating component
The unit of explanation may or may not be physically separated, and the component shown as unit can be or can also
It is not physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of module therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention
In embodiment attached drawing, the connection relation between module indicates there is communication connection between them, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, you can to understand
And implement.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (10)
1. a kind of method of control event operation, which is characterized in that including:
Detection it is current wait for run case, and obtain the keyword of the event;
Restrictive condition corresponding with the keyword is inquired in non-volatile partition;
According to the restrictive condition inquired, the operation of the event is controlled.
2. the method for control event according to claim 1 operation, which is characterized in that the detection it is current wait running
Event, and before obtaining the keyword of the event, further include:
Obtain the keyword for waiting for restriction event of user's addition;
It obtains set by user for the restrictive condition for waiting for restriction event;
The keyword and the restrictive condition are stored in non-volatile partition.
3. the method for control event operation according to claim 1, which is characterized in that the restrictive condition includes allowing to transport
The keyword of capable event;
The restrictive condition that then basis inquires, controls the operation of the event, specially:
Judge in the restrictive condition with the presence or absence of the keyword with the keyword match of the event;
If in the presence of the operation of the event is allowed;
If being not present, forbid the operation of the event.
4. the method for control event according to claim 1 operation, which is characterized in that the restrictive condition include with it is each
The limitation usage time interval of the corresponding event of keyword;
Then according to the restrictive condition inquired, the operation of the event is controlled, specially:
According to the restrictive condition corresponding with the keyword is inquired, judge whether current time is in the limitation item
In the limitation usage time interval of part;
If so, forbidding the operation of the event;
If it is not, then allowing the operation of the event.
5. the method for control event according to claim 3 or 4 operation, which is characterized in that the restrictive condition further includes
Term of validity, the then method that the control event is run further include:
When detecting that the term of validity has expired, then the restrictive condition is removed.
6. the method for control event operation according to claim 1, which is characterized in that the event is play-back application
On program;
What then the detection was current waits for run case, and obtains the keyword of the event, specially:
Current program to be broadcast is detected in the play-back application, and obtains the keyword of the program;
It is described to inquire restrictive condition corresponding with the keyword in non-volatile partition, specially:
According to the keyword, restrictive condition corresponding with the program is inquired in non-volatile partition;
The restrictive condition that the basis inquires, controls the operation of the event, specially:
According to the restrictive condition inquired, the broadcasting of the program is controlled in the play-back application.
7. a kind of device of control event operation, which is characterized in that including:
Keyword acquisition module for detecting the current run case that waits for, and obtains the keyword of the event;
Restrictive condition enquiry module, for inquiring restrictive condition corresponding with the keyword in non-volatile partition;
Event control module, for according to the restrictive condition inquired, controlling the operation of the event.
8. the device of control event operation according to claim 7, which is characterized in that further include:
Keyword add module, the keyword for waiting for restriction event for obtaining user's addition;
Restrictive condition acquisition module, it is set by user for the restrictive condition for waiting for restriction event for obtaining;
Memory module, for the keyword and the restrictive condition to be stored in non-volatile partition.
9. a kind of terminal device, which is characterized in that including processor, memory and be stored in the memory and be configured
For the computer program executed by the processor, the processor realizes such as claim 1 when executing the computer program
To the method for the control event operation described in any one of 6.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage
Machine program, wherein equipment where controlling the computer readable storage medium when the computer program is run is executed as weighed
Profit requires the method that the control event described in any one of 1 to 6 is run.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810262896.9A CN108717377A (en) | 2018-03-27 | 2018-03-27 | Method and device for controlling event operation, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810262896.9A CN108717377A (en) | 2018-03-27 | 2018-03-27 | Method and device for controlling event operation, terminal equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108717377A true CN108717377A (en) | 2018-10-30 |
Family
ID=63898906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810262896.9A Pending CN108717377A (en) | 2018-03-27 | 2018-03-27 | Method and device for controlling event operation, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108717377A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102946482A (en) * | 2012-11-15 | 2013-02-27 | 北京小米科技有限责任公司 | Method for detecting user terminal and user terminal |
CN103079113A (en) * | 2011-10-26 | 2013-05-01 | 康佳集团股份有限公司 | Smart television with time-limited application program and control method thereof |
CN103650466A (en) * | 2011-07-13 | 2014-03-19 | 高通股份有限公司 | Intelligent parental controls for wireless devices |
CN105979325A (en) * | 2016-06-02 | 2016-09-28 | 乐视控股(北京)有限公司 | Addiction prevention method and device |
CN106598676A (en) * | 2016-12-19 | 2017-04-26 | 广东欧珀移动通信有限公司 | Application management method and apparatus, and terminal device |
US20170134906A1 (en) * | 2015-11-10 | 2017-05-11 | At&T Intellectual Property I, L.P. | Mobile application and device feature regulation based on profile data |
CN107437023A (en) * | 2017-06-23 | 2017-12-05 | 珠海格力电器股份有限公司 | Control method and control device for terminal application and mobile terminal |
-
2018
- 2018-03-27 CN CN201810262896.9A patent/CN108717377A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103650466A (en) * | 2011-07-13 | 2014-03-19 | 高通股份有限公司 | Intelligent parental controls for wireless devices |
CN103079113A (en) * | 2011-10-26 | 2013-05-01 | 康佳集团股份有限公司 | Smart television with time-limited application program and control method thereof |
CN102946482A (en) * | 2012-11-15 | 2013-02-27 | 北京小米科技有限责任公司 | Method for detecting user terminal and user terminal |
US20170134906A1 (en) * | 2015-11-10 | 2017-05-11 | At&T Intellectual Property I, L.P. | Mobile application and device feature regulation based on profile data |
CN105979325A (en) * | 2016-06-02 | 2016-09-28 | 乐视控股(北京)有限公司 | Addiction prevention method and device |
CN106598676A (en) * | 2016-12-19 | 2017-04-26 | 广东欧珀移动通信有限公司 | Application management method and apparatus, and terminal device |
CN107437023A (en) * | 2017-06-23 | 2017-12-05 | 珠海格力电器股份有限公司 | Control method and control device for terminal application and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109271768B (en) | Distribution information management method, distribution information management device, storage medium and terminal | |
CN106446670B (en) | Application program management method and device and electronic equipment | |
CN108737636B (en) | Message reminding method and device and electronic equipment | |
CN107613404A (en) | Video broadcasting method, device and terminal | |
CN106713954B (en) | Video live broadcast starting reminding method and device | |
CN103577229A (en) | Loading method of web games and web browser | |
CN110297724A (en) | Embedded software house dog design method, device, equipment and storage medium | |
CN109672724B (en) | Information pushing method, device and equipment | |
CN109248438B (en) | Task project management method, device, storage medium and mobile terminal | |
CN108513171A (en) | Terminal content control method, device and equipment and readable storage medium | |
CN103019676A (en) | Software management method and system | |
CN109522482B (en) | Game application classification page display method and device, storage medium and terminal | |
CN109492152A (en) | Push method, apparatus, computer equipment and the storage medium of customized content | |
CN106126993A (en) | A kind of application controls method and terminal | |
CN103019677A (en) | Method and device for software management | |
CN107515765B (en) | Alarm turn-off method, system and terminal equipment | |
CN108124196A (en) | Method, device and equipment for filtering television content and readable storage medium | |
CN107247539A (en) | A kind of information displaying method and device, computer installation and readable storage medium storing program for executing | |
CN103646169A (en) | Reminding method and reminding device for games | |
CN107526503A (en) | Terminal operation method and device, computer installation and computer-readable recording medium | |
CN108717377A (en) | Method and device for controlling event operation, terminal equipment and storage medium | |
CN108540858A (en) | Method, device and equipment for preventing user from indulging television program | |
CN111984349A (en) | Information display method and device and electronic equipment | |
CN107979529B (en) | Information processing method, information processing apparatus, computer apparatus, and computer-readable storage medium | |
CN106201233A (en) | Scene is prescribed a time limit the screen display method of card 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181030 |
|
RJ01 | Rejection of invention patent application after publication |