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

Application program control method, device and equipment Download PDF

Info

Publication number
CN114615377B
CN114615377B CN202011338953.0A CN202011338953A CN114615377B CN 114615377 B CN114615377 B CN 114615377B CN 202011338953 A CN202011338953 A CN 202011338953A CN 114615377 B CN114615377 B CN 114615377B
Authority
CN
China
Prior art keywords
application program
screen
application
state
type
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.)
Active
Application number
CN202011338953.0A
Other languages
Chinese (zh)
Other versions
CN114615377A (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

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, device and 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 the first application program, wherein the state of the terminal equipment is a screen-up state or a non-screen-up state, and the type of the application program is a screen-up type or a non-screen-up type; and starting the first application program or prohibiting 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 application program starting control of the terminal equipment 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, an application program control device and application program control equipment.
Background
A plurality of application programs are usually arranged in a terminal device (such as a mobile phone, a tablet personal computer and the like), the terminal device can control the behavior of a user using the terminal device in a screen-overlooking mode, namely, the screen is overlooking, and in the screen-overlooking state, the user can only use a specific application program in the terminal device.
In the prior art, the screen-up state of the terminal device is generally realized by shielding a navigation bar and a status bar. However, when the terminal device is in the screen-up state, the non-screen-up type application program can still be started through a preset command (for example, an adb command), and in addition, some malicious application programs can also start the non-screen-up type application program, so that the screen-up state of the terminal device is invalid. From the above, the reliability of the terminal device for application startup control is poor.
Disclosure of Invention
The embodiment of the application provides an application program control method, device and equipment, which are used for improving the reliability of application program starting control of terminal equipment.
In a first aspect, an embodiment of the present application provides an application control method, applied to a terminal device, where the method includes:
acquiring a starting request of a first application program;
acquiring the state of the 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-up state or a non-screen-up state, and the type of the application program is a screen-up type or a non-screen-up type;
and starting the first application program or prohibiting starting the first application program according to the state of the terminal equipment and the type of the first application program.
In one possible implementation manner, 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 includes:
if the state of the terminal equipment is a non-screen-rejection state, starting the first application program;
if the state of the terminal equipment is the screen-warming state, starting the first application program or prohibiting starting the first application program according to the type of the first application program.
In one possible implementation, according to the type of the first application, launching the first application or prohibiting launching the first application includes:
if the type of the first application program is a non-screen-rejection type, prohibiting starting the first application program;
if the type of the first application program is the type of the screen, determining a second application program currently displayed by the terminal equipment, and starting the first application program or prohibiting starting the first application program according to the first application program and the second application program.
In one possible implementation, according to the first application program and the second application program, starting the first application program or prohibiting starting the first application program 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 allowing 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 of the first application program.
In one possible implementation manner, obtaining at least one jump application program corresponding to the second application program 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, acquiring the state of the terminal device includes:
acquiring a screen-up state value, wherein the screen-up state value is used for indicating the state of the terminal equipment;
and determining the state of the terminal equipment according to the screen-warming state value.
In one possible embodiment, the method further comprises:
Acquiring a starting instruction of the terminal equipment;
acquiring screen-warming information in a preset storage space according to the starting instruction;
if the screen-up state value in the screen-up information indicates that the terminal equipment is in the screen-up state, determining the identification of the screen-up application program in the screen-up information;
and starting the screen-warming application program according to the identification of the screen-warming 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 the first application program;
the second acquisition module is used for acquiring the state of the 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-up state or a non-screen-up state, and the type of the application program is a screen-up type or a non-screen-up type;
and the first starting module is used for starting the first application program or prohibiting starting the first application program according to the state of the terminal equipment and the type of the first application program.
In one possible implementation manner, the first starting module is specifically configured to:
if the state of the terminal equipment is a non-screen-rejection state, starting the first application program;
If the state of the terminal equipment is the screen-warming state, starting the first application program or prohibiting starting the first application program according to the type of the first application program.
In one possible implementation manner, the first starting module is specifically configured to:
if the type of the first application program is a non-screen-rejection type, prohibiting starting the first application program;
if the type of the first application program is the type of the screen, determining a second application program currently displayed by the terminal equipment, and starting the first application program or prohibiting starting the first application program according to the first application program and the second application program.
In one 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 allowing 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 of the first application program.
In one 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 one possible implementation manner, the second obtaining module is specifically configured to:
acquiring a screen-up state value, wherein the screen-up state value is used for indicating the state of the terminal equipment;
and determining the state of the terminal equipment according to the screen-warming state value.
In one 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 screen-warming information in a preset storage space according to the starting-up instruction;
the determining module is used for determining the identification of the screen-warming application program in the screen-warming information if the screen-warming state value in the screen-warming information indicates that the terminal equipment is in the screen-warming state;
and the second starting module is used for starting the screen-warming application program according to the identification of the screen-warming 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 used for storing 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 executed by a processor, implement the application control method according to any one of the first aspects.
In a fifth aspect, an embodiment of the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the application control method according to any one of the first aspects.
The embodiment of the application provides an application program control method, device and equipment, wherein a terminal device can acquire a starting request of a first application program, and acquire the state of the terminal device and the type of the first application program according to the starting request, wherein the state of the terminal device is a screen-up state or a non-screen-up state, the type of the application program is a screen-up type or a non-screen-up type, and the first application program is started or the first application program is forbidden to be 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 program is requested to be started, it is necessary to determine whether to start the first application program according to the state of the terminal device and the type of the first application program. The reliability of the application program starting control of the terminal equipment is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is an application scenario schematic diagram of an application program control method provided by an embodiment of the present application;
FIG. 2 is a flowchart of an application control method according to an embodiment of the present application;
fig. 3 is a schematic diagram of acquiring a state of a terminal and a type of a first application according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating another method for controlling an application according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a jump chain according to an embodiment of the present application;
FIG. 6 is a flowchart illustrating another method for controlling an application 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 diagram of another embodiment of an application control device according to the present application;
Fig. 9 is a schematic hardware structure of an application control device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Fig. 1 is an application scenario schematic diagram of an application program control method provided in an embodiment of the present application. Referring to fig. 1, a terminal device 101 and a user 102 are included. Terminal device 101 may include a smart phone, a tablet computer, a personal digital assistant, etc., and multiple applications may be installed in terminal device 101, and user 102 may initiate different applications through terminal device 101, so as to process different services. For example, the user 102 may view videos, movies, etc. through a video application, search, query, etc. through a browser application, and handle office, leave, etc. services through an office application. In some specific scenarios, the terminal device 101 may control the behavior of the user 102 using the terminal device 101 by means of a screen-bar, i.e. a screen-bar, where the user 102 can only use a specific application in the terminal device 101, i.e. an application of the screen-bar type. In the prior art, the screen-up state of the terminal device 101 is generally implemented by shielding the navigation bar and the status bar, specifically, by shielding the menu key, the home key, the return key and the navigation bar of the navigation bar, so that the user 102 must stay in the currently displayed screen-up type application program of the terminal device 101, and only after the user 102 completes the preset operation, the non-screen-up type application program in the terminal device 101 can be used. For example, the lock screen interface is one way to implement the screen-up state of the terminal device 101.
However, in the prior art, when the terminal device 101 is in the screen-up state, the non-screen-up type application may still be started by a preset command (for example, an adb command), and in addition, some malicious applications may also start the non-screen-up type application, for example, the application may start the non-screen-up type application by means of a pop window, so that the screen-up state of the terminal device 101 is disabled. As described above, in the prior art, the manner of realizing the screen-up state of the terminal device 101 by shielding the navigation bar and the status bar is not reliable, and thus, the reliability of the application start control by the terminal device 101 is poor.
In the application, the terminal device 101 may acquire a start request of the first application program, and acquire a state of the terminal device 101 and a type of the first application program according to the start request, wherein the state of the terminal device 101 is a screen-up state or a non-screen-up state, and the type of the application program is a screen-up type or a non-screen-up type, and the first application program is started or is forbidden to be started according to the state of the terminal device 101 and the type of the first application program. 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 device 101 and the type of the first application. The reliability of the application start control by the terminal device 101 is improved.
It should be noted that the foregoing illustrates a possible application scenario by way of example only, and is not limiting of the application scenario. Any application scenario requiring management and control of user behavior on a terminal device falls within the scope of the present application.
The technical scheme shown in the application is described in detail by specific examples. It should be noted that the following embodiments may be combined with each other, and for the same or similar matters, the description will not be repeated in different embodiments.
Fig. 2 is a flowchart of 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 a first application program.
The execution body of the embodiment of the application can be a terminal device or an application program control device arranged in the terminal device. 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 software, or may be implemented in a combination of software and hardware.
The first application program is any application program installed in the terminal device, and the user can process different services through the first application program, for example, the first application program can comprise an office application program, a communication application program, a shopping application program and the like.
The starting request is used for starting an application program in the terminal equipment, the terminal equipment can start the first application program according to the starting request of the first application program, and optionally, the terminal equipment can acquire the starting request of the first application program through an activityManagerservice of the management server.
When the terminal equipment starts the first application program, a 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 a starting request of the first application program according to the starting operation. The starting operation may include clicking an application icon, inputting a password, identifying face, and the like, which is not particularly limited to the present application. According to the starting operation, the terminal equipment transmits preset parameters to the ActivityManagerservice in a cross-process communication mode, the preset parameters can be target content parameters, and the terminal equipment can acquire a starting request of the first application program according to the preset parameters.
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 device may include a super screen state or a non-super screen state, and the type of the application program may include a super screen type or a non-super screen type.
The screen-up state refers to that the terminal equipment is in a controlled state, when the terminal equipment is in the controlled state, a user can start a specific application program in the terminal equipment, and other application programs are forbidden to be started. For example, when an application program is prohibited from starting, the user does not respond by clicking on an icon of the application program.
The non-screen-blocking state means that the terminal device is in an uncontrolled state, and when the terminal device is in an uncontrolled state, a user can start all application programs in the terminal device. For example, the user may click on an icon of an arbitrary application program to jump to a display page corresponding to the application program.
When the terminal equipment is in the screen-up state, the type of the application program which can be started is the screen-up type, and the type of the application program which is forbidden to be started is the non-screen-up type. For example, when the behavior of using the terminal device is controlled during the working of the user, after the user performs the card punching during the working, the terminal device is in a screen-up state, the user can process work matters through an office application program, but cannot perform business such as commodity browsing, shopping settlement and the like through a shopping application program, and then the type of the office application program is the screen-up type, and the type of the shopping application program is the non-screen-up type.
Alternatively, the state of the terminal device may be obtained by the following possible implementation manner: and acquiring a screen-up state value, and determining the state of the terminal equipment according to the screen-up state value.
The state value of the screen is used for indicating the state of the terminal equipment, and the state of the terminal equipment comprises a screen-up state and a non-screen-up state. For example, the status value of the screen may be identified in the form of a numerical value, or may be identified by the screen information itself.
For example, when the status value of the screen is identified in the form of a numerical value, the numerical value 1 may represent the status of the screen, and the numerical value 0 may represent the status of the screen other than the screen, which may be identified in other forms, however, the application is not limited in detail.
For example, when the overlay status value is identified by the overlay information itself, the overlay status value may include the overlay information as follows: the terminal device is in the screen-up state or the non-screen-up state when the screen-up state value is the screen-up state, and is in the non-screen-up state when the screen-up state value is the non-screen-up state.
Alternatively, the type of the first application may be obtained by the following possible implementation: and acquiring the screen information, and determining the type of the first application program according to the screen information.
The screen-up 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-up type and a non-screen-up type.
Alternatively, the information of the touch 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 touch screen may be stored by other sets, which is not limited herein.
Optionally, the information of the touch screen may include an identifier of the application program and a touch screen type corresponding to the application program, where the information of the touch screen may be described in a form of a table. For example, the information of the touch screen may be as shown in table 1:
TABLE 1
For example, when the first application is application 1, the type of the application is a screen-in-touch type; when the first application is application 2, the type of the application is a non-tyrant screen type.
Table 1 is merely an exemplary representation of the information of the screen, and is not limited to the information of the screen.
In the following, with reference to fig. 3, taking a terminal device as an example of a mobile phone, a possible implementation manner of acquiring a state of the terminal device and a type of the first application program according to a start request is described in detail.
Fig. 3 is a schematic diagram of acquiring a state of a terminal and a type of a first application program according to an embodiment of the present application, including pages 3A to 3C.
Referring to page 3A, a plurality of applications, for example, an email application, a music application, a sports health application, an office punching application, and the like are installed in the terminal device. Icons for a plurality of applications may be displayed on the desktop of the terminal device. The user can click on the icons of different application programs to enter the corresponding application programs, so that different services can be processed.
When the user needs to go to work to punch cards, the user can click on the icon of the office punching application program on the terminal equipment and jump to the page 3B.
Referring to page 3B, the terminal device displays a shift-in card-punching page, specifically, displays a control "shift-in card-punching", and the user can click on the control to punch the shift-in card, which needs to be explained that before clicking the control "shift-in card-punching", the state of the terminal device is a non-super screen state. After clicking the shift-in card punching control, jumping to page 3C.
Referring to page 3C, the terminal device displays a prompt message "successful card punching", and at this time, the terminal device controls the behavior of the user using the terminal device, and the user can 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 may send a start request by clicking an icon corresponding to the email application program, and according to the start request, the terminal device may obtain that the state of the terminal device is a screen-up state, and the type of the email application program is a screen-up type; 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-up state and the type of the video application program is a non-screen-up type according to the starting request.
S203, starting the first application program or prohibiting 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 launched or disabled in the following possible ways: if the state of the terminal equipment is a non-screen-rejection state, starting a first application program; if the state of the terminal equipment is the screen-warming state, the first application program is started or the first application program is forbidden to be started according to the type of the first application program.
Optionally, when the first application is started or the first application is forbidden to be started according to the type of the first application, if the type of the first application is a non-screen-blocking type, the first application is forbidden to be started; if the type of the first application program is the type of the screen, determining a second application program currently displayed by the terminal equipment, and starting the first application program or prohibiting 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 forbidden 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, and the at least one jump application program is an application program allowing jump from the second application program; if the at least one jump application program comprises a 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.
Hereinafter, a process of starting the first application or prohibiting the starting of the first application according to the state of the terminal device and the type of the first application will be described in detail with reference to fig. 4.
Fig. 4 is a flowchart of another method for controlling an application program 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-warming 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-warming type;
if not, executing S404;
if yes, executing S405-S407;
s404, prohibiting starting of 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 that can jump to from the currently displayed application. Alternatively, the number of the jump application program may be one or more, and the present application is not particularly limited.
Alternatively, the at least one jump application corresponding to the second application may be acquired through the following possible 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 the identification of a plurality of application programs and the jump relation among the plurality of application programs;
One possible implementation of the jump chain is described below in connection with 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 identification 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, respectively, wherein the application program B can also correspond to two jump application programs, namely an application program E and an application program F, respectively, and the application program C can correspond to one jump application program, namely an application program G and an application program D can correspond to two jump application programs, namely an application program H and an application program I, respectively.
Alternatively, the application E may jump to the application a or jump to the application C, and the specific jump rule may be determined according to the actual application, which is not limited herein.
For example, when the second application program currently displayed is a, acquiring the jump application program corresponding to the second application program 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 or not;
If not, executing S408;
if yes, executing S409;
s408, prohibiting starting of the first application program;
for example, when the second application program currently displayed is application program a, the user clicks the icon of application program H, and the terminal device determines that at least one jump application program of application program a does not include application program H, then the terminal device prohibits starting application program H.
S409, starting a first application program.
For example, when the second application program currently displayed is application program a, the user clicks the icon of application program B, and the terminal device determines that the application program a includes application program B, application program C and application program D in the jump application program of application program a, and then the terminal device starts application program B.
The embodiment of the application provides an application program control method, a terminal device can acquire a starting request of a first application program, and acquire 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-up state or a non-screen-up state, the type of the application program is a screen-up type or a non-screen-up type, and the first application program is started or the first application program is forbidden to be 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 program is requested to be started, it is necessary to determine whether to start the first application program according to the state of the terminal device and the type of the first application program. The reliability of the application program starting control of the terminal equipment is improved.
On the basis of any one of the above embodiments, the terminal device may further record the state of the first application program and perform state maintenance, and a detailed description of another service processing method will be described below with reference to fig. 6.
Fig. 6 is a flowchart of another 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 a 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.
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.
S603, starting the first application program or prohibiting 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, the execution process of S603 may refer to the execution process of S203, which is not described herein.
S604, acquiring a starting instruction of the terminal equipment.
The start-up instruction is used for starting the terminal device, and optionally, the start-up instruction may be a long-press start-up key.
S605, acquiring screen-warming information in a preset storage space according to a starting instruction.
The preset storage space may be a Read-Only Memory (ROM) of the terminal device, and the screen-up information may be a state of the terminal device before receiving the power-on instruction, including a screen-up state and a non-screen-up state.
Optionally, the information of the screen may further include a screen skip chain, a screen skip progress, a storage length of the screen skip information, and the like, where the screen skip progress is used to record what number of screen types of applications have been skipped currently, the storage length of the screen skip information is used to indicate a start mode of an application, and the start mode includes a start mode of a single application and a skip start mode among multiple applications. For example, when the storage length of the screen information is 1, the skip mode of the application is a start mode of a single application, and when the storage length of the screen information is greater than 1, the skip mode of the application is a skip start mode between a plurality of applications. Of course, the information of the touch screen may also store other information, which is not particularly limited in this application.
S606, judging whether the screen-warming state value in the screen-warming information indicates that the terminal equipment is in the screen-warming state.
If yes, executing S607-S608;
if not, S609 is performed.
S607, determining the identification of the screen-warming application program in the screen-warming information.
And S608, starting the screen-warming application program according to the identification of the screen-warming application program.
For example, when the identity of the touchscreen application is application a, the touchscreen application a is started.
S609, displaying the desktop of the terminal equipment, and recording that the state of the terminal equipment is a non-screen-rejection state.
At this time, the terminal device does not regulate the behavior of the user using the terminal device, i.e., the user can start any application program in the terminal device.
The embodiment of the application provides an application program control method, a terminal device can acquire a starting request of a first application program, and acquire 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-up state or a non-screen-up state, the type of the application program is a screen-up type or a non-screen-up type, and the first application program is started or the first application program is forbidden to be 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 program is requested to be started, it is necessary to determine whether to start the first application program according to the state of the terminal device and the type of the first application program. The reliability of the application program starting control of the terminal equipment 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 program;
the second obtaining module 12 is configured to obtain, according to the start request, a state of the terminal device and a type of the first application, where the state of the terminal device is a screen-up state or a non-screen-up state, and the type of the application is a screen-up type or a non-screen-up type;
the first starting module 13 is 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 control device provided by the embodiment of the application can execute the technical scheme shown in the embodiment of the method, and the implementation principle and the beneficial effects are similar, and are not repeated here.
In one possible embodiment, the first starting module 13 is specifically configured to:
if the state of the terminal equipment is a non-screen-rejection state, starting the first application program;
if the state of the terminal equipment is the screen-warming state, starting the first application program or prohibiting starting the first application program according to the type of the first application program.
In one possible embodiment, the first starting module 13 is specifically configured to:
if the type of the first application program is a non-screen-rejection type, prohibiting starting the first application program;
if the type of the first application program is the type of the screen, determining a second application program currently displayed by the terminal equipment, and starting the first application program or prohibiting starting the first application program according to the first application program and the second application program.
In one possible embodiment, 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 allowing 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 of the first application program.
In one possible embodiment, 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 one possible implementation, the second obtaining module 12 is specifically configured to:
acquiring a screen-up state value, wherein the screen-up state value is used for indicating the state of the terminal equipment;
and determining the state of the terminal equipment according to the screen-warming state value.
The application control device provided by the embodiment of the application can execute the technical scheme shown in the embodiment of the method, and the implementation principle and the beneficial effects are similar, and are not repeated here.
Fig. 8 is a schematic structural diagram of another application control device according to an embodiment of the present application. Referring to fig. 8, on the basis of the embodiment shown in fig. 7, the apparatus 10 further includes:
a third obtaining module 14, configured to obtain a startup instruction of the terminal device;
a fourth obtaining module 15, configured to obtain, according to the start-up instruction, screen-up information in a preset storage space;
a determining module 16, configured to determine an identifier of an application program of the touch screen in the touch screen information if the touch screen status value in the touch screen information indicates that the terminal device is in the touch screen status;
and the second starting module 17 is used for starting the screen-warming application program according to the identification of the screen-warming application program.
The application control device provided by the embodiment of the application can execute the technical scheme shown in the embodiment of the method, and the implementation principle and the beneficial effects are similar, and are not repeated here.
Fig. 9 is a schematic hardware structure 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; the processor 21 and the memory 22 are in communication via a communication bus 23, said memory 22 being adapted to store program instructions, said processor 21 being adapted to invoke the program instructions in the memory for performing the application control method as shown in any of the method embodiments described above.
Optionally, the application control device 20 may also include a communication interface, which may include a transmitter and/or a receiver.
Alternatively, the processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), etc. 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 for execution, or in a combination of hardware and software modules in a processor for execution.
The present application provides a readable storage medium having a computer program stored thereon; the computer program is configured to implement the application control method according to any of the above embodiments.
Embodiments of the present application provide a computer program product comprising instructions that, when executed, cause a computer to perform the above-described application control method.
All or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a readable memory. The program, when executed, performs steps including 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, floppy 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 modifications and variations can be made to 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 and the equivalents thereof, the present application is also intended to include such modifications and variations.
In the present disclosure, the term "include" and variations thereof may refer to non-limiting inclusion; the term "or" and variations thereof may refer to "and/or". The terms "first," "second," and the like in this specification are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. In the present application, "a plurality of" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.

