CN109408155B - Application starting method and device - Google Patents

Application starting method and device Download PDF

Info

Publication number
CN109408155B
CN109408155B CN201811317838.8A CN201811317838A CN109408155B CN 109408155 B CN109408155 B CN 109408155B CN 201811317838 A CN201811317838 A CN 201811317838A CN 109408155 B CN109408155 B CN 109408155B
Authority
CN
China
Prior art keywords
application
popup
starting
main process
statement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811317838.8A
Other languages
Chinese (zh)
Other versions
CN109408155A (en
Inventor
李健
杨航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201811317838.8A priority Critical patent/CN109408155B/en
Publication of CN109408155A publication Critical patent/CN109408155A/en
Application granted granted Critical
Publication of CN109408155B publication Critical patent/CN109408155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides an application starting method and device, and the method comprises the following steps: when the starting condition of the application is met, starting and running a popup process in the application; outputting a statement popup through the popup process, wherein statement information is displayed in the statement popup; when the popup process detects an agreement indication for the declaration information, the application main process is called and started by the popup process, so that the initialization of the application is executed by the main process. The scheme of the application is beneficial to reducing the modification amount of the code in the original application version in the process of generating the application version pre-installed by the manufacturer in the electronic equipment.

Description

Application starting method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to an application starting method and apparatus.
Background
The electronic equipment such as a mobile phone and a tablet personal computer can be provided with applications for realizing different functions. The application in the electronic equipment can be downloaded and installed by a user according to the use requirement; or may be pre-installed by the manufacturer, that is, the applications in the electronic device are installed when the electronic device leaves the factory.
For the same application, there is a distinction between the application pre-installed by a manufacturer in the electronic device and the application downloaded by a user from an application supply website such as an application store. The main difference between the application pre-installed by the manufacturer and the same application provided by the application supply website is as follows: according to relevant regulations, when an application pre-installed by a manufacturer is started in an electronic device, a statement popup is required to be output, and statement information such as disclaimer is output in the statement popup. Meanwhile, after the application pre-installed by the manufacturer detects that the user clicks the agreement key in the statement popup, the application pre-installed by the manufacturer can initialize to realize the normal operation of the application.
However, in order to enable the application pre-installed by the manufacturer to meet the relevant regulations such as pop-up statement popup during startup, the code of the application provided in the application supply website (or issued by the developer) needs to be logically modified more frequently, so that the version of the application pre-installed by the manufacturer can be obtained.
Disclosure of Invention
In view of this, the present application provides an application starting method and apparatus, so as to be beneficial to reducing the logical modification of the code in the original application required for generating the pre-installed application version on the premise of meeting the starting rule of the application pre-installed in the electronic device.
In order to achieve the above object, the present application provides an application starting method, including:
when the starting condition of the application is met, starting and running a popup process in the application;
outputting a statement popup through the popup process, wherein statement information is displayed in the statement popup;
when the popup process detects an agreement indication aiming at the statement information, the popup process calls and starts a main process of the application so as to execute the initialization of the application through the main process and finish the starting of the application.
Preferably, after the calling and starting the main process of the application through the popup process, the method further includes:
and finishing the operation of the popup process through the main process.
Preferably, the executing initialization of the application by the host process includes:
calling a communication module of the electronic equipment through the main process to establish communication connection between the main process and the server of the application;
performing initialization of the application based on a communication connection between the host process and the server.
Preferably, the outputting a statement popup through the popup process includes:
detecting whether the application is started before the current moment or not through the popup process;
and if the application is not started before the current time, outputting a statement popup through the popup process.
Preferably, the application starting method further includes:
and if the application is started before the current moment, calling and running a main process of the application through the popup process so as to execute initialization of the application through the main process and finish the starting of the application.
On the other hand, the application also provides an application starting device, which comprises:
the popup starting unit is used for starting and running a popup process in the application when the starting condition of the application is met;
the popup window output unit is used for outputting a statement popup window through the popup window process, and statement information is displayed in the statement popup window;
and the main process starting unit is used for calling and starting the main process of the application through the popup process when the approval indication aiming at the statement information is detected through the popup process, so that the initialization of the application is executed through the main process, and the starting of the application is completed.
Preferably, the apparatus further comprises:
and the process ending unit is used for ending the operation of the popup process through the main process after the main process starting unit starts the main process of the application.
Preferably, the host process starting unit includes:
a main process starting sub-unit, configured to, when an agreement instruction for the declaration information is detected through the popup process, call and start a main process of the application through the popup process;
the communication establishing subunit is used for calling a communication module of the electronic equipment through the main process so as to establish communication connection between the main process and the server of the application;
an initialization subunit, configured to perform initialization of the application based on a communication connection between the host process and the server.
Preferably, the pop-up window output unit includes:
a first starting detection unit, configured to detect whether the application has been started before the current time through the popup process;
and the popup window output subunit is used for outputting a statement popup window through the popup window process if the application is not started before the current moment.
Preferably, the method further comprises the following steps:
and the direct starting unit is used for calling and running a main process of the application through the popup process if the first starting detection unit determines that the application is started before the current moment, so as to execute initialization of the application through the main process and finish the starting of the application.
As can be seen from the above, in the embodiment of the present application, the application includes the main process and the popup process other than the main process, when the start condition of the application is satisfied, only the popup process is started, the popup process can output a declaration popup with declaration information, and when the popup process detects an approval indication for the declaration information, the popup process will invoke the main process of the application. Therefore, when the code logic of the application issued by the developer is used as the code logic of the main process, the related regulations of popup statement popup can be met only by adding the independently arranged popup process outside the main process, so that the code logic of the application initially developed by the developer is not required to be modified, the aim of outputting the statement popup can be fulfilled, the code logic modification required for generating a manufacturer preinstalled application version preinstalled in the electronic equipment is favorably reduced, and the complexity of generating the manufacturer preinstalled application version is favorably reduced.
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 embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the provided drawings without creative efforts.
Fig. 1 illustrates a flowchart of an application starting method according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a further application starting method provided in an embodiment of the present application;
fig. 3 shows a schematic composition diagram of an application starting apparatus according to an embodiment of the present application.
Detailed Description
The application starting method is suitable for starting various applications which belong to manufacturer pre-installation in electronic equipment such as mobile phones, tablet computers, notebook computers and the like, and is beneficial to reducing the modification amount of code logic in the application developed by original developers when the application version pre-installed by the manufacturer is generated; the complexity of generating an application version suitable for pre-installation by a manufacturer is reduced.
The inventor of the present application found through research that: the application pre-installed by a manufacturer in the electronic device needs to meet relevant regulations such as outputting a statement popup containing statement information when the application is started. The application developed by the developer is mainly distributed to an application supply website such as an application store for downloading and using by different users or enterprises, and therefore, the application developed by the developer (for distinction, it is hereinafter referred to as an initial application version) does not have a related function such as "pop-up output statement popup". Therefore, if a manufacturer of the electronic device needs to pre-install a certain application in the electronic device, it needs to make more modifications on the logic of the code in the initial application version developed by the developer, so as to meet the requirement that the application can output the statement popup when starting. That is, more logic modifications are required from an initial application version developed by a developer to a pre-installed application version suitable for pre-installation into an electronic device.
For example, when the logic implemented by the application code in the initial application version is application startup, the communication module is called by the application to implement networking, and the application is initialized, etc., then, in order to generate a pre-installed application version, in addition to the relevant logic for outputting the statement popup and detecting the operation of the user on the statement popup, the relevant logic for the operation executed by the application in the original application version, the precedence call relationship between the layers of logic, etc., needs to be adjusted, so that the amount of modification to the code in the original application version is large.
In addition, it is understood that, since the application may be continuously upgraded, if the manufacturer of the electronic device wishes to pre-install the upgraded application in the electronic device after the application is upgraded, the logic of the code of the upgraded application needs to be re-modified to regenerate the upgraded pre-installed application version. Therefore, every time a manufacturer wants to pre-install a newly-upgraded application in an electronic device, the manufacturer needs to re-modify the code logic of the current newly-upgraded application, so that the complexity of pre-installing the application in the electronic device is high.
Based on the research, the following findings are provided: the inventor of the present application thinks that if logic codes for implementing pop-up statement popup and monitoring statement popup are separately set, codes in an application originally developed by a developer can be modified little or not. Based on this, the inventor of the present application proposes that if an application developed by a developer is used as a code of a main process in a pre-installed application version, and a popup process for implementing logic such as a statement popup is separately developed and set, and the main process is called through the popup process, the popup process can be decoupled from a code of an initial application version, so that the pre-installed application version can be generated on the premise of reducing or even avoiding modifying the code in the initial application version.
Moreover, even if the application is upgraded, when the preinstalled application version is generated based on the upgraded application, the upgraded application and the code of the popup process only need to be directly multiplexed, and more code modification is not needed.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
For example, referring to fig. 1, a flowchart of an embodiment of an application starting method according to the present application is shown, and the embodiment may be applied to an electronic device such as a mobile phone and a tablet computer. The electronic device is provided with an application pre-installed by a manufacturer.
The method of the embodiment may include the steps of:
s101, when the starting condition of the application is met, starting and running a popup process in the application.
Wherein the application may be considered an application that a manufacturer of the electronic device pre-installs into the electronic device. The type of the application may be various, for example, the application may be an application providing a navigation function, and may also be an application providing a multimedia playing function or a system-level application of an electronic device, and the application is not limited in this respect.
In the embodiment of the present application, the program code of the application includes: code of the popup process and code of the host process of the application. The code of the popup process is mainly a code logic for implementing output of a declaration popup with declaration information and monitoring operation behavior of a user on the declaration information, which may be specifically referred to as related description later. The code of the main process is mainly used for realizing the basic functions of the application, and the basic functions do not comprise the functions of declaration information and the like provided by the popup process. For example, the code of the host process in the pre-installed application version pre-installed by the manufacturer in the electronic device may be the code of the application version of the same version that is issued by the developer and matches with the pre-installed application version of the manufacturer.
The code of the main process and the code of the popup process are independent and not coupled.
In this embodiment of the present application, when the starting condition of the application is satisfied, the code of the popup process is called and executed, so that the popup process is started.
It will be appreciated that there are many possibilities for the launch condition of the application, such as, in one possible implementation, detecting a launch instruction of the application, e.g., a user clicking an icon of the application in the electronic device. Of course, in practical applications, the starting condition of the application may also have other possibilities, such as reaching a preset starting time, and the like, which are not limited herein.
And S102, outputting a statement popup through the popup process.
Wherein, the statement popup displays statement information. The declaration information may be information of a reminder and a confirmation that needs to be output when the application is started.
Optionally, the declaration information output in the declaration popup may be disclaimer information. For example, in order to ensure the rights of the user, when an application preinstalled by a manufacturer in the electronic device is started for the first time, some disclaimer information needs to be output for the user to confirm whether to approve the disclaimer.
Wherein the declaration popup is a window in which declaration information is presented. For example, the popup process displays the declaration popup in a display interface of the electronic device by executing a code segment of the declaration popup (e.g., a control code corresponding to the declaration popup, etc.), and exposes declaration information in the declaration popup.
As an optional way, a selection box or an option for the user to select may be displayed in the statement popup. If the statement popup can display a selection box for indicating the agreement of the statement information, when the user clicks the selection box, the user is indicated to agree with the statement information in the statement popup; as another example, two options, respectively "agree" and "disagree", may be set in the statement popup so that the user selects one of the two options.
S103, when the popup process detects an agreement instruction aiming at the statement information, the popup process calls and starts a main process of the application so as to execute the initialization of the application through the main process and complete the starting of the application.
The popup process may monitor whether an approval indication for the declaration information is received in various ways, for example, whether the user inputs an approval instruction representing approval of the declaration information by clicking a specific button or a specific operation may be detected. For another example, when a selection box or option is displayed in the statement popup, whether an approval indication for the statement information is detected may be determined according to the selection of the selection box or option by the user, for example, if an "approval" option and a "disapproval" option are displayed in the statement popup and the user clicks the "approval" option, the detection of the approval indication for the statement information is confirmed.
It will be appreciated that the pop-window process detects an indication of consent to the claim information, indicating that the user has read and consented to the claim information output in the claim pop-window. Correspondingly, in this embodiment of the present application, when the popup process detects an agreement indication, the popup process may call a code of a main process in the application to run the main process of the application, so that the initialization of the application is implemented through the main process, and further, related functions that can be implemented by the application are provided, and finally, the application is started through the host.
Optionally, considering that in many application initialization processes, a network connection needs to be established with the server of the application, the executing of the initialization of the application by the main process at least includes: calling a communication module of the electronic equipment through the main process to establish communication connection between the main process and the server of the application; based on the communication connection between the host process and the server, initialization of the application is performed.
It is understood that the initialization of the application may include the application acquiring a memory space, loading some parameters and modules, and the like, and the specific content of the initialization of different applications may also be different, and the specific content of the initialization is not limited in the present application.
In the initialization process of the application, some initialization operations need to establish communication connection with the server, and some initialization does not need to depend on the communication connection between the application and the server, so that the initialization based on the communication connection between the main process and the server can be considered as initialization which needs to be performed through the communication connection and initialization which does not need to be performed through the communication connection on the premise that the main process and the server establish the communication connection.
It is understood that after the host process completes initialization of the application, the corresponding functions implemented by the application may be provided externally by running the host process. Optionally, after the main process completes initialization, the main process may further output a function interface of the application, so that a user may implement relevant operations provided by the application based on the function interface to complete corresponding functions. For example, the function interface may have one or more function options available for interaction, some content items that the application can exhibit, and so on.
It can be seen that, in the embodiment of the present application, the application includes a main process and a popup process other than the main process, when a start condition of the application is satisfied, only the popup process is started, a declaration popup with declaration information can be output through the popup process, and when an approval indication for the declaration information is detected through the popup process, the popup process will invoke the main process of the application. Therefore, when the code logic of the application issued by the developer is used as the code logic of the main process, the pop-up window process which is independently arranged outside the main process can meet relevant regulations such as pop-up statement pop-up windows and the like, so that the code logic of the application initially developed by the developer is not required to be modified, the aim of outputting the statement pop-up windows can be fulfilled, the code logic modification required for generating the pre-installed application version of the manufacturer which can be pre-installed in the electronic equipment is favorably reduced, and the complexity of generating the pre-installed application version of the manufacturer is favorably reduced.
It can be understood that, in the embodiment of the present application, after the host process of the application is started, there is no need to output declaration information such as disclaimer, and in this case, the electronic device continues to run the popup process, which may result in resource waste. If so, the main process sends an operation termination instruction to the popup process, so that the popup process releases occupied resources and exits from operation.
Meanwhile, considering that the popup process may output statement information due to misjudgment and the like under the condition that the application is set to be in the background running state and then is opened again, the popup process is closed after the main process is started, and running errors can be reduced.
It can be understood that, in order to reduce resource waste and improve user experience, the application may output some declaration information such as disclaimer only when the application is run for the first time in the electronic device, so that, according to the application, after the popup process is started, the popup process may also determine whether the application is currently started for the first time, and only when the application is started for the first time, the popup process may output a declaration popup including the declaration information.
For ease of understanding, the following description is presented in conjunction with a specific implementation. For example, referring to fig. 2, which shows a flowchart of another embodiment of an application starting method according to the present application, the method of this embodiment may be applied to an electronic device, in which a vendor-pre-installed application of the electronic device is installed, and the method of this embodiment may include:
s201, when a starting instruction of the application is detected, running a code of a popup process in the application to start the popup process.
In the present embodiment, a description is given by taking, as an example, a code for executing a popup process in an application when a start instruction of the application is detected, but the present embodiment is also applicable to the case where the start condition of the application is other.
S202, detecting whether the application is started before the current time or not through the popup process, and if so, executing the step S205; if not, step S203 is executed.
The detection of whether the application was started before the current time by the popup process is actually to detect whether the electronic device starts the application for the first time. In practical applications, the popup process may also detect whether the popup process is started at the current time, and if the popup process is not started, it indicates that the application is started for the first time, so that the following step S203 may be executed.
S203, if the application is not started before the current time, outputting a statement popup through the popup process.
If the application is currently in the electronic device for the first time, the popup process outputs a declaration popup in which declaration information such as disclaimer can be displayed so that the user can select whether to continue to start the application after reading the declaration information.
For easy understanding, the present embodiment further includes, in the popup process: a checkbox for indicating agreement to the claim information is illustrated as an example.
S204, if the popup process detects that the check box in the popup is checked, calling the code of the main process of the application through the popup process to start the main process of the application, and executing the step S206.
And in the case that the application is started continuously in a unified way, the popup process can call the code of the main process to finish the starting of the application.
S205, if the application is started before the current time, the main process of the application is called and operated through the popup process, and the step S206 is executed.
It can be understood that, if the popup process is started and detects that the application is not currently started in the electronic device for the first time, in order to avoid repeatedly popping up declaration information such as disclaimer, the popup process may directly call and run the code of the host process of the application to start the host process.
S206, the initialization of the application is executed by the host process.
The initialization of the application by the host process may refer to the related description above, and will not be described herein again.
S207, the main process ends the operation of the popup process.
This step S207 is an optional step, and the purpose thereof is to reduce resource waste.
The sequence of step S206 and step S207 is not limited to that shown in fig. 2, and in practical application, the execution sequence of the two steps may be interchanged, or the two steps may be executed simultaneously.
S208, when the main process confirms that the initialization of the application is completed, the application is started, and a functional interface of the application is displayed, so that the relevant functions which can be realized by the application are provided for a user through the functional interface.
In the step S208, an optional way of executing the application running after the main process completes the initialization of the application is provided, in the actual application, after the initialization of the application is completed, the functional interface may not be directly displayed, and other running conditions after the initialization of the application are also applicable to the embodiment, which is not limited to this.
It can be seen that, in the embodiment of the present application, after detecting a start instruction of an application and starting a popup process, the popup process may first detect whether the application is started for the first time, and if not, the popup process may not output a popup statement including statement information, but directly invoke a main process to start the application through the main process, thereby avoiding resource waste and avoiding causing a sense of opposition of a user due to repeated output of the statement information.
The application starting device also provides an application starting method corresponding to the application starting method.
For example, referring to fig. 3, which shows a schematic composition diagram of an embodiment of an application starting apparatus according to the present application, the apparatus of the present embodiment may be applied to the aforementioned electronic device, in which a vendor pre-installed application is installed. The apparatus may include:
a popup starting unit 301, configured to start and run a popup process in an application when a starting condition of the application is met;
a popup output unit 302, configured to output a declaration popup through the popup process, where declaration information is displayed in the declaration popup;
a main process starting unit 303, configured to, when an agreement indication for the declaration information is detected by the popup process, call and start a main process of the application by the popup process, so as to execute initialization of the application by the main process, and complete starting of the application.
As an alternative, the application starting apparatus may further include:
and the process ending unit is used for ending the operation of the popup process through the main process after the main process starting unit starts the main process of the application.
Optionally, in an embodiment of the above apparatus, the main process starting unit includes:
a main process starting sub-unit, configured to, when an agreement instruction for the declaration information is detected through the popup process, call and start a main process of the application through the popup process;
the communication establishing subunit is used for calling a communication module of the electronic equipment through the main process so as to establish communication connection between the main process and the server of the application;
an initialization subunit, configured to perform initialization of the application based on a communication connection between the host process and the server.
Optionally, in an embodiment of the above apparatus, the pop-up window output unit may include:
a first starting detection unit, configured to detect whether the application has been started before the current time through the popup process;
and the popup window output subunit is used for outputting a statement popup window through the popup window process if the application is not started before the current moment.
Further, the apparatus may further include:
and the direct starting unit is used for calling and running a main process of the application through the popup process if the first starting detection unit determines that the application is started before the current moment, so as to execute initialization of the application through the main process and finish the starting of the application.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (10)

1. An application startup method, comprising:
when the starting condition of the application is met, starting and running a popup process in the application, wherein the application comprises a main process and a popup process except the main process, the program code of the application comprises a code of the popup process and a code of the main process of the application, and the code of the main process and the code of the popup process are independent and not coupled;
outputting a statement popup through the popup process, wherein statement information is displayed in the statement popup;
when the popup process detects an agreement indication aiming at the statement information, the popup process calls and starts a main process of the application so as to execute the initialization of the application through the main process and finish the starting of the application.
2. The application starting method according to claim 1, further comprising, after the calling and starting the main process of the application by the popup process:
and finishing the operation of the popup process through the main process.
3. The application starting method according to claim 1, wherein the executing initialization of the application by the host process comprises:
calling a communication module of the electronic equipment through the main process to establish communication connection between the main process and the server of the application;
performing initialization of the application based on a communication connection between the host process and the server.
4. The application starting method according to claim 1, wherein said outputting a declaration popup through the popup process includes:
detecting whether the application is started before the current moment or not through the popup process;
and if the application is not started before the current time, outputting a statement popup through the popup process.
5. The application launching method according to claim 4, further comprising:
and if the application is started before the current moment, calling and running a main process of the application through the popup process so as to execute initialization of the application through the main process and finish the starting of the application.
6. An application startup device, characterized by comprising:
the system comprises a popup starting unit, a popup starting unit and a processing unit, wherein the popup starting unit is used for starting and running a popup process in an application when a starting condition of the application is met, the application comprises a main process and a popup process except the main process, a program code of the application comprises a code of the popup process and a code of the main process of the application, and the code of the main process and the code of the popup process are independent and not coupled;
the popup window output unit is used for outputting a statement popup window through the popup window process, and statement information is displayed in the statement popup window;
and the main process starting unit is used for calling and starting the main process of the application through the popup process when the approval indication aiming at the statement information is detected through the popup process, so that the initialization of the application is executed through the main process, and the starting of the application is completed.
7. The application launching device as recited in claim 6, further comprising:
and the process ending unit is used for ending the operation of the popup process through the main process after the main process starting unit starts the main process of the application.
8. The application startup device according to claim 6, wherein the host process startup unit comprises:
a main process starting sub-unit, configured to, when an agreement instruction for the declaration information is detected through the popup process, call and start a main process of the application through the popup process;
the communication establishing subunit is used for calling a communication module of the electronic equipment through the main process so as to establish communication connection between the main process and the server of the application;
an initialization subunit, configured to perform initialization of the application based on a communication connection between the host process and the server.
9. The application startup device according to claim 6, wherein the pop-up window output unit includes:
a first starting detection unit, configured to detect whether the application has been started before the current time through the popup process;
and the popup window output subunit is used for outputting a statement popup window through the popup window process if the application is not started before the current moment.
10. The application launching device as recited in claim 9, further comprising:
and the direct starting unit is used for calling and running a main process of the application through the popup process if the first starting detection unit determines that the application is started before the current moment, so as to execute initialization of the application through the main process and finish the starting of the application.
CN201811317838.8A 2018-11-07 2018-11-07 Application starting method and device Active CN109408155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811317838.8A CN109408155B (en) 2018-11-07 2018-11-07 Application starting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811317838.8A CN109408155B (en) 2018-11-07 2018-11-07 Application starting method and device

Publications (2)

Publication Number Publication Date
CN109408155A CN109408155A (en) 2019-03-01
CN109408155B true CN109408155B (en) 2021-11-02

Family

ID=65472137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811317838.8A Active CN109408155B (en) 2018-11-07 2018-11-07 Application starting method and device

Country Status (1)

Country Link
CN (1) CN109408155B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7051285B1 (en) * 2000-06-28 2006-05-23 Intel Corporation Controlling the display of pup-up web browser windows
US8667417B1 (en) * 2008-09-01 2014-03-04 Google Inc. Methods and systems for pop-up suppression
CN104956417A (en) * 2013-02-22 2015-09-30 优倍快网络公司 Mobile application for monitoring and controlling devices
CN105554253A (en) * 2015-12-09 2016-05-04 小米科技有限责任公司 Event prompting method and device, and terminal
CN106126287A (en) * 2016-06-20 2016-11-16 珠海市魅族科技有限公司 Application program launching method and system
CN106445696A (en) * 2016-09-12 2017-02-22 深圳铂睿智恒科技有限公司 Multiprocess interactive processing method and system
CN107133498A (en) * 2017-04-20 2017-09-05 北京安云世纪科技有限公司 A kind of privacy application management method and device and mobile terminal
CN107330054A (en) * 2017-06-28 2017-11-07 赵宇航 A kind of pop-up screen method and device
CN107678801A (en) * 2017-10-09 2018-02-09 武汉斗鱼网络科技有限公司 A kind of method and apparatus of plug-in unit loading

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7394808B2 (en) * 2004-05-24 2008-07-01 Nortel Networks Limited Method and apparatus for implementing scheduling algorithms in a network element

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7051285B1 (en) * 2000-06-28 2006-05-23 Intel Corporation Controlling the display of pup-up web browser windows
US8667417B1 (en) * 2008-09-01 2014-03-04 Google Inc. Methods and systems for pop-up suppression
CN104956417A (en) * 2013-02-22 2015-09-30 优倍快网络公司 Mobile application for monitoring and controlling devices
CN105554253A (en) * 2015-12-09 2016-05-04 小米科技有限责任公司 Event prompting method and device, and terminal
CN106126287A (en) * 2016-06-20 2016-11-16 珠海市魅族科技有限公司 Application program launching method and system
CN106445696A (en) * 2016-09-12 2017-02-22 深圳铂睿智恒科技有限公司 Multiprocess interactive processing method and system
CN107133498A (en) * 2017-04-20 2017-09-05 北京安云世纪科技有限公司 A kind of privacy application management method and device and mobile terminal
CN107330054A (en) * 2017-06-28 2017-11-07 赵宇航 A kind of pop-up screen method and device
CN107678801A (en) * 2017-10-09 2018-02-09 武汉斗鱼网络科技有限公司 A kind of method and apparatus of plug-in unit loading

Also Published As

Publication number Publication date
CN109408155A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
WO2017211062A1 (en) Method for quickly launching application from lock screen, and mobile terminal
JP4897837B2 (en) System and method for downloading user interface components to a wireless device
US9367403B2 (en) Terminal and application restoring method
US10019598B2 (en) Dynamic service discovery
CN110018765B (en) Page display method, device, terminal and storage medium
CN103345405A (en) Application program starting method and device and client
WO2012068101A1 (en) Shared resource dependencies
WO2023070823A1 (en) Bootloader loading method, apparatus and system, electronic device and medium
CN111767090A (en) Method and device for starting small program, electronic equipment and storage medium
US10908948B2 (en) Multiple application instances in operating systems that utilize a single process for application execution
US20060294358A1 (en) Methods and computers for presenting a graphical user interface during a boot process
RU2639667C2 (en) Context invitation in trial version of application
CN111596971A (en) Application cleaning method and device, storage medium and electronic equipment
CN109408155B (en) Application starting method and device
CN112286414A (en) Information display method and device, electronic equipment and storage medium
CN106775608B (en) Method and device for realizing independent system process
CN109471630B (en) Application processing method and device
CN110806888A (en) Application program upgrading method and device and electronic equipment
CN108958824A (en) Starting method, apparatus, electronic equipment and the storage medium of application program
CN106095277B (en) Method and system for realizing double-click event strategy selection processing by mobile terminal
CN113138785A (en) Application program updating method and device
CN109063425B (en) Software authority management method and device
CN111225054B (en) Method and system for designing automatic operation program of cloud mobile phone
CN107632754B (en) Key control method based on fingerprint identification module, mobile terminal and storage medium
CN113986290A (en) Method and system for updating login resources

Legal Events

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