CN113805955A - Application program starting method and device - Google Patents
Application program starting method and device Download PDFInfo
- Publication number
- CN113805955A CN113805955A CN202010538232.8A CN202010538232A CN113805955A CN 113805955 A CN113805955 A CN 113805955A CN 202010538232 A CN202010538232 A CN 202010538232A CN 113805955 A CN113805955 A CN 113805955A
- Authority
- CN
- China
- Prior art keywords
- application program
- starting
- information
- starting mode
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 239000003999 initiator Substances 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 2
- 238000007726 management method Methods 0.000 description 25
- 238000004891 communication Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000006399 behavior Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 241000251468 Actinopterygii Species 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
- G06F21/121—Restricting unauthorised execution of programs
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Stored Programmes (AREA)
Abstract
The disclosure provides a method and a device for starting an application program. The method is applied to the terminal and comprises the following steps: detecting that an application program is to be started, determining a starting mode used by the application program in advance, preliminarily determining that the application program is not authorized to follow the starting mode according to the authority setting information, determining authority information for starting the application program according to the starting mode according to a preset application program white list, and controlling the starting of the application program according to the authority information. The terminal controls the starting of the application program by using the application program white list, and the stable performance of the terminal is ensured.
Description
Technical Field
The present disclosure relates to the field of computer communication technologies, and in particular, to a method and an apparatus for starting an application program.
Background
With the development of terminal technology, more and more application programs are installed in the terminal for use, so that the functions of the terminal are enriched, and the use experience of a user is met.
At present, some malicious application programs exist, which can be maliciously started, occupy the running space of the terminal, and reduce the performance of the terminal. Therefore, how to control the start of the application program and ensure the stable performance of the terminal is a technical problem that needs to be solved urgently by those skilled in the art.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method and an apparatus for starting an application program.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for starting an application, which is applied to a terminal, the method including:
detecting that an application program is to be started, and determining a starting mode pre-used by the application program;
after the application program is preliminarily determined to be not authorized to be started according to the starting mode according to the permission setting information, determining permission information of the application program started according to the starting mode according to a preset application program white list;
and controlling the starting of the application program according to the authority information.
Optionally, the determining, according to a preset application white list, the authority information that the application is started according to the starting manner includes:
determining whether the application is in the application whitelist;
if so, determining that the application program is authorized to be started according to the starting mode;
if not, determining that the application program is not authorized to be started according to the starting mode.
Optionally, the method further comprises:
and after determining that the application program is authorized to be started according to the starting mode according to the permission setting information, starting the application program according to the starting mode.
Optionally, the terminal provides a start management interface, the start management interface includes a control, and the control is used for setting the permission for starting the application program according to the start mode; the method further comprises the following steps:
and determining the permission setting information according to the permission set by the control.
Optionally, the method further comprises:
and when the application program is installed, setting that the application program is not authorized to be started according to the starting mode through the control.
Optionally, the method further comprises:
receiving a use operation for the control;
and adjusting the permission set by the control according to the operation information of the use operation.
Optionally, the determining, according to a preset application white list, the authority information that the application is started according to the starting manner includes:
after the starting mode is determined to be a preset starting mode, determining the authority information according to the application program white list, wherein the preset starting mode comprises any one of the following modes: self-starting mode, chain starting mode.
Optionally, the method further comprises:
and after the starting mode is determined to be the user starting mode, starting the application program according to the starting mode.
Optionally, the method further comprises:
receiving the application white list;
replacing a locally stored application white list with the application white list.
Optionally, the method further comprises:
storing launch information for the application, the launch information including at least one of: starting mode information, a starting result and starting time, wherein the starting mode information comprises at least one of the following items: information of an initiator of the application program, a starting mode and information of the application program are started;
and outputting the starting information.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for starting an application, applied to a terminal, the apparatus including:
the mode determining module is configured to detect that an application program is to be started and determine a starting mode used by the application program in advance;
the information determining module is configured to determine authority information of the application program started according to the starting mode according to a preset application program white list after the application program is preliminarily determined not to be started according to the authority setting information;
and the starting control module is configured to control the starting of the application program according to the authority information.
Optionally, the information determining module includes:
a program determination submodule configured to determine whether the application is on the application whitelist;
a first permission determining submodule configured to determine that the application program is authorized to be started according to the starting mode if the application program is located in the application program white list;
and the second permission determination submodule is configured to determine that the application program is not authorized to be started according to the starting mode if the application program is not in the application program white list.
Optionally, the apparatus further comprises:
and the program starting module is configured to start the application program according to the starting mode after determining that the application program is authorized to be started according to the starting mode according to the permission setting information.
Optionally, the terminal provides a start management interface, the start management interface includes a control, and the control is used for setting the permission for starting the application program according to the start mode; the device further comprises:
and the setting information determining module is configured to determine the permission setting information according to the permission set by the control.
Optionally, the apparatus further comprises:
and the permission setting module is configured to set that the application program is not authorized to be started according to the starting mode through the control when the application program is installed.
Optionally, the apparatus further comprises:
an operation receiving module configured to receive a use operation for the control;
and the permission adjusting module is configured to adjust the permission set by the control according to the operation information of the use operation.
Optionally, the information determining module is configured to determine the permission information according to the application white list after determining that the starting manner is a preset starting manner, where the preset starting manner includes any one of: self-starting mode, chain starting mode.
Optionally, the apparatus further comprises:
and the application program starting module is configured to start the application program according to the starting mode after the starting mode is determined to be the user starting mode.
Optionally, the apparatus further comprises:
a white list receiving module configured to receive the application white list;
a white list replacement module configured to replace a locally stored application white list with the application white list.
Optionally, the apparatus further comprises:
an information storage module configured to store launch information for the application, the launch information including at least one of: starting mode information, a starting result and starting time, wherein the starting mode information comprises at least one of the following items: information of an initiator for starting the application program, the type of a starting mode and the information of the application program;
an information output module configured to output the start-up information.
According to a third aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any one of the above first aspects.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting that an application program is to be started, and determining a starting mode pre-used by the application program;
after the application program is preliminarily determined to be not authorized to be started according to the starting mode according to the permission setting information, determining permission information of the application program started according to the starting mode according to a preset application program white list;
and controlling the starting of the application program according to the authority information.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, a terminal detects that an application program is to be started, determines a starting mode used by the application program in advance, determines authority information of the application program started according to the starting mode according to a preset application program white list after preliminarily determining that the application program is not authorized to follow the starting mode according to authority setting information, and controls the starting of the application program according to the authority information. The terminal controls the starting of the application program by using the application program white list, and the stable performance of the terminal is ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
FIG. 1 is a flow diagram illustrating a method for launching an application in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram illustrating a launch management interface in accordance with an illustrative embodiment;
FIG. 3 is a schematic diagram of a sub-interface of the launch management interface shown in FIG. 2;
FIG. 4 is a block diagram illustrating an apparatus for launching an application, according to an exemplary embodiment;
fig. 5 is a schematic diagram illustrating a structure of a terminal according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Fig. 1 is a flowchart illustrating a method for starting an application according to an exemplary embodiment, where the method illustrated in fig. 1 is applied to a terminal, and the method includes:
in step 101, detecting that an application program is to be started, and determining a starting mode that is used by the application program in advance.
In the embodiment of the disclosure, the terminal has the functions of detecting that the application program is to be started and controlling the starting of the application program. The terminal is applicable to various terminals, such as mobile phones, tablets, notebooks, wearable electronic devices, and the like.
There are various starting modes of the application program, for example, a self-starting mode, a chain starting mode, a user starting mode, and the like.
The self-starting mode refers to a mode in which the application program is started spontaneously. For example, the application program is started spontaneously according to system broadcast, system timing, and the like, and the starting mode of the application program is a user starting mode.
The chain startup mode refers to a mode in which an application is started by another application.
The user-initiated mode refers to a mode of initiating an application based on user behavior. For example, a user opens an application by clicking an application icon on a terminal desktop, a user opens an application by clicking a notification bar on a terminal desktop, a user opens an application by clicking a latest task bar on a terminal desktop, and the like, and the starting mode of an application corresponding to such an operation is a user starting mode.
In step 102, after it is preliminarily determined that the application program is not authorized to start according to the permission setting information, permission information for starting the application program according to the starting mode is determined according to a preset application program white list.
The terminal is provided with permission setting information, the permission setting information indicates permission for starting the application program according to the starting mode, specifically, the permission setting information can limit that the application program has the permission to start according to the starting mode, or the permission setting information can limit that the application program has no permission to start according to the starting mode. The authority setting information may be information that is default of the terminal, or the authority setting information may be information set by the user.
The terminal is provided with an application program white list, and the application programs in the application program white list can be started by the terminal. The terminal firstly determines whether the application program is authorized to be started according to the starting mode according to preset authority setting information, if so, the application program is started according to the starting mode, and if not, the authority information of the application program started according to the starting mode is further determined according to a preset application program white list.
The terminal can determine whether the application program is in the white list of the application program, if so, the terminal determines that the application program has the right to be started according to the starting mode, and if not, the terminal determines that the application program has no right to be started according to the starting mode.
In an embodiment, the terminal may obtain the application white list in a variety of ways, for example, the terminal receives the application white list sent by the control end, or the terminal generates the application white list according to the historical behavior of the application. The control terminal can add the application program into the application program white list after determining the safety of the application program based on a large amount of behavior data of the application program, and issue the application program white list to the terminal. The control terminal generates the application program white list, so that the working pressure of the terminal can be relieved.
The terminal may replace the locally stored application whitelist with the newly received application whitelist.
Due to the fact that the application programs are various in types, a large number of application programs need to be analyzed and counted, the application programs with potential safety hazards are determined from the large number of application programs, and an application program blacklist is generated. Generally, the application program blacklist includes more application programs, and the file is larger, and has the disadvantages of slow issuing speed, more traffic occupation, untimely issuing, low issuing success rate and the like.
The generation process of the application program white list is relatively simple, and the application program white list is generated by placing a small amount of trusted application programs in the list, so that the method has the advantages of simplicity in operation, short consumed time, good maintenance and the like. The application white list comprises a small number of applications, files are small, and the method has the advantages of being high in issuing speed, small in traffic occupation, capable of issuing in time, high in issuing success rate and the like.
In an embodiment, the terminal may provide a start management interface, where the start management interface includes a control, and the control is used to set an authority for starting the application program according to the start mode.
For example, the terminal provides a self-starting management interface and a chained starting management interface, the self-starting management interface comprises a first control, the first control is used for setting the authority of the application program to be started according to the self-starting mode, the chained starting management interface comprises a second control, and the second control is used for setting the authority of the application program to be started according to the chained starting mode. And when the terminal determines that the application program is started in a pre-used self-starting mode, determining permission setting information based on the permission set by the first control in the self-starting management interface. And when the terminal determines that the application program is started in a chain starting mode in advance, determining permission setting information based on the permission set by the second control in the chain starting management interface.
In application, the terminal can receive the use operation aiming at the control, and the permission set by the control is adjusted according to the operation information of the use operation. The management of the starting mode of the application program by the user is realized.
For example, the control is a switch, and the user can control the application program to be authorized to be started according to the starting mode by starting the switch; the user can turn off the switch and the control application is not authorized to start in this starting mode.
In one embodiment, when the terminal installs the application program, the control sets that the application program is not authorized to be started according to the starting mode, so that the application program is prevented from being started according to the starting mode at will.
For example, fig. 2 is a schematic diagram illustrating a start-up management interface according to an exemplary embodiment, where the start-up management interface includes multiple application programs, each application program sets a general switch, and after the general switch for live fighting fish is turned on, a user clicks an entry of live fighting fish, so that a terminal displays a sub-interface for live fighting fish, as shown in fig. 3, the sub-interface for live fighting fish includes a first sub-switch that allows a system to wake up and a second sub-switch that allows other applications to wake up, and when the terminal installs the application for live fighting fish, the general switch for starting up all application programs in the start-up management interface is closed by default, and the application programs are prohibited from being started up and started up in a chained manner.
In use, a user can set a main switch for starting the application program in the management interface and a sub switch in the sub interface of the application program according to needs, so as to realize the authority management of the starting mode of the application program.
In one embodiment, the application program may be launched in a plurality of ways, such as a self-launch way, a chain launch way, a user launch way, and the like.
The user starting mode refers to a mode of starting the application program based on user behavior, when the terminal starts the application program according to the user starting mode, the content displayed on the desktop of the terminal can be changed, and the user can observe the change. In this embodiment, the user starting mode is not judged and processed, and after the starting mode of the application program is determined to be the user starting mode, the terminal is directly controlled to start the application program according to the user starting mode, so as to ensure smooth execution of the operation triggered by the user.
When the application program is started by itself or other application programs, the content displayed on the terminal desktop is not changed, the starting is not sensed by the user, and the application program is frequently started maliciously.
Based on this, in order to implement management of self-starting and chained starting of an application, in this embodiment, after determining a starting manner that is pre-used by the application, it is determined whether the starting manner is a preset starting manner, where the preset starting manner includes any one of the following: and after the starting mode is determined to be a preset starting mode, executing the operation of determining the authority information according to the application program white list. Therefore, the application program is prevented from being randomly self-started and chain-started, the dangerous start is intercepted by utilizing the application program white list, and the stable operation of the terminal is protected.
In step 103, the start of the application program is controlled according to the authority information.
And after determining that the application program is authorized to be started according to the starting mode according to the white list of the application program, starting the application program according to the starting mode. And after determining that the application program is not authorized to be started according to the starting mode according to the application program white list, forbidding the application program to be started according to the starting mode and forbidding the starting of the application program.
In one embodiment, the terminal may further store start-up information of the application program, and the start-up information may include at least one of: starting mode information, starting results, starting time and the like.
Wherein the starting mode information may include at least one of: information of the initiator of the application program, the starting mode and the information of the application program. The starting mode comprises any one of the following modes: self-starting mode, user starting mode and chain starting mode.
For example, when the first application program is started by the second application program, the starting mode information includes the name of the second application program, the chain starting mode, and the name of the first application program. For another example, when the user starts the application program on the terminal desktop, the start mode information includes: starting from a desktop, a user starting mode and the name of an application program.
The initiation result may include at least one of: the starting result of the current starting of the application program, the statistical information of the starting result of the application program in a period of time and the like.
The starting result of the current start of the application program may include: the starting is successful or the starting is failed.
Statistics of the results of the launching of the application over a period of time may include: the cumulative number of failed launches of the application over a period of time.
The terminal can output the starting information of the application program for viewing and using.
For example, the terminal provides a behavior recording interface of the application program, and after the terminal stores the start information of the application program, the start information of the application program is displayed on the behavior recording interface of the application program based on the viewing instruction of the user.
According to the embodiment, various starting information of the application program is stored and output according to the actual starting condition of the application program, so that a user can know the starting condition of the application program conveniently, and the user perception is improved.
In the embodiment of the disclosure, a terminal detects that an application program is to be started, determines a starting mode used by the application program in advance, determines authority information of the application program started according to the starting mode according to a preset application program white list after determining that the application program is not authorized to follow the starting mode according to authority setting information, and controls the starting of the application program according to the authority information. The terminal controls the starting of the application program by using the application program white list, and the stable performance of the terminal is ensured.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently.
Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
Corresponding to the embodiment of the application function implementation method, the disclosure also provides an embodiment of an application function implementation device and a corresponding terminal.
Fig. 4 is a block diagram illustrating an apparatus for starting an application according to an exemplary embodiment, where the apparatus is applied to a terminal, and the apparatus may include: a mode determination module 21, an information determination module 22 and a start control module 23; wherein,
the mode determining module 21 is configured to detect that an application program is to be started, and determine a starting mode to be used by the application program in advance;
the information determining module 22 is configured to determine, according to the permission setting information, permission information for the application to be started according to the starting manner according to a preset application white list after it is preliminarily determined that the application is not authorized to be started according to the starting manner;
the start control module 23 is configured to control the start of the application program according to the authority information.
In an alternative embodiment, on the basis of the starting apparatus of the application program shown in fig. 4, the information determining module 22 may include: the program determining submodule, the first authority determining submodule and the second authority determining submodule; wherein,
the program determination submodule configured to determine whether the application program is in the application program white list;
the first permission determining submodule is configured to determine that the application program is authorized to be started according to the starting mode if the application program is located in the application program white list;
the second permission determination submodule is configured to determine that the application program is not authorized to be started according to the starting mode if the application program is not in the application program white list.
In an alternative embodiment, on the basis of the starting apparatus of the application program shown in fig. 4, the apparatus may further include: a program start module;
the program starting module is configured to start the application program according to the starting mode after determining that the application program is authorized to be started according to the starting mode according to the permission setting information.
In an optional embodiment, on the basis of the starting apparatus of the application shown in fig. 4, the terminal provides a starting management interface, where the starting management interface includes a control, and the control is used to set the authority for starting the application according to the starting manner; the apparatus may further include: a setting information determination module;
the setting information determining module is configured to determine the permission setting information according to the permission set by the control.
In an optional embodiment, the apparatus may further include: an authority setting module;
and the permission setting module is configured to set that the application program is not authorized to be started according to the starting mode through the control when the application program is installed.
In an optional embodiment, the apparatus may further include: the operation receiving module and the authority adjusting module; wherein,
the operation receiving module is configured to receive a use operation for the control;
and the permission adjusting module is configured to adjust the permission set by the control according to the operation information of the use operation.
In an optional embodiment, on the basis of the starting apparatus of the application shown in fig. 4, the information determining module 22 may be configured to determine the authority information according to the white list of the application after determining that the starting manner is a preset starting manner, where the preset starting manner includes any one of: self-starting mode, chain starting mode.
In an alternative embodiment, on the basis of the starting apparatus of the application program shown in fig. 4, the apparatus may further include: an application program starting module;
the application program starting module is configured to start the application program according to the starting mode after the starting mode is determined to be the user starting mode.
In an alternative embodiment, on the basis of the starting apparatus of the application program shown in fig. 4, the apparatus may further include: the device comprises a white list receiving module and a white list replacing module; wherein,
the white list receiving module is configured to receive the application white list;
the whitelist replacement module is configured to replace a locally stored application whitelist with the application whitelist.
In an alternative embodiment, on the basis of the starting apparatus of the application program shown in fig. 4, the apparatus may further include: the information storage module and the information output module; wherein,
the information storage module is configured to store start-up information of the application program, and the start-up information includes at least one of: starting mode information, a starting result and starting time, wherein the starting mode information comprises at least one of the following items: information of an initiator for starting the application program, the type of a starting mode and the information of the application program;
the information output module is configured to output the start-up information.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Accordingly, in one aspect, an embodiment of the present disclosure provides a terminal, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to:
receiving an operation request sent by the application program, wherein the operation request is used for requesting to execute a target operation;
determining operation information of the target operation according to the operation request;
and generating a behavior record of the current operation of the application program according to the operation information set determined in the current operation of the application program, wherein the operation information set comprises the operation information.
Fig. 5 is a block diagram illustrating a terminal 1600 according to an example embodiment. For example, apparatus 1600 may be a user device, which may be embodied as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a wearable device such as a smart watch, smart glasses, a smart bracelet, a smart running shoe, and the like.
Referring to fig. 5, apparatus 1600 may include one or more of the following components: processing component 1602, memory 1604, power component 1606, multimedia component 1608, audio component 1610, input/output (I/O) interface 1612, sensor component 1614, and communications component 1616.
The processing component 1602 generally controls overall operation of the device 1600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1602 may include one or more processors 1620 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1602 can include one or more modules that facilitate interaction between the processing component 1602 and other components. For example, the processing component 1602 can include a multimedia module to facilitate interaction between the multimedia component 1608 and the processing component 1602.
The memory 1604 is configured to store various types of data to support operation at the device 1600. Examples of such data include instructions for any application or method operating on device 1600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1604 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
A power supply component 1606 provides power to the various components of the device 1600. The power components 1606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 1600.
The multimedia component 1608 includes a screen that provides an output interface between the apparatus 1600 and a user as described above. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or slide action but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1608 comprises a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the back-facing camera may receive external multimedia data when device 1600 is in an operational mode, such as an adjustment mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1610 is configured to output and/or input an audio signal. For example, audio component 1610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1600 is in an operational mode, such as a call mode, recording mode, and voice recognition mode. The received audio signal may further be stored in the memory 1604 or transmitted via the communications component 1616. In some embodiments, audio component 1610 further includes a speaker for outputting audio signals.
The I/O interface 1612 provides an interface between the processing component 1602 and peripheral interface modules, such as keyboards, click wheels, buttons, and the like. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The communications component 1616 is configured to facilitate communications between the apparatus 1600 and other devices in a wired or wireless manner. The device 1600 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the aforementioned communication component 1616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, such as the memory 1604 comprising instructions, which when executed by the processor 1620 of the apparatus 1600, enable the apparatus 1600 to perform a method of launching an application, the method comprising: detecting that an application program is to be started, and determining a starting mode pre-used by the application program; after the application program is preliminarily determined to be not authorized to be started according to the starting mode according to the permission setting information, determining permission information of the application program started according to the starting mode according to a preset application program white list; and controlling the starting of the application program according to the authority information.
The non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (22)
1. A starting method of an application program is applied to a terminal, and the method comprises the following steps:
detecting that an application program is to be started, and determining a starting mode pre-used by the application program;
after the application program is preliminarily determined to be not authorized to be started according to the starting mode according to the permission setting information, determining permission information of the application program started according to the starting mode according to a preset application program white list;
and controlling the starting of the application program according to the authority information.
2. The method according to claim 1, wherein the determining, according to a preset application white list, the authority information that the application is started according to the starting manner includes:
determining whether the application is in the application whitelist;
if so, determining that the application program is authorized to be started according to the starting mode;
if not, determining that the application program is not authorized to be started according to the starting mode.
3. The method of claim 1, further comprising:
and after determining that the application program is authorized to be started according to the starting mode according to the permission setting information, starting the application program according to the starting mode.
4. The method according to claim 1, wherein the terminal provides a starting management interface, the starting management interface comprises a control, and the control is used for setting the permission of the application program to be started according to the starting mode; the method further comprises the following steps:
and determining the permission setting information according to the permission set by the control.
5. The method of claim 4, further comprising:
and when the application program is installed, setting that the application program is not authorized to be started according to the starting mode through the control.
6. The method of claim 4, further comprising:
receiving a use operation for the control;
and adjusting the permission set by the control according to the operation information of the use operation.
7. The method according to claim 1, wherein the determining the authority information of the application program started according to the starting manner according to a preset application program white list comprises:
after the starting mode is determined to be a preset starting mode, determining the authority information according to the application program white list, wherein the preset starting mode comprises any one of the following modes: self-starting mode, chain starting mode.
8. The method of claim 1, further comprising:
and after the starting mode is determined to be the user starting mode, starting the application program according to the starting mode.
9. The method of claim 1, further comprising:
receiving the application white list;
replacing a locally stored application white list with the application white list.
10. The method according to any one of claims 1 to 9, further comprising:
storing launch information for the application, the launch information including at least one of: starting mode information, a starting result and starting time, wherein the starting mode information comprises at least one of the following items: information of an initiator of the application program, a starting mode and information of the application program are started;
and outputting the starting information.
11. An apparatus for starting an application, applied to a terminal, the apparatus comprising:
the mode determining module is configured to detect that an application program is to be started and determine a starting mode used by the application program in advance;
the information determining module is configured to determine authority information of the application program started according to the starting mode according to a preset application program white list after the application program is preliminarily determined not to be started according to the authority setting information;
and the starting control module is configured to control the starting of the application program according to the authority information.
12. The apparatus of claim 11, wherein the information determining module comprises:
a program determination submodule configured to determine whether the application is on the application whitelist;
a first permission determining submodule configured to determine that the application program is authorized to be started according to the starting mode if the application program is located in the application program white list;
and the second permission determination submodule is configured to determine that the application program is not authorized to be started according to the starting mode if the application program is not in the application program white list.
13. The apparatus of claim 11, further comprising:
and the program starting module is configured to start the application program according to the starting mode after determining that the application program is authorized to be started according to the starting mode according to the permission setting information.
14. The device according to claim 11, wherein the terminal provides a start management interface, the start management interface includes a control, and the control is used for setting the authority of the application program to start according to the start mode; the device further comprises:
and the setting information determining module is configured to determine the permission setting information according to the permission set by the control.
15. The apparatus of claim 14, further comprising:
and the permission setting module is configured to set that the application program is not authorized to be started according to the starting mode through the control when the application program is installed.
16. The apparatus of claim 14, further comprising:
an operation receiving module configured to receive a use operation for the control;
and the permission adjusting module is configured to adjust the permission set by the control according to the operation information of the use operation.
17. The apparatus of claim 11, wherein:
the information determination module is configured to determine the permission information according to the application white list after determining that the starting mode is a preset starting mode, where the preset starting mode includes any one of: self-starting mode, chain starting mode.
18. The apparatus of claim 11, further comprising:
and the application program starting module is configured to start the application program according to the starting mode after the starting mode is determined to be the user starting mode.
19. The apparatus of claim 11, further comprising:
a white list receiving module configured to receive the application white list;
a white list replacement module configured to replace a locally stored application white list with the application white list.
20. The apparatus of any one of claims 11 to 19, further comprising:
an information storage module configured to store launch information for the application, the launch information including at least one of: starting mode information, a starting result and starting time, wherein the starting mode information comprises at least one of the following items: information of an initiator for starting the application program, the type of a starting mode and the information of the application program;
an information output module configured to output the start-up information.
21. A non-transitory computer readable storage medium, on which a computer program is stored, which, when executed by a processor, performs the steps of the method of any one of claims 1 to 10.
22. A terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting that an application program is to be started, and determining a starting mode pre-used by the application program;
after the application program is preliminarily determined to be not authorized to be started according to the starting mode according to the permission setting information, determining permission information of the application program started according to the starting mode according to a preset application program white list;
and controlling the starting of the application program according to the authority information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010538232.8A CN113805955A (en) | 2020-06-12 | 2020-06-12 | Application program starting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010538232.8A CN113805955A (en) | 2020-06-12 | 2020-06-12 | Application program starting method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113805955A true CN113805955A (en) | 2021-12-17 |
Family
ID=78944096
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010538232.8A Pending CN113805955A (en) | 2020-06-12 | 2020-06-12 | Application program starting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113805955A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107862203A (en) * | 2017-11-21 | 2018-03-30 | 广东欧珀移动通信有限公司 | Control method, device, storage medium and the terminal of application program |
CN109284149A (en) * | 2018-10-19 | 2019-01-29 | 北京小米移动软件有限公司 | Start the method and device of application program |
-
2020
- 2020-06-12 CN CN202010538232.8A patent/CN113805955A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107862203A (en) * | 2017-11-21 | 2018-03-30 | 广东欧珀移动通信有限公司 | Control method, device, storage medium and the terminal of application program |
CN109284149A (en) * | 2018-10-19 | 2019-01-29 | 北京小米移动软件有限公司 | Start the method and device of application program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3188066B1 (en) | A method and an apparatus for managing an application | |
EP3136648B1 (en) | Method and device for determining control authority on user device | |
CN110995929B (en) | Terminal control method, device, terminal and storage medium | |
CN110662095B (en) | Screen projection processing method and device, terminal and storage medium | |
EP3306441A1 (en) | Temperature control method and apparatus | |
CN110231901B (en) | Application interface display method and device | |
CN109669730B (en) | Process keep-alive method, device, electronic equipment and medium | |
CN107562349B (en) | Method and device for executing processing | |
EP3428790B1 (en) | Method and device for displaying application interface | |
CN105912204B (en) | Method and device for starting application interface | |
CN108874450B (en) | Method and device for waking up voice assistant | |
US11397596B2 (en) | Method and device for controlling pop-up window, electronic device, and storage medium | |
CN107436782B (en) | Application silent installation method and device | |
CN108037987B (en) | Application program control method, device and storage medium | |
CN106990984B (en) | Method and device for updating system | |
CN107368175B (en) | Processing method and device for reducing terminal power consumption and terminal | |
US11221734B2 (en) | Punch-hole screen display method and apparatus | |
CN105786561B (en) | Method and device for calling process | |
CN109905543B (en) | Method and device for preventing misoperation of terminal | |
CN107103231B (en) | Method and device for installing and managing application | |
CN106060104B (en) | Application management method and device | |
CN113805955A (en) | Application program starting method and device | |
CN111722919B (en) | Method and device for running background application program, storage medium and electronic equipment | |
CN111142939B (en) | Application program processing method and device | |
CN114442789A (en) | Dark screen control method, device, equipment and storage medium |
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 |