Claims (10)

1. An application control method, comprising:
acquiring a starting request of a first application program;
acquiring the state of the 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-up state or a non-screen-up state, and the type of the application program is a screen-up type or a non-screen-up type; the screen-over state refers to that the terminal equipment is in a controlled state, when the terminal equipment is in the controlled state, a user starts a specific application program in the terminal equipment, and other application programs are forbidden to be started; the non-screen-rejection state refers to that the terminal equipment is in an uncontrolled state, and when the terminal equipment is in the uncontrolled state, a user starts all application programs in the terminal equipment; when the terminal equipment is in a screen-up state, the type of the application program which can be started is the screen-up type, and the type of the application program which is forbidden to be started is the non-screen-up type;
And starting the first application program or prohibiting 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 launching the first application or disabling launching the first application based on 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-rejection state, starting the first application program;
if the state of the terminal equipment is the screen-warming state, starting the first application program or prohibiting 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 disabling 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-rejection type, prohibiting starting the first application program;
if the type of the first application program is the type of the screen, determining a second application program currently displayed by the terminal equipment, and starting the first application program or prohibiting starting the first application program according to the first application program and the second application program.
4. A method according to claim 3, wherein launching the first application or disabling launching the first application in accordance with 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 allowing 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 of the first application program.
5. The method of claim 4, wherein obtaining at least one jump 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 of claims 1-5, wherein obtaining the status of the terminal device comprises:
Acquiring a screen-up state value, wherein the screen-up state value is used for indicating the state of the terminal equipment;
and determining the state of the terminal equipment according to the screen-warming state value.
7. The method according to any one of claims 1-5, further comprising:
acquiring a starting instruction of the terminal equipment;
acquiring screen-warming information in a preset storage space according to the starting instruction;
if the screen-up state value in the screen-up information indicates that the terminal equipment is in the screen-up state, determining the identification of the screen-up application program in the screen-up information;
and starting the screen-warming application program according to the identification of the screen-warming application program.
8. An application control apparatus, comprising:
the first acquisition module is used for acquiring a starting request of the first application program;
the second acquisition module is used for acquiring the state of the 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-up state or a non-screen-up state, and the type of the application program is a screen-up type or a non-screen-up type; the screen-over state refers to that the terminal equipment is in a controlled state, when the terminal equipment is in the controlled state, a user starts a specific application program in the terminal equipment, and other application programs are forbidden to be started; the non-screen-rejection state refers to that the terminal equipment is in an uncontrolled state, and when the terminal equipment is in the uncontrolled state, a user starts all application programs in the terminal equipment; when the terminal equipment is in a screen-up state, the type of the application program which can be started is the screen-up type, and the type of the application program which is forbidden to be started is the non-screen-up type;
And the first starting module is used for starting the first application program or prohibiting 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 used for storing 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 claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein computer program instructions, which when executed by a processor, implement the application control method according to any of claims 1 to 7.
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 CN114615377A (en) 2022-06-10
CN114615377B true 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
CN114615377A (en) 2022-06-10

