Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and apparatus for controlling the start of an application.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for controlling application program startup, the method including:
when the current time belongs to a prohibited time interval for prohibiting the starting of the target application program, sending request starting information to a terminal of a preset contact person, wherein the request starting information is used for requesting the preset contact person to start the target application program;
receiving reply information returned by the terminal of the preset contact person, wherein the reply information is used for indicating whether the target application program is allowed to be started or not;
and starting the target application program or forbidding the target application program to be started according to the indication of the reply message.
Optionally, before sending the request start information to the terminal of the predetermined contact, the method further includes:
receiving a starting request for starting a target application program;
responding to the starting request, and judging whether the current time belongs to the forbidden time interval or not;
starting the target application when it is determined that the current time is not the prohibited period;
prohibiting the target application from starting when it is determined that the current time is the prohibited period.
Optionally, the method further includes:
receiving input verification information, wherein the verification information is used for entering a setting page;
performing authentication verification according to the verification information;
entering the setting page after the verification information passes the authentication verification;
receiving time period setting information of the target application at the setting page, wherein the time period setting information is used for setting the forbidden time period for the target application program;
setting the period indicated by the period setting information as the prohibition period.
Optionally, the reply information includes the start permission instruction and the operation permission period, and the reply information includes:
a start permission instruction for indicating that the target application is permitted to start, and a run permission period during which the target application is permitted to run; or,
and a start prohibition instruction for indicating prohibition of starting the target application program.
Optionally, the starting the target application or prohibiting the starting of the target application according to the indication of the reply message includes:
in response to the start-permitting instruction, marking the target application program as start-permitting;
outputting prompt information allowing the target application program to be started to a user;
receiving a starting request for starting the target application program;
and responding to the starting request, and starting the target application program.
Optionally, the starting the target application or prohibiting the starting of the target application according to the indication of the reply information further includes:
detecting whether the current time exceeds the allowed operation period;
when detecting whether the current time exceeds the operation permission period, judging whether the current time belongs to the prohibition period;
when the current time exceeds the allowed operation period and the current time belongs to the prohibited period, marking the target application program as prohibited to be started;
receiving a starting request for starting the target application program;
and refusing to start the target application program in response to the starting request.
Optionally, the method further includes:
when the current time belongs to an allowed time period allowing the target application program to be started, forbidding indication information sent by the terminal of the preset contact person is received, wherein the forbidding indication information is used for indicating that the target application program is forbidden to be started;
marking the target application as prohibited to start in response to the prohibition indication information;
receiving a starting request for starting the target application program;
and refusing to start the target application program in response to the starting request.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling application program startup, the method including:
receiving request starting information sent by a terminal, wherein the request starting information is used for requesting a preset contact person to start a target application program in a prohibited time period for prohibiting the target application program from being started;
and sending reply information to the terminal, wherein the reply information is used for indicating whether the target application program is allowed to be started or not.
Optionally, the reply message includes:
a start permission instruction for indicating that the target application is permitted to start, and a usage permission period; or,
and a start prohibition instruction for indicating prohibition of starting the target application program.
Optionally, the method further includes:
and transmitting prohibition indication information to the terminal in a permission period for permitting the target application program to start, wherein the prohibition indication information is used for indicating that the target application program is prohibited from starting.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling application program startup, the apparatus including:
the request module is configured to send request starting information to a terminal of a preset contact person when the current time belongs to a prohibition period for prohibiting starting of a target application program, wherein the request starting information is used for requesting the preset contact person to start the target application program;
the information management module is configured to receive reply information returned by the terminal of the preset contact person, wherein the reply information is used for indicating whether the target application program is allowed to start or not;
and the starting control module is configured to start the target application program or prohibit the target application program from starting according to the indication of the reply message.
Optionally, the apparatus further comprises: the device comprises a request receiving module and a judging module;
the request receiving module is configured to receive a starting request for starting a target application program before the request starting information is sent to the terminal of the preset contact person;
the judging module is configured to respond to the starting request and judge whether the current time belongs to the prohibited time period;
the launch control module configured to launch the target application when it is determined that the current time is not the prohibited period;
the launch control module is configured to prohibit the target application from launching when it is determined that the current time is the prohibition period.
Optionally, the apparatus further comprises: the device comprises a verification information input module, a verification module and a setting module;
the verification information input module is configured to receive input verification information, and the verification information is used for entering a setting page;
the verification module is configured to perform authentication verification according to the verification information;
the setting module is configured to enter the setting page after the verification information passes the authentication verification;
the setting module is configured to receive time period setting information of the target application in the setting page, wherein the time period setting information is used for setting the prohibition time period for the target application program;
the setting module is configured to set the period indicated by the period setting information as the prohibition period.
Optionally, the reply message includes:
a start permission instruction for indicating that the target application is permitted to start, and a run permission period during which the target application is permitted to run; or,
and a start prohibition instruction for indicating prohibition of starting the target application program.
Optionally, the reply information includes the start permission instruction and the operation permission period, and the start control module includes: the system comprises a marking submodule, a prompting submodule, a receiving submodule and a promoter module;
the marking submodule is configured to mark the target application program as the start permission in response to the start permission instruction;
the prompt submodule is configured to output prompt information allowing the target application program to be started to a user;
the receiving submodule is configured to receive a starting request for starting the target application program;
the starting sub-module is configured to respond to the starting request and start the target application program.
Optionally, the start control module further includes: the detection submodule, the judgment submodule and the start prohibition submodule;
the detection submodule is configured to detect whether the current time exceeds the allowed operation period;
the judging submodule is configured to judge whether the current time belongs to the prohibited time period when detecting whether the current time exceeds the allowed operation time period;
the marking submodule is configured to mark the target application program as prohibited to be started when the current time exceeds the allowed operation time period and the current time belongs to the prohibited time period;
the receiving submodule is configured to receive a starting request for starting the target application program;
the start prohibition submodule is configured to refuse to start the target application program in response to the start request.
Optionally, the apparatus further comprises: the device comprises a receiving module and a request receiving module;
the receiving module is configured to receive prohibition indication information sent by the terminal of the predetermined contact person when the current time belongs to a permission period for permitting the target application program to be started, wherein the prohibition indication information is used for indicating that the target application program is prohibited from being started;
the starting control module is configured to mark the target application as starting prohibition;
the request receiving module is configured to receive a starting request for starting the target application program;
the launch control module is configured to refuse to launch the target application in response to the launch request.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling application program startup, the apparatus including:
the terminal comprises a receiving module, a starting request module and a starting control module, wherein the receiving module is configured to receive starting request information sent by the terminal, and the starting request information is used for requesting a preset contact person to start a target application program in a prohibited time period for prohibiting the target application program from being started;
a sending module configured to send a reply message back to the terminal, the reply message indicating whether the target application is allowed to start.
Optionally, the reply message includes:
a start permission instruction for indicating that the target application is permitted to start, and a usage permission period; or,
and a start prohibition instruction for indicating prohibition of starting the target application program.
Optionally, the sending module is configured to send prohibition indication information to the terminal during a permission period in which the target application is permitted to be started, where the prohibition indication information is used to indicate that the target application is prohibited from being started.
According to a fifth aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling application program startup, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the current time belongs to a prohibited time interval for prohibiting the starting of the target application program, sending request starting information to a terminal of a preset contact person, wherein the request starting information is used for requesting the preset contact person to start the target application program;
receiving reply information returned by the terminal of the preset contact person, wherein the reply information is used for indicating whether the target application program is allowed to be started or not;
and starting the target application program or forbidding the target application program to be started according to the indication of the reply message.
According to a sixth aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling application program start, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving request starting information sent by a terminal, wherein the request starting information is used for requesting a preset contact person to start a target application program in a prohibited time period for prohibiting the target application program from being started;
and sending reply information to the terminal, wherein the reply information is used for indicating whether the target application program is allowed to be started or not.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method and the device for controlling the starting of the application program, when the current time belongs to the prohibited time period for prohibiting the starting of the target application program, request starting information is sent to a terminal of a preset contact person, and the request starting information is used for requesting the preset contact person to start the target application program; receiving reply information returned by the terminal of the preset contact person, wherein the reply information is used for indicating whether the target application program is allowed to be started or not; and starting the target application program or forbidding the target application program to be started according to the indication of the reply message. The method and the device can control the user to forbid using the application program in the preset time period, and the user can control the opening of the application program only through the preset contact person in the forbidden time period, so that the problem that the user cannot control the using time of the terminal to be too long is solved, and the effect of reasonably arranging the using time of the terminal is achieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Before describing the method for controlling application program start provided by the present disclosure, an application scenario related to the present disclosure is first described, and fig. 1 is a schematic diagram of an implementation environment related to various embodiments of the present disclosure. Referring to fig. 1, the implementation environment may include: at least two terminals, which are taken as an example in this embodiment, may be the terminal 100 and the terminal 200, respectively, where the terminal 200 is a terminal used by a predetermined contact stored in the terminal 100, and the predetermined contact may use the terminal 200 to communicate with the terminal 100, and control the start or the prohibition of each application on the terminal 100 through information interaction.
The terminal 100 and the terminal 200 may be a smart phone, a tablet computer, a smart tv, a smart watch, a PDA (personal digital assistant), a portable computer, a desktop computer, and the like.
Fig. 2 is a flowchart illustrating a method for controlling application startup according to an exemplary embodiment, where as shown in fig. 2, the present embodiment is illustrated by applying the method for controlling application startup to a terminal, where the terminal may be the terminal 100 in the implementation environment shown in fig. 1. Referring to fig. 2, the method may include the following steps:
in step S201, when the current time belongs to a prohibited time period in which starting of the target application is prohibited, start request information is sent to a terminal of a predetermined contact, where the start request information is used to request the predetermined contact to start the target application.
In step S202, a reply message returned by the terminal of the predetermined contact is received, where the reply message is used to indicate whether to allow the target application to start.
In step S203, the target application is started or prohibited from being started according to the indication of the reply message.
In summary, according to the method for controlling application startup provided by the embodiment of the present disclosure, when the current time belongs to the prohibited time period for prohibiting the target application from being started, request startup information is sent to a terminal of a predetermined contact, where the request startup information is used to request the predetermined contact to start the target application; receiving reply information returned by the terminal of the preset contact person, wherein the reply information is used for indicating whether the target application program is allowed to be started or not; and starting the target application program or forbidding the target application program to be started according to the indication of the reply message. The method and the device can control the user to forbid using the application program in the preset time period, and the user can control the opening of the application program only through the preset contact person in the forbidden time period, so that the problem that the user cannot control the using time of the terminal to be too long is solved, and the effect of reasonably arranging the using time of the terminal is achieved.
Fig. 3 is a flowchart illustrating another method for controlling application startup according to an exemplary embodiment, where as shown in fig. 3, the present embodiment is illustrated by applying the method for controlling application startup to a terminal, where the terminal may be the terminal 200 in the implementation environment shown in fig. 1. Referring to fig. 3, the method may include the following steps:
in step 301, request start information sent by a terminal is received, where the request start information is used to request a predetermined contact to start a target application in a prohibited period in which the start of the target application is prohibited.
In step 302, a reply message is sent back to the terminal, where the reply message is used to indicate whether the target application is allowed to start.
In summary, in the method for controlling application program start provided by the embodiment of the present disclosure, request start information sent by a terminal is received, where the request start information is used to request a predetermined contact to start a target application program in a prohibited time period in which the target application program is prohibited from being started; and sending reply information to the terminal, wherein the reply information is used for indicating whether the target application program is allowed to be started or not. The method and the device can control the user to forbid using the application program in the preset time period, and the user can control the opening of the application program only through the preset contact person in the forbidden time period, so that the problem that the user cannot control the using time of the terminal to be too long is solved, and the effect of reasonably arranging the using time of the terminal is achieved.
Fig. 4A is a flowchart illustrating another method for controlling application startup according to another exemplary embodiment, and as shown in fig. 4A, this embodiment is described by taking as an example that the method for controlling application startup is applied to the implementation environment shown in fig. 1. Referring to fig. 4A, the method may include the following steps:
in step 401, a launch request to launch a target application is received.
For example, receiving a launch request for launching the target application may be receiving a launch request generated by a user triggered by clicking an icon of the target application.
In step 402, in response to the start request, it is determined whether the current time belongs to a prohibited period in which the start of the target application is prohibited.
When it is determined that the current time is not the prohibited period, performing step 403; when it is determined that the current time is the prohibited period, step 404 is performed.
In addition, regarding the setting of the prohibition period, for example, a corresponding prohibition period may be set in the system setting for each application program, and the prohibition period of each application program may be the same or different. Each application is prohibited from starting during a prohibition period of the application. For example, the prohibited time periods of all the applications can be uniformly set to 22:30-06:00, or can be individually set for different users, or can be set for different application types, for example, the prohibited time periods of the video application "AA video" can be set to 22:30-06:00, so that the situation that the user has a rest due to watching the video late at night can be avoided, the prohibited time periods of the game a can be set to 8:00-18:00 on monday through friday and 23:00-8:00 on saturday, and the start of the game a is prohibited in the time periods, so that the user cannot start the game a during the working time of the working day and the work is avoided being influenced, and the game a cannot be started at 23:00-8:00 on the weekend, so that the user is prevented from sinking in the game and the rest is influenced.
Optionally, in order to prevent the user from being unable to modify the setting after the setting of the prohibited time period is completed, a verification process may be added to the setting page entering the prohibited time period, where the verification process includes, but is not limited to, fingerprint identification verification, voice identification verification, password verification, short message verification code identification, and the like.
Illustratively, fig. 4B is a flowchart of a verification method of an entry setting page shown in the exemplary embodiment of fig. 4A, and referring to fig. 4B, the method may include:
in step 4021, input authentication information is received, the authentication information being used to enter a settings page.
For example, fingerprints of a predetermined contact can be pre-entered as a verified certificate, when a user wants to set or change a prohibited time period of any application program, fingerprint identification needs to be performed by the predetermined contact, and after the identification is passed, a setting page of the prohibited time period can be accessed for relevant setting.
Therefore, the above-mentioned receiving of the input authentication information may be receiving of a fingerprint acquired by the user by placing a finger on the fingerprint acquisition module.
In step 4022, authentication verification is performed according to the verification information.
The authentication verification process may be, for example: matching the fingerprint received in the step 4021 with a fingerprint input in advance, and performing the steps 4023 to 4025 through verification when the received fingerprint is successfully matched with the fingerprint input in advance; otherwise, the verification fails and the access to the setting page is refused.
In step 4023, the setup page is entered.
In step 4024, receiving, on the setting page, time period setting information of the target application, the time period setting information being used to set the prohibited time period for the target application program.
Wherein, the period setting information of the target application can be h1h1:m1m1~h2h2:m2m2For example 22:30-06:00, further, different periods on different days may be additionally set, for example, different prohibited periods may be set on weekdays and weekends, respectively, for the same application.
In step 4025, the period indicated by the period setting information is set as the prohibited period.
In step 403, the target application is prohibited from launching.
For example, while the target application program is prohibited from starting, a prompt message that the target application program cannot be started in the current time period can be displayed to the user.
In step 404, request start information is sent to a terminal of a predetermined contact person, where the request start information is used to request the predetermined contact person to start the target application program.
For example, the contact information of the predetermined contact is pre-stored in the terminal, where the contact information may be a phone number, or an ID of other communication software, such as an account of an instant messaging application, and the like, and in this embodiment, taking the phone number as an example, the request start information may be a Short Message Service (SMS), and the request start information may include an identifier of a target application requested to be started, where the identifier of the target application may be a name of the target application.
In step 405, receiving reply information returned by the terminal of the predetermined contact, where the reply information is used to indicate whether the target application is allowed to start.
After receiving the request start information sent by the request terminal, the terminal of the contact may reply with information of the same type as the request start information, for example, if the received request start information is a short message, the terminal replies with the short message, where the reply information may include:
a start permission instruction for indicating that the target application is permitted to start, and a run permission period during which the target application is permitted to run; or,
and a start prohibition instruction for indicating prohibition of starting the target application program.
The start permitting instruction and the start prohibiting instruction both carry an identifier of the target application program, for example, a name of the target application program, and the name of the target application program and the allowable running period may be written in a preset format, for example:
(1) agree to start XXX with period of use h1h1:m1m1~h2h2:m2m2;
(2) Activation XXX is disabled.
Where XXX is the name of the target application.
In addition, it is worth mentioning that after clicking the reply request start message, the predetermined contact person may automatically pop up an information template edited in advance according to the format, and the predetermined contact person edits the reply message on the template according to actual needs, so as to obtain the edited reply message in the preset format.
When the reply message is the start prohibition instruction, performing step 403; when the reply message is the start permission instruction, step 406 is performed.
In step 406, the target application is marked as being allowed to launch.
In step 407, a prompt is output to the user to allow the target application to launch.
For example, the prompt message for allowing the target application program to start may be displayed to the user by a reply message sent by a predetermined contact, or may be specifically displayed to allow the target application program to start, for example, a pop-up prompt message for allowing the target application program to start is provided to the user.
In step 408, a launch request to launch the target application is received.
Illustratively, after receiving again the start request triggered by the user by clicking the icon table of the target application, the terminal determines to allow the target application program to start by identifying the start-allowed flag set in step 406, thereby proceeding to step 409.
In step 409, the target application is launched.
Optionally, when the user knows that the current time belongs to the prohibited time period, the user may send a request directly to the predetermined contact, and then steps 404 to 409 may be performed directly.
Optionally, fig. 4C is a flowchart illustrating another method for controlling application program launching according to another exemplary embodiment, where the method further includes:
in step 410, it is detected whether the current time exceeds the allowed operating period.
For example, since the operation permission period in the reply message received in step 405 may be less than the entire prohibition period, and when the operation permission period is exceeded, the prohibition of the target application starting should be resumed, the following steps may be performed.
In step 411, when it is detected whether the current time exceeds the operation permitted period, it is determined whether the current time belongs to the prohibited period.
In step 412, when the current time exceeds the allowed operation period and the current time belongs to the prohibited period, the target application is marked as prohibited from starting.
In step 413, a launch request to launch the target application is received.
Illustratively, after receiving again the start request triggered by the user by clicking the icon table of the target application, the terminal determines to prohibit the start of the target application program by identifying the start prohibition flag set in step 412, thereby proceeding to step 414.
In step 414, the target application is denied launching in response to the launch request.
Optionally, fig. 4D is a flowchart illustrating another method for controlling application startup according to another exemplary embodiment, and referring to fig. 4D, the method further includes:
in step 415, when the current time belongs to the permission period for permitting the target application program to start, prohibition indication information sent by the terminal of the predetermined contact person is received, wherein the prohibition indication information is used for indicating that the target application program is prohibited from starting.
That is, it can be understood that even if the current time belongs to the permitted period in which the target application is permitted to be started, the predetermined contact may actively transmit the prohibition indication information to prohibit the user from using the target application program.
In step 416, in response to the prohibition indication information, the target application is marked as prohibited from starting.
At step 417, a launch request to launch the target application is received.
Illustratively, after receiving again the start request triggered by the user by clicking the icon table of the target application, the terminal determines to prohibit the start of the target application program by recognizing the start prohibition flag set in step 416, thereby proceeding to step 418.
At step 418, the target application is denied launch in response to the launch request.
In summary, in the method for controlling application program start provided by the embodiment of the present disclosure, request start information sent by a terminal is received, where the request start information is used to request a predetermined contact to start a target application program in a prohibited time period in which the target application program is prohibited from being started; and sending reply information to the terminal, wherein the reply information is used for indicating whether the target application program is allowed to be started or not. The method and the device can control the user to forbid using the application program in the preset time period, and the user can control the opening of the application program only through the preset contact person in the forbidden time period, so that the problem that the user cannot control the using time of the terminal to be too long is solved, and the effect of reasonably arranging the using time of the terminal is achieved.
Fig. 5A is a block diagram illustrating an apparatus for controlling application startup according to an exemplary embodiment, where the apparatus 50 may be used to execute any one of the methods for controlling application startup illustrated in fig. 2 and 4D, and the apparatus 50 may be implemented by software or hardware or a combination of the two, and form part or all of a terminal, which may be the terminal 100 in the implementation environment illustrated in fig. 1, and referring to fig. 5A, the apparatus 50 includes:
a request module 510 configured to send request start information to a terminal of a predetermined contact when a current time belongs to a prohibited period in which start of a target application is prohibited, the request start information being used for requesting start of the target application to the predetermined contact;
the information management module 520 is configured to receive reply information returned by the terminal of the predetermined contact, wherein the reply information is used for indicating whether the target application program is allowed to be started or not;
a start control module 530 configured to start the target application or prohibit the target application from starting according to the indication of the reply message.
Optionally, fig. 5B is a block diagram illustrating another apparatus for controlling application start according to an exemplary embodiment, where the apparatus 50 further includes: a request receiving module 540 and a judging module 550;
the request receiving module 540 is configured to receive a start request for starting the target application before the request start information is sent to the terminal of the predetermined contact;
the determining module 550 is configured to determine whether the current time belongs to the prohibited time period in response to the start request;
the launch control module 530 configured to launch the target application when it is determined that the current time is not the prohibited period;
the launch control module 530 configured to prohibit the target application from launching when it is determined that the current time is the prohibition period.
Optionally, fig. 5C is a block diagram illustrating a structure of another apparatus for controlling application start according to an exemplary embodiment, and referring to fig. 5C, the apparatus 50 further includes: an authentication information input module 560, an authentication module 570, and a setting module 580;
the verification information input module 560 is configured to receive input verification information, and the verification information is used for entering a setting page;
the verification module 570 configured to perform authentication verification according to the verification information;
the setting module 580, configured to enter the setting page after the authentication information passes the authentication verification;
the setting module 580 configured to receive, at the setting page, period setting information of the target application, the period setting information being used to set the prohibition period for the target application program;
the setting module 580 is configured to set the period indicated by the period setting information as the prohibition period.
Optionally, the reply message includes:
a start permission instruction for indicating that the target application is permitted to start, and a run permission period during which the target application is permitted to run; or,
and a start prohibition instruction for indicating prohibition of starting the target application program.
Optionally, fig. 5D is a block diagram of a start control module shown in the embodiment shown in fig. 5A, and referring to fig. 5D, the start control module 530 includes: a marking submodule 531, a prompting submodule 532, a receiving submodule 533 and a promoter module 534;
the marking submodule 531 is configured to mark the target application program as being allowed to be started in response to the allowing start instruction;
the prompt submodule 532 is configured to output prompt information for allowing the target application program to start to a user;
the receiving submodule 533 configured to receive a start request for starting the target application;
the promoter module 534, configured to respond to the start request, start the target application.
Optionally, fig. 5E is a block diagram of another starting control module shown in the embodiment shown in fig. 5A, and referring to fig. 5E, the starting control module 530 further includes: a detection submodule 535, a judgment submodule 536, and a promoter prohibition module 537;
the detection submodule 535 configured to detect whether the current time exceeds the allowed operation period;
the determining submodule 536, configured to determine whether the current time belongs to the prohibited time period when detecting whether the current time exceeds the permitted operation time period;
the marking submodule 531, configured to mark the target application program as prohibited to start when the current time exceeds the allowed operation period and the current time belongs to the prohibited period;
the receiving submodule 533 configured to receive a start request for starting the target application;
the promoter disabled module 537 is configured to deny launching of the target application in response to the launch request.
Optionally, fig. 5F is a block diagram illustrating another apparatus for controlling application start according to an exemplary embodiment, where the apparatus 50 further includes: a receiving module 590, a request receiving module 500;
a receiving module 590 configured to receive prohibition indication information sent by the terminal of the predetermined contact when the current time belongs to a permission period for permitting the target application to start, where the prohibition indication information is used for indicating that the target application is prohibited from starting;
the launch control module 530 configured to mark the target application as launch-prohibited;
the request receiving module 500 is configured to receive a start request for starting the target application program;
the launch control module 530 is configured to refuse to launch the target application in response to the launch request.
In summary, the apparatus for controlling application start provided in the embodiments of the present disclosure receives request start information sent by a terminal, where the request start information is used to request a predetermined contact to start a target application in a prohibited time period in which the target application is prohibited from being started; and sending reply information to the terminal, wherein the reply information is used for indicating whether the target application program is allowed to be started or not. The method and the device can control the user to forbid using the application program in the preset time period, and the user can control the opening of the application program only through the preset contact person in the forbidden time period, so that the problem that the user cannot control the using time of the terminal to be too long is solved, and the effect of reasonably arranging the using time of the terminal is achieved.
Fig. 6 is a block diagram illustrating an apparatus for controlling application startup according to an exemplary embodiment, where the apparatus 60 may be used to execute the method for controlling application startup illustrated in any one of fig. 2 and 4D, and the apparatus 60 may be implemented by software or hardware or a combination of the two, and form part or all of a terminal, which may be the terminal 200 in the implementation environment illustrated in fig. 1, and referring to fig. 6, the apparatus 60 includes:
the terminal comprises a receiving module 610 configured to receive request starting information sent by the terminal, wherein the request starting information is used for requesting a predetermined contact person to start a target application program in a prohibited time period for prohibiting the target application program from being started;
a sending module 620 configured to send a reply message to the terminal, where the reply message is used to indicate whether the target application is allowed to start.
Optionally, the reply message includes:
a start permission instruction for indicating that the target application is permitted to start, and a usage permission period; or,
start-up prohibition instruction for instructing to prohibit the start-up of the target application program
Optionally, the sending module 620 is configured to send prohibition indication information to the terminal in a permission period in which the target application is permitted to be started, where the prohibition indication information is used to indicate that the target application is prohibited from being started.
In summary, the apparatus for controlling application start provided in the embodiments of the present disclosure receives request start information sent by a terminal, where the request start information is used to request a predetermined contact to start a target application in a prohibited time period in which the target application is prohibited from being started; and sending reply information to the terminal, wherein the reply information is used for indicating whether the target application program is allowed to be started or not. The method and the device can control the user to forbid using the application program in the preset time period, and the user can control the opening of the application program only through the preset contact person in the forbidden time period, so that the problem that the user cannot control the using time of the terminal to be too long is solved, and the effect of reasonably arranging the using time of the terminal is achieved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 7 is a block diagram illustrating an apparatus for controlling application startup in accordance with an exemplary embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the method of controlling application startup described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods of controlling application program launch.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method of controlling application startup is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The embodiment of the present disclosure further provides another apparatus for controlling application program to be started, where the apparatus includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the current time belongs to a prohibited time interval for prohibiting the starting of the target application program, sending request starting information to a terminal of a preset contact person, wherein the request starting information is used for requesting the preset contact person to start the target application program;
receiving reply information returned by the terminal of the preset contact person, wherein the reply information is used for indicating whether the target application program is allowed to be started or not;
and starting the target application program or forbidding the target application program to be started according to the indication of the reply message.
The embodiment of the present disclosure further provides another apparatus for controlling application program starting, where the apparatus includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving request starting information sent by a terminal, wherein the request starting information is used for requesting a preset contact person to start a target application program in a prohibited time period for prohibiting the target application program from being started;
and sending reply information to the terminal, wherein the reply information is used for indicating whether the target application program is allowed to be started or not.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.