CN105760176B - A kind of weblication packaging method, starting method and related device - Google Patents
A kind of weblication packaging method, starting method and related device Download PDFInfo
- Publication number
- CN105760176B CN105760176B CN201610147467.8A CN201610147467A CN105760176B CN 105760176 B CN105760176 B CN 105760176B CN 201610147467 A CN201610147467 A CN 201610147467A CN 105760176 B CN105760176 B CN 105760176B
- Authority
- CN
- China
- Prior art keywords
- operation platform
- file
- configuration
- application program
- platform
- 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
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/76—Adapting program code to run in a different environment; Porting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- 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/44536—Selecting among different versions
Abstract
The invention discloses a kind of weblication packaging method, starting method and related devices, the packaging method includes obtaining operation platform engineering packet and application code file, operation platform engineering packet includes that operation platform judges file, load operating platform engineering packet and application code file, by after the completion of load operation platform engineering packet and application code file be packaged.Weblication file needed for each operation platform is packaged with, file can be judged by operation platform come operation platform needed for judging weblication, it can be to avoid corresponding application project be established when being packaged for each operation platform respectively, the tedious steps for reducing application program packing improve the efficiency of different operation platforms packing.
Description
Technical field
The present embodiments relate to application program technical field more particularly to a kind of weblication packaging methods, starting
Method and related device.
Background technique
Each application program requires to create a work on specific platform in conventional weblication packing manner
Journey, each application program further includes all other than having used code relevant to application layer and fortune under conventional pattern compiler
The relevant code of row platform architecture thus needs to import web operation platform library engineering packet.It is provided first by web operation platform
The library file packet xEmbed_library engineering packet of normal mode, the inside include the library xEmbed_core_library.jar, include
There is library relevant to operation platform to wrap.User compile the engineering can be generated xEmbed_librar.jar library file for generate answer
It is used with program.
Due to the application program of generation different platform, need that engineering is respectively created in different platform environments, such as
Android, IoS etc. then need to create the application that engineering compiling generates different platform on Android and IoS platform respectively,
The application program generated in this way requires individually to create an engineering in each platform, results in waste of resources, and complex steps.
Summary of the invention
The embodiment of the present invention provides a kind of weblication packaging method, starting method and related device, answers to reduce
The tedious steps being packaged with program improve the efficiency that different platform is packaged.
A kind of weblication packaging method provided in an embodiment of the present invention, comprising:
It obtains operation platform engineering packet and application code file, the operation platform engineering packet includes that operation platform is sentenced
Disconnected file, the operation platform judge file for determining the operation platform of application program;
Load the operation platform engineering packet and application code file;
By after the completion of load the operation platform engineering packet and application code file be packaged.
Optionally, the operation platform engineering packet further includes the web operation platform library file of each operation platform, respectively operation is flat
The configuration file of the running environment file of platform, each operation platform;
It is described to load the operation platform engineering packet and application code file, comprising:
Load the web operation platform library file of each operation platform, the running environment file of each operation platform, institute
State configuration file and the application code file that operation platform judges file, each operation platform.
Optionally, the configuration file of each operation platform is the configuration file of one or more defaults;
It include that each operation platform is corresponding if the configuration file of the default is one, in the configuration file of the default
The default configuration parameters of application program;
If the configuration file of the default is multiple, the configuration file of each default and at least one operation platform pair
It answers, the configuration file of the default includes default configuration parameters of the application program on corresponding operation platform.
Optionally, the configuration file of each operation platform generates in the following way includes:
Application program configuration-direct is received, the application program configuration-direct includes the configuration parameter of application program;
According to the configuration parameter of the application program, the configuration file of each operation platform of default is modified.
Optionally, the operation of the web operation platform library file, each operation platform of load each operation platform
Environment file, the operation platform judge file, the configuration file of each operation platform and application code text
Part, comprising:
The web operation platform library file of each operation platform, the fortune of each operation platform are loaded according to setting sequence
Row environment file, the operation platform judge the configuration file and the application code of file, each operation platform
File.
Correspondingly, the embodiment of the invention also provides a kind of weblications to start method, comprising:
The application program being packaged is obtained, the application program of the packing includes the web operation platform library text of each operation platform
Part, each operation platform running environment file, operation platform judge file, the configuration file of each operation platform and application program
Code file;
It runs the operation platform and judges file, and receive the judging result that the operation platform judges file feedback;
The judging result that file feedback is judged according to the operation platform, from the application program of the packing described in load
The corresponding operation platform environment file of judging result, and called according to the configuration file of the corresponding operation platform of the judging result
The web operation platform library file of the corresponding operation platform of the judging result starts the application program to be launched.
Correspondingly, the embodiment of the invention also provides a kind of weblication packing apparatus, comprising:
Acquiring unit, for obtaining operation platform engineering packet and application code file, the operation platform engineering packet
Judge that file, the operation platform judge file for determining the operation platform of application program including operation platform;
Loading unit, for loading the operation platform engineering packet and application code file;
Packaged unit, for being played the operation platform engineering packet after the completion of loading and application code file
Packet.
Optionally, the operation platform engineering packet further includes the web operation platform library file of each operation platform, respectively operation is flat
The configuration file of the running environment file of platform, each operation platform;
The loading unit is specifically used for:
Load the web operation platform library file of each operation platform, the running environment file of each operation platform, institute
State configuration file and the application code file that operation platform judges file, each operation platform.
Optionally, the configuration file of each operation platform is the configuration file of one or more defaults;
It include that each operation platform is corresponding if the configuration file of the default is one, in the configuration file of the default
The default configuration parameters of application program;
If the configuration file of the default is multiple, the configuration file of each default and at least one operation platform pair
It answers, the default configuration file includes default configuration parameters of the application program on corresponding operation platform.
Optionally, the acquiring unit is specifically used for:
Application program configuration-direct is received, the application program configuration-direct includes the configuration parameter of application program;
According to the configuration parameter of the application program, the configuration file of each operation platform of default is modified.
Optionally, the loading unit is specifically used for:
The web operation platform library file of each operation platform, the fortune of each operation platform are loaded according to setting sequence
Row environment file, the operation platform judge the configuration file and the application code of file, each operation platform
File.
Correspondingly, the embodiment of the invention also provides a kind of weblication starters, comprising:
Acquiring unit, for obtaining the application program being packaged, the application program of the packing includes the web of each operation platform
Operation platform library file, each operation platform running environment file, operation platform judge the configuration file of file, each operation platform
And application code file;
Receiving unit judges file for running the operation platform, and receives the operation platform and judge that file is fed back
Judging result;
Start unit, for judging the judging result of file feedback according to the operation platform, from the application of the packing
The corresponding operation platform environment file of the judging result is loaded in program, and according to the corresponding operation platform of the judging result
Configuration file call the web operation platform library file of the corresponding operation platform of the judging result to start the application to be launched
Program.
The embodiment of the present invention shows to obtain operation platform engineering packet and application code file, operation platform engineering packet
File, load operating platform engineering packet and application code file are judged including operation platform, by the operation after the completion of load
Platform engineering packet and application code file are packaged.Weblication file needed for each operation platform is beaten
It is wrapped together, can judge file by operation platform come operation platform needed for judging weblication, it can be to avoid being every
Corresponding application project is established when a operation platform is packaged respectively, reduces the tedious steps of application program packing, is improved
The efficiency that different operation platforms are packaged.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of flow diagram of weblication packaging method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of weblication packaging method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of weblication packaging method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of weblication packing apparatus provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of weblication packing apparatus provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
Since the compiling mode of the application on the web operation platform in current intelligent operating system realizes complex, use
Family be packaged on different platforms generation application when need first on different operation platforms create application project (such as
In Android platform, need to create an Android engineering), such user will be on different platforms by newly-built work
The whole process such as journey, operation, compiling.And weblication packaging method provided in an embodiment of the present invention can not create work
Realize that web applies the quick packing in different platform under the premise of journey.
Based on foregoing description, Fig. 1 shows a kind of stream of weblication packaging method provided in an embodiment of the present invention
Journey, the process can be executed by weblication packing apparatus.
As shown in Figure 1, the process specifically includes:
Step 101, operation platform engineering packet and application code file are obtained, the operation platform engineering packet includes fortune
Row platform judges file.
Step 102, the operation platform engineering packet and application code file are loaded.
Step 103, by after the completion of load the operation platform engineering packet and application code file be packaged.
In above method process, which further includes the web operation platform library file, each of each operation platform
The configuration file of the running environment file of operation platform, each operation platform.Wherein the configuration file of each operation platform includes using
In configuration application program on startup required for start picture, starting homepage, starting the start-up parameters such as Apply Names.This is each
The configuration file of operation platform can be the configuration file of one or more defaults, if the configuration file of the default is one,
It then include the default configuration parameters of the corresponding application program of each operation platform in the configuration file of the default.If the default is matched
Set file be it is multiple, then the configuration file of each default is corresponding at least one operation platform, and the configuration file of the default includes
Default configuration parameters of the application program on corresponding operation platform.
In order to more easily manage the configuration file of application program, application program configuration-direct can also be received, the application
Program configuration-direct includes the configuration parameter of application program, then according to the configuration parameter of the application program, modifies of default
The configuration file of operation platform.
For example, start picture of user's desired modifications application program when Andriod operation platform is run, then receive
The application program configuration-direct, at this point, include in application program configuration-direct user specify application program launching when figure
Then piece finds the picture in the running environment file of Andriod operation platform, and the modification starting picture in configuration file
The modification of configuration file is completed in the path of picture needed for face.
The running environment file of each operation platform is the file interacted with each operation platform, and application program is by loading the fortune
The corresponding operation platform of row environment file interacts, so that the application program can be run on the operation platform.Than
Such as: when being run on Andriod operation platform, application program need include in the running environment file of Andriod operation platform
Asset file, libs file, src file.
Operation platform judges that file is the platform to be run to application program for determining the operation platform of application program
Which judged, to know the running environment file for needing to load operation platform when starting and applying.As on startup, transport
Row platform judges that the judging result of file feedback is IOS operation platform, then can load the running environment text of IOS operation platform
Part, so that application program can be interacted with IOS operation platform.
The web operation platform library file of above-mentioned each operation platform is the file of compiled completion, each operation platform pair
A web operation platform library file is answered, operation platform library file is for calling when application program launching.
For example, which can be in xEmbed_core_library file.xEmbed_
Contain all library files relevant to operation platform in core_library.Its specific content includes:
Org.chromium.ui.resources, org.chromium.ui.gfx, org.chromium.ui.gl etc. are related to platform
Content packet, it is as follows:
org.chromium.base
org.chromium.base.annotations
org.chromium.base.library_loader
org.chromium.base.metrics
org.chromium.blink_public.web
org.chromium.components.navigation_interception
org.chromium.components.web_contents_delegate_android
org.chromium.content
org.chromium.content_public.browser
org.chromium.content_public.browser.navigation_controller
org.chromium.content_public.browser.readback_types
org.chromium.content_public.common
org.chromium.content.app
org.chromium.content_public.browser
org.xwalk.core.internal
org.xwalk.core.internal.extension
org.xwalk.core.internal.extension.api
org.xwalk.core.internal.extension.api.contacts
org.xwalk.core.internal.extension.api.device_capabilities
org.xwalk.core.internal.extension.api.launchscreen
org.xwalk.core.internal.extension.api.messaging
org.xwalk.core.internal.extension.api.presentation
org.xwalk.core.internal.extensions
org.chromium.ui.gfx
The files such as org.chromium.ui.gl.
Specifically, above-mentioned load operating platform engineering packet and application code can be realized by following embodiments:
Running environment file, the operation platform of the web operation platform library file, each operation platform that load each operation platform are sentenced
Disconnected file, the configuration file of each operation platform and application code file.Preferably, in order to enable application program is being packaged
Preferably operation afterwards, can load the web operation platform library file of each operation platform, the fortune of each operation platform according to setting sequence
Row environment file, operation platform judge file, the configuration file of each operation platform and application code file.
Specifically, as shown in Fig. 2, the specific steps of the process include:
Step 201, configuration file is modified.The configuration file of an operation platform can be modified, multiple fortune can also be modified
The configuration file of row platform.
Step 202, load operating environment file.The running environment file of each operation platform is loaded.
Step 203, web operation platform library file is loaded.The web operation platform library file of each operation platform is added
It carries.
Step 204, load operating platform judges file.
Step 205, application code file.
Step 206, it is packaged and generates application.When being packaged, instructed by being packaged, such as python make_apk.py--
Package=com.android.example--manifest=manifest.json.Generation application can be packaged.As being packaged
Generate androidTest.apk.
Above-described embodiment shows by obtaining operation platform engineering packet and application code file, operation platform engineering
Packet includes that operation platform judges file, load operating platform engineering packet and application code file, by the fortune after the completion of load
Row platform engineering packet and application code file are packaged.By weblication file needed for each operation platform
Be packaged with, can judge file by operation platform come operation platform needed for judging weblication, can to avoid for
Corresponding application project is established when each operation platform is packaged respectively, reduces the tedious steps of application program packing, mentions
The efficiency that high different operation platforms are packaged.
Based on the same technical idea, Fig. 2 shows a kind of streams of weblication starting provided in an embodiment of the present invention
Journey, the process can be executed by weblication starter.
As shown in figure 3, the specific steps of the process comprises:
Step 301, the application program of packing is obtained, the application program of the packing includes the web operation of each operation platform
Platform library file, each operation platform running environment file, operation platform judge file, each operation platform configuration file and
Application code file.
Step 302, it runs the operation platform and judges file, and receive the judgement that the operation platform judges file feedback
As a result.
Step 303, the judging result that file feedback is judged according to the operation platform, from the application program of the packing
The corresponding operation platform environment file of the judging result is loaded, and according to the configuration of the corresponding operation platform of the judging result
File calls the web operation platform library file of the corresponding operation platform of the judging result to start the application program to be launched.
In above method process, the application program of the packing is each operation platform provided in above-mentioned packing process
Web operation platform library file, each operation platform running environment file, operation platform judge the configuration of file, each operation platform
File and application code file.Each file describes in the above-described embodiments, and details are not described herein.
When application program is installed in equipment, the operation platform started in the application program of packing first judges file,
Judgement is operated on what platform.
For example, which judges that the code of file can be such that
Correspondingly, which judges the judging result that file returns, and concrete methods of realizing is as follows:
if(Terminal.platform.android){
PackageType=platform.android;
}else if(Terminal.platform.iPhone){
PackageType=platform.iPhone;
}。
It is beginning load judging result correspondence from the application program of packing after which operation platform what is run
Operation platform environment file, and the corresponding fortune of judging result is called according to the configuration file of the corresponding operation platform of judging result
The web operation platform library file of row platform starts application program to be launched, to complete the starting of application program.
Above-described embodiment shows to obtain the application program of packing, then runs operation platform and judge file, and receive operation
Platform judges the judging result of file feedback, the judging result of file feedback is judged according to operation platform, from the application journey of packing
The corresponding operation platform environment file of judging result is loaded in sequence, and according to the configuration file of the corresponding operation platform of judging result
The web operation platform library file of the corresponding operation platform of judging result is called to start application program to be launched.Pass through operation platform
File is judged come operation platform needed for judging weblication, and the application program being packaged can be allowed flat in each operation
It is run on platform, improves the scope of application of the application program of packing.
Based on the same technical idea, Fig. 4 shows a kind of weblication provided in an embodiment of the present invention and is packaged dress
It sets, which can execute the process of weblication packing.
As shown in figure 4, the device specifically includes:
Acquiring unit 401, for obtaining operation platform engineering packet and application code file, the operation platform engineering
Packet includes that operation platform judges that file, the operation platform judge file for determining the operation platform of application program;
Loading unit 402, for loading the operation platform engineering packet and application code file;
Packaged unit 403, for after the completion of loading the operation platform engineering packet and application code file into
Row is packaged.
Preferably, the operation platform engineering packet further includes the web operation platform library file of each operation platform, respectively operation is flat
The configuration file of the running environment file of platform, each operation platform;
The loading unit 402 is specifically used for:
Load the web operation platform library file of each operation platform, the running environment file of each operation platform, institute
State configuration file and the application code file that operation platform judges file, each operation platform.
Preferably, the configuration file of each operation platform is the configuration file of one or more defaults;
It include that each operation platform is corresponding if the configuration file of the default is one, in the configuration file of the default
The default configuration parameters of application program;
If the configuration file of the default is multiple, the configuration file of each default and at least one operation platform pair
It answers, the default configuration file includes default configuration parameters of the application program on corresponding operation platform.
Preferably, the acquiring unit 401 is specifically used for:
Application program configuration-direct is received, the application program configuration-direct includes the configuration parameter of application program;
According to the configuration parameter of the application program, the configuration file of each operation platform of default is modified.
Preferably, the loading unit 402 is specifically used for:
The web operation platform library file of each operation platform, the fortune of each operation platform are loaded according to setting sequence
Row environment file, the operation platform judge the configuration file and the application code of file, each operation platform
File.
Based on the same technical idea, Fig. 5 shows a kind of weblication starting dress provided in an embodiment of the present invention
It sets, which can execute the process of weblication starting.
As shown in figure 5, the device specifically includes:
Acquiring unit 501, for obtaining the application program being packaged, the application program of the packing includes each operation platform
Web operation platform library file, each operation platform running environment file, operation platform judge the configuration of file, each operation platform
File and application code file;
Receiving unit 502 judges file for running the operation platform, and receives the operation platform and judge file reverse
The judging result of feedback;
Start unit 503, for judging the judging result of file feedback according to the operation platform, from answering for the packing
With loading the corresponding operation platform environment file of the judging result in program, and it is flat according to the corresponding operation of the judging result
The configuration file of platform calls the web operation platform library file of the corresponding operation platform of the judging result to start described to be launched answer
Use program.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of weblication packaging method characterized by comprising
Operation platform engineering packet and application code file are obtained, the operation platform engineering packet includes operation platform judgement text
Part, the operation platform judge file for determining the operation platform of application program;
Load the operation platform engineering packet and application code file;
By after the completion of load the operation platform engineering packet and application code file be packaged;
The operation platform engineering packet further includes the operation ring of the web operation platform library file of each operation platform, each operation platform
The configuration file of border file, each operation platform;
It is described to load the operation platform engineering packet and application code file, comprising:
Load the web operation platform library file of each operation platform, the running environment file of each operation platform, the fortune
Row platform judges the configuration file and the application code file of file, each operation platform.
2. the method as described in claim 1, which is characterized in that the configuration file of each operation platform is one or more silent
The configuration file recognized;
It include the corresponding application of each operation platform in the configuration file of the default if the configuration file of the default is one
The default configuration parameters of program;
If the configuration file of the default be it is multiple, the configuration file of each default is corresponding at least one operation platform, institute
The configuration file for stating default includes default configuration parameters of the application program on corresponding operation platform.
3. the method as described in claim 1, which is characterized in that the configuration file of each operation platform is given birth in the following way
At:
Application program configuration-direct is received, the application program configuration-direct includes the configuration parameter of application program;
According to the configuration parameter of the application program, the configuration file of each operation platform of default is modified.
4. the method as described in claim 1, which is characterized in that the web operation platform library of load each operation platform
File, the running environment file of each operation platform, the operation platform judge the configuration text of file, each operation platform
Part and the application code file, comprising:
The web operation platform library file of each operation platform, the operation ring of each operation platform are loaded according to setting sequence
Border file, the operation platform judge the configuration file and the application code file of file, each operation platform.
5. a kind of weblication starts method characterized by comprising
Obtain the application program being packaged, the application program of the packing includes the web operation platform library file, each of each operation platform
Running environment file, the operation platform of operation platform judge the configuration file and application code of file, each operation platform
File;
It runs the operation platform and judges file, and receive the judging result that the operation platform judges file feedback;
The judging result that file feedback is judged according to the operation platform, loads the judgement from the application program of the packing
As a result corresponding operation platform environment file, and according to the configuration file of the corresponding operation platform of judging result calling
The web operation platform library file of the corresponding operation platform of judging result starts application program to be launched.
6. a kind of weblication packing apparatus characterized by comprising
Acquiring unit, for obtaining operation platform engineering packet and application code file, the operation platform engineering packet includes
Operation platform judges that file, the operation platform judge file for determining the operation platform of application program;
Loading unit, for loading the operation platform engineering packet and application code file;
Packaged unit, for the operation platform engineering packet after the completion of loading and application code file to be packaged;
The operation platform engineering packet further includes the operation ring of the web operation platform library file of each operation platform, each operation platform
The configuration file of border file, each operation platform;
The loading unit is specifically used for:
Load the web operation platform library file of each operation platform, the running environment file of each operation platform, the fortune
Row platform judges the configuration file and the application code file of file, each operation platform.
7. device as claimed in claim 6, which is characterized in that the configuration file of each operation platform is one or more silent
The configuration file recognized;
It include the corresponding application of each operation platform in the configuration file of the default if the configuration file of the default is one
The default configuration parameters of program;
If the configuration file of the default be it is multiple, the configuration file of each default is corresponding at least one operation platform, institute
The configuration file for stating default includes default configuration parameters of the application program on corresponding operation platform.
8. device as claimed in claim 6, which is characterized in that the acquiring unit is specifically used for:
Application program configuration-direct is received, the application program configuration-direct includes the configuration parameter of application program;
According to the configuration parameter of the application program, the configuration file of each operation platform of default is modified.
9. device as claimed in claim 6, which is characterized in that the loading unit is specifically used for:
The web operation platform library file of each operation platform, the operation ring of each operation platform are loaded according to setting sequence
Border file, the operation platform judge the configuration file and the application code file of file, each operation platform.
10. a kind of weblication starter characterized by comprising
Acquiring unit, for obtaining the application program being packaged, the application program of the packing includes the web operation of each operation platform
Platform library file, each operation platform running environment file, operation platform judge file, each operation platform configuration file and
Application code file;
Receiving unit judges file for running the operation platform, and receives the operation platform and judge sentencing for file feedback
Disconnected result;
Start unit, for judging the judging result of file feedback according to the operation platform, from the application program of the packing
It is middle to load the corresponding operation platform environment file of the judging result, and matching according to the corresponding operation platform of the judging result
Setting file calls the web operation platform library file of the corresponding operation platform of the judging result to start application program to be launched.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610147467.8A CN105760176B (en) | 2016-03-15 | 2016-03-15 | A kind of weblication packaging method, starting method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610147467.8A CN105760176B (en) | 2016-03-15 | 2016-03-15 | A kind of weblication packaging method, starting method and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105760176A CN105760176A (en) | 2016-07-13 |
CN105760176B true CN105760176B (en) | 2019-06-07 |
Family
ID=56332051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610147467.8A Active CN105760176B (en) | 2016-03-15 | 2016-03-15 | A kind of weblication packaging method, starting method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105760176B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107168726B (en) * | 2017-03-30 | 2021-04-27 | 武汉斗鱼网络科技有限公司 | Method and device for dynamically configuring application program |
CN107179907A (en) * | 2017-05-15 | 2017-09-19 | 北京奇艺世纪科技有限公司 | One kind configuration system and method |
CN108491695B (en) * | 2018-03-26 | 2022-02-22 | 威创集团股份有限公司 | Web project encryption method and device for spliced wall system |
JP7001012B2 (en) * | 2018-07-30 | 2022-01-19 | オムロン株式会社 | Support equipment and support programs |
CN112463256A (en) * | 2020-12-11 | 2021-03-09 | 微医云(杭州)控股有限公司 | Method, system, electronic device and storage medium for determining configuration file |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101984410B (en) * | 2010-11-12 | 2015-06-10 | 中兴通讯股份有限公司 | Method and device for generating and unloading software installation package |
CN103761087B (en) * | 2014-01-03 | 2016-10-12 | 北京京东尚科信息技术有限公司 | A kind of mobile applications cross-platform development method and device |
CN105323285A (en) * | 2014-07-28 | 2016-02-10 | 上海指游网络技术有限公司 | APP-product multi-platform release method |
-
2016
- 2016-03-15 CN CN201610147467.8A patent/CN105760176B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105760176A (en) | 2016-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105760176B (en) | A kind of weblication packaging method, starting method and related device | |
CN107438107B (en) | Method and device for calling background service in micro-service architecture | |
US9569197B2 (en) | Method of disseminating updated drivers to mobile computing devices and a dissemination system therefor | |
CN108345531B (en) | Test method, device and system | |
US9635098B2 (en) | Open platform, open platform access system, storage medium, and method for allowing third party application to access open platform | |
CN106020877A (en) | Automatic update method and apparatus for system environment configuration | |
CN105159738A (en) | Hot patch implementation method and system | |
CN103777967A (en) | Page returning method and page generating method and device | |
CN106055368A (en) | Application updating method and device | |
CN104317648B (en) | A kind of method and apparatus of monitoring advertisement | |
CN110750255A (en) | Applet rendering method and device | |
CN104731622B (en) | The loading method of a kind of application program, device and mobile terminal | |
CN111399814A (en) | Visual arrangement method and device for construction tasks | |
CN104778075B (en) | The method and apparatus of Java layers of API of native layers of calling in android system | |
CN110688601A (en) | Data processing method and device | |
TW201351275A (en) | ISA bridging with callback | |
CN108170430B (en) | Interface display method and system | |
JP2003308205A (en) | Method for temporarily halting program | |
CN106775879B (en) | VR application installation-free method and system based on android system client | |
CN110659022B (en) | Method for automatically calling Python script based on Java | |
CN106371899A (en) | Thread parameter processing method and apparatus | |
CN110825373A (en) | Dynamic method and device for mobile terminal | |
CN108009084B (en) | Testing method, device and system for hybrid mobile application | |
CN107704279B (en) | Data loading method and device | |
CN107678737B (en) | Service processing method and device and self-service terminal equipment |
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 |