CN114615377A - Application program control method, device and equipment - Google Patents

Application program control method, device and equipment Download PDF

Info

Publication number
CN114615377A
CN114615377A CN202011338953.0A CN202011338953A CN114615377A CN 114615377 A CN114615377 A CN 114615377A CN 202011338953 A CN202011338953 A CN 202011338953A CN 114615377 A CN114615377 A CN 114615377A
Authority
CN
China
Prior art keywords
application program
application
screen
state
starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011338953.0A
Other languages
Chinese (zh)
Other versions
CN114615377B (en
Inventor
邓翱翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN202011338953.0A priority Critical patent/CN114615377B/en
Publication of CN114615377A publication Critical patent/CN114615377A/en
Application granted granted Critical
Publication of CN114615377B publication Critical patent/CN114615377B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The embodiment of the application provides an application program control method, an application program control device and application program control equipment, which are applied to terminal equipment, wherein the method comprises the following steps: acquiring a starting request of a first application program; according to the starting request, acquiring the state of the terminal equipment and the type of a first application program, wherein the state of the terminal equipment is a screen-dominating state or a non-screen-dominating state, and the type of the application program is a screen-dominating type or a non-screen-dominating type; and starting the first application program or forbidding starting the first application program according to the state of the terminal equipment and the type of the first application program. The reliability of the terminal device for the application program starting control is improved.

Description

Application program control method, device and equipment
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to an application program control method, device and equipment.
Background
A plurality of application programs are usually set in a terminal device (e.g., a mobile phone, a tablet computer, etc.), and the terminal device can manage and control a behavior of using the terminal device by a user in a screen-saving mode, where the screen-saving mode is a screen-saving mode, and in the screen-saving mode, the user can only use a specific application program in the terminal device.
In the prior art, the screen state of the terminal device is usually achieved by shielding the navigation bar and the status bar. However, when the terminal device is in the screen saver state, the non-screen saver application program may still be started through a preset command (e.g., an adb command), and in addition, some malicious application programs may also start the non-screen saver application program, thereby causing the screen saver state of the terminal device to fail. As can be seen from the above, the terminal device has poor reliability in the application startup control.
Disclosure of Invention
The embodiment of the application program control method, device and equipment is used for improving the reliability of the terminal equipment for application program starting control.
In a first aspect, an embodiment of the present application provides an application control method, which is applied to a terminal device, and the method includes:
acquiring a starting request of a first application program;
acquiring the state of terminal equipment and the type of the first application program according to the starting request, wherein the state of the terminal equipment is a screen-overtaking state or a non-screen-overtaking state, and the type of the application program is a screen-overtaking type or a non-screen-overtaking type;
and starting the first application program or forbidding starting the first application program according to the state of the terminal equipment and the type of the first application program.
In a possible implementation manner, the starting or prohibiting the starting of the first application according to the state of the terminal device and the type of the first application includes:
if the state of the terminal equipment is a non-screen-dominating state, starting the first application program;
and if the state of the terminal equipment is a screen-up state, starting the first application program or forbidding starting the first application program according to the type of the first application program.
In one possible embodiment, the starting or prohibiting the starting of the first application according to the type of the first application includes:
if the type of the first application program is a non-screen-dominating type, forbidding starting of the first application program;
if the type of the first application program is the screen overtaking type, determining a second application program currently displayed by the terminal device, and starting the first application program or forbidding starting the first application program according to the first application program and the second application program.
In one possible implementation, the starting the first application or the prohibiting the starting of the first application according to the first application and the second application includes:
acquiring at least one jump application program corresponding to the second application program, wherein the at least one jump application program is an application program which is allowed to jump from the second application program;
if the at least one jump application program comprises the first application program, starting the first application program;
and if the at least one jump application program does not comprise the first application program, prohibiting starting the first application program.
In a possible implementation manner, acquiring at least one jump application corresponding to the second application includes:
acquiring a jump chain, wherein the jump chain comprises identifiers of a plurality of application programs and jump relations among the plurality of application programs;
and acquiring at least one jump application program corresponding to the second application program in the jump chain.
In one possible implementation, the acquiring the state of the terminal device includes:
acquiring a screen heater state value, wherein the screen heater state value is used for indicating the state of the terminal equipment;
and determining the state of the terminal equipment according to the state value of the screen heater.
In one possible embodiment, the method further comprises:
acquiring a starting-up instruction of the terminal equipment;
acquiring screen heater information in a preset storage space according to the starting-up instruction;
if the screen dominating state value in the screen dominating information indicates that the terminal device is in the screen dominating state, determining an identifier of a screen dominating application program in the screen dominating information;
and starting the screen dominating application program according to the identifier of the screen dominating application program.
In a second aspect, an embodiment of the present application provides an application control apparatus, including:
the first acquisition module is used for acquiring a starting request of a first application program;
a second obtaining module, configured to obtain, according to the start request, a state of a terminal device and a type of the first application program, where the state of the terminal device is a screen-dominating state or a non-screen-dominating state, and the type of the application program is a screen-dominating type or a non-screen-dominating type;
and the first starting module is used for starting the first application program or forbidding starting the first application program according to the state of the terminal equipment and the type of the first application program.
In a possible implementation manner, the first starting module is specifically configured to:
if the state of the terminal equipment is a non-screen-dominating state, starting the first application program;
and if the state of the terminal equipment is a screen-up state, starting the first application program or forbidding starting the first application program according to the type of the first application program.
In a possible implementation manner, the first starting module is specifically configured to:
if the type of the first application program is a non-screen-dominating type, forbidding starting of the first application program;
and if the type of the first application program is the screen-up type, determining a second application program currently displayed by the terminal equipment, and starting the first application program or forbidding starting the first application program according to the first application program and the second application program.
In a possible implementation manner, the first starting module is specifically configured to:
acquiring at least one jump application program corresponding to the second application program, wherein the at least one jump application program is an application program which is allowed to jump from the second application program;
if the at least one jump application program comprises the first application program, starting the first application program;
and if the at least one jump application program does not comprise the first application program, prohibiting starting the first application program.
In a possible implementation manner, the first starting module is specifically configured to:
acquiring a jump chain, wherein the jump chain comprises identifiers of a plurality of application programs and jump relations among the plurality of application programs;
and acquiring at least one jump application program corresponding to the second application program in the jump chain.
In a possible implementation manner, the second obtaining module is specifically configured to:
acquiring a screen heater state value, wherein the screen heater state value is used for indicating the state of the terminal equipment;
and determining the state of the terminal equipment according to the state value of the screen heater.
In a possible embodiment, the apparatus further comprises:
the third acquisition module is used for acquiring a starting instruction of the terminal equipment;
the fourth acquisition module is used for acquiring the screen heater information in a preset storage space according to the starting instruction;
the determining module is used for determining the identifier of the screen heater application program in the screen heater information if the screen heater state value in the screen heater information indicates that the terminal equipment is in the screen heater state;
and the second starting module is used for starting the screen dominating application program according to the identification of the screen dominating application program.
In a third aspect, an embodiment of the present application provides an application control apparatus, including: at least one processor and memory;
the memory is to store computer program instructions;
the at least one processor is configured to execute the computer program instructions stored in the memory, so that the at least one processor performs the application control method according to any one of the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where computer program instructions are stored, and when a processor executes the computer program instructions, the application control method according to any one of the above first aspects is implemented.
In a fifth aspect, the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the application control method according to any one of the above first aspects.
The embodiment of the application program control method, device and equipment comprises the steps that terminal equipment can obtain a starting request of a first application program, the state of the terminal equipment and the type of the first application program are obtained according to the starting request, wherein the state of the terminal equipment is a screen-dominating state or a non-screen-dominating state, the type of the application program is a screen-dominating type or a non-screen-dominating type, and the first application program is started or prohibited from being started according to the state of the terminal equipment and the type of the first application program. In the above process, when the first application is requested to be started, it is necessary to determine whether to start the first application according to the state of the terminal device and the type of the first application. The reliability of the terminal device for the application program starting control is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic view of an application scenario of an application control method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an application control method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a state of a terminal and a type of a first application according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another application control method according to an embodiment of the present application;
FIG. 5 is a diagram illustrating a jump chain according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another application control method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an application control device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another application control device according to an embodiment of the present application;
fig. 9 is a schematic hardware structure diagram of an application control device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic view of an application scenario of an application control method according to an embodiment of the present application. Referring to fig. 1, a terminal device 101 and a user 102 are included. The terminal device 101 may include a smart phone, a tablet computer, a personal digital assistant, and the like, a plurality of applications may be installed in the terminal device 101, and the user 102 may start different applications through the terminal device 101, so as to process different services. For example, the user 102 may view videos, movies, etc. through a video application, perform search, query, etc. services through a browser application, and handle office, leave, etc. services through an office application. In some specific scenes, the terminal device 101 may manage and control a behavior of the user 102 using the terminal device 101 in a screen-saving manner, where the screen-saving manner is a screen-saving manner, and in a screen-saving state, the user 102 can only use a specific application program in the terminal device 101, that is, a screen-saving type application program. In the prior art, the screen saver status of the terminal device 101 is usually implemented by shielding the navigation bar and the status bar, and specifically, by shielding the menu key, the home key, the return key, and the navigation bar of the navigation bar, the user 102 must stay at the currently displayed screen saver type application program of the terminal device 101, and only after the user 102 completes the preset operation, the non-screen saver type application program in the terminal device 101 can be used. For example, the screen lock interface is a way to implement the screen saver state of the terminal device 101.
However, in the prior art, when the terminal device 101 is in the screen saver state, the non-screen saver type application program may still be started through a preset command (e.g., an adb command), and in addition, some malicious applications may also start the non-screen saver type application program, for example, the non-screen saver type application program may be started by the application program in a popup mode, so that the screen saver state of the terminal device 101 fails. As described above, in the prior art, the method of shielding the navigation bar and the status bar to achieve the screen saver state of the terminal device 101 is not reliable, and therefore, the reliability of the terminal device 101 in the application start control is poor.
In the application, the terminal device 101 may obtain a start request of the first application, and obtain a state of the terminal device 101 and a type of the first application according to the start request, where the state of the terminal device 101 is a screen saver state or a non-screen saver state, and the type of the application is a screen saver type or a non-screen saver type, and start the first application or prohibit starting the first application according to the state of the terminal device 101 and the type of the first application. In the above-described procedure, when the first application is requested to be started, it is necessary to determine whether to start the first application according to the state of the terminal apparatus 101 and the type of the first application. The reliability of the terminal apparatus 101 in the application start control is improved.
It should be noted that the above is only an example to illustrate one possible application scenario, and is not a limitation to the application scenario. Any application scenario that needs to manage and control user behavior on the terminal device belongs to the protection scope of the present application.
Hereinafter, the technical means shown in the present application will be described in detail by specific examples. It should be noted that the following embodiments may be combined with each other, and the description of the same or similar contents in different embodiments is not repeated.
Fig. 2 is a flowchart illustrating an application control method according to an embodiment of the present application. Referring to fig. 2, the method may include:
s201, acquiring a starting request of the first application program.
The execution main body of the embodiment of the application can be terminal equipment, and also can be an application program control device arranged in the terminal equipment. Optionally, the terminal device may be a smart phone, a tablet computer, a desktop computer, a personal digital assistant, or the like. Alternatively, the application control device may be implemented in the form of software, or in the form of a combination of software and hardware.
The first application is any one of applications installed in the terminal device, and the user can process different services through the first application, for example, the first application may include an office application, a communication application, a shopping application, and the like.
The start request is used to start an application program in the terminal device, the terminal device may start the first application program according to the start request of the first application program, and optionally, the terminal device may obtain the start request of the first application program through the management server activitymanager service.
When the terminal device starts the first application program, the starting request of the first application program can be obtained through the following implementation modes: and receiving the starting operation of the user on the first application program, and acquiring the starting request of the first application program according to the starting operation. The starting operation may include clicking an application icon, inputting a password, recognizing a human face, and the like, which is not specifically limited in this application. According to the starting operation, the terminal device transmits a preset parameter to the activityManagerService in a cross-process communication mode, the preset parameter can be a target intent parameter, and the terminal device can obtain a starting request of the first application program according to the preset parameter.
S202, acquiring the state of the terminal equipment and the type of the first application program according to the starting request.
The state of the terminal equipment can comprise a screen-saving state or a non-screen-saving state, and the type of the application program can comprise a screen-saving type or a non-screen-saving type.
The screen-up state refers to that the terminal device is in a controlled state, when the terminal device is in the controlled state, a user can start a specific application program in the terminal device, and other application programs are prohibited from starting. For example, when an application is prohibited from launching, the user clicks on the application's icon without reaction.
The non-screen-dominating state means that the terminal device is in an uncontrolled state, and when the terminal device is in the uncontrolled state, a user can start all application programs in the terminal device. For example, a user may click on an icon of any application to jump to a display page corresponding to the application.
When the terminal equipment is in a screen-dominating state, the type of the application program capable of being started is a screen-dominating type, and the type of the application program prohibited from being started is a non-screen-dominating type. For example, when the behavior of using the terminal device when the user is on duty is controlled, after the user is punched on duty, the terminal device is in a screen-up state, and the user can process work transactions through an office application program but cannot perform business such as commodity browsing, purchase settlement and the like through a shopping application program, so that the type of the office application program is a screen-up type, and the type of the shopping application program is a non-screen-up type.
Optionally, the state of the terminal device may be obtained through the following feasible implementation manners: and acquiring a state value of the screen heater, and determining the state of the terminal equipment according to the state value of the screen heater.
The screen-shot state value is used for indicating the state of the terminal equipment, and the state of the terminal equipment comprises a screen-shot state and a non-screen-shot state. For example, the state value of the overlay can be identified by a numerical value, or by the overlay information itself.
For example, when the screen state value is identified by a numerical value form, a numerical value 1 may represent the screen state, and a numerical value 0 may represent a non-screen state, and of course, other numerical value forms may also be used for identifying, which is not specifically limited in this application.
For example, when the screen state value is identified by the screen information itself, the screen state value may include the following screen information: the terminal device is in the screen-saving state when the screen-saving state value is in the screen-saving state, and the terminal device is in the non-screen-saving state when the screen-saving state value is in the non-screen-saving state.
Optionally, the type of the first application may be obtained through the following feasible implementation manners: and acquiring the screen heater information, and determining the type of the first application program according to the screen heater information.
The screen saver information is used for indicating the type of a first application program in the terminal equipment, and the type of the first application program can comprise a screen saver type and a non-screen saver type.
Optionally, the information of the overlay screen may be stored by a dynamic array set, for example, the dynamic array set may be an ArrayList set. Of course, the information of the overlay screen may also be stored by other sets, which is not limited in this respect.
Optionally, the screen saver information may include an identifier of the application program and a screen saver type corresponding to the application program, and the screen saver information may be described in a form of a table. For example, the screen saver information can be as shown in table 1:
TABLE 1
Figure BDA0002798072110000081
Figure BDA0002798072110000091
For example, when the first application is application 1, the type of the application is a screen saver type; when the first application is application 2, the application is of a non-splash screen type.
It should be noted that table 1 illustrates only one possible representation form of the overlay information in an exemplary form, and does not limit the form of the overlay information.
Next, referring to fig. 3, taking a terminal device as a mobile phone as an example, a detailed description is given of a possible implementation manner for acquiring a state of the terminal device and a type of the first application according to the start request.
Fig. 3 is a schematic diagram illustrating a state of a terminal and a type of a first application according to an embodiment of the present application, where the schematic diagram includes pages 3A to 3C.
Referring to page 3A, a plurality of applications, for example, an email application, a music application, an exercise health application, an office card punching application, and the like, are installed in the terminal device. Icons of a plurality of applications may be displayed on a desktop of the terminal device. The user can click the icons of different application programs to enter the corresponding application programs, so that different services can be processed.
When the user needs to punch the card on duty, the user can click the icon of the office card punching application program on the terminal equipment and jump to the page 3B.
Please refer to page 3B, the terminal device displays an on-duty card punching page, specifically, displays a control "on-duty card punching", and the user can click the control to punch the card on-duty, where it should be noted that before the user clicks the control "on-duty card punching", the terminal device is in a non-screen-overtaking state. After clicking the work punch control, a jump is made to page 3C.
Please refer to page 3C, the terminal device displays a prompt message "card punching is successful", at this time, the terminal device manages and controls the behavior of the user using the terminal device, and the user may exit the office card punching application program and jump to page 3D.
Referring to 3D, when the first application program is an email application program, a user can send a starting request by clicking an icon corresponding to the email application program, and the terminal equipment can acquire that the state of the terminal equipment is a screen-up state and the type of the email application program is a screen-up type according to the starting request; when the first application program is a video application program, a user can send a starting request by clicking an icon corresponding to the video application program, and the terminal equipment can acquire that the state of the terminal equipment is a screen-dominating state and the type of the video application program is a non-screen-dominating type according to the starting request.
S203, starting the first application program or forbidding starting the first application program according to the state of the terminal equipment and the type of the first application program.
Alternatively, the first application may be started or prohibited from being started in the following feasible manner: if the state of the terminal equipment is a non-screen-dominating state, starting a first application program; and if the state of the terminal equipment is the screen-up state, starting the first application program or forbidding starting the first application program according to the type of the first application program.
Optionally, when the first application program is started or prohibited to be started according to the type of the first application program, if the type of the first application program is a non-screen-dominating type, the first application program is prohibited to be started; and if the type of the first application program is the screen-up type, determining a second application program currently displayed by the terminal equipment, and starting the first application program or forbidding starting the first application program according to the first application program and the second application program.
Optionally, when the first application program is started or the first application program is prohibited to be started according to the first application program and the second application program, at least one jump application program corresponding to the second application program is acquired, where the at least one jump application program is an application program to which a jump from the second application program is permitted; if the at least one jump application program comprises a first application program, starting the first application program; and if the first application program is not included in the at least one jump application program, prohibiting the first application program from being started.
Next, with reference to fig. 4, a process of starting the first application or prohibiting starting the first application according to the state of the terminal device and the type of the first application will be described in detail.
Fig. 4 is a flowchart illustrating another application control method according to an embodiment of the present application. Referring to fig. 4, the method may include:
s401, judging whether the state of the terminal equipment is a screen-up state or not;
if not, executing S402;
if yes, executing S403;
s402, starting a first application program;
s403, judging whether the type of the first application program is a screen dominating type;
if not, executing S404;
if yes, executing S405-S407;
s404, prohibiting starting the first application program;
s405, determining a second application program currently displayed by the terminal equipment;
s406, acquiring at least one jump application program corresponding to the second application program;
the jump application is an application to which a jump can be made from the currently displayed application. Optionally, one or more jump applications may be provided, and the present application is not limited in detail.
Optionally, the at least one jump application corresponding to the second application may be obtained through the following feasible implementation manners: and acquiring a jump chain, and acquiring at least one jump application program corresponding to the second application program in the jump chain. The jump chain can comprise identifications of a plurality of application programs and jump relations among the plurality of application programs;
one possible implementation of the jump chain is described below with reference to fig. 5.
Fig. 5 is a schematic diagram of a jump chain according to an embodiment of the present application. Please refer to fig. 5, wherein a-I is the identifier of the application. In the jump chain, the application program a corresponds to three jump application programs, namely an application program B, an application program C and an application program D, wherein the application program B may also correspond to different jump application programs, for example, the application program B may correspond to two jump application programs, namely an application program E and an application program F, the application program C may correspond to one jump application program, namely an application program G, and the application program D may correspond to two jump application programs, namely an application program H and an application program I.
Optionally, the application program E may jump to the application program a or jump to the application program C, and the specific jump rule may be determined according to the actual application, which is not specifically limited herein.
For example, when the currently displayed second application is a, acquiring the jump application corresponding to the second application in the jump chain includes: application B, application C, and application D.
S407, judging whether the at least one jump application program comprises a first application program;
if not, executing S408;
if yes, executing S409;
s408, prohibiting starting the first application program;
for example, when the currently displayed second application is application a, the user clicks an icon of application H, and the terminal device determines that the application H is not included in at least one skipped application of application a, then the terminal device prohibits starting of application H.
And S409, starting the first application program.
For example, when the currently displayed second application is application a, the user clicks an icon of application B, and the terminal device determines that the skipped application of application a includes application B, application C, and application D, and then the terminal device starts application B.
The embodiment of the application program control method includes that a terminal device can obtain a starting request of a first application program, and obtain a state of the terminal device and a type of the first application program according to the starting request, wherein the state of the terminal device is a screen-dominating state or a non-screen-dominating state, the type of the application program is a screen-dominating type or a non-screen-dominating type, and the first application program is started or prohibited from being started according to the state of the terminal device and the type of the first application program. In the above process, when the first application is requested to be started, it is necessary to determine whether to start the first application according to the state of the terminal device and the type of the first application. The reliability of the terminal device for the application program starting control is improved.
On the basis of any of the above embodiments, the terminal device may further record the state of the first application program and perform state maintenance, and details of another service processing method will be described below with reference to fig. 6.
Fig. 6 is a flowchart illustrating a further method for controlling an application according to an embodiment of the present application. Referring to fig. 6, the method may include:
s601, acquiring a starting request of the first application program.
It should be noted that the execution process of S601 may refer to the execution process of S201, which is not described herein again.
S602, acquiring the state of the terminal equipment and the type of the first application program according to the starting request.
It should be noted that the execution process of S602 may refer to the execution process of S202, which is not described herein again.
S603, starting the first application program or forbidding starting the first application program according to the state of the terminal equipment and the type of the first application program.
It should be noted that, for the execution process of S603, reference may be made to the execution process of S203, which is not described herein again.
S604, a starting instruction of the terminal equipment is obtained.
The start instruction is used for starting the terminal device, and optionally, the start instruction may be a long-press start key.
And S605, acquiring the screen heater information in a preset storage space according to the starting instruction.
The preset storage space may be a Read-Only Memory (ROM) of the terminal device, and the screen saver information may be a state of the terminal device before the start instruction is received, including a screen saver state and a non-screen saver state.
Optionally, the screen shot information may further include a screen shot chain, a screen shot chain shot progress, a storage length of the screen shot information, and the like, where the screen shot progress is used to record an application program that has currently been shot to a certain screen shot type, the storage length of the screen shot information is used to indicate a start mode of the application program, and the start mode includes a start mode of a single application program and a shot start mode between multiple application programs. For example, when the storage length of the dashboard information is 1, the jump mode of the application is the start mode of a single application, and when the storage length of the dashboard information is greater than 1, the jump mode of the application is the jump start mode between a plurality of applications. Of course, the screen saver information may also store other information, and the application is not particularly limited.
S606, judging whether the screen domination state value in the screen domination information indicates that the terminal equipment is in the screen domination state.
If yes, executing S607-S608;
if not, go to S609.
S607, the identification of the screen saver application program is determined in the screen saver information.
And S608, starting the screen saver application program according to the identifier of the screen saver application program.
For example, when the identification of the overlay application is application a, overlay application a is started.
And S609, displaying the desktop of the terminal equipment, and recording that the state of the terminal equipment is a non-screen-overlook state.
At this time, the terminal device does not manage the behavior of the user using the terminal device, that is, the user may start any application program in the terminal device.
The embodiment of the application program control method includes that terminal equipment can obtain a starting request of a first application program, and obtains a state of the terminal equipment and a type of the first application program according to the starting request, wherein the state of the terminal equipment is a screen-dominating state or a non-screen-dominating state, the type of the application program is a screen-dominating type or a non-screen-dominating type, and the first application program is started or the first application program is prohibited from being started according to the state of the terminal equipment and the type of the first application program. In the above process, when the first application is requested to be started, it is necessary to determine whether to start the first application according to the state of the terminal device and the type of the first application. The reliability of the terminal device for the application program starting control is improved. In addition, when the terminal equipment is started, the state of the terminal equipment before shutdown can be maintained, and the reliability of the terminal equipment for starting and controlling the application program is further improved.
Fig. 7 is a schematic structural diagram of an application control device according to an embodiment of the present application. Referring to fig. 7, the apparatus 10 includes:
a first obtaining module 11, configured to obtain a start request of a first application;
a second obtaining module 12, configured to obtain, according to the start request, a state of a terminal device and a type of the first application program, where the state of the terminal device is a screen saver state or a non-screen saver state, and the type of the application program is a screen saver type or a non-screen saver type;
a first starting module 13, configured to start the first application or prohibit starting the first application according to the state of the terminal device and the type of the first application.
The application program control device provided in the embodiment of the present application can execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar and will not be described herein again.
In a possible implementation, the first starting module 13 is specifically configured to:
if the state of the terminal equipment is a non-screen-dominating state, starting the first application program;
and if the state of the terminal equipment is a screen-up state, starting the first application program or forbidding starting the first application program according to the type of the first application program.
In a possible implementation manner, the first starting module 13 is specifically configured to:
if the type of the first application program is a non-screen-dominating type, forbidding starting of the first application program;
if the type of the first application program is the screen overtaking type, determining a second application program currently displayed by the terminal device, and starting the first application program or forbidding starting the first application program according to the first application program and the second application program.
In a possible implementation manner, the first starting module 13 is specifically configured to:
acquiring at least one jump application program corresponding to the second application program, wherein the at least one jump application program is an application program which is allowed to jump from the second application program;
if the at least one jump application program comprises the first application program, starting the first application program;
and if the at least one jump application program does not comprise the first application program, prohibiting starting the first application program.
In a possible implementation manner, the first starting module 13 is specifically configured to:
acquiring a jump chain, wherein the jump chain comprises identifiers of a plurality of application programs and jump relations among the plurality of application programs;
and acquiring at least one jump application program corresponding to the second application program in the jump chain.
In a possible implementation manner, the second obtaining module 12 is specifically configured to:
acquiring a screen heater state value, wherein the screen heater state value is used for indicating the state of the terminal equipment;
and determining the state of the terminal equipment according to the state value of the screen heater.
The application program control device provided in the embodiment of the present application can execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar and will not be described herein again.
Fig. 8 is a schematic structural diagram of another application control device according to an embodiment of the present application. Referring to fig. 8, based on the embodiment shown in fig. 7, the apparatus 10 further includes:
a third obtaining module 14, configured to obtain a power-on instruction of the terminal device;
a fourth obtaining module 15, configured to obtain the screen saver information in a preset storage space according to the power-on instruction;
a determining module 16, configured to determine an identifier of a screen saver application in the screen saver information if a screen saver state value in the screen saver information indicates that the terminal device is in a screen saver state;
and a second starting module 17, configured to start the screen saver application according to the identifier of the screen saver application.
The application program control device provided in the embodiment of the present application can execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar and will not be described herein again.
Fig. 9 is a schematic hardware structure diagram of an application control device according to an embodiment of the present application. Referring to fig. 9, the application control device 20 may include: a processor 21 and a memory 22, wherein the processor 21 and the memory 22 may communicate; illustratively, the processor 21 and the memory 22 communicate via a communication bus 23, the memory 22 being configured to store program instructions, and the processor 21 being configured to call the program instructions in the memory to execute the application control method according to any of the method embodiments described above.
Optionally, the application control device 20 may further comprise a communication interface, which may comprise a transmitter and/or a receiver.
Optionally, the Processor may be a Central Processing Unit (CPU), or may be another general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
A readable storage medium having a computer program stored thereon; the computer program is for implementing an application control method as described in any of the embodiments above.
The embodiment of the application provides a computer program product, which comprises instructions, and when the instructions are executed, the instructions cause a computer to execute the application control method.
All or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be stored in a readable memory. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape (magnetic tape), floppy disk (flexible disk), optical disk (optical disk), and any combination thereof.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.
In the present application, the terms "include" and variations thereof may refer to non-limiting inclusions; the term "or" and variations thereof may mean "and/or". The terms "first," "second," and the like in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. In the present application, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.

Claims (11)

1. An application control method, comprising:
acquiring a starting request of a first application program;
acquiring the state of terminal equipment and the type of the first application program according to the starting request, wherein the state of the terminal equipment is a screen-overtaking state or a non-screen-overtaking state, and the type of the application program is a screen-overtaking type or a non-screen-overtaking type;
and starting the first application program or forbidding starting the first application program according to the state of the terminal equipment and the type of the first application program.
2. The method of claim 1, wherein starting the first application or prohibiting starting the first application according to the state of the terminal device and the type of the first application comprises:
if the state of the terminal equipment is a non-screen-dominating state, starting the first application program;
and if the state of the terminal equipment is a screen-up state, starting the first application program or forbidding starting the first application program according to the type of the first application program.
3. The method of claim 2, wherein launching the first application or prohibiting launching the first application based on the type of the first application comprises:
if the type of the first application program is a non-screen-dominating type, forbidding starting of the first application program;
and if the type of the first application program is the screen-up type, determining a second application program currently displayed by the terminal equipment, and starting the first application program or forbidding starting the first application program according to the first application program and the second application program.
4. The method of claim 3, wherein launching the first application or prohibiting launching the first application based on the first application and the second application comprises:
acquiring at least one jump application program corresponding to the second application program, wherein the at least one jump application program is an application program which is allowed to jump from the second application program;
if the at least one jump application program comprises the first application program, starting the first application program;
and if the at least one jump application program does not comprise the first application program, prohibiting starting the first application program.
5. The method of claim 4, wherein obtaining at least one jumped application corresponding to the second application comprises:
acquiring a jump chain, wherein the jump chain comprises identifiers of a plurality of application programs and jump relations among the plurality of application programs;
and acquiring at least one jump application program corresponding to the second application program in the jump chain.
6. The method according to any one of claims 1-5, wherein obtaining the status of the terminal device comprises:
acquiring a screen dominating state value, wherein the screen dominating state value is used for indicating the state of the terminal equipment;
and determining the state of the terminal equipment according to the state value of the screen heater.
7. The method according to any one of claims 1-5, further comprising:
acquiring a starting-up instruction of the terminal equipment;
acquiring screen heater information in a preset storage space according to the starting-up instruction;
if the screen dominating state value in the screen dominating information indicates that the terminal equipment is in the screen dominating state, determining an identifier of a screen dominating application program in the screen dominating information;
and starting the screen dominating application program according to the identifier of the screen dominating application program.
8. An application control apparatus, comprising:
the first acquisition module is used for acquiring a starting request of a first application program;
a second obtaining module, configured to obtain, according to the start request, a state of a terminal device and a type of the first application program, where the state of the terminal device is a screen-saver state or a non-screen-saver state, and the type of the application program is a screen-saver type or a non-screen-saver type;
and the first starting module is used for starting the first application program or forbidding starting the first application program according to the state of the terminal equipment and the type of the first application program.
9. An application control apparatus, comprising: at least one processor and memory;
the memory is to store computer program instructions;
the at least one processor is configured to execute the memory-stored computer program instructions to cause the at least one processor to perform the application control method of any of claims 1 to 7.
10. A computer-readable storage medium, having stored therein computer program instructions which, when executed by a processor, implement the application control method of any one of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program realizes the application control method according to any of claims 1 to 7 when executed by a processor.
CN202011338953.0A 2020-11-25 2020-11-25 Application program control method, device and equipment Active CN114615377B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011338953.0A CN114615377B (en) 2020-11-25 2020-11-25 Application program control method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011338953.0A CN114615377B (en) 2020-11-25 2020-11-25 Application program control method, device and equipment

Publications (2)

Publication Number Publication Date
CN114615377A true CN114615377A (en) 2022-06-10
CN114615377B CN114615377B (en) 2023-08-15

Family

ID=81856993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011338953.0A Active CN114615377B (en) 2020-11-25 2020-11-25 Application program control method, device and equipment

Country Status (1)

Country Link
CN (1) CN114615377B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511922A (en) * 2015-12-09 2016-04-20 小米科技有限责任公司 Application startup controlling method and device
EP3030960A1 (en) * 2013-08-06 2016-06-15 Samsung Electronics Co., Ltd. Method for displaying and an electronic device thereof
CN106201685A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Method, device and the terminal that a kind of application is freezed
CN106528284A (en) * 2016-10-19 2017-03-22 北京奇虎科技有限公司 Application configuration method and apparatus, and terminal device
CN108073425A (en) * 2016-11-15 2018-05-25 南昌欧菲生物识别技术有限公司 A kind of application program launching method and mobile terminal
CN108255547A (en) * 2017-09-28 2018-07-06 新华三云计算技术有限公司 A kind of application control method and device
CN108712559A (en) * 2018-04-08 2018-10-26 深圳先搜科技有限公司 A kind of disturbance-free method, system and terminal device
CN109426705A (en) * 2017-08-17 2019-03-05 阿里巴巴集团控股有限公司 A kind of interface display method, device, equipment and storage medium
CN109450840A (en) * 2018-08-31 2019-03-08 福建星网视易信息系统有限公司 A kind of scene mode switching method and storage equipment
CN110032321A (en) * 2018-01-12 2019-07-19 广东欧珀移动通信有限公司 Applied program processing method and device, electronic equipment, computer readable storage medium
CN110389789A (en) * 2019-07-17 2019-10-29 Oppo广东移动通信有限公司 A kind of application control method, equipment and computer readable storage medium
CN110717328A (en) * 2019-07-04 2020-01-21 北京达佳互联信息技术有限公司 Text recognition method and device, electronic equipment and storage medium
CN111209036A (en) * 2020-03-03 2020-05-29 上海商米科技集团股份有限公司 Method and device for configuring self-service mode of system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3030960A1 (en) * 2013-08-06 2016-06-15 Samsung Electronics Co., Ltd. Method for displaying and an electronic device thereof
EP3651008A1 (en) * 2013-08-06 2020-05-13 Samsung Electronics Co., Ltd. Method for displaying and an electronic device thereof
CN105511922A (en) * 2015-12-09 2016-04-20 小米科技有限责任公司 Application startup controlling method and device
CN106201685A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Method, device and the terminal that a kind of application is freezed
CN106528284A (en) * 2016-10-19 2017-03-22 北京奇虎科技有限公司 Application configuration method and apparatus, and terminal device
CN108073425A (en) * 2016-11-15 2018-05-25 南昌欧菲生物识别技术有限公司 A kind of application program launching method and mobile terminal
CN109426705A (en) * 2017-08-17 2019-03-05 阿里巴巴集团控股有限公司 A kind of interface display method, device, equipment and storage medium
CN108255547A (en) * 2017-09-28 2018-07-06 新华三云计算技术有限公司 A kind of application control method and device
CN110032321A (en) * 2018-01-12 2019-07-19 广东欧珀移动通信有限公司 Applied program processing method and device, electronic equipment, computer readable storage medium
CN108712559A (en) * 2018-04-08 2018-10-26 深圳先搜科技有限公司 A kind of disturbance-free method, system and terminal device
CN109450840A (en) * 2018-08-31 2019-03-08 福建星网视易信息系统有限公司 A kind of scene mode switching method and storage equipment
CN110717328A (en) * 2019-07-04 2020-01-21 北京达佳互联信息技术有限公司 Text recognition method and device, electronic equipment and storage medium
CN110389789A (en) * 2019-07-17 2019-10-29 Oppo广东移动通信有限公司 A kind of application control method, equipment and computer readable storage medium
CN111209036A (en) * 2020-03-03 2020-05-29 上海商米科技集团股份有限公司 Method and device for configuring self-service mode of system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
匡文波: ""霸屏"广告的运行机制", 《人民论坛》 *

Also Published As

Publication number Publication date
CN114615377B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN106055996B (en) Multimedia information sharing method and mobile terminal
CN104978180B (en) Unprocessed event prompting method and device and mobile terminal
CN106980442B (en) Icon management method and electronic equipment
CN111857498B (en) Data interaction method and device and electronic equipment
CN112286887A (en) File sharing method and device and electronic equipment
CN108460259B (en) Information processing method and device and terminal
CN112540709A (en) Split screen display method and device, electronic equipment and readable storage medium
CN111695151A (en) Application permission setting method and device, electronic equipment and readable storage medium
CN111158788B (en) Desktop starter control method and device and storage medium
CN113194200A (en) Message display method and device and electronic equipment
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
CN111813305A (en) Application program starting method and device
CN112269504B (en) Information display method and device and electronic equipment
CN113836089A (en) Application program display method and device, electronic equipment and readable storage medium
CN108241515B (en) Application shortcut establishing method and terminal
CN111817944A (en) Picture sharing method and device and electronic equipment
CN112764611A (en) Application program control method and device and electronic equipment
CN110058857B (en) Boarded application generation method and apparatus
CN114615377B (en) Application program control method, device and equipment
CN113992784B (en) Audio and video call method, device, computer equipment and storage medium
CN114489414A (en) File processing method and device
CN111694498B (en) Interface display method and device and electronic equipment
CN116266482A (en) Equipment software upgrading method and device
CN113807831A (en) Payment method and device
CN112287713A (en) Two-dimensional code identification method and device

Legal Events

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