CN106502717A - application program operation method and device - Google Patents
application program operation method and device Download PDFInfo
- Publication number
- CN106502717A CN106502717A CN201610843446.XA CN201610843446A CN106502717A CN 106502717 A CN106502717 A CN 106502717A CN 201610843446 A CN201610843446 A CN 201610843446A CN 106502717 A CN106502717 A CN 106502717A
- Authority
- CN
- China
- Prior art keywords
- application program
- application
- terminal
- configuration information
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of application program operation method and device, belong to field of computer technology.Methods described includes:The terminal can be when the operating instruction to application program be received,Obtain the configuration information of the application program,So as to get startup path and the application type of the application program,And due to the application program currently may be already at running background,Therefore,In order to improve the efficiency of the terminal operating application program,Also avoid reruning the hidden danger that the application program may bring,So as to improve the reliability of the terminal operating application program,Whether the terminal may determine that the application program currently in running background,When the application program is not currently in running background,The terminal can be based on the configuration information,Start the application program in running environment corresponding with the application type of the application program,So as to avoid because running the incompatible hidden danger that may be brought of running environment that the application program is located,Improve the reliability of the application program of the terminal operating different application type.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of application program operation method and device.
Background technology
With the application of the terminals such as the development and growth in the living standard of computer technology, intelligent television more and more extensive.
The terminal usually can run intelligent operating system, and the intelligent operating system is used for managing resource in the terminal (including hardware
Resource, software resource and data resource), control application program operation, improve man-machine interface, for application program operation provide prop up
Support.
In prior art, the terminal can install the application program of multiple web application types in the intelligent operating system,
When the terminal receives application operating instruction based on the arbitrary application program that installs, the application program can be run, but due to
The terminal can only be run web and apply a kind of this application program of application type, therefore be not easy to expand the function of the terminal
Exhibition, significantly reduces the flexibility of the terminal, and if the application program of other application type is installed or run to the terminal,
The stability of the terminal can be reduced.
Content of the invention
In order to solve problem of the prior art, a kind of application program operation method and device is embodiments provided.
The technical scheme is as follows:
First aspect, there is provided a kind of application program operation method, methods described include:
When the operating instruction to application program is received, the configuration information of the application program is obtained, described with confidence
Breath includes the startup path of the application program and application type;
Based on the configuration information, in running environment corresponding with the application type, start the application program, with
Run the application program.
Wherein, the application program operation method can be used in terminal.
It should be noted that the application program can be the application program of arbitrary application type, the application type can be wrapped
Include web applications, java applications, native applications and other application type.
Also, it should be noted the application configuration information is used for explanation and starts and run the relevant letter of the application program
Breath, the configuration information include to include starting path and application type, and wherein, the startup path is the road for starting the application
Footpath, the terminal can pass through the startup path startup optimization application, and the application type is used for the application that the application program is described
Type.Certainly, in actual applications, the configuration information can also include with this with start and run the application program relevant
Other information, such as, coded system of the installation file of the application program etc., the embodiment of the present invention is not specifically limited to this.
In embodiments of the present invention, the terminal can obtain the application when the operating instruction to application program is received
The configuration information of program, so as to get startup path and the application type of the application program, afterwards, the terminal can be based on should
Configuration information, starts the application program, the i.e. terminal and can run the application program of multiple application types, improve the terminal
Flexibility, and due to being in running environment corresponding with the application type of the application program to start the application program, so as to keep away
Exempt from because running the incompatible hidden danger that may be brought of running environment that the application program is located, improve that the terminal operating is different should
Reliability with the application program of type.
Alternatively, described when the operating instruction to application program is received, the configuration information of the application program is obtained,
Including:
When the operating instruction to the application program is received, configuration information is called to obtain function;
Function is obtained by the configuration information, the configuration information of the application program is obtained.
In embodiments of the present invention, can function be obtained by configuration information to obtain the configuration information of the application program,
It is able to ensure that the terminal obtains the accuracy of the configuration information of the application program, and then improves the reliability of the terminal operating application
Property.
Alternatively, described based on the configuration information, start in running environment corresponding with the application type described
Application program, including:
On the basis of existing process, new process is created;
Based on the application type, start running environment corresponding with the application type in the new process;
The startup path is based on, in startup environment corresponding with the application type, starts the application program, with
Run the application program.
It should be noted that the application program of a certain application type may be without corresponding running environment, such as native
Application, therefore, for the application program of the application type, can be based on the startup path of the application program, directly operation should
Use program.
In embodiments of the present invention, new process can be created, and is started and the application type pair in the new process
The running environment that answers, and then start the application program in running environment corresponding with the application type, so as to avoid because of operation
The incompatible hidden danger that may be brought of running environment that the application program is located, improves the reliability for running the application.
Alternatively, described based on the configuration information, start in running environment corresponding with the application type described
Before application program, also include:
Judge the application program currently whether in running background;
When the application program is not currently in running background, execute be based on the configuration information, with the application
The step of starting the application program in the corresponding running environment of type;
When the application program is currently at running background, the application program is switched to front stage operation.
In embodiments of the present invention, due to being that the application program is switched to front stage operation directly, open therefore, it is possible to improve
The efficiency of the application program is moved, while the hidden danger that the application program that can avoid reruning may be brought, improving operation should
Reliability with program.
Alternatively, before the configuration information for obtaining the application program, also include:
Judge whether the application program is installed currently;
If currently without the application program is installed, judging the installation for whether including the application program in bag data storehouse
File, the data of the server carousel that is stored with the bag data storehouse;
If the bag data storehouse includes the installation file of the application program, obtain from the bag data storehouse described
The installation file of application program, carries the configuration information in the installation file of the application program.
Wherein, installation file or the upgrade file of the application program may be included in the bag data storehouse.
It should be noted that the server can be the server of the server of the application program or the terminal, certainly,
In practical application, the server can also be that other servers, the embodiment of the present invention are not specifically limited to this.
In embodiments of the present invention, can avoid repeating the installation file for installing the application program, improve the terminal
Operational efficiency.
Alternatively, after whether the judgement is currently provided with the application program, also include:
If being currently installed on the application program, the liter for whether including the application program in the bag data storehouse is judged
Level file;
If the bag data storehouse includes the upgrade file of the application program, obtain from the bag data storehouse described
The upgrade file of application program.
It should be noted that after the upgrade file for obtaining the application program, also terminal can also install the upgrading text
Part, and then the application program is upgraded.
In embodiments of the present invention, the upgrade file of application program can be obtained, so that it is guaranteed that the terminal can be answered to this
Upgraded with program, improve and run the application reliability.
Alternatively, methods described also includes:
Every preset duration, detection service device whether carousel data;
When the server carousel data is detected, the data of the server carousel are received;
By the data storage for receiving in the bag data storehouse.
It should be noted that whether the preset duration can be determined before detection service device carousel data by the terminal,
And the embodiment of the present invention is not specifically limited to the mode for determining the preset duration.
In embodiments of the present invention, due to being every preset duration detection service device whether carousel data, so as in detection
To the data for obtaining carousel during the server carousel data, rather than needing to obtain the installation file of the application program or upgrading
Data are obtained from the server just during file, therefore, it is possible to guarantee that the terminal can timely receive the number of the server carousel
According to getting installation file or the upgrade file of the application program in time, so as to install the application program in time or to the application
Program is upgraded, while reducing the interaction times of the terminal and the server.
Alternatively, described start the application program in running environment corresponding with the application type after, also wrap
Include:
During the application program is in front stage operation, when specific operation is received, by the application program
Switch to running background;
Desktop startup application is switched to front stage operation.
In embodiments of the present invention, the application program in front stage operation can be switched to running background, is improve
Run the flexibility of the application program.
Second aspect, there is provided a kind of application program running gear, described device include multiple functional modules, the plurality of work(
Energy module is used for executing the application program operation method provided by above-mentioned first aspect.
The third aspect, there is provided a kind of application program running gear, described device include:
Processor and memory;
Wherein, the memory is used for storing one or more program, and one above program bag is containing this
The instruction of the application program operation method that inventive embodiments are provided;
The processor is used for the instruction for executing the memory storage, to realize application journey provided in an embodiment of the present invention
Sort run method, methods described include:
When the operating instruction to application program is received, the configuration information of the application program is obtained, described with confidence
Breath includes the startup path of the application program and application type;
Based on the configuration information, in running environment corresponding with the application type, start the application program, with
Run the application program.
Alternatively, described based on the configuration information, start in running environment corresponding with the application type described
Application program, including:
On the basis of existing process, new process is created;
Based on the application type, start running environment corresponding with the application type in the new process;
The startup path is based on, in startup environment corresponding with the application type, starts the application program, with
Run the application program.
Alternatively, before the configuration information for obtaining the application program, also include:
Judge whether the application program is installed currently;
If currently without the application program is installed, judging the installation for whether including the application program in bag data storehouse
File, the data of the server carousel that is stored with the bag data storehouse are matched somebody with somebody described in carrying in the installation file of the application program
Confidence ceases;
If the bag data storehouse includes the installation file of the application program, obtain from the bag data storehouse described
The installation file of application program.
Alternatively, after whether the judgement is currently provided with the application program, also include:
If being currently installed on the application program, the liter for whether including the application program in the bag data storehouse is judged
Level file;
If the bag data storehouse includes the upgrade file of the application program, obtain from the bag data storehouse described
The upgrade file of application program.
Alternatively, described start the application program in running environment corresponding with the application type after, described
Method also includes:
The running status of the application program is managed.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:In embodiments of the present invention, due to the end
End when the operating instruction to application program is received, can obtain the configuration information of the application program, should so as to get this
With startup path and the application type of program, afterwards, the terminal can be based on the configuration information, start the application program, therefore,
The terminal can run the application program of multiple application types, improve the flexibility of the terminal, and due to be with the application
Start the application program in the corresponding running environment of the application type of program, due to being in the application type pair with the application program
Start the application program in the running environment that answers, it is to avoid because running the incompatible possible band of running environment that the application program is located
The hidden danger that comes, improves the reliability of the application program of the terminal operating different application type.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to making needed for embodiment description
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, can be obtaining other according to these accompanying drawings
Accompanying drawing.
Figure 1A is a kind of application program runtime Organization Chart provided in an embodiment of the present invention;
Figure 1B is a kind of intelligent operating system block diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of structure chart of terminal provided in an embodiment of the present invention;
Fig. 3 A are a kind of application program operation method flow charts provided in an embodiment of the present invention;
Fig. 3 B are a kind of method flow diagrams for downloading installation file or upgrade file provided in an embodiment of the present invention;
Fig. 3 C are a kind of operation web application process flow charts provided in an embodiment of the present invention;
Fig. 3 D are a kind of operation java application process flow charts provided in an embodiment of the present invention;
Fig. 3 E are a kind of operation native application process flow charts provided in an embodiment of the present invention;
Fig. 3 F are another kind of operation web application process flow charts provided in an embodiment of the present invention;
Fig. 3 G are another kind of operation java application process flow charts provided in an embodiment of the present invention;
Fig. 3 H are another kind of operation native applicating flow charts provided in an embodiment of the present invention;
Fig. 3 I are another operation web application process flow charts provided in an embodiment of the present invention;
Fig. 3 J are another operation java application process flow charts provided in an embodiment of the present invention;
Fig. 3 K are another operation native application process flow charts provided in an embodiment of the present invention;
Fig. 4 A are a kind of application program running gear block diagrams provided in an embodiment of the present invention;
Fig. 4 B are a kind of first acquisition module block diagrams provided in an embodiment of the present invention;
Fig. 4 C are a kind of starting module block diagrams provided in an embodiment of the present invention;
Fig. 4 D are another kind of application program running gear block diagrams provided in an embodiment of the present invention;
Fig. 4 E are another application program running gear block diagrams provided in an embodiment of the present invention;
Fig. 4 F are another application program running gear block diagrams provided in an embodiment of the present invention;
Fig. 4 G are another application program running gear block diagrams provided in an embodiment of the present invention;
Fig. 4 H are another application program running gear block diagrams provided in an embodiment of the present invention.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Figure 1A is a kind of application program runtime Organization Chart according to an exemplary embodiment, with reference to Figure 1A, should
Application program runtime includes terminal 01 and server 02, can be connected by network between the terminal 01 and the server 02
Connect.The terminal 01 can install intelligent operating system, and obtain the installation text of at least one application program from the server 02
Part and other data relevant with least one application program operation, when the terminal 01 gets at least one application journey
During the installation file of sequence, at least one application program can be installed and run, so as to realize different functions.
Wherein, referring to Figure 1B, the intelligent operating system includes application layer 011, application framework layer 012, performing environment layer 013
With Component service layer 014.
Application layer 011 includes system user interface, web applications, java applications and native applications.Wherein, system user
Interface is to include desktop, electronic program guides, system sound volume setting etc., and web applications are based on HTML
(Hyper Text Markup Language, HTML), CSS (Cascading Style Sheets, CSS) or JS
The application program of language developments such as (Java Script), java applications are application program based on java language developments, native
Application is the application program based on C/C++ language developments.
It should be noted that the application type of system user interface is applied for web.
Also, it should be noted the application layer 011 can also include other kinds of application program, the embodiment of the present invention pair
This is not specifically limited.
Application framework layer 012 includes HTML5, JS1.5, JS application module and application bag configuration module.Wherein, JS applications mould
Block be used for provide access application JS application programming interfaces (Application Programming Interface,
API), application bag configuration module is used for the configuration information for configuring application.
Performing environment layer 013 includes application invocation module and browser engine module.
It should be noted that can also include in the performing environment layer 013 that other modules, the embodiment of the present invention are not done to this
Concrete restriction.
Component service layer 014 includes system bus and application manager.Wherein application manager includes bag management module, answers
With state management module, download management module, window management module, service management module, resource management module, rights management mould
Block and Digital Signature module etc..Bag management module is used for installing or unloading application program, and application state management module is used for managing
The life cycle of application program, download management module are used for downloading the data relevant with the application program such as installation kit, resource pipe
Reason module is used for the management to managing graphic processor (Graphics Processing Unit, GPU) and memory space etc., power
Limit management module is used for being managed the authority of application program, and Digital Signature module is used for entering the installation file of application program
Row signature detection.
It should be noted that in actual applications, the intelligent operating system can include more or less of module to hold
The application program operation method provided by the row embodiment of the present invention, the embodiment of the present invention are not specifically limited to this.
Fig. 2 is a kind of application program running gear provided in an embodiment of the present invention, and referring to Fig. 2, the device 200 can be carried
For for a kind of terminal, such as computer, intelligent television etc., above-mentioned intelligent operating system is may be mounted in the device 200, the device
Can be used for executing the application program operation method in the embodiment of the present invention, the device 200 includes processor (CPU) 201 and deposits
Reservoir 202.
The device 200 can also include that system bus 203, basic input/output (I/O systems) 204 and network connect
Mouth unit 205.
Wherein, system bus 203 is used for realizing processor 201, memory 202, basic input/output (I/O systems
System) communication connection between 204 and NIU 205.Basic input/output 204 is used for each in computer
Transmission information between device, can include the display for display information and the such as mouse for user input information,
The input equipment of keyboard, remote control etc.NIU 205 is used for being connected to other kinds of network or remote computer
System (not shown).
Memory 202 is used for storing one or more program, more than one program bag enforcement containing the present invention
The instruction of the application program operation method that example is provided, processor 201 are used for the instruction for executing the storage of memory 202, to realize
Application program operation method provided in an embodiment of the present invention, the method include:
When the operating instruction to application program is received, the configuration information of the application program is obtained, in the configuration information
Startup path and application type including the application program;
Based on the configuration information, in running environment corresponding with the application type, start the application program, be somebody's turn to do with running
Application program.
Alternatively, based on the configuration information, start the application program in running environment corresponding with the application type, wrap
Include:
On the basis of existing process, new process is created;
The application type is based on, starts running environment corresponding with the application type in the new process;
The startup path is based on, is started the application program in startup environment corresponding with the application type, is somebody's turn to do with running
Application program.
Alternatively, before obtaining the configuration information of the application program, also include:
Judge whether the application program is installed currently;
If currently without the application program is installed, judging the installation text for whether including the application program in bag data storehouse
Part, the data of the server carousel that is stored with the bag data storehouse, carries the configuration information in the installation file of the application program;
If the bag data storehouse includes the installation file of the application program, from the bag data storehouse, obtain the application program
Installation file.
Alternatively, after judging whether the application program is installed currently, also include:
If being currently installed on the application program, the upgrading text for whether including the application program in the bag data storehouse is judged
Part;
If the bag data storehouse includes the upgrade file of the application program, from the bag data storehouse, obtain the application program
Upgrade file.
Alternatively, after starting the application program in running environment corresponding with the application type, the method also includes:
The running status of the application program is managed.
Fig. 3 A are a kind of flow charts of application program operation method provided in an embodiment of the present invention, referring to Fig. 3 A, the method
Can be used in the application program runtime provided by Figure 1A and the application program running gear provided by Fig. 2, the method
Including:
301:When terminal receives the download instruction to application program, the peace of the application program is obtained from bag data storehouse
Dress file, the data of the server carousel that is stored with the bag data storehouse.
In order to ensure the terminal can realize different functions, the terminal can obtain the installation file of application program, enter
And in the terminal, run the application program.
Wherein, the application can be with the application program of arbitrary application type, should including web applications, java applications or native
With etc., certainly, in actual applications, the application program can also be the application program of other application type.
It should be noted that the download instruction can serve to indicate that the terminal downloads application program, the download application can be with
By user by executing predetermined registration operation triggering, the predetermined registration operation can be click on the operation such as operation, slide, certainly, in reality
In the application of border, the predetermined registration operation can also be other operations.
Also, it should be noted the application identities of the application program can be carried in the download instruction.
Wherein, application identities are used for the unique mark application program, the application identities can be the application program title,
Identity card (Identification, ID) etc., certainly, in actual applications, the application identities can also be that other can be unique
Identify the mark of the application program.
It should be noted that the server can be the server of the server of the application program or the terminal, certainly,
In practical application, the server can also be other servers.
Wherein, the configuration information of the application program can be entrained by the installation file of the application program, the application configuration
Information is used for explanation and starts and run the relevant information of the application program, and the configuration information includes to include starting path
And application type.Wherein, the startup path is the path that the terminal starts the application program, and the terminal can pass through the startup road
The application program is run in footpath, and the application type is used for the application type that the application program is described.Certainly, in actual applications, should
Configuration information can also include the other information relevant with the startup optimization application program, such as, the installation of the application program
Coded system of file etc..
It should be noted that the configuration information can carry the installation text in the application program by the form of configuration file
In part.
For example, the application 1 is applied for native, and the configuration information that the configuration file of the application 1 includes can be:
Content is<Content src=" native_game.exe " type=" application/exe "/>, content/src
=native_game.exe, content/type=application/exe.Wherein, content/src=native_
Game.exe represent application 1 startup path be native_game.exe, content/type=application/exe tables
Show that the application type of application 1 is applied for native.
Further, in order to ensure the terminal can timely receive the data of the server carousel, to get in time
The installation file of the application program or upgrade file, so as to installing the application program in time or the application program being upgraded,
The interaction times of the terminal and the server are reduced simultaneously, the terminal can be every preset duration, detection service device whether carousel
Data, when the server carousel data is detected, receive the data of the server carousel, by the data storage for receiving at this
In bag data storehouse.
Wherein, whether the preset duration can be determined before detection service device carousel data by the terminal, such as a kind of
Strategy in the cards is that the terminal sends the first cue, when first cue is used for pointing out user input one
Long, when the duration of user input is received based on first cue, the duration for receiving is defined as the preset duration.
It should be noted that the terminal can send the first cue by default prompting mode, the default prompting side
Formula can be that the modes such as sound, vibrations, image are certain, and in actual applications, the default prompting mode can also be alternate manner.
Also, it should be noted after the installation file that the terminal obtains the application program from bag data storehouse, the end
End can send the second cue by default prompting mode, to point out the installation file success for obtaining the application program.
Also, it should be noted in the strategy of alternatively possible realization, in order to save the memory space of the terminal, the end
The server whether carousel data can be detected when the download instruction is received in end, when detecting the server carousel data
When, judge the installation file for whether including the application program in the data of the server carousel, when determining the server carousel
From the carousel data of the server, when data include the installation file of the application program, obtain the installation text of the application program
Part.
Further, in order to avoid repeating the installation file for installing the application program, the terminal is being obtained from bag data storehouse
Before taking the installation file of the application program, judge whether the application program is installed currently, if should currently without installing
With program, the installation file for whether including the application program in bag data storehouse is judged, if the bag data storehouse includes the application
The installation file of program, obtains the installation file of the application program from the bag data storehouse.
Wherein, the operation that whether terminal judges are currently provided with the application program can be:The terminal judges storage
Whether include the application identities in package informatin database, when the package informatin database includes the application identities, determine current
Already installed with the application program, when the application identities are not included in the package informatin data road, determine and be somebody's turn to do currently without installing
Application program.
It should be noted that whether the terminal can include the application in the package informatin database of the terminal judges storage
The application identities of currently mounted multiple application programs before mark, are obtained, the application identities of the plurality of application are stored in
In the package informatin database, such as, a kind of strategy in the cards is, when the terminal often installs an application, by the application journey
The application identities of sequence are stored in the package informatin database.Certainly, in actual applications, the terminal can also be otherwise
To determine whether to be provided with the application program.
Also, it should be noted when the installation file of the application program is not included in the bag data storehouse, the terminal can be with
3rd cue is sent by default prompting mode, to point out the installation file failure for obtaining the application program.Certainly, the end
End can also be in the data for continuing through the reception server carousel, and the report database includes the application program in determination
During installation file, execute the step of installation file of the application program is obtained from the bag data storehouse.
Further, in order to be updated upgrading to the application program that installs in the terminal in time, and then the terminal is improved
The reliability of operation application program, if being currently installed on the application program, whether the terminal may determine that in the bag data storehouse
Including the upgrade file of the application, if the bag data storehouse includes the upgrade file of the application program, from the bag data storehouse
Obtain the upgrade file of the application program.
Wherein, the configuration information of the application program can also be carried in the upgrade file of the application program.
It should be noted that after the upgrade file that the terminal obtains the application program from the bag data storehouse, the end
End can send the 4th cue by default prompting mode, to point out the upgrade file success for obtaining the application program, phase
Ying Di, if not including the upgrade file of the application program in the bag data storehouse, the terminal can be sent out by default prompting mode
Go out the 5th cue, to point out the upgrade file failure for obtaining the application program.Certainly, the terminal can also continued through
Receive the data of the server carousel, and when the upgrade file that the report database includes the application program is determined, execution from
Obtain in the bag data storehouse application program upgrade file the step of.
Wherein, from the foregoing it will be appreciated that the intelligent operating system installed by the terminal can include window management module, assure reason
Module and download management module, therefore, the download management module can include one-way data receiving submodule and unidirectional detecting
Module, the unidirectional detecting submodule are used for detecting that application is downloaded or upgraded that the one-way data receiving submodule to be used for receiving the clothes
The data that business device wheel is broadcast, and by the data storage for receiving into the bag data storehouse.So, referring to Fig. 3 B, the terminal is from the service
The step of installation file or upgrade file for downloading the application program in device is:
Step 30101:When the terminal detects predetermined registration operation by the window management module, determine to the application program
Download instruction be triggered;
Step 30102:The terminal judges whether include in the package informatin database for storing that this should by the bag management module
With mark, if not including the application identities in the package informatin database of storage, execution step 30103, if the bag letter of storage
Breath database includes the application identities, execution step 30108;
Step 30103:The terminal sends installation file acquisition by the bag management module to the unidirectional detecting submodule please
Ask;
Step 30104:The terminal judges whether include the application journey in the bag data storehouse by the unidirectional detecting submodule
The installation file of sequence, if the bag data storehouse includes the installation file of the application program, execution step 30105, if the bag
The installation file of the application program, execution step 30113 are not included in database;
Step 30105:The terminal sent to the bag management module by the unidirectional detecting submodule download completion notice and
The installation file of the application program;
Step 30106:The terminal is determined based on the download completion notice and is downloaded successfully or lost by the bag management module
Lose;
Step 30107:When the terminal determines to be downloaded successfully, the second cue is sent by the window management module,
When failed download is determined, the 3rd cue is sent by the window management module;
Step 30108:The terminal sends upgrade file acquisition by the bag management module to the unidirectional detecting submodule please
Ask;
Step 30109:The terminal judges whether include the application in the bag data storehouse by the unidirectional detecting submodule
Upgrade file, if the bag data storehouse includes the upgrade file of the application program, execution step 30110, if the bag data
The installation file of the application program, execution step 30113 are not included in storehouse;
Step 30110:The terminal sent to the bag management module by the unidirectional detecting submodule download completion notice and
The upgrade file of the application program;
Step 30111:The terminal is determined based on the download completion notice and is downloaded successfully or lost by the bag management module
Lose;
Step 30112:When the terminal determines to be downloaded successfully, the 4th cue is sent by the window management module,
When failed download is determined, the 5th cue is sent by the window management module;
Step 30113:When the terminal receives what the one-way data receiving submodule sent by the unidirectional detecting submodule
When downloading completion notice, execution step 30104 or 30109;
Step 30114:The terminal receives the data of the server carousel by the one-way data receiver module, will receive
To the installation file of the application program be stored in the bag data storehouse, and when finishing receiving, to the unidirectional detecting submodule
Send and download completion notice.
In addition, in alternatively possible implementation, when the terminal receives the download instruction to the application program,
Installation file can be sent to the server and obtain request, the installation file obtains carried terminal mark and the application mark in request
Know, when the server receives the installation file obtains request, the installation file of the application program is sent to the terminal.
Wherein, the terminal iidentification is used for the unique mark terminal, the terminal iidentification can be the terminal the sequence number that dispatches from the factory,
Media access control (Media Access Control, MAC) address or Internet protocol address (Internet Protocol
Address, IP) etc., certainly, in actual applications, the terminal iidentification can also be that other are capable of the mark of the unique mark terminal
Know.
It should be noted that in order to ensure the terminal can pass through to send installation file acquisition request to the server, entering
And the installation file is obtained from the server, bi-directional network data submodule, the end can be included in the download management module
Hold and can pass through the bi-directional network data submodule to server transmission installation file acquisition request, and receive the server
The installation file that send.
Further, after the download instruction that the terminal receives to the application program, default prompting side can be passed through
Formula sends the 6th cue, to point out installation file that user obtains the application program from bag data storehouse or to the service
Device sends installation file and obtains request, i.e., determined the mode of the installation file for obtaining the application program by user.When be based on the 6th
When cue receives the selection instruction of user, the installation for obtaining the application by the selected mode of the selection instruction is literary
Part.
Wherein, the selection instruction can be by user by executing predetermined registration operation triggering.
It should be noted that in actual applications, the terminal can also obtain the application journey by other downloading modes
The installation file of sequence or upgrade file, the embodiment of the present invention are not specifically limited to this.
In addition, in order to ensure the terminal downloads installation file or the reliability of upgrade file, and then improve the terminal operating
The reliability of application program, for installation file or the upgrade file of the application program of different application type, the terminal is from clothes
During business device obtains installation file or the upgrade file of the application program, preset format can be passed through to the application program
Installation file or upgrade file are compressed.
Wherein, the preset format can be true before the installation file or upgrade file for encapsulating the application program by the terminal
Fixed, the preset format can be widget, and certainly, in actual applications, the preset format can also be other forms, the present invention
Embodiment is not specifically limited to this.
302:Installation file of the terminal based on the application program, installs the application program.
In order to ensure the terminal operating application program, and then certain function is realized, the terminal can install the application journey
Sequence.
It should be noted that the terminal can also install the application when the installation instruction to the application program is received
Program, the installation instruction are used for indicating that the terminal-pair application is installed that the installation instruction can be by the user by executing
Predetermined registration operation is triggered.
Wherein, from the foregoing it will be appreciated that bag management module and application bag configuration module can be included in the intelligent operating system, because
This, can include installing submodule, unloading submodule in the bag management module and web applications, java are applied and native should
With etc. multiple application types application program installation file, the terminal can be by the installation submodule, based on the application journey
The installation file of sequence, installs the application program.
It should be noted that from the foregoing it will be appreciated that in the intelligent operating system can include the application bag configuration module in, because
This, the terminal can determine answering for the application program by the application bag configuration module based on the configuration information of the application program
Use type.
In addition, the terminal can also pass through the upgrade file for installing the application program, the application program is upgraded.
303:When the terminal receives the operating instruction to the application program, the configuration information of the application program is obtained,
The configuration information includes the startup path of the application program and application type.
As the terminal can install the application program of different application type, and the application type for working as application program is different
When, the mode of the terminal operating application program is likely to difference, therefore, in order to improve the reliability for running the application program,
The terminal can obtain the configuration information of the application program.
It should be noted that the operating instruction is used for indicating the terminal operating application program that the application operating instruction can
To be triggered by executing predetermined registration operation by user.
Wherein, in order to ensure the terminal obtains the accuracy of the configuration information of the application program, and then the application fortune is improved
The reliability of the capable application program, the terminal obtain the operation of the configuration information of the application program and can be:When the terminal is received
When arriving the operating instruction to the application program, call configuration information to obtain function, function is obtained by the configuration information, obtaining should
The configuration information of application program.
It should be noted that the configuration information obtains the configuration information that function is used for obtaining the application program, confidence should be matched somebody with somebody
Breath obtains function and can be determined before calling configuration information to obtain function by the terminal, such as, a kind of strategy in the cards
For the developer of the intelligent operating system that is installed by the terminal determines.Certainly, in actual applications, the terminal can be with
Determine that the configuration information obtains function otherwise.
Also, it should be noted when get do not include application type in the configuration information when, it may be determined that the application journey
The application type of sequence is applied for web.
Wherein, from the foregoing it will be appreciated that the intelligent operating system includes JS application modules, therefore, can in the JS application modules
To include that many application operation API extension submodules, the terminal can run API expansion modules by many applications and call with confidence
Breath obtains function, to obtain the configuration information of the application program.
For example, when the terminal receives the operating instruction to application 1, the terminal runs API expanded modes by many applications
Block call configuration information obtain function interface partial window exceWidget (widgetname, src,
type);};, get<Content src=" native_game.exe " type=" application/exe "/>, therefore,
The terminal determines that the startup path of application 1 is native_game.exe, applies 1 application type to apply for native.
In addition, for the reliability for improving the terminal operating application program, when the terminal receives the fortune to the application
During row instruction, the terminal can also judge currently whether be provided with the application program, if being currently installed on the application program,
The configuration information of the application program is obtained, if having application program currently without this is installed, is grasped in execution step 301-302
Make, to install the application program in the terminal.
304:Whether the terminal judges application programs is currently in running background, if the application program is not currently in
Running background, execution step 305, if the application program is currently at running background, execution step 306.
As present terminal may run the application program, therefore, in order to improve run the application program effect
Rate, the hidden danger that the application program that also avoids reruning may be brought, so as to improve the reliability of the terminal operating application program,
Whether the terminal may determine that the application program currently in running background.
It should be noted that the terminal can not also be described in execution step 304 operation, that is to say, the terminal execute
After operation described in step 303 acquires the configuration information of the application program, operation described in direct execution step 305,
To start the application program.
305:The terminal starts the application journey in running environment corresponding with the application type based on the configuration information
Sequence, to run the application program.
As the application program of different application type may have different demands, such as running environment during operation
Deng therefore, in order to improve the reliability for running the application program, it is to avoid the running environment because running application program place is not simultaneous
Hold the hidden danger that may be brought, the terminal can be based on the configuration information, start in running environment corresponding with the application type
The application program.
It should be noted that the terminal can start in running environment corresponding with the application type application program it
Before, determine the running environment with least one application type, such as, a kind of strategy in the cards is, by person skilled
When the intelligent operating system is developed, the corresponding running environment of each application type is determined, such as, web applies corresponding operation
Environment can be Web Runtime, and it can be javaVM that java applies corresponding running environment, certainly, in actual applications, per
Individual application type can also correspond to other running environment, and the embodiment of the present invention is not specifically limited to this.
Also, it should be noted for a certain application type, may answer without corresponding running environment, such as native
With.
Wherein, the terminal starts the application journey in running environment corresponding with the application type based on the configuration information
The operation of sequence can be:On the basis of existing process, new process is created, based on the application type, in the new process
Start running environment corresponding with the application type, based on the startup path, in running environment corresponding with the application type
Start the application program.
It should be noted that can manage to the operation of the application program of different application type in order to ensure the terminal
Reason, improves the efficiency and reliability of the terminal operating application program, and for the application program of different application type, the terminal is created
The mode that the mode of process with identical, can start the corresponding running environment of different application type is also identical, and is transported in the terminal
Each capable application program is an independent example.
If also, it should be noted not corresponding with a certain application type running environment, the terminal can not start
Running environment corresponding with the application type, so as to the application program is run in the startup path based on the application program.
For example, if the configuration information that the terminal gets application 1 is:Startup path is china-maps.html, applies
Type is applied for web, then the terminal creates new process 1, based on the application type of application 1, is started and java pair in process 1
The running environment Web Runtime for answering, based on the startup path of application 1, in Web Runtime operations application 1.If the terminal
Get application 2 configuration information be:Startup path is game.java, and application type is java applications, then the terminal is created newly
Process 2, based on application 2 application type, in process 2 start and java corresponding running environment javaVM of application, be based on
The startup path of application 2, in javaVM operations application 2.If the configuration information that the terminal gets application 3 is:Start path
For native_game.exe, application type is native applications, then the terminal creates new process 3, based on the startup for applying 3
Path, runs the application 3.
Wherein, from the foregoing it will be appreciated that the intelligent operating system that the terminal is installed includes application state management module, therefore, should
Terminal can pass through the application state management module calling process and create the new process of function creation, call application run function
Start the application program in running environment corresponding with the application type.
It should be noted that the process creation function can by the terminal by the application state management module call into
Journey determines before creating the new process of function creation that the process creation function can be fork () function, certainly, answers actual
With in, the process creation function can also be that other functions, the embodiment of the present invention are not specifically limited to this.
Also, it should be noted application run function can come in operation ring corresponding with the application type by the terminal
Determine before starting the application program in border, the application run function can be execvp () function, certainly, in practical application
In, the application run function can also be other functions.
Further, for the ease of with user mutual, the terminal is in starting up, it will usually runs desktop and starts
Application, the desktop start the application type of application and apply for web, and therefore, the terminal can start application by the desktop
When running environment Web Runtime receives the operating instruction to the application program, the configuration information of the application program is obtained, will
The configuration information is sent to the application state management module, when the application state management module receives the configuration information,
Start the application program in running environment corresponding with the application type.
Wherein, as shown in Figure 3 C, when the application type of the application program is that web is applied, the terminal operating application journey
The operation of sequence is:
Step 30501:When the terminal receives the operating instruction to the application program by Web Runtime, obtain
The configuration information of the application program;
Step 30502:The startup path of the application program and application type are sent to by the terminal by Web Runtime
The application state management module;
Step 30503:By the application state management module on the basis of existing process, establishment is new to enter the terminal
Journey;
Step 30504:The terminal starts the application journey in the Web Runtime by the application state management module
Sequence, while the desktop is started application switches to running background.
Wherein, as shown in Figure 3 D, when the application type of the application program is that java is applied, the terminal operating application journey
The operation of sequence is:
Step 30511:When the terminal receives the operating instruction to the application program by Web Runtime, obtain
The configuration information of the application program;
Step 30512:The startup path of the application program and application type are sent to by the terminal by Web Runtime
The application state management module;
Step 30513:By the application state management module on the basis of existing process, establishment is new to enter the terminal
Journey;
Step 30514:The terminal passes through application state management module startup program application in javaVM, while will
The desktop starts application and switches to running background.
Wherein, as shown in FIGURE 3 E, when the application type of the application program is that native is applied, the terminal operating application
The operation of program is:
Step 30521:When the terminal receives the operating instruction to the application program by Web Runtime, obtain
The configuration information of the application program;
Step 30522:The startup path of the application program and application type are sent to by the terminal by Web Runtime
The application state management module;
Step 30523:By the application state management module on the basis of existing process, establishment is new to enter the terminal
Journey;
Step 30524:The terminal starts the application program by the application state management module, while the desktop is started
Application switches to running background.
306:The application program is switched to front stage operation.
As the application program is currently already at running background, therefore, in order to improve the terminal operating application program
Efficiency, while the hidden danger that the application program that avoids reruning may be brought, the application program can be switched to by the terminal
Front stage operation.
It should be noted that the terminal is when front stage operation is switched to by the application program, can also start desktop should
With switching to running background.
Wherein, as illustrated in Figure 3 F, when the application type of the application program is that web is applied, the terminal is by the application program
The operation for switching to front stage operation is:
Step 30601:The terminal obtains the configuration information of the application program by Web Runtime;
Step 30602:The startup path of the application program and application type are sent to by the terminal by Web Runtime
The application state management module;
Step 30603:The application program is switched to front stage operation by the application state management module by the terminal, while
The desktop is started application and switches to running background.
Wherein, as shown in Figure 3 G, when the application type of the application program is that java is applied, the terminal is by the application program
The operation for switching to front stage operation is:
Step 30611:The terminal obtains the configuration information of the application program by Web Runtime;
Step 30612:The startup path of the application program and application type are sent to by the terminal by Web Runtime
The application state management module;
Step 30613:The application program is switched to front stage operation by the application state management module by the terminal, while
The desktop is started application and switches to running background.
Wherein, as shown in figure 3h, when the application type of the application program is that native is applied, the terminal is by the application journey
Sequence switches to the operation of front stage operation:
Step 30621:The terminal obtains the configuration information of the application program by Web Runtime;
Step 30622:The startup path of the application program and application type are sent to by the terminal by Web Runtime
The application state management module;
Step 30623:The application program is switched to front stage operation by the application state management module by the terminal, while
The desktop is started application and switches to running background.
Further, as the terminal is during the application is run, the application program may be switched to backstage
Or other operations, so that the running status of the application program is changed, therefore, in order to ensure the terminal operating application
The reliability of program, in the running of the application program, the running status of the terminal-pair application program is managed.
It should be noted that application state management module is included due to the intelligent operating system that the terminal is installed, therefore,
The terminal can be managed to the running status of the application program by the application state management module.And it is right in order to improve
The efficiency of the running status management of the application program of different application type, and then improve the reliability of the terminal operating application program
Property, the application state management module can include web application states management submodule, java application states management submodule and
Native application states manage submodule, and the running status that web is applied are managed by web application states management submodule
Reason, manages submodule by java application states and the running status that java is applied is managed, by native application states
Management submodule is managed to the running status that native is applied.Certainly, in actual applications, the application state management module
In can also include that corresponding with other types application application state manages submodule respectively, the embodiment of the present invention is not done to this to be had
Body is limited.
Wherein, during the application program is in front stage operation, when specific operation is received, by application switching
To running background, desktop startup application is switched to front stage operation.
It should be noted that the specific operation is the operation such as clicking operation, slide, touch operation, certainly, in reality
In application, the specific operation can also be that other operations, the embodiment of the present invention are not specifically limited to this.
Wherein, as shown in fig. 31, when the application type of the application program is that web is applied, the terminal is by the application program
Running background is switched to, by the operation that desktop startup application switches to front stage operation is:
Step 30631:When the terminal receives specific operation by Web Runtime, to the application state management mould
Block sends desktop and starts application recovery request;
Step 30632:When the terminal receives desktop by the application state management module starts application recovery request,
The application program is switched to running background, desktop startup application is switched to front stage operation.
Wherein, as shown in figure 3j, when the application type of the application program is that java is applied, the terminal is by the application program
Running background is switched to, by the operation that desktop startup application switches to front stage operation is:
Step 30641:When the terminal receives specific operation by javaVM, send to the application state management module
Desktop starts application recovery request;
Step 30642:When the terminal receives desktop by the application state management module starts application recovery request,
The application program is switched to running background, desktop startup application is switched to front stage operation.
Wherein, as shown in Fig. 3 K, when the application type of the application program is that native is applied, the terminal is by the application journey
Sequence switches to running background, by the operation that desktop startup application switches to front stage operation is:
Step 30651:When the terminal receives specific operation by the operating application, to the application state management
Module sends desktop and starts application recovery request;
Step 30652:When the terminal receives desktop by the application state management module starts application recovery request,
The application program is switched to running background, desktop startup application is switched to front stage operation.
In embodiments of the present invention, as the terminal can be when the operating instruction to application program be received, obtaining should
The configuration information of application program, so as to get startup path and the application type of the application program, afterwards, the terminal can be with base
In the configuration information, start the application program, therefore, the terminal can run the application program of multiple application types, improve
The flexibility of the terminal, and due to being to start the application journey in running environment corresponding with the application type of the application program
Sequence, due to being in running environment corresponding with the application type of the application program to start the application program, it is to avoid because of operation
The incompatible hidden danger that may be brought of running environment that the application program is located, improve the terminal operating different application type should
Reliability with program.Secondly, the terminal may determine that currently whether be provided with the application program, and then the application is downloaded in determination
The installation file of program is installing the application program, or downloads the upgrade file of the application program with the application that updates or upgrade
Program, further increases the reliability of the terminal operating application program.In addition, the terminal can be examined every preset duration
Server whether carousel data is surveyed, when the server carousel data, the data of the server carousel is received and store, so as to obtain
Installation file and the upgrade file of the application program is got, as the terminal only needs to the data for receiving the server carousel
Installation file and the upgrade file of the application program is got, the interaction times of the terminal and the server are reduced.Finally, should
Terminal can be, in the running of application program, being managed to the running status of the application program, further increase
The reliability of the application of the terminal operating different application type.
Fig. 4 A are a kind of application program running gear block diagrams provided in an embodiment of the present invention, and referring to Fig. 4 A, the device includes:
First acquisition module 4001, can be included in the processor in the application program running gear provided by the Fig. 2,
For the operation described in execution step 303;
Starting module 4002, can be included in the processor in the application program running gear provided by the Fig. 2, be used for
Operation described in execution step 305.
Alternatively, referring to Fig. 4 B, the first acquisition module 4001 includes:
Submodule 40011 is called, for when the operating instruction to the application program is received, adjusting in execution step 303
The operation that function is obtained with configuration information;
Acquisition submodule 40012, for obtaining function by the configuration information in execution step 303, obtains the application journey
The operation of the configuration information of sequence.
Alternatively, referring to Fig. 4 C, starting module 4002 includes:
Submodule 40021 is created, on the basis of existing process, the behaviour of new process being created in execution step 305
Make;
First starts submodule 40022, for based on the application type, opening in the new process in execution step 305
Move the operation of running environment corresponding with the application type;
Second start submodule 40023, in execution step 305 be based on the startup path, with the application type pair
That answered starts the operation for starting the application program in environment.
Alternatively, referring to Fig. 4 D, the device also includes:
First judge module 4003, can be included in the processor in the application program running gear provided by the Fig. 2,
For the operation described in execution step 304;
Trigger module 4004, can be included in the processor in the application program running gear provided by the Fig. 2, for working as
When the application program is not currently in running background, the operation described in 4002 execution step 305 of starting module is triggered;
First handover module 4005, can be included in the processor in the application program running gear provided by the Fig. 2,
For the operation described in execution step 306.
Alternatively, referring to Fig. 4 E, the device also includes:
Second judge module 4006, can be included in the processor in the application program running gear provided by the Fig. 2,
For judging the operation for currently whether being provided with the application program in execution step 301;
3rd judge module 4007, can be included in the processor in the application program running gear provided by the Fig. 2,
For in execution step 301 if currently without install the application program, judge in bag data storehouse, whether include the application program
Installation file, the operation of the data of the server carousel that is stored with the bag data storehouse;
Second acquisition module 4008, can be included in the processor in the application program running gear provided by the Fig. 2,
For if the bag data storehouse includes the installation file of the application program, obtaining from the bag data storehouse in execution step 301
The operation of the installation file of the application program.
Alternatively, referring to Fig. 4 F, the device also includes:
4th judge module 4009, can be included in the processor in the application program running gear provided by the Fig. 2,
For if being currently installed on the application program, judging whether include the application program in the bag data storehouse in execution step 301
Upgrade file;
3rd acquisition module 4010, can be included in the processor in the application program running gear provided by the Fig. 2,
For if the bag data storehouse includes the upgrade file of the application program, obtaining from the bag data storehouse in execution step 301
The upgrade file of the application program.
Alternatively, referring to Fig. 4 G, the device also includes:
Detection module 4011, can be included in the processor in the application program running gear provided by the Fig. 2, be used for
Every preset duration in execution step 301, the whether operation of carousel data of detection service device;
Receiver module 4012, can be included in the processor in the application program running gear provided by the Fig. 2, be used for
In execution step 301 when the server carousel data is detected, the operation of the data of the server carousel is received;
Memory module 4013, can be included in the memory in the application program running gear provided by the Fig. 2, be used for
Operation in execution step 301 by the data storage for receiving in the bag data storehouse.
Alternatively, referring to Fig. 4 H, the device also includes:
Second handover module 4014, can be included in the processor in the application program running gear provided by the Fig. 2,
For during the application program is in front stage operation, when specific operation is received, this being applied in execution step 306
Program switches to the operation of running background;
3rd handover module 4015, can be included in the processor in the application program running gear provided by the Fig. 2,
For desktop is started the operation that application switches to front stage operation in execution step 306.
In embodiments of the present invention, as the terminal can be when the operating instruction to application program be received, obtaining should
The configuration information of application program, so as to get startup path and the application type of the application program, afterwards, the terminal can be with base
In the configuration information, start the application program, therefore, the terminal can run the application program of multiple application types, improve
The flexibility of the terminal, and due to being to start the application journey in running environment corresponding with the application type of the application program
Sequence, due to being in running environment corresponding with the application type of the application program to start the application program, it is to avoid because of operation
The incompatible hidden danger that may be brought of running environment that the application program is located, improve the terminal operating different application type should
Reliability with program.
It should be noted that:The application program running gear that above-described embodiment is provided in operation application, only with above-mentioned each
The division of functional module is illustrated, and in practical application, can distribute above-mentioned functions by different work(as desired
Can module complete, will the internal structure of device be divided into different functional modules, with complete described above all or portion
Divide function.In addition, the application program running gear that above-described embodiment is provided belongs to same with application program operation method embodiment
Design, which implements process and refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware
To complete, it is also possible to which the hardware for being instructed correlation by program is completed, and described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and
Within principle, any modification, equivalent substitution and improvements that is made etc. should be included within the scope of the present invention.
Claims (16)
1. a kind of application program operation method, it is characterised in that methods described includes:
When the operating instruction to application program is received, the configuration information of the application program is obtained, in the configuration information
Startup path and application type including the application program;
Based on the configuration information, in running environment corresponding with the application type, start the application program, to run
The application program.
2. the method for claim 1, it is characterised in that described when the operating instruction to application program is received, obtains
The configuration information of the application program is taken, including:
When the operating instruction to the application program is received, configuration information is called to obtain function;
Function is obtained by the configuration information, the configuration information of the application program is obtained.
3. the method for claim 1, it is characterised in that described based on the configuration information, with the application type
Start the application program in corresponding running environment, including:
On the basis of existing process, new process is created;
Based on the application type, start running environment corresponding with the application type in the new process;
The startup path is based on, starts the application program in startup environment corresponding with the application type, to run
The application program.
4. the method for claim 1, it is characterised in that described based on the configuration information, with the application type
Before starting the application program in corresponding running environment, also include:
Judge the application program currently whether in running background;
When the application program is not currently in running background, execute be based on the configuration information, with the application type
The step of starting the application program in corresponding running environment;
When the application program is currently at running background, the application program is switched to front stage operation.
5. the method for claim 1, it is characterised in that before the configuration information of the acquisition application program, also
Including:
Judge whether the application program is installed currently;
If currently without the application program is installed, judging the installation text for whether including the application program in bag data storehouse
Part, the data of the server carousel that is stored with the bag data storehouse, carries the configuration in the installation file of the application program
Information;
If the bag data storehouse includes the installation file of the application program, from the bag data storehouse, obtain the application
The installation file of program.
6. method as claimed in claim 5, it is characterised in that the judgement currently whether be provided with the application program it
Afterwards, also include:
If being currently installed on the application program, the upgrading text for whether including the application program in the bag data storehouse is judged
Part;
If the bag data storehouse includes the upgrade file of the application program, from the bag data storehouse, obtain the application
The upgrade file of program.
7. the method as described in claim 5 or 6, it is characterised in that methods described also includes:
Every preset duration, detection service device whether carousel data;
When the server carousel data is detected, the data of the server carousel are received;
By the data storage for receiving in the bag data storehouse.
8. the method for claim 1, it is characterised in that described open in running environment corresponding with the application type
After moving the application program, also include:
During the application program is in front stage operation, when specific operation is received, the application program is switched
To running background;
Desktop startup application is switched to front stage operation.
9. a kind of application program running gear, it is characterised in that described device includes:
First acquisition module, for when the operating instruction to application program is received, obtain the application program with confidence
Breath, the configuration information include the startup path of the application program and application type;
Starting module, for being based on the configuration information, starts described answering in running environment corresponding with the application type
With program, to run the application program.
10. device as claimed in claim 9, it is characterised in that first acquisition module includes:
Submodule is called, for when the operating instruction to the application program is received, calling configuration information to obtain function;
Acquisition submodule, for obtaining function by the configuration information, obtains the configuration information of the application program.
11. devices as claimed in claim 9, it is characterised in that the starting module includes:
Submodule is created, for, on the basis of existing process, creating new process;
First starts submodule, for based on the application type, starting and the application type pair in the new process
The running environment that answers;
Second starts submodule, for being based on the startup path, starts in startup environment corresponding with the application type
The application program, to run the application program.
12. devices as claimed in claim 9, it is characterised in that described device also includes:
Whether the first judge module, for judging the application program currently in running background;
Trigger module, is based on for when the application program is not currently in running background, triggering the starting module execution
The configuration information, start the application program the step of in running environment corresponding with the application type;
First handover module, for when the application is currently at running background, switching to front stage operation by the application.
13. devices as claimed in claim 9, it is characterised in that described device also includes:
Second judge module, for judging currently whether be provided with the application program;
Whether the 3rd judge module, if for described in currently without the application program is installed, judging to include in bag data storehouse
The installation file of application program, the data of the server carousel that is stored with the bag data storehouse;
Second acquisition module, if including the installation file of the application program for the bag data storehouse, from the bag number
According to the installation file that the application program is obtained in storehouse, carry the configuration information in the installation file of the application program.
14. devices as claimed in claim 13, it is characterised in that described device also includes:
4th judge module, if for being currently installed on the application program, judge whether include institute in the bag data storehouse
State the upgrade file of application program;
3rd acquisition module, if including the upgrade file of the application program for the bag data storehouse, from the bag number
According to the upgrade file for obtaining the application program in storehouse.
15. devices as described in claim 13 or 14, it is characterised in that described device also includes:
Detection module, for every preset duration, detection service device whether carousel data;
Receiver module, for when the server carousel data is detected, receiving the data of the server carousel;
Memory module, for by the data storage for receiving in the bag data storehouse.
16. devices as claimed in claim 9, it is characterised in that described device also includes:
Second handover module, during being in front stage operation in the application program, when specific operation is received, will
The application program switches to running background;
3rd handover module, for switching to front stage operation by desktop startup application.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610843446.XA CN106502717B (en) | 2016-09-22 | 2016-09-22 | Application program running method and device |
CN202010227520.1A CN111427594B (en) | 2016-09-22 | 2016-09-22 | Application program running method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610843446.XA CN106502717B (en) | 2016-09-22 | 2016-09-22 | Application program running method and device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010227520.1A Division CN111427594B (en) | 2016-09-22 | 2016-09-22 | Application program running method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106502717A true CN106502717A (en) | 2017-03-15 |
CN106502717B CN106502717B (en) | 2020-04-14 |
Family
ID=58290536
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610843446.XA Active CN106502717B (en) | 2016-09-22 | 2016-09-22 | Application program running method and device |
CN202010227520.1A Active CN111427594B (en) | 2016-09-22 | 2016-09-22 | Application program running method and device |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010227520.1A Active CN111427594B (en) | 2016-09-22 | 2016-09-22 | Application program running method and device |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN106502717B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107318049A (en) * | 2017-06-13 | 2017-11-03 | 北京比利信息技术有限公司 | Launcher fusion methods by all kinds of means |
CN107911482A (en) * | 2017-12-11 | 2018-04-13 | 北京小米移动软件有限公司 | Intended application deployment method and device |
CN108021343A (en) * | 2017-11-10 | 2018-05-11 | 维沃移动通信有限公司 | A kind of display methods of application program, device and mobile terminal |
CN108595195A (en) * | 2018-04-09 | 2018-09-28 | 江苏国泰新点软件有限公司 | A kind of application program update method, apparatus, terminal and storage medium |
CN109491725A (en) * | 2018-11-12 | 2019-03-19 | 火烈鸟网络(广州)股份有限公司 | Application program can interact more extractions of root and system, storage medium, electronic equipment |
CN109947437A (en) * | 2017-12-20 | 2019-06-28 | 沪江教育科技(上海)股份有限公司 | A kind of data processing method and terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102105861A (en) * | 2008-07-28 | 2011-06-22 | 微软公司 | State separation for application changes |
CN102929650A (en) * | 2012-07-11 | 2013-02-13 | 北京金山安全软件有限公司 | Method and device for independently configuring application program running environment and mobile device |
US8646100B2 (en) * | 2011-06-03 | 2014-02-04 | Apple Inc. | Method for executing an application in a restricted operating environment |
CN104239102A (en) * | 2014-09-15 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Operation method and device of application program |
CN104461663A (en) * | 2014-12-30 | 2015-03-25 | 北京奇虎科技有限公司 | Method and device for loading other mobile terminal applications and mobile terminal |
CN105955782A (en) * | 2016-05-09 | 2016-09-21 | 北京奇虎科技有限公司 | Application program running control method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103246525B (en) * | 2012-02-06 | 2017-03-08 | 腾讯科技(深圳)有限公司 | A kind of method and client realizing applying operation |
CN104134034B (en) * | 2013-06-13 | 2015-10-21 | 腾讯科技(深圳)有限公司 | Control the method and apparatus that application runs |
CN104216700B (en) * | 2013-09-10 | 2017-05-03 | 侯金涛 | System of cloud-computing-based HTML5 application packaging, installation, unloading and operation method |
CN104267994B (en) * | 2014-09-30 | 2017-10-31 | 北京奇虎科技有限公司 | A kind of device and terminal device for running application program |
-
2016
- 2016-09-22 CN CN201610843446.XA patent/CN106502717B/en active Active
- 2016-09-22 CN CN202010227520.1A patent/CN111427594B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102105861A (en) * | 2008-07-28 | 2011-06-22 | 微软公司 | State separation for application changes |
US8646100B2 (en) * | 2011-06-03 | 2014-02-04 | Apple Inc. | Method for executing an application in a restricted operating environment |
CN102929650A (en) * | 2012-07-11 | 2013-02-13 | 北京金山安全软件有限公司 | Method and device for independently configuring application program running environment and mobile device |
CN104239102A (en) * | 2014-09-15 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Operation method and device of application program |
CN104461663A (en) * | 2014-12-30 | 2015-03-25 | 北京奇虎科技有限公司 | Method and device for loading other mobile terminal applications and mobile terminal |
CN105955782A (en) * | 2016-05-09 | 2016-09-21 | 北京奇虎科技有限公司 | Application program running control method and device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107318049A (en) * | 2017-06-13 | 2017-11-03 | 北京比利信息技术有限公司 | Launcher fusion methods by all kinds of means |
CN108021343A (en) * | 2017-11-10 | 2018-05-11 | 维沃移动通信有限公司 | A kind of display methods of application program, device and mobile terminal |
CN107911482A (en) * | 2017-12-11 | 2018-04-13 | 北京小米移动软件有限公司 | Intended application deployment method and device |
CN109947437A (en) * | 2017-12-20 | 2019-06-28 | 沪江教育科技(上海)股份有限公司 | A kind of data processing method and terminal |
CN108595195A (en) * | 2018-04-09 | 2018-09-28 | 江苏国泰新点软件有限公司 | A kind of application program update method, apparatus, terminal and storage medium |
CN108595195B (en) * | 2018-04-09 | 2022-01-21 | 国泰新点软件股份有限公司 | Application program updating method, device, terminal and storage medium |
CN109491725A (en) * | 2018-11-12 | 2019-03-19 | 火烈鸟网络(广州)股份有限公司 | Application program can interact more extractions of root and system, storage medium, electronic equipment |
CN109491725B (en) * | 2018-11-12 | 2022-12-27 | 火烈鸟网络(广州)股份有限公司 | Interactive multi-opening method and system of application program, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106502717B (en) | 2020-04-14 |
CN111427594A (en) | 2020-07-17 |
CN111427594B (en) | 2024-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106502717A (en) | application program operation method and device | |
CN1153138C (en) | System and method for improving management and usability of Java environment | |
CN107992308B (en) | Plug-in management method for android terminal application program | |
CN111427596B (en) | Software upgrading method and device and terminal equipment | |
CN103927253A (en) | Multiple browser compatibility testing method and system | |
CN106406961A (en) | Method and device for loading and providing application based on browser | |
CN101470621A (en) | Virtual machine configuration system | |
WO2005083562A1 (en) | System and method for building mixed mode execution environment for component applications | |
CN101571809A (en) | Implementation method of plug-in registration and device thereof | |
CN107992355A (en) | A kind of method, apparatus and virtual machine of application deployment software | |
CN106066803B (en) | application program operation control method and device | |
US6865732B1 (en) | Providing an embedded application specific web server | |
US20110083067A1 (en) | Web browsing environment provider system for multiple users and control method thereof | |
CN114125028A (en) | Running method, device, equipment, storage medium and program product of micro application | |
US20070094675A1 (en) | Object mobility | |
WO2011060735A1 (en) | Method,device and system for invoking widget | |
CN108255509A (en) | Using dispositions method, device, equipment and readable storage medium storing program for executing | |
KR20220059814A (en) | Api request processing system | |
CN110928554A (en) | Deployment method, device, equipment and storage medium | |
CN107193565B (en) | Method for developing native APP (application) across mobile terminals | |
KR100670605B1 (en) | System and method for servicing multimedia contents and recording medium thereof | |
CN112860251A (en) | Method and system for constructing website front end | |
US9164817B2 (en) | Mobile communication terminal to provide widget expansion function using message communication, and operation method of the mobile communication terminal | |
CN113448650A (en) | Live broadcast function plug-in loading method, device, equipment and storage medium | |
CN110673827B (en) | Resource calling method and device based on android system and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |