CN104615462B - Cross-platform Mobile solution generation service end and system - Google Patents
Cross-platform Mobile solution generation service end and system Download PDFInfo
- Publication number
- CN104615462B CN104615462B CN201510038595.4A CN201510038595A CN104615462B CN 104615462 B CN104615462 B CN 104615462B CN 201510038595 A CN201510038595 A CN 201510038595A CN 104615462 B CN104615462 B CN 104615462B
- Authority
- CN
- China
- Prior art keywords
- generation
- unit
- mobile solution
- application
- script
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a kind of cross-platform Mobile solution generation service end and system, the cross-platform Mobile solution generation service end includes engine modules, Mobile solution generation module and Mobile solution download module;The engine modules, the installation kit for receiving user generate request, Structural application generation script;The Mobile solution generation module, for generating the application program installation kit of script generation smart mobile phone according to the application, while produce compiling daily record;The Mobile solution download module, for generating the URI addresses of the application program installation kit.Cross-platform Mobile solution generation service end provided by the invention, Mobile solution generation is fitted to from plug-in unit, then is downloaded to application program installation kit, can one-key operation, simplify the generating process of cross-platform lower Mobile solution.
Description
Technical field
The present invention relates to computer realm, more particularly to a kind of cross-platform Mobile solution generation service end and system.
Background technology
With the horizontal raising of mobile phone hardware, intelligent machine has come into the sight of masses.It is varied due to existing on the market
Terminal system, for the development environment required for each system it is different from development language cause to developer it is a certain amount of
The duplication of labour, such as popular system has Android, iOS and Windows Phone on the market at present, for Android systems
System, developer need to use Java development languages to be developed, and the compiling generation APK applications under Eclipse;For iOS
System, developer need to use Object-C language to be developed, the compiling generation APP applications under Xcode;And it is directed to
Windows Phone systems, developer need to use C# language to be developed, the compiling generation XAP under Visual Studio
Using.
The content of the invention
(1) technical problems to be solved
The technical problem to be solved in the present invention is:A kind of cross-platform Mobile solution generation service end and system, energy are provided
Enough simplify the generating process of cross-platform lower Mobile solution.
(2) technical scheme
In order to solve the above technical problems, the invention provides a kind of cross-platform Mobile solution to generate service end, including draw
Hold up module, Mobile solution generation module and Mobile solution download module;
The engine modules, the installation kit for receiving user generate request, Structural application generation script;
The Mobile solution generation module, the application program for generating script generation smart mobile phone according to the application are pacified
Dress bag, while produce compiling daily record;
The Mobile solution download module, for generating the URI addresses of the application program installation kit.
Further, the engine modules include plug-in unit adaptation unit, using adaptation unit and script structural unit;
The plug-in unit adaptation unit, for carrying out plug-in unit attribute configuration, the plug-in unit attribute configuration includes plug-in unit engineering category
Property configuration and third party library configuration;
Described to apply adaptation unit, the installation kit for receiving user generates request, and generates and ask from the installation kit
Middle extraction configuration information, the configuration information include platform, version;
The script structural unit, for obtaining the User Catalog of the user and obtaining resource with reference to the configuration information
Catalogue, and script is generated according to the User Catalog, Resource TOC Structural application.
Further, the Mobile solution generation module includes applying generation unit and log management unit;
The application generation unit is by calling the application to generate script, system bottom compiling instruction corresponding to calling,
Application program installation kit is generated, and triggers the log management unit generation compiling daily record and is preserved.
Further, the application generation script is Android application scenarios, and the application generation unit passes through calling
The compiling instruction of android system bottom, generates APK installation kits.
Further, the application generation script is IOS application scenarios, and the application generation unit is by calling IOS systems
Bottom compiling of uniting instructs, and generates APP installation kits.
Further, the application generation script is Windows Phone application scenarios, and the application generation unit passes through
The compiling instruction of Windows Phone system bottoms is called, generates XAP installation kits.
In order to solve the above technical problems, present invention also offers a kind of cross-platform Mobile solution to generate system, including visitor
Family end and any of the above-described cross-platform Mobile solution generation service end;
The client is used to give birth to the installation kit that the cross-platform Mobile solution generation service end sends the user
Into request, and receive the URI addresses for the application program installation kit that the cross-platform Mobile solution generation service end returns.
(3) beneficial effect
Cross-platform Mobile solution generation service end provided by the invention, is fitted to Mobile solution generation, then arrive from plug-in unit
Application program installation kit is downloaded, can one-key operation, simplify the generating process of cross-platform lower Mobile solution.
Brief description of the drawings
Fig. 1 is a kind of schematic diagram for cross-platform Mobile solution generation service end that embodiment of the present invention provides;
Fig. 2 is a kind of method flow diagram for engine modules work that embodiment of the present invention provides;
Fig. 3 is the method flow diagram for another engine modules work that embodiment of the present invention provides;
Fig. 4 is a kind of method flow diagram for Mobile solution generation module work that embodiment of the present invention provides;
Fig. 5 is the method flow diagram for another Mobile solution generation module work that embodiment of the present invention provides;
Fig. 6 is a kind of flow chart for log management unit work that embodiment of the present invention provides;
Fig. 7 is a kind of flow chart for Mobile solution download module work that embodiment of the present invention provides.
Embodiment
With reference to the accompanying drawings and examples, the embodiment of the present invention is described in further detail.Implement below
Example is used to illustrate the present invention, but is not limited to the scope of the present invention.
Fig. 1 is a kind of schematic diagram for cross-platform Mobile solution generation service end that embodiment of the present invention provides, including
Engine modules 100, Mobile solution generation module 200 and Mobile solution download module 300;
The engine modules, the installation kit for receiving user generate request, Structural application generation script;
The Mobile solution generation module, the application program for generating script generation smart mobile phone according to the application are pacified
Dress bag, while produce compiling daily record;
The Mobile solution download module, for generating the URI addresses of the application program installation kit.
Wherein, the engine modules 100 include plug-in unit adaptation unit 101, construct list using adaptation unit 102 and script
Member 103;
The plug-in unit adaptation unit, for carrying out plug-in unit attribute configuration, the plug-in unit attribute configuration includes plug-in unit engineering category
Property configuration and third party library configuration;
Described to apply adaptation unit, the installation kit for receiving user generates request, and generates and ask from the installation kit
Middle extraction configuration information, the configuration information can include platform, version information, can also include other configurations information;
The script structural unit, for obtaining the User Catalog of the user and obtaining resource with reference to the configuration information
Catalogue, and script is generated according to the User Catalog, Resource TOC Structural application.Specifically, in the application generation script
In construction process, plug-in unit attribute configuration is carried out by the plug-in unit adaptation unit of engine modules first, should then according to attribute configuration
Configuration information, the configuration information of renewal intelligent mobile application are extracted with adaptation unit, last script structural unit extracts user's mesh
The environmental variances such as record, Resource TOC, Structural application generation script.
Wherein, the application generation script of engine modules construction can be Android application scenarios, and specifically, Fig. 2 is this
A kind of method flow diagram for engine modules work that invention embodiment provides.As shown in Fig. 2 including:
Step 21:The key that user sends Android applications in client generates request, including what is generated
The configuration informations such as Android versions, screen size;
Step 22:The engine modules of service end are triggered;
Step 23:The application configurations such as the Android platform submitted in subscription request message, version are extracted using adaptation unit
Information;
Step 24:Corresponding content in Android application configuration information files is updated using adaptation unit;
Step 25:Judge whether bind plug-in unit in the request that user submits, if binding plug-in unit, jumps to step 26;Such as
Fruit does not bind plug-in unit, jumps to step 27;
Step 26:Plug-in unit adaptation unit carries out the configuration of plug-in unit engineering attribute and third party library configuration;
Step 27:Script structural unit obtains the place working directory path (User Catalog) for submitting request user and tied
Close the configuration information that step 23 obtains and obtain Resource TOC;
Step 28:The routing information that script structural unit acquires step 27 writes environmental variance, compiling instruction etc.
Parameter;
Step 29:Script structural unit constructs Android applications generation script corresponding to the request.
In addition, the application generation script of engine modules construction can also be IOS application scenarios, and specifically, referring to Fig. 3,
Fig. 3 is the method flow diagram for another engine modules work that embodiment of the present invention provides, as shown in figure 3, including following step
Suddenly:
Step 31:User client send IOS application a key generate request, including the ios release to be generated,
The configuration informations such as screen size;
Step 32:The engine modules of service end are triggered;
Step 33:The application configurations such as the ios platform submitted in subscription request message, version letter is extracted using adaptation unit
Breath;
Step 34:Corresponding content in IOS application configuration information files is updated using adaptation unit;
Step 35:Judge whether bind plug-in unit in the request that user submits, if binding plug-in unit, jumps to step 36;Such as
Fruit does not bind plug-in unit, jumps to step 37;
Step 36:Plug-in unit adaptation unit carries out the configuration of plug-in unit engineering essential information and third party library and cocoa
Framework configurations, automatic addition project file are quoted;When external file is added in IOS engineerings, except needing to be copied to
Working directory, it is also necessary to can use just manual add file is quoted, automatically configured to realize, plug-in unit adaptation unit is completed to add automatically
Process Cheng Yinyong function.
Step 37:Script structural unit obtains the place working directory path (User Catalog) for submitting request user and tied
Close the configuration information that step 33 obtains and obtain Resource TOC;
Step 38:The routing information that script structural unit acquires step 37 writes environmental variance, compiling instruction etc.
Parameter;
Step 39:Script structural unit construction IOS application generation scripts.
Wherein, the Mobile solution generation module 200 can a key generation smart mobile phone application program installation kit, produce simultaneously
Raw compiling daily record, it is specifically included using generation unit 201 and log management unit 202;
The application generation unit is by calling the application to generate script, system bottom compiling instruction corresponding to calling,
Application program installation kit is generated, and triggers the log management unit generation compiling daily record and is preserved.Specifically, using life
Compile and instruct into cell call system bottom, trigger log management unit, log management unit generation compiling daily record simultaneously preserves day
Will, so that system manager carves access when necessary.
Specifically, when application generation script is Android application scenarios, the application generation unit passes through calling
The compiling instruction of android system bottom, generates APK installation kits, specifically, is provided referring to Fig. 4, Fig. 4 for embodiment of the present invention
A kind of Mobile solution generation module work method flow diagram, as shown in figure 4, comprising the following steps:
Step 41:Generation unit is applied in the triggering of Mobile solution generation module;
Step 42:The Android application generation scripts of generation are called using generation unit, the script is given birth to by step 29
Into;
Step 43:Android application generation scripts call the compiling instruction of android system bottom;
Step 44:Compilation run generates Android APK installation kits.
When application generation script is IOS application scenarios, the application generation unit is by calling IOS system bottoms to compile
Instruction, APP installation kits are generated, specifically, referring to Fig. 5, Fig. 5 is another Mobile solution generation that embodiment of the present invention provides
The method flow diagram of module work, as shown in figure 5, comprising the following steps:
Step 51:Generation unit is applied in the triggering of Mobile solution generation module;
Step 52:Generation IOS application generation scripts are called using generation unit, the script is generated by step 39;
Step 53:IOS application generation scripts call the compiling instruction of IOS system bottoms;
Step 54:Compilation run generates IOS APP installation kits.
Elaborated exemplified by the above-mentioned generation method by under Android and iOS platforms, Windows Phone are put down
Mobile solution generation method under platform is similar.For those skilled in the art, on the premise of not paying creative work,
The embodiment under Windows Phone platforms and other accompanying drawings can be obtained according to these.
When application generation script is Windows Phone application scenarios, the application generation unit passes through calling
The compiling instruction of Windows Phone system bottoms, generates XAP installation kits.
Wherein, for above-mentioned log management unit 202, the flow chart of its work is as shown in fig. 6, comprise the following steps:
Step 61:Call the application generation script generated under different platform respectively using generation unit, the script is by step
Rapid 29 or step 39 obtain;
Step 62:Using generation script calling system bottom compiling instruction;
Step 63:Trigger log management unit;
Step 64:Log management unit generation compiling daily record;The compiling daily record is applied in generation unit for extraction respectively to move
Output information during dynamic terminal operating system compiling;
Step 65:Log management unit preserves compiling daily record, so that system manager carves access when necessary.
Wherein, for the Mobile solution download module 300 in embodiment of the present invention, it is used to provide request download interface
With download application interface, Mobile solution download module generates the URI addresses of installation kit, and end subscriber returns to installation kit to service end forward
URI addresses, front end user call request download interface sends download request to service end, automatic to download mobile phone installation kit, its work
The flow chart of work can be as shown in fig. 7, comprises following steps:
Step 71:Application installation package is generated using generation module;The installation kit is obtained by step 44 or step 54;
Step 72:Mobile solution download module generation installation kit URI addresses;
Step 73:Service end returns to the URI addresses for asking installation kit to client;
Step 74:Client sends download request to service end;
Step 75:Mobile solution download module downloads mobile phone application APK installation kits or APP installation kits automatically.
The cross-platform Mobile solution generation service end that embodiment of the present invention provides, Mobile solution life is fitted to from plug-in unit
Into, then download to application program installation kit, can one-key operation, simplify the generating process of cross-platform lower Mobile solution.
In addition, embodiment of the present invention additionally provide a kind of cross-platform Mobile solution generation system, including client with
And any of the above-described cross-platform Mobile solution generation service end;
Wherein, the client is used for the installation that the user is sent to the cross-platform Mobile solution generation service end
Bag generation request, and receive the URI for the application program installation kit that the cross-platform Mobile solution generation service end returns
Address.
Embodiment of above is merely to illustrate the present invention, and not limitation of the present invention, about the common of technical field
Technical staff, without departing from the spirit and scope of the present invention, it can also make a variety of changes and modification, thus it is all
Equivalent technical scheme falls within scope of the invention, and scope of patent protection of the invention should be defined by the claims.
Claims (5)
1. a kind of cross-platform Mobile solution generation service end, it is characterised in that including engine modules, Mobile solution generation module
And Mobile solution download module;
The engine modules, the installation kit for receiving user generate request, Structural application generation script;
The Mobile solution generation module, the application program for generating script generation smart mobile phone according to the application are installed
Bag, while produce compiling daily record;
The Mobile solution download module, for generating the URI addresses of the application program installation kit;
The engine modules include plug-in unit adaptation unit, using adaptation unit and script structural unit;
The plug-in unit adaptation unit, for carrying out plug-in unit attribute configuration, the plug-in unit attribute configuration is matched somebody with somebody including plug-in unit engineering attribute
Put and configured with third party library;
Described to apply adaptation unit, the installation kit for receiving user generates request, and is carried from installation kit generation request
Configuration information is taken, the configuration information includes platform, version;
The script structural unit, for obtaining the User Catalog of the user and obtaining resource mesh with reference to the configuration information
Record, and script is generated according to the User Catalog, Resource TOC Structural application.
2. cross-platform Mobile solution generation service end according to claim 1, it is characterised in that the Mobile solution life
Include applying generation unit and log management unit into module;
The application generation unit is by calling the application to generate script, system bottom compiling instruction, generation corresponding to calling
Application program installation kit, and trigger the log management unit generation compiling daily record and preserved.
3. cross-platform Mobile solution generation service end according to claim 2, it is characterised in that the application generates pin
This is Android application scenarios, and the application generation unit is by calling the compiling instruction of android system bottom, generation APK peaces
Dress bag.
4. cross-platform Mobile solution generation service end according to claim 2, it is characterised in that the application generates pin
This is IOS application scenarios, and the application generation unit generates APP installation kits by calling the compiling instruction of IOS system bottoms.
5. cross-platform Mobile solution generation service end according to claim 2, it is characterised in that the application generates pin
This is Windows Phone application scenarios, and the application generation unit is by calling the compiling of Windows Phone system bottoms to refer to
Order, generate XAP installation kits.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510038595.4A CN104615462B (en) | 2015-01-26 | 2015-01-26 | Cross-platform Mobile solution generation service end and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510038595.4A CN104615462B (en) | 2015-01-26 | 2015-01-26 | Cross-platform Mobile solution generation service end and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104615462A CN104615462A (en) | 2015-05-13 |
CN104615462B true CN104615462B (en) | 2018-04-06 |
Family
ID=53149921
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510038595.4A Active CN104615462B (en) | 2015-01-26 | 2015-01-26 | Cross-platform Mobile solution generation service end and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104615462B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017010921A1 (en) | 2015-07-10 | 2017-01-19 | Telefonaktiebolaget Lm Ericsson (Publ) | Discovery of resources in a local network |
CN105138387A (en) * | 2015-08-31 | 2015-12-09 | 惠州Tcl移动通信有限公司 | Method, device and system for compiling software |
CN107688475B (en) * | 2016-08-04 | 2023-03-31 | 创盛视联数码科技(北京)有限公司 | Method for quoting Swift language class library based on IOS system software development kit |
CN106778100B (en) * | 2016-12-01 | 2020-06-05 | 北京智游网安科技有限公司 | Obfuscation compiling method and obfuscation compiler based on android platform and IOS platform |
CN108984174B (en) * | 2018-07-03 | 2022-04-12 | 百度在线网络技术(北京)有限公司 | Cross-platform application creation method, device, server and storage medium |
CN109126124B (en) * | 2018-09-20 | 2021-10-22 | Oppo广东移动通信有限公司 | Engine adaptation method, related device and computer readable storage medium |
CN109725894B (en) * | 2018-12-24 | 2022-03-01 | 杭州费尔斯通科技有限公司 | Java language based elastic search code generation method and tool |
CN110297671A (en) * | 2019-05-22 | 2019-10-01 | 深圳壹账通智能科技有限公司 | Client plug-in implementation method, device, computer equipment and storage medium |
CN111240685A (en) * | 2020-01-07 | 2020-06-05 | 杭州涂鸦信息技术有限公司 | Cross-platform application program construction method and system |
CN111857801B (en) * | 2020-07-08 | 2022-07-05 | 广州云徙科技有限公司 | Construction method of mobile application |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053836A (en) * | 2010-12-31 | 2011-05-11 | 广东欧珀电子工业有限公司 | Implementation method of version management tool for Android application development |
CN102238203A (en) * | 2010-04-23 | 2011-11-09 | 中兴通讯股份有限公司 | Internet of things service realization method and system |
CN102650940A (en) * | 2012-03-31 | 2012-08-29 | 浙江大学城市学院 | Cross-platform mobile widget engine architecture method |
CN103176774A (en) * | 2011-12-21 | 2013-06-26 | 中国移动通信集团广东有限公司 | Compiling method, compiling device and compiling system of application program |
CN103309660A (en) * | 2013-05-27 | 2013-09-18 | 北京尚友通达信息技术有限公司 | Mobile application cross-platform development method |
CN104239071A (en) * | 2014-10-13 | 2014-12-24 | 浪潮通信信息系统有限公司 | Cross-platform mobile application development framework system based on general-purpose module and transfer service |
-
2015
- 2015-01-26 CN CN201510038595.4A patent/CN104615462B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238203A (en) * | 2010-04-23 | 2011-11-09 | 中兴通讯股份有限公司 | Internet of things service realization method and system |
CN102053836A (en) * | 2010-12-31 | 2011-05-11 | 广东欧珀电子工业有限公司 | Implementation method of version management tool for Android application development |
CN103176774A (en) * | 2011-12-21 | 2013-06-26 | 中国移动通信集团广东有限公司 | Compiling method, compiling device and compiling system of application program |
CN102650940A (en) * | 2012-03-31 | 2012-08-29 | 浙江大学城市学院 | Cross-platform mobile widget engine architecture method |
CN103309660A (en) * | 2013-05-27 | 2013-09-18 | 北京尚友通达信息技术有限公司 | Mobile application cross-platform development method |
CN104239071A (en) * | 2014-10-13 | 2014-12-24 | 浪潮通信信息系统有限公司 | Cross-platform mobile application development framework system based on general-purpose module and transfer service |
Also Published As
Publication number | Publication date |
---|---|
CN104615462A (en) | 2015-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104615462B (en) | Cross-platform Mobile solution generation service end and system | |
CN105117233B (en) | API Calls method and device | |
CN104899047B (en) | Web page frame dispositions method and system | |
CN109800173B (en) | Program debugging method, device and storage medium | |
CN108664239B (en) | Cross-technology-stack web front-end development system and method based on micro-service | |
CN107015804B (en) | Method and system for rapidly developing project by configuring API | |
WO2019041668A1 (en) | Method, device and system for calling main project code by component-based software project and storage medium | |
CN108829378A (en) | A kind of development approach of application software, device and electronic equipment | |
CN106686200B (en) | Mobile application program updating method, mobile terminal and updating system | |
CN106874035B (en) | Method for updating application (app) built-in H5 and framework thereof | |
CN104821954A (en) | Cross-platform remote procedure call method | |
CN110580152A (en) | Automatic scaffold frame of front end | |
CN105468427A (en) | Implementation method and system of automatic compilation and release | |
CN106528184A (en) | App development method based on cordova platform | |
WO2019085290A1 (en) | Test preparation method and apparatus, terminal device, and storage medium | |
CN102262684A (en) | Method and device for generating webpage page of mobile terminal | |
CN107608663A (en) | A kind of development approach and device of Mobile solution plug-in unit and Mobile solution | |
CN106371875A (en) | Mobile phone application updating mechanism based on HTML(hypertext markup language) 5 | |
CN111459539A (en) | Continuous integration pipeline operation method and device based on mirror layering | |
WO2019029451A1 (en) | Method for publishing mobile applications and electronic apparatus | |
CN109871241A (en) | A kind of configuration method of Cross-environment application server | |
CN106502713A (en) | A kind of method for upgrading software and system | |
CN113778897B (en) | Automatic test method, device and equipment for interface and storage medium | |
CN106254491A (en) | A kind of stable IOS client framework model efficiently | |
CN108287720B (en) | Software compiling method, device, equipment and storage medium |
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 |