Similar Documents

Publication Publication Date Title
EP3623942A1 (en) Message processing method and apparatus, storage medium, and computer device
CN108174248B (en) Video playing method, video playing control device and storage medium
US11137909B2 (en) Secure data entry via a virtual keyboard
CN104808983B (en) A kind of method for pushing and server of application program
CN104978180B (en) Unprocessed event prompting method and device and mobile terminal
US20150082242A1 (en) Providing Context Menu Based on Predicted Commands
CN110069919B (en) Information acquisition method and device
CN110007936B (en) Data processing method and device
US20150199058A1 (en) Information processing method and electronic device
CN108712478A (en) A kind of method and apparatus for sharing boarding application
KR20160083915A (en) Method, apparatus, and system for communicating and presenting product information
CN108460259B (en) Information processing method and device and terminal
CN111857498B (en) Data interaction method and device and electronic equipment
CN111400633A (en) Page resource loading method and device
CN111756618B (en) Group chat processing method and device, electronic equipment and readable storage medium
CN111817944A (en) Picture sharing method and device and electronic equipment
CN114615377B (en) Application program control method, device and equipment
CN113992784B (en) Audio and video call method, device, computer equipment and storage medium
CN112966201B (en) Object processing method, device, electronic equipment and storage medium
CN112115693B (en) Method and device for exporting Word document with dynamic rendering chart and computer equipment
CN114489414A (en) File processing method and device
CN110704157B (en) Application starting method, related device and medium
CN116266482A (en) Equipment software upgrading method and device
US9509772B1 (en) Visualization and control of ongoing ingress actions
CN113807831A (en) Payment 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