CN105224363B - Method and device for loading application program - Google Patents
Method and device for loading application program Download PDFInfo
- Publication number
- CN105224363B CN105224363B CN201510612414.4A CN201510612414A CN105224363B CN 105224363 B CN105224363 B CN 105224363B CN 201510612414 A CN201510612414 A CN 201510612414A CN 105224363 B CN105224363 B CN 105224363B
- Authority
- CN
- China
- Prior art keywords
- application program
- engine
- platform
- file
- terminal device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a method and a device for loading an application program. The method comprises the following steps: receiving an application control loading request, and inquiring whether a terminal device sending the application control loading request stores a preset platform file or not; if the platform file is stored in the terminal equipment, triggering the terminal equipment to call the platform file so as to load the homepage of the platform; receiving an application program loading request sent by terminal equipment in a homepage of the platform, and acquiring address information of an application program corresponding to the application program loading request; inquiring whether the terminal equipment is provided with an engine for driving the application program; and if the terminal equipment is provided with an engine for driving the application program, triggering the terminal equipment to start the engine of the application program, and loading the application program corresponding to the address information of the application program based on the started engine of the application program. The invention can improve the game running efficiency and reduce the network flow of the running game pair.
Description
Technical field
The present invention relates to online game technology more particularly to a kind of method and devices of loading application programs.
Background technique
Hypertext markup language (HTML, Hyper Text Mark-up Language) includes picture, chain for generating
It connects, the webpage of the non-legible element such as music, program, browser can be shown web page contents, HTML by decoding HTML
It is the basis for constituting internet.Wherein, HTML5 (H5) is the 5th generation HTML, and completely new frame peace is provided for Next Generation Internet
Platform, for example, being driven since the platform built using H5 can be compatible in the end PC and mobile terminal, Windows and Linux, Android and IOS
All kinds of engines of dynamic application program, thus, load of the types of applications program on corresponding engine may be implemented based on H5 platform.With
For the platform built using H5 is H5 gaming platform, since H5 gaming platform has powerful compatibility, it can be compatible with all kinds of
The game (game application) that game engine is supported, provides corresponding game environment for various types of games, thus, based on unification
H5 gaming platform develop game, development of games and operation cost can be reduced significantly so that H5 obtained it is more and more extensive
Using.
In the prior art, since the terminal device of user is different, and the browser type of terminal device and version can
Can be multifarious, thus, in order to ensure that game developer or the game application of gaming operators exploitation can operate in not
With terminal device on, game developer or gaming operators are by H5 gaming platform file, the corresponding game of game application
Engine installation file and game application installation file are integrated and are encapsulated in game application packet, game application
Packet can be Android installation kit (APK, Android Package), be also possible to Windows installation kit.User is downloading and is pacifying
After filling game application packet, H5 gaming platform file can be called to load H5 gaming platform on the terminal device, so as to
Based on H5 gaming platform, game is carried out by the game engine accordingly installed.And when user needs to carry out different game engine branch
When the game held, by downloading and installing the game application packet of different game respectively, to be based on H5 gaming platform, realize
The game of different game engine drivings.
But the existing method based on H5 gaming platform load game application, user need for each game, downloading
And corresponding game application packet is installed, it is put down even if user generates H5 game by first time installation game application packet
Platform and a certain game engine in subsequent applications, even if need to carry out the game supported by a certain game engine, still need to
The game application packet that installation file is corresponded to comprising H5 gaming platform file and a certain game engine is downloaded, so that
Time needed for running game is long, and game running efficiency is lower, and network flow consumption is big, increases the games cost of user, shadow
The game experiencing of user is rung.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method and device of loading application programs, game running effect is promoted
Rate, the network flow for reducing running game.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
On the one hand, the embodiment of the present invention provides a kind of method of loading application programs, comprising:
It receives and applies class control load request, whether the terminal device of inquiry sending application class control load request is stored with
Pre-set platform file;
If the terminal device is stored with the platform file, trigger the terminal device call the platform file with
Load the homepage of the platform;
The application program load request that the terminal device is sent in the homepage of the platform is received, the application is obtained
The address information of the corresponding application program of program load request;
Inquire whether the terminal device is equipped with the engine for driving the application program;
If the installing terminal equipment has the engine for driving the application program, trigger described in the terminal device starting
The engine of application program, and the engine of the application program based on starting load the application program address information it is corresponding
Application program.
The method of loading application programs provided in an embodiment of the present invention, by by the engine installation file of driver application
And platform file is separated from application package, whether the terminal device of inquiry sending application class control load request is stored with
Pre-set platform file, and whether the engine for driving the application program is installed, if so, can be based on calling
Platform file and the engine loading application programs of installation, so that user is directed to a variety of application programs, it is only necessary under executing once
Engine installation file and platform file are carried, network flow is effectively saved, the time needed for reducing operation application program, is mentioned
Application program operational efficiency is risen.
On the other hand, the embodiment of the present invention provides a kind of device of loading application programs, comprising: the first enquiry module is adjusted
Module, the second enquiry module and application program loading module are obtained with module, address information, wherein
First enquiry module applies class control load request for receiving, inquiry sending application class control load request
Whether terminal device is stored with pre-set platform file;
Calling module triggers described in the terminal device calling if the terminal device is stored with the platform file
Platform file is to load the homepage of the platform;
Address information obtains module, the application program sent in the homepage of the platform for receiving the terminal device
Load request obtains the address information of the corresponding application program of the application program load request;
Whether the second enquiry module is equipped with for inquiring the terminal device and drives the engine of the application program;
Application program loading module triggers institute if the installing terminal equipment has the engine for driving the application program
The engine that terminal device starts the application program is stated, and the engine load of the application program based on starting is described using journey
The corresponding application program of the address information of sequence.
The device of loading application programs provided in an embodiment of the present invention, by by the engine installation file of driver application
And platform file is separated from application package, the terminal of the first enquiry module inquiry sending application class control load request is set
Standby whether to be stored with pre-set platform file, after terminal device is stored with platform file, triggering terminal is set calling module
Standby to call the platform file weighted platform homepage, address information obtains module and obtains application program load request in platform homepage
Whether the address information of corresponding application program, the inquiry of the second enquiry module are equipped with the engine for driving the application program, answer
With program loading module when being equipped with engine, the engine loading application programs of platform file and installation based on calling make
It obtains user and is directed to a variety of application programs, it is only necessary to execute a download engine installation file and platform file, be effectively saved
Network flow, improves application program operational efficiency at the time needed for reducing operation application program.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the method flow schematic diagram of loading application programs of the embodiment of the present invention;
Fig. 2 is the method idiographic flow schematic diagram of loading application programs of the embodiment of the present invention;
Fig. 3 is the apparatus structure schematic diagram of loading application programs of the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described in detail with reference to the accompanying drawing.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
Its embodiment, shall fall within the protection scope of the present invention.
Fig. 1 is the method flow schematic diagram of loading application programs of the embodiment of the present invention.Referring to Fig. 1, this method comprises:
Step 101, it receives and applies class control load request, the terminal device of inquiry sending application class control load request is
It is no to be stored with pre-set platform file;
In this step, as an alternative embodiment, receive can be using class control load request be stored with platform file,
The server of engine installation file and application program installation file.In the embodiment of the present invention, by by existing application program
Packet is decapsulated, and independent platform file, engine installation file and application program installation file is respectively formed, subsequent
Respective handling can be carried out according to the actual needs of user in, without application package being pushed every time, from
And network flow is reduced, the time needed for reducing pushing application program packet.
In the embodiment of the present invention, include but is not limited to using class control: game class control, payment class control, searching class control
Part, amusement class control etc..
In the embodiment of the present invention, as an alternative embodiment, pre-set platform file is H5 gaming platform file, i.e.,
5th generation hypertext markup language gaming platform file.Certainly, in practical application, pre-set platform file may be it
Its platform file, for example, H5 search platform file, alternatively, the H6 platform file or H7 platform text that are likely to occur in subsequent applications
Part etc..
In the embodiment of the present invention, platform file includes the application list letter of the environmental information of platform operation, support
Breath etc., the detailed content for including about platform file is well-known technique, detailed description is omitted here.
As another alternative embodiment, reception, which is also possible to the load of sending application class control using class control load request, is asked
The browser in terminal device asked is received using class control load request by browser and inquires whether terminal device is stored with
The process of pre-set platform file.
Step 102, it if the terminal device is stored with the platform file, triggers the terminal device and calls described put down
Platform file is to load the homepage of the platform;
In this step, if terminal device is stored with platform file, show that the terminal device had downloaded platform text in advance
Part, thus, without terminal device row downloading again, only the platform file downloaded need to be called with the homepage of weighted platform.
In the embodiment of the present invention, after the homepage for loading the platform, application program is shown in the homepage of the platform
List, user can be by clicking the application program in the application list to load the application program.
As an alternative embodiment, if triggering institute after the terminal device is stored with the platform file
Before stating the homepage that terminal device calls the platform file to load the platform, this method further comprises:
The first version information of the platform file of the terminal device storage is obtained, if the platform text of storage
The second edition information of part is higher than the first version information, and it is corresponding that Xiang Suoshu terminal device pushes the second edition information
Platform file, to update the platform file of the terminal device storage.
In this step, after the platform file publication for having new version, terminal device can obtain the platform of new version in time
File.
As an alternative embodiment, this method further comprises:
If the terminal device is not stored the platform file, pushes the platform file and be stored in the terminal
In equipment, triggers the terminal device and call the platform file of storage to load the homepage of the platform.
In this step, if receiving using class control load request is to send the terminal using class control load request
Browser in equipment, pushing the platform file includes:
Browser is sent received using class control load request to the server for being stored with the platform file, so that
The server receives the application class control load request, pushes away to the terminal device using class control load request is sent
Send the platform file.
Step 103, the application program load request that the terminal device is sent in the homepage of the platform is received, is obtained
The address information of the corresponding application program of the application program load request;
In this step, in the application list that user shows in the homepage of the platform, the application program is clicked
A destination application in list triggers sending application program load request.
As an alternative embodiment, the address information packet of the corresponding application program of the application program load request is obtained
It includes:
The homepage of the platform opens opening for the corresponding application program of application program load request using network view
The dynamic page executes the JS code in the starting page, obtains the ground of the corresponding application program of the application program load request
Location information, and pass through the homepage of platform described in pre-set interface notification.
Step 104, inquire whether the terminal device is equipped with the engine for driving the application program;
In this step, for different application programs, it may be necessary to which different engines are driven, for example, for game
Each game in class control, some game need egression (Egret) engine to be driven, some game need that sub- (Laya) is drawn to draw
It holds up and is driven.
As an alternative embodiment, inquire whether the terminal device is equipped with the engine packet for driving the application program
It includes:
A11, obtains the corresponding Application Type of the application program load request and application class identifies;
In this step, being used for application class belonging to identification application using class mark is game class, payment class, searching class
Or amusement class.
Application Type refers to the type using the application program under class, the corresponding engine of each Application Type.
For example, game application type can include but is not limited to by taking the game application in game class as an example: egression type with
And draw subgroup etc., wherein the game of egression type corresponds to egression engine, that is, egression engine is needed to be driven, and draws subgroup
Game it is corresponding draw sub- engine, that is, need that sub- engine is drawn to be driven.Wherein, egression engine is the free game box of an open source
Frame, for constructing two-dimensional game, demonstration program and other graphical interfaces interactive applications etc., egression engine uses TypeScript foot
This language development.
In the embodiment of the present invention, obtains and answered described in the corresponding Application Type of the application program load request and acquisition
Address information with the corresponding application program of program load request is identical, i.e., is beaten by the homepage of the platform using network view
The starting page of the corresponding application program of the application program load request is opened, the JS code in the starting page is executed, obtains
The Application Type of the corresponding application program of the application program load request is taken, and passes through pre-set interface notification institute
State the homepage of platform.
A12 inquires the pre-set mapping relations using class mark and engine collection, and the application class mark obtained is reflected
The engine collection penetrated;
A13, the mapping relations of the engine pooled applications Program Type and engine inquired, the application program obtained
The engine of Type mapping;
A14 inquires the engine whether terminal device is equipped with.
It should be noted that obtaining address information and the inquiry institute of the corresponding application program of the application program load request
It states whether terminal device is equipped with point for driving the engine of the application program there is no sequencing, that is, obtains described using journey
The address information of the corresponding application program of sequence load request can be answered whether the inquiry terminal device is equipped with described in driving
After the engine of program, alternatively, driving the engine of the application program simultaneously with inquiring the terminal device and whether being equipped with
It carries out.
Step 105, if the installing terminal equipment has the engine for driving the application program, the terminal device is triggered
Start the engine of the application program, and the engine of the application program based on starting loads the address letter of the application program
Cease corresponding application program.
In this step, as an alternative embodiment, the engine load of the application program based on starting is described to apply journey
The corresponding application program of the address information of sequence includes:
The engine load of the application program parses and executes the application journey in the corresponding application program of the address information
Sequence script, and calling platform is the running environment that the Application-script provides in the process of implementation.
As an alternative embodiment, after the installing terminal equipment has the engine for driving the application program, triggering
Before the terminal device starts the engine of the application program, this method be may further include:
The first attribute information of the engine of the installing terminal equipment is obtained, if the engine installation file of storage
Second attribute information is higher than first attribute information, and Xiang Suoshu terminal device pushes the corresponding engine of second attribute information
Installation file, to update the engine of the installing terminal equipment.
In this step, attribute information is version information.
As an alternative embodiment, this method further comprises:
If the terminal device is not installed with the engine for driving the application program, it is described using journey to push the driving
The corresponding engine installation file of the engine of sequence so that engine installation file described in the installing terminal equipment obtain it is described using journey
After the engine of sequence, start the engine of the application program, and the engine of the application program based on starting loads the application
The corresponding application program of the address information of program.
In this step, if receiving using class control load request is to send the terminal using class control load request
Browser in equipment, the corresponding engine installation file of engine for pushing the driving application program include:
Browser sends the request of engine installation file to the server, so that the server receives the engine installation
File request, Xiang Suoshu terminal device push the engine installation file and request corresponding engine installation file.
Fig. 2 is the method idiographic flow schematic diagram of loading application programs of the embodiment of the present invention.Referring to fig. 2, with terminal device
For the first time for running game, which includes:
Step 201, game class control is clicked in main browser page;
Step 202, it triggers download games platform file and stores;
In this step, as an alternative embodiment, gaming platform file is H5 gaming platform Android installation package file.
Step 203, gaming platform file is called to enter gaming platform homepage;
Step 204, target game is chosen in the list of games that gaming platform homepage is shown, starts the page into game;
In this step, as an alternative embodiment, gaming platform homepage is started and entered using network view (webview)
The game of the target game of selection starts the page.
Step 205, JS code is executed in the game starting page, obtains game address and the type of play of target game;
In this step, JS code is Javascript code.
Step 206, game address and type of play are inquired, the corresponding engine of target game is obtained, downloads corresponding engine
Installation file;
In this step, according to game address and type of play, if the corresponding engine of target game obtained draws for egression
It holds up, then downloads egression engine installation file, is i.e. downloading egression engine plug-in unit;If the corresponding engine of target game obtained is to draw
Sub- engine then downloads the sub- engine installation file of drawing, i.e. sub- engine plug-in unit is drawn in downloading;If the corresponding engine of target game obtained
For rice great master's payment engine, then downloads meter great master and pay installation file, i.e., downloading rice great master pays plug-in unit.
Step 207, runtime engine installation file, and the engine-operated target game based on operation.
In this step, if downloading egression engine plug-in unit, installs egression engine plug-in unit, and the fortune of the egression engine based on installation
Row egression game;If sub- engine plug-in unit is drawn in downloading, sub- engine plug-in unit is drawn in installation, and the sub- engine-operated drawing of the drawing based on installation is sub-
Game;If downloading pays plug-in unit for the rice great master of game payment, installation rice great master pays plug-in unit, and the rice based on installation is big
Shi Yunhang meters of great master's payment modules.
In the embodiment of the present invention, after user clicks the game class control icons in main browser page, download or according to storage
Gaming platform file version number update gaming platform file, for example, gaming platform APK plug-in unit.It is completed downloading or updating
Afterwards, dynamic call gaming platform APK plug-in unit enters gaming platform homepage, in the list of games that gaming platform homepage is shown, uses
One of game is clicked at family, for example, Egret game " demon adult ", gaming platform homepage open the trip using network view
The starting page of play, then executes the JS code in the game starting page, and JS code passes through pre-set interface notification game
The information such as address, the type of target game that platform homepage needs to run, gaming platform homepage is according to obtained target game class
Corresponding game engine is downloaded or updated to type, for example, swimming after the completion of Egret egression engine, downloading or update according to target
The address of play enters game, and display game resource loads interface, and then bring into operation game.
From the foregoing, it can be seen that the method for loading application programs of the embodiment of the present invention, by the way that the engine of driver application is pacified
Dress file and platform file are separated from application package, carry out plug-in unit management, so that user is directed to a variety of application programs,
A download engine installation file and platform file are only needed to be implemented, is run saturating to user when different types of application program
It is bright, the size of application package is effectively reduced, network flow has been saved, the time needed for reducing operation application program, is mentioned
Application program operational efficiency has been risen, the application program experience of user is enhanced;Further, the engine of plug-in unit can also be pacified
Version management is realized in the downloading and upgrading for filling file and platform file, is timely updated and maintenance engine and platform.
Fig. 3 is the apparatus structure schematic diagram of loading application programs of the embodiment of the present invention.Referring to Fig. 3, which includes: first
Enquiry module 301, calling module 302, address information obtain module 303, the second enquiry module 304 and application program and load mould
Block 305, wherein
First enquiry module 301 applies class control load request for receiving, inquires sending application class control load request
Terminal device whether be stored with pre-set platform file;
In the embodiment of the present invention, include but is not limited to using class control: game class control, payment class control, searching class control
Part, amusement class control etc..
Platform file includes but is not limited to: H5 gaming platform file and H5 search platform file etc..
Calling module 302 triggers the terminal device and calls institute if the terminal device is stored with the platform file
Platform file is stated to load the homepage of the platform;
In the embodiment of the present invention, as an alternative embodiment, calling module 302 includes: judging unit and the first triggering
Unit (not shown), wherein
Judging unit notifies the first trigger unit if the terminal device is stored with the platform file;
First trigger unit calls the platform file for triggering the terminal device to load the master of the platform
Page.
As another alternative embodiment, judging unit is further used for having platform text the terminal device is not stored
When part, notify push unit, calling module 302 that can also include:
Push unit pushes the platform file and is stored in the terminal device, described in triggering for receiving notice
Terminal device calls the platform file of storage to load the homepage of the platform.
As yet another alternative embodiment, calling module 302 can also include:
Platform file updating unit exports to the notice of the first trigger unit for intercepting judging unit, obtains the end
The first version information of the platform file of end equipment storage, if the second edition information of the platform file of storage is high
In the first version information, Xiang Suoshu terminal device pushes the corresponding platform file of the second edition information, to update
The platform file of terminal device storage is stated, and in the updated, notifies the first trigger unit.
Address information obtains module 303, the application sent in the homepage of the platform for receiving the terminal device
Program load request obtains the address information of the corresponding application program of the application program load request;
In the embodiment of the present invention, after the homepage for loading the platform, application program is shown in the homepage of the platform
List, user can be by clicking the application program in the application list with sending application program load request.
As an alternative embodiment, it includes: application program load request unit, starting list that address information, which obtains module 303,
Member, code execution unit and notification unit (not shown), wherein
Application program load request unit is received for showing the application list in the homepage for loading the platform
The application program load request that user is generated by the application program clicked in the application list;
Start unit, for being opened using network view described using journey after receiving the application program load request
The starting page of the corresponding application program of sequence load request;
Code execution unit obtains described using journey for executing the Java description language code in the starting page
The address information of the corresponding application program of sequence load request;
Notification unit, the address information for will acquire by pre-set interface notify the homepage of the platform.
Whether the second enquiry module 304 is equipped with for inquiring the terminal device and drives the engine of the application program;
In the embodiment of the present invention, as an alternative embodiment, the second enquiry module 304 may include: mark acquiring unit,
First query unit, the second query unit and third query unit (not shown), wherein
Mark acquiring unit, for obtaining the corresponding Application Type of the application program load request and using class
Mark;
First query unit is obtained for inquiring the pre-set mapping relations using class mark and engine collection
The engine collection using class identity map;
Second query unit is obtained for inquiring the mapping relations of obtained engine pooled applications Program Type and engine
The engine of the Application Type mapping of acquisition;
Third query unit, the engine whether being equipped with for inquiring the terminal device.
Application program loading module 305, if the installing terminal equipment has the engine for driving the application program, triggering
The terminal device starts the engine of the application program, and the engine of the application program based on starting loads the application
The corresponding application program of the address information of program.
In the embodiment of the present invention, as an alternative embodiment, application program loading module 305 includes: engine judging unit
And loading unit (not shown), wherein
Engine judging unit, if the installing terminal equipment has the engine for driving the application program, notice load is single
Member;
Loading unit starts the engine of the application program for triggering the terminal device, and based on described in starting
The engine of application program loads the corresponding application program of address information of the application program.
As another alternative embodiment, engine judging unit is further used for being not installed with driving institute in the terminal device
When stating the engine of application program, notification engine push unit, application program loading module 305 can also include:
Engine push unit pushes the corresponding engine peace of engine of the driving application program for receiving notice
File is filled, so that engine installation file described in the installing terminal equipment obtains the engine of the application program, and notifies to load
Unit.
As yet another alternative embodiment, application program loading module 305 can also include:
Engine updating unit is exported for intercepting engine judging unit to the notice of loading unit, is obtained the terminal and is set
First attribute information of the engine of standby installation, if the second attribute information of the engine installation file of storage is higher than described the
One attribute information, Xiang Suoshu terminal device pushes the corresponding engine installation file of second attribute information, to update the end
The engine of end equipment installation, and in the updated, notify loading unit.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (RandomAccess
Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (18)
1. a kind of method of loading application programs, which is characterized in that application package includes independent platform file, engine installation
File and application program installation file, this method comprises:
It receives and applies class control load request, whether the terminal device of inquiry sending application class control load request is stored in advance
The platform file of setting;
If the terminal device is stored with the platform file, triggers the terminal device and call the platform file to load
The homepage of the platform;
The application program load request that the terminal device is sent in the homepage of the platform is received, the application program is obtained
The address information of the corresponding application program of load request;
Inquire whether the terminal device is equipped with the engine for driving the application program;
If the installing terminal equipment has the engine for driving the application program, triggers the terminal device and start the application
The engine of program, and the engine of the application program based on starting loads the corresponding application of address information of the application program
Program.
2. the method according to claim 1, wherein whether the inquiry terminal device is equipped with driving institute
The engine for stating application program includes:
It obtains the corresponding Application Type of the application program load request and application class identifies;
Inquire the pre-set mapping relations using class mark and engine collection, the engine using class identity map obtained
Collection;
The mapping relations for inquiring obtained engine pooled applications Program Type and engine, the Application Type mapping obtained
Engine;
Inquire the engine whether terminal device is equipped with.
3. being answered the method according to claim 1, wherein the acquisition application program load request is corresponding
Include: with the address information of program
The homepage of the platform opens the starting page of the corresponding application program of the application program load request using network view
Face executes the Java description language code in the starting page, it is corresponding using journey to obtain the application program load request
The address information of sequence, and pass through the homepage of platform described in pre-set interface notification.
4. method according to any one of claims 1 to 3, which is characterized in that the method further includes:
If the terminal device is not stored the platform file, pushes the platform file and be stored in the terminal device
In, it triggers the terminal device and calls the platform file of storage to load the homepage of the platform.
5. according to the method described in claim 4, it is characterized in that, if receiving using class control load request is described in transmission
Using the browser in the terminal device of class control load request, pushing the platform file includes:
Browser is sent received using class control load request to the server for being stored with the platform file, so that described
Server receives the application class control load request, pushes institute to the terminal device using class control load request is sent
State platform file.
6. method according to any one of claims 1 to 3, which is characterized in that if stored in the terminal device
After having the platform file, before triggering the homepage that the terminal device calls the platform file to load the platform,
The method further includes:
The first version information of the platform file of the terminal device storage is obtained, if the platform file of storage
Second edition information is higher than the first version information, and Xiang Suoshu terminal device pushes the corresponding platform of the second edition information
File, to update the platform file of the terminal device storage.
7. method according to any one of claims 1 to 3, which is characterized in that have driving institute in the installing terminal equipment
After the engine for stating application program, before triggering the engine that the terminal device starts the application program, the method is into one
Step includes:
The first attribute information of the engine of the installing terminal equipment is obtained, if the second of the engine installation file of storage
Attribute information is higher than first attribute information, and Xiang Suoshu terminal device pushes the corresponding engine installation of second attribute information
File, to update the engine of the installing terminal equipment.
8. method according to any one of claims 1 to 3, which is characterized in that the method further includes:
If the terminal device is not installed with the engine for driving the application program, the driving application program is pushed
The corresponding engine installation file of engine, so that engine installation file described in the installing terminal equipment obtains the application program
After engine, start the engine of the application program, and the engine of the application program based on starting loads the application program
The corresponding application program of address information.
9. method according to any one of claims 1 to 3, which is characterized in that the platform file is the 5th generation hypertext
Markup language platform file, the application class control are game class control.
10. a kind of device of loading application programs, which is characterized in that application package includes independent platform file, engine peace
Fill file and application program installation file, the device include: the first enquiry module, calling module, address information obtain module,
Second enquiry module and application program loading module, wherein
First enquiry module applies class control load request for receiving, inquires the terminal of sending application class control load request
Whether equipment is stored with pre-set platform file;
Calling module triggers the terminal device and calls the platform if the terminal device is stored with the platform file
File is to load the homepage of the platform;
Address information obtains module, the application program load sent in the homepage of the platform for receiving the terminal device
Request, obtains the address information of the corresponding application program of the application program load request;
Whether the second enquiry module is equipped with for inquiring the terminal device and drives the engine of the application program;
Application program loading module triggers the end if the installing terminal equipment has the engine for driving the application program
End equipment starts the engine of the application program, and the engine of the application program based on starting loads the application program
The corresponding application program of address information.
11. device according to claim 10, which is characterized in that second enquiry module include: mark acquiring unit,
First query unit, the second query unit and third query unit, wherein
Mark acquiring unit, for obtaining the corresponding Application Type of the application program load request and using category
Know;
First query unit, for inquiring the pre-set mapping relations using class mark and engine collection, what is obtained is answered
With the engine collection of class identity map;
Second query unit is obtained for inquiring the mapping relations of obtained engine pooled applications Program Type and engine
Application Type mapping engine;
Third query unit, the engine whether being equipped with for inquiring the terminal device.
12. device according to claim 10, which is characterized in that it includes: application program that the address information, which obtains module,
Load request unit, start unit, code execution unit and notification unit, wherein
Application program load request unit receives user for showing the application list in the homepage for loading the platform
By the application program load request for clicking the generation of the application program in the application list;
Start unit, for opening the application program using network view and adding after receiving the application program load request
Carry the starting page for requesting corresponding application program;
Code execution unit obtains the application program and adds for executing the Java description language code in the starting page
Carry the address information for requesting corresponding application program;
Notification unit, the address information for will acquire by pre-set interface notify the homepage of the platform.
13. 0 to 12 described in any item devices according to claim 1, which is characterized in that the application program loading module packet
It includes: engine judging unit, loading unit and engine push unit, wherein
Engine judging unit notifies loading unit if the installing terminal equipment has the engine for driving the application program;
Loading unit starts the engine of the application program for triggering the terminal device, and the application based on starting
The engine of program loads the corresponding application program of address information of the application program;
Engine push unit pushes the corresponding engine installation text of engine of the driving application program for receiving notice
Part so that engine installation file described in the installing terminal equipment obtains the engine of the application program, and notifies loading unit.
14. device according to claim 13, which is characterized in that the application program loading module further include:
Engine updating unit is exported for intercepting engine judging unit to the notice of loading unit, obtains the terminal device peace
First attribute information of the engine of dress belongs to if the second attribute information of the engine installation file of storage is higher than described first
Property information, Xiang Suoshu terminal device pushes the corresponding engine installation file of second attribute information, set with updating the terminal
The engine of standby installation, and in the updated, notify loading unit.
15. device according to claim 13, which is characterized in that the calling module includes: judging unit, the first triggering
Unit and platform file updating unit, wherein
Judging unit notifies the first trigger unit if the terminal device is stored with the platform file;
First trigger unit calls the platform file for triggering the terminal device to load the homepage of the platform;
Platform file updating unit is exported for intercepting judging unit to the notice of the first trigger unit, is obtained the terminal and is set
The first version information of the platform file of standby storage, if the second edition information of the platform file of storage is higher than institute
First version information is stated, Xiang Suoshu terminal device pushes the corresponding platform file of the second edition information, to update the end
The platform file of end equipment storage, and in the updated, notify the first trigger unit.
16. device described in 5 according to claim 1, which is characterized in that the calling module includes:
Push unit pushes the platform file and is stored in the terminal device, trigger the terminal for receiving notice
The platform file of equipment calls storage is to load the homepage of the platform.
17. 0 to 12 described in any item devices according to claim 1, which is characterized in that the address information obtains module packet
It includes: application program load request unit, start unit, code execution unit and notification unit, wherein
Application program load request unit receives user for showing the application list in the homepage for loading the platform
By the application program load request for clicking the generation of the application program in the application list;
Start unit, for opening the application program using network view and adding after receiving the application program load request
Carry the starting page for requesting corresponding application program;
Code execution unit obtains the application program and adds for executing the Java description language code in the starting page
Carry the address information for requesting corresponding application program;
Notification unit, the address information for will acquire by pre-set interface notify the homepage of the platform.
18. 0 to 12 described in any item devices according to claim 1, which is characterized in that the platform file is the 5th Dai Chaowen
This markup language platform file, the application class control are game class control.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510612414.4A CN105224363B (en) | 2015-09-23 | 2015-09-23 | Method and device for loading application program |
PCT/CN2016/097209 WO2017050094A1 (en) | 2015-09-23 | 2016-08-29 | Method and apparatus for loading application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510612414.4A CN105224363B (en) | 2015-09-23 | 2015-09-23 | Method and device for loading application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105224363A CN105224363A (en) | 2016-01-06 |
CN105224363B true CN105224363B (en) | 2019-04-05 |
Family
ID=54993355
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510612414.4A Active CN105224363B (en) | 2015-09-23 | 2015-09-23 | Method and device for loading application program |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105224363B (en) |
WO (1) | WO2017050094A1 (en) |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224363B (en) * | 2015-09-23 | 2019-04-05 | 北京金山安全软件有限公司 | Method and device for loading application program |
CN107172110A (en) | 2016-03-07 | 2017-09-15 | 阿里巴巴集团控股有限公司 | A kind of application APP resource loading method, business function implementation method and device |
CN105955833B (en) * | 2016-06-06 | 2021-09-21 | 腾讯科技(深圳)有限公司 | Engine calling method and device |
CN107644075B (en) * | 2017-09-19 | 2020-11-20 | 北京京东尚科信息技术有限公司 | Method and device for collecting page information |
CN109327740B (en) * | 2018-09-12 | 2021-08-17 | 深圳市酷开网络科技股份有限公司 | Popularization application operation method of terminal, terminal and computer readable storage medium |
CN109126124B (en) * | 2018-09-20 | 2021-10-22 | Oppo广东移动通信有限公司 | Engine adaptation method, related device and computer readable storage medium |
CN109395395A (en) | 2018-09-20 | 2019-03-01 | Oppo广东移动通信有限公司 | Game running method and Related product |
CN109316751B (en) * | 2018-09-20 | 2021-08-10 | Oppo广东移动通信有限公司 | Game adaptation method, related device and computer-readable storage medium |
CN109358973B (en) * | 2018-09-29 | 2020-12-22 | 网易(杭州)网络有限公司 | Information processing method, system, medium, and computing device |
CN111111206B (en) * | 2018-10-30 | 2024-04-05 | 阿里巴巴集团控股有限公司 | Game running method and device and terminal equipment |
CN109754700A (en) * | 2018-12-07 | 2019-05-14 | 深圳坤辰物联网有限公司 | A kind of production of indoor map and database application system and its method |
CN109857374B (en) * | 2018-12-24 | 2023-03-24 | 航天信息软件技术有限公司 | Development method and device of mobile application |
CN111580872A (en) * | 2019-02-15 | 2020-08-25 | 厦门雅基软件有限公司 | Application program running method and device, electronic equipment and readable storage medium |
CN111756682B (en) * | 2019-03-26 | 2023-08-15 | 厦门雅基软件有限公司 | Game data determining method, game data acquiring method and game data acquiring device |
CN110209401B (en) * | 2019-05-28 | 2024-04-09 | 北京小米移动软件有限公司 | Application program loading method and device |
CN111722885B (en) * | 2020-06-19 | 2023-08-08 | 抖音视界有限公司 | Program running method and device and electronic equipment |
CN111885194B (en) * | 2020-07-31 | 2023-06-09 | 睿云联(厦门)网络通讯技术有限公司 | Communication method and device for communication application and electronic equipment |
CN115943362A (en) * | 2021-05-31 | 2023-04-07 | 京东方科技集团股份有限公司 | Configuration data packet and file generation method, processing method, equipment and medium |
CN113722019B (en) * | 2021-11-04 | 2022-02-08 | 海尔数字科技(青岛)有限公司 | Display method, device and equipment of platform program |
CN114741134A (en) * | 2022-04-22 | 2022-07-12 | 深圳依时货拉拉科技有限公司 | Application starting method and device, computer readable storage medium and computer equipment |
CN115941717B (en) * | 2022-10-10 | 2024-04-19 | 浙江南都能源科技有限公司 | Method and system for data acquisition and transmission of energy storage power station |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101329706A (en) * | 2008-07-18 | 2008-12-24 | 广州盈正信息技术有限公司 | Intensive type network game platform system and method for operating multi game application programs |
CN103164326A (en) * | 2011-12-12 | 2013-06-19 | 深圳市快播科技有限公司 | Detecting method and detecting system for game operating environment |
CN104090765A (en) * | 2014-07-16 | 2014-10-08 | 福建天晴数码有限公司 | Method and device for switching from mobile game to webgame |
CN104156243A (en) * | 2014-08-05 | 2014-11-19 | 网际傲游(北京)科技有限公司 | Application distribution and rapid loading and running system and method |
CN104866335A (en) * | 2014-12-30 | 2015-08-26 | 北京白鹭时代信息技术有限公司 | Egret-Runtime-based game running method and device for mobile terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1002409B1 (en) * | 1997-08-07 | 2003-10-22 | Siemens Aktiengesellschaft | Method for loading a function provided by a first computer (server) onto a second computer (client) |
CN103593200B (en) * | 2012-08-13 | 2017-12-08 | 腾讯科技(深圳)有限公司 | The method and apparatus for obtaining application program |
CN104360871A (en) * | 2014-10-12 | 2015-02-18 | 厦门雅基软件有限公司 | Quick starting method for installation of cell phone games |
CN105224363B (en) * | 2015-09-23 | 2019-04-05 | 北京金山安全软件有限公司 | Method and device for loading application program |
-
2015
- 2015-09-23 CN CN201510612414.4A patent/CN105224363B/en active Active
-
2016
- 2016-08-29 WO PCT/CN2016/097209 patent/WO2017050094A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101329706A (en) * | 2008-07-18 | 2008-12-24 | 广州盈正信息技术有限公司 | Intensive type network game platform system and method for operating multi game application programs |
CN103164326A (en) * | 2011-12-12 | 2013-06-19 | 深圳市快播科技有限公司 | Detecting method and detecting system for game operating environment |
CN104090765A (en) * | 2014-07-16 | 2014-10-08 | 福建天晴数码有限公司 | Method and device for switching from mobile game to webgame |
CN104156243A (en) * | 2014-08-05 | 2014-11-19 | 网际傲游(北京)科技有限公司 | Application distribution and rapid loading and running system and method |
CN104866335A (en) * | 2014-12-30 | 2015-08-26 | 北京白鹭时代信息技术有限公司 | Egret-Runtime-based game running method and device for mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
WO2017050094A1 (en) | 2017-03-30 |
CN105224363A (en) | 2016-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105224363B (en) | Method and device for loading application program | |
CN108319483B (en) | Webpage processing method, device, terminal and storage medium | |
JP6797877B2 (en) | How to implement web applications, devices, servers, and systems | |
US8612947B2 (en) | System and method for remotely compiling multi-platform native applications for mobile devices | |
CN105354014B (en) | Application interface renders methods of exhibiting and device | |
US8997081B1 (en) | Analytics for mobile applications | |
CN103150513B (en) | The method of the implantation information in interception application program and device | |
CN106406961A (en) | Method and device for loading and providing application based on browser | |
WO2019000627A1 (en) | Software customization server, method, program and computer readable storage medium | |
CN108132814A (en) | Page loading method, device, computer equipment and the storage medium of application program | |
CN107741844B (en) | Method and device for generating application installation package | |
CN106997298B (en) | Application resource acquisition method and device | |
CN106815055B (en) | Method and system for dynamic layout of mobile application | |
CN108614767A (en) | A kind of remote debugging method and device | |
CN110321177A (en) | A kind of mobile application localization loading method, device and electronic equipment | |
CN113805973A (en) | Application program control method and device and application program development method and device | |
CN112835809A (en) | Test data setting method, device, equipment and medium based on browser | |
CN108319474B (en) | Page information generation method, device and equipment | |
Thakur | Evaluation and implementation of progressive web application | |
CN107193565B (en) | Method for developing native APP (application) across mobile terminals | |
CN113535567B (en) | Software testing method, device, equipment and medium | |
CN104866335A (en) | Egret-Runtime-based game running method and device for mobile terminal | |
CN110020370B (en) | Method and device for realizing animation in client application and framework of animation script | |
CN113971257A (en) | Function menu access method and device for hybrid application | |
CN113609417A (en) | Method, device, equipment and medium for processing mobile terminal page |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |