CN110941458A - Method, device and equipment for starting application program and storage medium - Google Patents

Method, device and equipment for starting application program and storage medium Download PDF

Info

Publication number
CN110941458A
CN110941458A CN201911129269.9A CN201911129269A CN110941458A CN 110941458 A CN110941458 A CN 110941458A CN 201911129269 A CN201911129269 A CN 201911129269A CN 110941458 A CN110941458 A CN 110941458A
Authority
CN
China
Prior art keywords
application program
trigger
application
list
program list
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
Application number
CN201911129269.9A
Other languages
Chinese (zh)
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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201911129269.9A priority Critical patent/CN110941458A/en
Publication of CN110941458A publication Critical patent/CN110941458A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/451Execution arrangements for user interfaces

Abstract

The application discloses a method, a device, equipment and a storage medium for starting an application program, and belongs to the technical field of internet. The method comprises the following steps: detecting that a first application program is started; acquiring a trigger application program list corresponding to a second application program to be triggered and started, wherein at least one application program is recorded in the trigger application program list; and if the trigger application program list comprises the first application program, starting the second application program in a background mode. By adopting the method and the device, when the user needs to execute the functions of other application programs, the user does not need to start the corresponding application program again, and the time of the user is saved.

Description

Method, device and equipment for starting application program and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a storage medium for starting an application.
Background
With the development of internet technology, functions that various applications can realize are increasing, and functions in various applications can also be realized based on functions of other applications, for example, a screen recording application records a display interface of an operation process of other applications.
In the prior art, when a user needs to use functions of other application programs in the process of operating one application program, the user needs to quit the current operating application program, operate the corresponding application program and execute the corresponding function by the operating terminal, and then switch back to the originally operating application program. For example, when the user needs the screen recording application to record the display interface of the currently operating application, the user may first quit the currently operating application, start the screen recording application, then return to the previously operating application, and perform the screen recording function by performing a shortcut operation of the screen recording function, for example, tapping the screen three times to start recording the display interface of the front-end application.
In the process of implementing the present application, the inventor finds that the prior art has at least the following problems:
when a user needs to use the functions of other application programs in the process of operating the application programs, the user needs to quit the application program first, then start another application program and then switch back to the original application program, and the process is complicated in operation and wastes time of the user.
Disclosure of Invention
The embodiment of the application provides a method for starting an application program, and the method can solve the problems that the process of starting the application program by a user operation terminal is complicated, and time is wasted. The technical scheme is as follows:
in one aspect, a method for starting an application program is provided, and the method includes:
detecting that a first application program is started;
acquiring a trigger application program list corresponding to a second application program to be triggered and started, wherein at least one application program is recorded in the trigger application program list;
and if the trigger application program list comprises the first application program, starting the second application program in a background mode.
Optionally, the method further includes:
when a setting page opening instruction of the second application program is detected, displaying a setting page of the second application program, wherein the setting page comprises a target control, and the target control is used for setting a trigger application program corresponding to the second application program;
when a triggering instruction of the target control is detected, displaying a local application program list, wherein the local application program list comprises options of each locally installed application program;
and when detecting that the user selects a third application program in the application program list, if the third application program is not in the trigger application program list, adding the third application program into the trigger application program list.
Optionally, the method further includes:
and when detecting that the user selects a third application program in the application program list, if the third application program is in the trigger application program list, deleting the third application program from the trigger application program list.
Optionally, the method further includes:
receiving a trigger application program setting notification corresponding to the second application program, which is sent by a server, wherein the trigger application program setting notification carries an identifier of a target application program;
and adding the target application program into the trigger application program list.
Optionally, the method further includes:
when detecting that target operation is executed in a fourth application program, acquiring a trigger operation list corresponding to the second application program to be triggered and started, wherein the trigger operation list records the corresponding relation between the trigger application program and the trigger operation;
and if the corresponding relation comprises the corresponding item of the fourth application program and the target operation, starting the second application program in the background.
Optionally, the starting the second application includes:
and starting the second application program in a background, and displaying a floating window on the upper layer of the current display interface, wherein the floating window comprises a function control of the second application program.
In another aspect, an apparatus for starting an application is provided, the apparatus comprising:
a first detection module configured to detect a first application launch;
the acquisition module is configured to acquire a trigger application program list corresponding to a second application program to be triggered and started, wherein at least one application program is recorded in the trigger application program list;
a first launching module configured to background launch the second application if the trigger application list includes the first application.
Optionally, the apparatus further comprises:
the first display module is configured to display a setting page of the second application program when a setting page starting instruction of the second application program is detected, wherein the setting page comprises a target control, and the target control is used for setting a trigger application program corresponding to the second application program;
the second display module is configured to display a local application program list when a trigger instruction of the target control is detected, wherein the local application program list comprises options of each locally-installed application program;
a first adding module configured to add a third application program to the trigger application program list if the third application program is not in the trigger application program list when detecting that a user selects the third application program in the application program list.
Optionally, the apparatus further includes a deletion module configured to:
and when detecting that the user selects a third application program in the application program list, if the third application program is in the trigger application program list, deleting the third application program from the trigger application program list.
Optionally, the apparatus further includes a second adding module configured to:
receiving a trigger application program setting notification corresponding to the second application program, which is sent by a server, wherein the trigger application program setting notification carries an identifier of a target application program;
and adding the target application program into the trigger application program list.
Optionally, the apparatus further comprises:
the second detection module is configured to acquire a trigger operation list corresponding to a second application program to be triggered and started when detecting that target operation is executed in a fourth application program, wherein the trigger operation list records a corresponding relation between the trigger application program and the trigger operation;
a second starting module configured to start the second application program in the background if the corresponding item of the fourth application program and the target operation is included in the corresponding relationship.
Optionally, the apparatus further comprises a third display module configured to:
and starting the second application program in a background, and displaying a floating window on the upper layer of the current display interface, wherein the floating window comprises a function control of the second application program.
In yet another aspect, a computer device is provided, which includes a processor and a memory, where at least one instruction is stored, and is loaded and executed by the processor to implement the operations performed by the method for launching an application program.
In yet another aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement the operations performed by the method for launching an application program.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
by detecting the starting of the first application program in the terminal and determining whether the first application program which is currently started is triggering the application program list, if the first application program which is currently started is triggering the application program list, the second application program is triggered to run in a background. By adopting the method and the device, when the user needs to start and operate the second application program in the process of running the first application program, the user does not need to quit the application program first, then start another application program, and then switch back to the original application program, so that the time of the user can be saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an application startup method according to an embodiment of the present application;
fig. 2 is a display diagram of an interface for launching an application according to an embodiment of the present application;
FIG. 3 is a display diagram of an interface for launching an application according to an embodiment of the present application;
FIG. 4 is a display diagram of an interface for launching an application according to an embodiment of the present application;
FIG. 5 is a diagram illustrating an interface for launching an application according to an embodiment of the present application;
FIG. 6 is a display diagram of an interface for launching an application according to an embodiment of the present application;
fig. 7 is a block diagram of an apparatus for starting an application according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer device provided in an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The method for starting the application program can be realized by computer equipment, the computer equipment has a communication function and can be used for entering the Internet, and the computer equipment can be a terminal, such as a mobile phone, a tablet computer, an intelligent wearable device, a desktop computer, a notebook computer and the like.
The method for starting the application program, provided by the embodiment of the application program, can be applied to various application programs, when a user uses a first application program and needs to apply the function of a second application program, the scheme of the application program can play a role, technicians write a monitoring program into a system of a terminal and then monitor the starting of each application program, after the fact that the user starts the first application program is monitored, the terminal can start the second application program in a background, some function controls of the second application program can be displayed on an interface currently displayed on the terminal through a floating window, and the user can click the corresponding function controls to execute the function of the second application program.
Fig. 1 is a flowchart of an application startup method according to an embodiment of the present application. Referring to fig. 1, the embodiment includes:
step 101, detecting a first application program to start.
The first application program can be an application program installed on the mobile phone by a user. When a user clicks an icon corresponding to an application program in a desktop application program of the mobile phone, the corresponding application program can be started.
In implementation, a technician may preset a section of the monitoring program, and may inject the monitoring program into a desktop application of the system through the second application to monitor the start of the application. Wherein the listener can be a hook code section and the second application can inject the hook code section into the desktop application. When the monitoring program monitors the application program to be started, the packet name (i.e., the application program identifier) of the currently started application program may be acquired, where the packet name of the application program corresponds to the application program, different application programs may have different packet names, and the packet names corresponding to the same application program on different mobile phones may be the same, and the monitoring program may detect the start of the first application program by acquiring the different packet names.
Step 102, a trigger application program list corresponding to a second application program to be triggered and started is obtained, wherein at least one application program is recorded in the trigger application program list.
And the second application program is an application program to be started in the background.
In implementation, a technician may store a package name corresponding to a first application program that may trigger a second application program to start in a trigger application program list, and store the trigger application program list in the terminal, where the trigger application program list may record a package name of at least one application program. In addition, the second application may be a plurality of applications, that is, a trigger application list may be set for each second application.
Step 103, if the trigger application list comprises the first application program, starting a second application program.
In implementation, a section of startup program may be further set corresponding to the listener in step 101, and each time the listener acquires a packet name of an application currently started by the terminal, it may be determined whether the acquired packet name is a packet name in the trigger application list, and when the acquired packet name is a packet name in the trigger application list, the startup program may start the second application in the background.
Optionally, after the second application is started in the background, the function control of the second application may also be displayed on the upper layer of the current display interface, and the corresponding processing may be as follows: and starting a second application program in the background, and displaying a floating window on the upper layer of the current display interface, wherein the floating window comprises a function control of the second application program.
In implementation, after the second application is started in the background, a floating window may be displayed on the interface currently displayed on the terminal to remind the user that the second application has been started in the background. The floating window may be displayed on the currently displayed interface of the terminal in the form of a floating ball, as shown in fig. 2, an icon of the second application program may be displayed in the floating ball, and a user may enter the second application program by clicking the floating ball, that is, the terminal displays the current interface as a page of the second application program, and then, the user may operate the second application program to execute a corresponding function. After the user enters the second application program, the icon of the first application program may also be displayed in the hover ball, as shown in fig. 3, at which point the user clicks the hover ball again and may enter the first application program again.
In addition, a corresponding function control of the second application program may be displayed in the floating window, the corresponding function control of the second application program may be displayed at a preset position (for example, an edge) of the interface currently displayed by the terminal, and the user may click the corresponding function control, so that the terminal may execute a function of the corresponding second application program. For example, the second application program is a screen recording application program, the first application program is a game program, and after the game program is started, the screen recording application program is started in the background, as shown in fig. 4, the screen recording control may be displayed at the edge of the interface of the game program, and after the user clicks the screen recording control, the interface of the game program may be recorded into a video and stored locally for the user to play and use. In addition, as shown in fig. 5, the corresponding function control of the second application program may be disposed in the hover ball, and the user may click the hover ball, and the hover ball may pop up a function menu, where the function menu includes the function control of the second application program.
According to the method and the device for triggering the background running of the first application program, the starting of the first application program in the terminal is detected, whether the first application program which is currently started is in a trigger application program list or not is determined, and if the first application program which is currently started is in the trigger application program list, the second application program is triggered to run in the background. By adopting the method and the device, when the user needs to start and operate the second application program in the process of running the first application program, the user does not need to quit the application program first, then start another application program, and then switch back to the original application program, so that the time of the user can be saved.
In an alternative embodiment, the listener may trigger the start of the second application by listening to other applications to perform different operations, and the corresponding process may be as follows: when detecting that target operation is executed in a fourth application program, acquiring a trigger operation list corresponding to the second application program to be triggered and started, wherein the trigger operation list records the corresponding relation between the trigger application program and the trigger operation; and if the corresponding item of the fourth application program and the target operation is included in the corresponding relation, starting the second application program.
Wherein the fourth application may be a locally installed application other than the second application.
In implementation, the monitoring program may also monitor operation information of the application program, a trigger operation list may be stored in the terminal correspondingly, the trigger operation list includes an operation information identifier of the application program, the operation information identifier of the application program may be obtained when the monitoring program monitors the operation information of the application program, and when the operation information identifier of the application program is the operation information identifier of the application program in the trigger operation list, the second application program may be started in the background. For example, it is monitored that the browsing application triggers a downloading operation, and after a file is downloaded locally, virus scanning software may be started to perform virus scanning on the downloaded file.
In an alternative embodiment, the user may further select, from the second application programs, an application program that triggers the start of the second application program, and the corresponding processing may be as follows: and when a setting page opening instruction of the second application program is detected, displaying a setting page of the second application program, wherein the setting page comprises a local application program list which comprises options of each locally installed application program.
In implementation, a corresponding setting page may be set in the second application, the setting page corresponds to an option for entering the setting page, when the user clicks the corresponding option, an open instruction of the setting page in the second application is triggered, and when it is detected that the open instruction of the setting page in the second application is triggered, the setting page may be displayed in an interface of the second application, the setting page is shown in fig. 6, the setting page includes a local application list, where icons and names corresponding to applications installed locally by the user are displayed in the local application list.
Optionally, the user may set the start of the trigger application corresponding to the second application by clicking a name or an icon of the application in the local application list.
The user may set, by clicking the control, that the process of triggering the opening of the application program corresponding to the second application program is as follows: when detecting that the user selects a third application program in the application program list, if the third application program is not in the trigger application program list, adding the third application program into the trigger application program list; and when detecting that the user selects the third application program in the application program list, if the third application program is in the trigger application program list, deleting the third application program from the trigger application program list.
In implementation, the user may set the start of the trigger application corresponding to the second application by clicking the name or icon of the application in the local application list. When the second application program detects that the icon or the name corresponding to the application program clicked by the user in the application program list (namely, when the third application program is clicked), if the application program clicked by the user is not in the trigger application program list, the package name corresponding to the application program clicked by the user is added to the trigger application program list, and if the application program clicked by the user is in the trigger application program list, the package name corresponding to the application program clicked by the user can be deleted from the trigger application program list.
In an alternative embodiment, the application program triggering the start of the second application program may be updated by the server, and the corresponding process may be as follows: receiving a trigger application program setting notification corresponding to a second application program, which is sent by a server, wherein the trigger application program setting notification carries an identifier of a target application program; and adding the target application program into the trigger application program list.
In implementation, a technician may send a trigger application setting notification to the second application through the server, where the trigger application setting notification may carry packet names of one or more applications, and after receiving the trigger application setting notification, the second application may add the packet names that may be carried in the trigger application setting notification to the trigger application list. If the packet name carried by the trigger application setting notification is already in the trigger application list, the corresponding packet name may be deleted from the trigger application list.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 7 is a structural diagram of an apparatus for starting an application according to an embodiment of the present application, where the apparatus may be a terminal in the foregoing embodiment, and referring to fig. 7, the apparatus includes:
a first detection module 710 configured to detect a first application launch;
an obtaining module 720, configured to obtain a trigger application list corresponding to a second application to be triggered and started, where at least one application is recorded in the trigger application list;
a first launching module 730 configured to launch the second application in the background if the trigger application list includes the first application.
Optionally, the apparatus further comprises:
the first display module is configured to display a setting page of the second application program when a setting page starting instruction of the second application program is detected, wherein the setting page comprises a target control, and the target control is used for setting a trigger application program corresponding to the second application program;
the second display module is configured to display a local application program list when a trigger instruction of the target control is detected, wherein the local application program list comprises options of each locally-installed application program;
a first adding module configured to add a third application program to the trigger application program list if the third application program is not in the trigger application program list when detecting that a user selects the third application program in the application program list.
Optionally, the apparatus further includes a deletion module configured to:
and when detecting that the user selects a third application program in the application program list, if the third application program is in the trigger application program list, deleting the third application program from the trigger application program list.
Optionally, the apparatus further includes a second adding module configured to:
receiving a trigger application program setting notification corresponding to the second application program, which is sent by a server, wherein the trigger application program setting notification carries an identifier of a target application program;
and adding the target application program into the trigger application program list.
Optionally, the apparatus further comprises:
the second detection module is configured to acquire a trigger operation list corresponding to a second application program to be triggered and started when detecting that target operation is executed in a fourth application program, wherein the trigger operation list records a corresponding relation between the trigger application program and the trigger operation;
a second starting module configured to start the second application program in the background if the corresponding item of the fourth application program and the target operation is included in the corresponding relationship.
Optionally, the apparatus further comprises a third display module configured to:
and starting the second application program in a background, and displaying a floating window on the upper layer of the current display interface, wherein the floating window comprises a function control of the second application program.
It should be noted that: in the apparatus for starting an application program according to the above embodiment, when the application program is started, only the division of the functional modules is illustrated, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the apparatus for starting an application program and the method for starting an application program provided in the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and will not be described herein again.
Fig. 8 shows a block diagram of a computer device provided in an exemplary embodiment of the present application. The computer device may be a terminal 800, for example: smart phones, tablet computers, MP3 players (Moving Picture Experts group Audio Layer III, motion video Experts compression standard Audio Layer 3), MP4 players (Moving Picture Experts compression standard Audio Layer IV, motion video Experts compression standard Audio Layer 4), notebook computers, or desktop computers. The terminal 800 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
In general, the terminal 800 includes: a processor 801 and a memory 802.
The processor 801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 801 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 801 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 801 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 801 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 802 may include one or more computer-readable storage media, which may be non-transitory. Memory 802 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 802 is used to store at least one instruction for execution by processor 801 to implement the method of launching an application provided by the method embodiments of the present application.
In some embodiments, the terminal 800 may further include: a peripheral interface 803 and at least one peripheral. The processor 801, memory 802 and peripheral interface 803 may be connected by bus or signal lines. Various peripheral devices may be connected to peripheral interface 803 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 804, a touch screen display 805, a camera 806, an audio circuit 807, a positioning component 808, and a power supply 809.
The peripheral interface 803 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 801 and the memory 802. In some embodiments, the processor 801, memory 802, and peripheral interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 801, the memory 802, and the peripheral interface 803 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 804 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 804 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 804 converts an electrical signal into an electromagnetic signal to be transmitted, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 804 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 804 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 805 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 805 is a touch display, the display 805 also has the ability to capture touch signals on or above the surface of the display 805. The touch signal may be input to the processor 801 as a control signal for processing. At this point, the display 805 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 805 may be one, providing the front panel of the terminal 800; in other embodiments, the display 805 may be at least two, respectively disposed on different surfaces of the terminal 800 or in a folded design; in still other embodiments, the display 805 may be a flexible display disposed on a curved surface or a folded surface of the terminal 800. Even further, the display 805 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 805 can be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 806 is used to capture images or video. Optionally, camera assembly 806 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 806 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 807 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 801 for processing or inputting the electric signals to the radio frequency circuit 804 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 800. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 801 or the radio frequency circuit 804 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 807 may also include a headphone jack.
The positioning component 808 is used to locate the current geographic position of the terminal 800 for navigation or LBS (location based Service). The positioning component 808 may be a positioning component based on the GPS (global positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 809 is used to provide power to various components in terminal 800. The power supply 809 can be ac, dc, disposable or rechargeable. When the power source 809 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 800 also includes one or more sensors 810. The one or more sensors 810 include, but are not limited to: acceleration sensor 811, gyro sensor 812, pressure sensor 813, fingerprint sensor 814, optical sensor 815 and proximity sensor 816.
The acceleration sensor 811 may detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 800. For example, the acceleration sensor 811 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 801 may control the touch screen 805 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 811. The acceleration sensor 811 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 812 may detect a body direction and a rotation angle of the terminal 800, and the gyro sensor 812 may cooperate with the acceleration sensor 811 to acquire a 3D motion of the user with respect to the terminal 800. From the data collected by the gyro sensor 812, the processor 801 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 813 may be disposed on the side bezel of terminal 800 and/or underneath touch display 805. When the pressure sensor 813 is disposed on the side frame of the terminal 800, the holding signal of the user to the terminal 800 can be detected, and the processor 801 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 813. When the pressure sensor 813 is disposed at a lower layer of the touch display screen 805, the processor 801 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 805. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 814 is used for collecting a fingerprint of the user, and the processor 801 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 814, or the fingerprint sensor 814 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 801 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying for and changing settings, etc. Fingerprint sensor 814 may be disposed on the front, back, or side of terminal 800. When a physical button or a vendor Logo is provided on the terminal 800, the fingerprint sensor 814 may be integrated with the physical button or the vendor Logo.
The optical sensor 815 is used to collect the ambient light intensity. In one embodiment, the processor 801 may control the display brightness of the touch screen 805 based on the ambient light intensity collected by the optical sensor 815. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 805 is increased; when the ambient light intensity is low, the display brightness of the touch display 805 is turned down. In another embodiment, the processor 801 may also dynamically adjust the shooting parameters of the camera assembly 806 based on the ambient light intensity collected by the optical sensor 815.
A proximity sensor 816, also known as a distance sensor, is typically provided on the front panel of the terminal 800. The proximity sensor 816 is used to collect the distance between the user and the front surface of the terminal 800. In one embodiment, when the proximity sensor 816 detects that the distance between the user and the front surface of the terminal 800 gradually decreases, the processor 801 controls the touch display 805 to switch from the bright screen state to the dark screen state; when the proximity sensor 816 detects that the distance between the user and the front surface of the terminal 800 becomes gradually larger, the processor 801 controls the touch display 805 to switch from the screen-on state to the screen-on state.
Those skilled in the art will appreciate that the configuration shown in fig. 8 is not intended to be limiting of terminal 800 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, a computer-readable storage medium, such as a memory, including instructions executable by a processor in a terminal to perform the method of launching an application program in the above-described embodiments is also provided. The computer readable storage medium may be non-transitory. For example, the computer-readable storage medium may be a ROM (Read-only Memory), a RAM (Random Access Memory), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method for launching an application, the method comprising:
detecting that a first application program is started;
acquiring a trigger application program list corresponding to a second application program to be triggered and started, wherein at least one application program is recorded in the trigger application program list;
and if the trigger application program list comprises the first application program, starting the second application program in a background mode.
2. The method of claim 1, further comprising:
when a setting page opening instruction of the second application program is detected, displaying a setting page of the second application program, wherein the setting page comprises a local application program list which comprises options of each locally installed application program;
and when detecting that the user selects a third application program in the application program list, if the third application program is not in the trigger application program list, adding the third application program into the trigger application program list.
3. The method of claim 2, further comprising:
and when detecting that the user selects a third application program in the application program list, if the third application program is in the trigger application program list, deleting the third application program from the trigger application program list.
4. The method of claim 1, further comprising:
receiving a trigger application program setting notification corresponding to the second application program, which is sent by a server, wherein the trigger application program setting notification carries an identifier of a target application program;
and adding the target application program into the trigger application program list.
5. The method of claim 1, further comprising:
when detecting that target operation is executed in a fourth application program, acquiring a trigger operation list corresponding to the second application program to be triggered and started, wherein the trigger operation list records the corresponding relation between the trigger application program and the trigger operation;
and if the corresponding relation comprises the corresponding item of the fourth application program and the target operation, starting the second application program in the background.
6. The method of claim 1, wherein the launching the second application comprises:
and starting the second application program in a background, and displaying a floating window on the upper layer of the current display interface, wherein the floating window comprises a function control of the second application program.
7. An apparatus for launching an application, the apparatus comprising:
a first detection module configured to detect a first application launch;
the acquisition module is configured to acquire a trigger application program list corresponding to a second application program to be triggered and started, wherein at least one application program is recorded in the trigger application program list;
a first launching module configured to background launch the second application if the trigger application list includes the first application.
8. The apparatus of claim 7, further comprising:
the first display module is configured to display a setting page of the second application program when a setting page starting instruction of the second application program is detected, wherein the setting page comprises a target control, and the target control is used for setting a trigger application program corresponding to the second application program;
the second display module is configured to display a local application program list when a trigger instruction of the target control is detected, wherein the local application program list comprises options of each locally-installed application program;
a first adding module configured to add a third application program to the trigger application program list if the third application program is not in the trigger application program list when detecting that a user selects the third application program in the application program list.
9. A computer device comprising a processor and a memory, wherein at least one instruction is stored in the memory and loaded and executed by the processor to perform operations performed by the method of launching an application program according to any one of claims 1 to 6.
10. A computer-readable storage medium having stored therein at least one instruction which is loaded and executed by a processor to perform operations performed by a method of launching an application as recited in any of claims 1-6.
CN201911129269.9A 2019-11-18 2019-11-18 Method, device and equipment for starting application program and storage medium Pending CN110941458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911129269.9A CN110941458A (en) 2019-11-18 2019-11-18 Method, device and equipment for starting application program and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911129269.9A CN110941458A (en) 2019-11-18 2019-11-18 Method, device and equipment for starting application program and storage medium

Publications (1)

Publication Number Publication Date
CN110941458A true CN110941458A (en) 2020-03-31

Family

ID=69906909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911129269.9A Pending CN110941458A (en) 2019-11-18 2019-11-18 Method, device and equipment for starting application program and storage medium

Country Status (1)

Country Link
CN (1) CN110941458A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230830A (en) * 2020-09-01 2021-01-15 盐城华旭光电技术有限公司 Screen capturing device and screen capturing method of touch screen equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130061251A1 (en) * 2011-09-01 2013-03-07 Microsoft Corporation Event aggregation for background work execution
CN103034516A (en) * 2012-12-13 2013-04-10 东莞宇龙通信科技有限公司 Terminal and method for opening application program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130061251A1 (en) * 2011-09-01 2013-03-07 Microsoft Corporation Event aggregation for background work execution
CN103034516A (en) * 2012-12-13 2013-04-10 东莞宇龙通信科技有限公司 Terminal and method for opening application program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230830A (en) * 2020-09-01 2021-01-15 盐城华旭光电技术有限公司 Screen capturing device and screen capturing method of touch screen equipment

Similar Documents

Publication Publication Date Title
CN110308956B (en) Application interface display method and device and mobile terminal
CN110602321B (en) Application program switching method and device, electronic device and storage medium
CN109068008B (en) Ringtone setting method, device, terminal and storage medium
CN109144346B (en) Song sharing method and device and storage medium
CN110362366B (en) Application interface display method and device
CN111065001A (en) Video production method, device, equipment and storage medium
CN111897465B (en) Popup display method, device, equipment and storage medium
CN110769313A (en) Video processing method and device and storage medium
CN112256320A (en) Version number generation method, device, terminal and storage medium
CN110677713B (en) Video image processing method and device and storage medium
CN109783176B (en) Page switching method and device
CN111083526A (en) Video transition method and device, computer equipment and storage medium
CN110769120A (en) Method, device, equipment and storage medium for message reminding
CN107943484B (en) Method and device for executing business function
CN110191236B (en) Song playing queue management method and device, terminal equipment and storage medium
CN112118353A (en) Information display method, device, terminal and computer readable storage medium
CN109033473B (en) Picture sharing method and device and computer readable storage medium
CN111464829B (en) Method, device and equipment for switching media data and storage medium
CN110941458A (en) Method, device and equipment for starting application program and storage medium
CN110868642B (en) Video playing method, device and storage medium
CN109189525B (en) Method, device and equipment for loading sub-page and computer readable storage medium
CN113485596A (en) Virtual model processing method and device, electronic equipment and storage medium
CN109275015B (en) Method, device and storage medium for displaying virtual article
CN108877845B (en) Song playing method and device
CN113408989A (en) Automobile data comparison method and device and computer 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