CN105138399A - Cross-platform mobile Web application runtime engine - Google Patents

Cross-platform mobile Web application runtime engine Download PDF

Info

Publication number
CN105138399A
CN105138399A CN201510684009.3A CN201510684009A CN105138399A CN 105138399 A CN105138399 A CN 105138399A CN 201510684009 A CN201510684009 A CN 201510684009A CN 105138399 A CN105138399 A CN 105138399A
Authority
CN
China
Prior art keywords
mobile web
web application
platform
cross
module
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.)
Pending
Application number
CN201510684009.3A
Other languages
Chinese (zh)
Inventor
汪东升
王志安
段华强
吴健
王明波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN TYDIC INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN TYDIC INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN TYDIC INFORMATION TECHNOLOGY Co Ltd filed Critical SHENZHEN TYDIC INFORMATION TECHNOLOGY Co Ltd
Priority to CN201510684009.3A priority Critical patent/CN105138399A/en
Publication of CN105138399A publication Critical patent/CN105138399A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a cross-platform mobile Web application runtime engine which adopts a webkit technology and is composed of an API packaging module, an application installation module and an application operation module, wherein the API packaging module is used for packaging underlayer APIs of local device capacity and third-party common capacity into a high-layer integrated API; the application installation module is used for installing mobile web applications; the application operation module is used for operating mobile web applications, receiving and analyzing a request for calling the local device capacity or third-party common capacity of mobile web applications, and calling corresponding local device capacity or third-party common capacity; the development language of the mobile web application is W3C standard-based HTML5+CSS3; the mobile web application initiates a request for calling the local device capacity or third-party common capacity to the application operation module by calling the integrated API.

Description

Cross-platform mobile Web application runtime engine
Technical field
The present invention relates to mobile internet technical field, particularly relate to a kind of cross-platform mobile Web application runtime engine.
Background technology
Along with modern cell phones configuration is more and more higher, operation system of smart phone is also more and more universal.Because operation system of smart phone is the cell phone system that a kind of arithmetic capability and function ratio traditional function cell phone system are stronger, mobile phone runs diversified software just becomes possibility.The function class of present smart mobile phone is similar to a PC (PC), can as PC easy installation and unloading third-party application software, so have very powerful very abundant function.Present main flow mobile phone operating system is all with good expansibility and user interface attractive in appearance, not only at mobile phone terminal, and is obtained on the mobile terminals such as panel computer and applies very widely.
But, because operation system of smart phone popular is on the market of a great variety, current main flow mainly comprise Android system (Android) and apple system (iOS) etc.In order to make mobile client software can run on the smart mobile phone of each different platform, traditional solution develops separately a set of software for often kind of operating system.But, each operating system provides again different developing instruments and API (ApplicationProgrammingInterface, application programming interface), developer needs the different development language of study and different developing instruments, could same application be published on different operating system platform, the not only waste of manpower but also lose time of this way.
In order to solve the problem, people begin one's study the exploitation of cross-platform Mobile solution, modal cross-platform Mobile solution is the mobile web application using web technology exploitation, uses web technology exploitation to refer to and uses Html5, Javascript and CSS3 language to carry out Mobile solution exploitation.The complexity of web technology is lower, learns and uses relatively simple.Vehicles Collected from Market there is some Product-level frameworks being devoted to Cross-border congestion management.Wherein, PhoneGap, Titanium and Rhodes develop three sections of comparatively ripe Development Framework instantly.Wherein, PhoneGap is pure product of increasing income, Titanium is also in test (Beta) stage of its commercialization at present, its official release will be issued as business-like shell frame products, the development of Rhodes more above-mentioned both then relative maturity some, it is also business-like shell frame products.But, above-mentioned prior art can not realize the comprehensively cross-platform of Mobile solution perfectly, is difficult to call comprise: take pictures, make a video recording and the local device ability of location etc., Consumer's Experience is not good, the first encoding that developer wishes cannot be realized, cross-platform operation.Therefore, need to provide a kind of cross-platform mobile web application runtime engine newly to solve the problems referred to above.
Summary of the invention
The object of the invention is to a kind of cross-platform mobile web application runtime engine, realize the first encoding that mobile web applies, cross-platform operation, reduce the cost of development of mobile applications, shorten the construction cycle of mobile applications.
For achieving the above object, the invention provides a kind of cross-platform mobile web application runtime engine, described cross-platform mobile web application runtime engine adopts webkit technology, comprising: API package module, application installation module and application run module;
Described API package module is used for the Basic API of local device ability and third party's general-purpose capability to be encapsulated as high-rise unified API;
Described application installation module is applied for installing mobile web;
Described application runs module and applies for running mobile web, receives and resolves the request of mobile web application call local device ability or third party's general-purpose capability, and calling corresponding local device ability or third party's general-purpose capability;
The development language of described mobile web application is: based on the HTML5+CSS3 of W3C standard;
Described mobile web application runs to application the request that module initiates to call local device ability or third party's general-purpose capability by calling unified API.
Described application runs module and adopts sandbox module to run mobile web apply, directly can not call other and move web and apply or access other and move web application data between mobile web application.
Described unified API is: JavaScriptAPI.
Described local device ability comprises: take pictures, make a video recording and locate.
Described third party's general-purpose capability comprises: Quick Response Code scans.
Described application runs module and starts the integrality needing verification file before mobile web applies.
Whether described application installation module is installed before mobile web applies needs the integrality of verification file and file to be tampered.
Described cross-platform mobile web application runtime engine is applicable to Android platform and ios platform.
Described Android platform and ios platform are respectively the smart mobile phone or panel computer that are provided with Android operation system and IOS.
Beneficial effect of the present invention: the invention provides a kind of cross-platform mobile web application runtime engine, by by local device ability, and the Basic API of third party's general-purpose capability is encapsulated as high-rise unified API, and then mobile web application can run to application the request that module initiates to call local device ability or third party's general-purpose capability by calling unified API, application runs module and receives and resolve the request of mobile web application call local device ability or third party's general-purpose capability, and call corresponding local device ability or third party's general-purpose capability, realize the first encoding that mobile web applies, cross-platform operation, reduce the cost of development of mobile applications, shorten the construction cycle of mobile applications.
In order to further understand feature of the present invention and technology contents, refer to following detailed description for the present invention and accompanying drawing, but accompanying drawing only provides reference and explanation use, is not used for being limited the present invention.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, by the specific embodiment of the present invention describe in detail, will make technical scheme of the present invention and other beneficial effect apparent.
In accompanying drawing,
Fig. 1 is the structural representation of cross-platform mobile web application runtime engine of the present invention;
Fig. 2 is the operational process schematic diagram of cross-platform mobile web application runtime engine of the present invention.
Embodiment
For further setting forth the technological means and effect thereof that the present invention takes, be described in detail below in conjunction with the preferred embodiments of the present invention and accompanying drawing thereof.
Refer to Fig. 1, the invention provides a kind of cross-platform mobile web application runtime engine, described cross-platform mobile web application runtime engine adopts webkit technology, comprising: API package module 3, application installation module 1 and application run module 2;
Described API package module 3 is for being encapsulated as high-rise unified API by the Basic API of local device ability and third party's general-purpose capability.
Concrete, by local device ability as taken pictures, making a video recording, the Basic API such as location carries out the more high-rise more high-rise unified JavaScriptAPI that is encapsulated as and uses to developer, and then developer only needs to use corresponding JavaScriptAPI can complete corresponding local device ability and calls, define local device capability development storehouse.Abundant third party's plug-in unit is additionally provided in addition on the basis in this local device capability development storehouse, such as Quick Response Code scanning etc., Basic API by third party's general-purpose capability is also encapsulated as above-mentioned unified JavaScriptAPI, developer can be allowed to develop mobile web more efficiently and apply.
Described application installation module 1 is applied for installing mobile web.
Concrete, the development language of described mobile web application is: based on the HTML5+CSS3 of W3C standard, when the installation file that local or the high in the clouds mobile web of packing generation apply, need to do the encryption process installation kit, whether installation kit is not only needed the integrality of verification file, also will be tampered by decryption processing verification file before downloading to local installation, complete and nothing is distorted file could be mounted, and improves security.
Described application runs module 2 and applies for running mobile web, receives and resolves the request of mobile web application call local device ability or third party's general-purpose capability, and calling corresponding local device ability or third party's general-purpose capability; Before described application operation module 2 starts mobile web application, again need verify the integrality of mobile web application file, complete mobile web application file just can be activated operation.
Concrete, refer to Fig. 1, described application operation module 2 adopts sandbox module to run mobile web and applies, between multiple mobile web application, data isolation stores, directly can not call other between mobile web application to move web application or access other and move web application data, such as: mobile web application 1 directly cannot be called mobile web application 2 or be accessed the data that mobile web applies 2, and the unified API that can only be provided by mobile web application runtime engine calls mobile web application 2 or access the data that mobile web applies 2, each can be made to move separate operation between web application, avoid the impact between different mobile web application, further raising security.
Concrete, described cross-platform mobile web application runtime engine is applicable to Android platform and ios platform.Described Android platform and ios platform are respectively the smart mobile phone or panel computer that are provided with Android operation system and IOS.
Further, described mobile web application runs to application the request that module 2 initiates to call local device ability or third party's general-purpose capability by calling unified API, after mobile web application runtime engine receives request, the ability of analysis request, turn to local device ability or third party's general-purpose capability, complete the request of ability.Such as move web when applying the local device ability of 3 request call Android device, first need to run to the application of calling unified API the request that module 2 initiates to call local device ability or third party's general-purpose capability, after mobile web application runtime engine receives request, be resolved to the local device ability of request for calling Android device, turn to Android API, by the local device ability of Android API Calls Android device, calling of apple equipment and third party's general-purpose capability is identical with Android device.
In sum, the invention provides a kind of cross-platform mobile web application runtime engine, by API package module by local device ability, and the Basic API of third party's general-purpose capability is encapsulated as high-rise unified API, and then mobile web application can run to application the request that module initiates to call local device ability or third party's general-purpose capability by calling unified API, application runs module and receives and resolve the request of mobile web application call local device ability or third party's general-purpose capability, and call corresponding local device ability or third party's general-purpose capability, realize the first encoding that mobile web applies, cross-platform operation, reduce the cost of development of mobile applications, shorten the construction cycle of mobile applications.
The above, for the person of ordinary skill of the art, can make other various corresponding change and distortion according to technical scheme of the present invention and technical conceive, and all these change and be out of shape the protection domain that all should belong to the claims in the present invention.

Claims (9)

1. a cross-platform mobile web application runtime engine, it is characterized in that, described cross-platform mobile web application runtime engine adopts webkit technology, comprising: API package module (3), application installation module (1) and application run module (2);
Described API package module (3) is for being encapsulated as high-rise unified API by the Basic API of local device ability and third party's general-purpose capability;
Described application installation module (1) is applied for installing mobile web;
Described application runs module (2) and applies for running mobile web, receives and resolves the request of mobile web application call local device ability or third party's general-purpose capability, and calling corresponding local device ability or third party's general-purpose capability;
The development language of described mobile web application is: based on the HTML5+CSS3 of W3C standard;
Described mobile web application runs to application the request that module (2) initiates to call local device ability or third party's general-purpose capability by calling unified API.
2. cross-platform mobile web application runtime engine as claimed in claim 1, it is characterized in that, described application runs module (2) and adopts sandbox module to run mobile web apply, directly can not call other and move web and apply or access other and move web application data between mobile web application.
3. cross-platform mobile web application runtime engine as claimed in claim 1, it is characterized in that, described unified API is: JavaScriptAPI.
4. cross-platform mobile web application runtime engine as claimed in claim 1, it is characterized in that, described local device ability comprises: take pictures, make a video recording and locate.
5. cross-platform mobile web application runtime engine as claimed in claim 1, it is characterized in that, described third party's general-purpose capability comprises: Quick Response Code scans.
6. cross-platform mobile web application runtime engine as claimed in claim 1, is characterized in that, described application runs module (2) and starts the integrality needing verification file before mobile web applies.
7. cross-platform mobile web application runtime engine as claimed in claim 1, is characterized in that, whether described application installation module (1) is installed before mobile web applies needs the integrality of verification file and file to be tampered.
8. cross-platform mobile web application runtime engine as claimed in claim 1, is characterized in that, described cross-platform mobile web application runtime engine is applicable to Android platform and ios platform.
9. cross-platform mobile web application runtime engine as claimed in claim 1, it is characterized in that, described Android platform and ios platform are respectively the smart mobile phone or panel computer that are provided with Android operation system and IOS.
CN201510684009.3A 2015-10-20 2015-10-20 Cross-platform mobile Web application runtime engine Pending CN105138399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510684009.3A CN105138399A (en) 2015-10-20 2015-10-20 Cross-platform mobile Web application runtime engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510684009.3A CN105138399A (en) 2015-10-20 2015-10-20 Cross-platform mobile Web application runtime engine

Publications (1)

Publication Number Publication Date
CN105138399A true CN105138399A (en) 2015-12-09

Family

ID=54723755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510684009.3A Pending CN105138399A (en) 2015-10-20 2015-10-20 Cross-platform mobile Web application runtime engine

Country Status (1)

Country Link
CN (1) CN105138399A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657035A (en) * 2016-02-02 2016-06-08 四川长虹电器股份有限公司 Multi-mode access method of mobile application
CN105955833A (en) * 2016-06-06 2016-09-21 腾讯科技(深圳)有限公司 Engine calling method and device
CN107888694A (en) * 2017-11-22 2018-04-06 重庆人人生活家科技发展有限公司 The accurate self-service supplying system of cross-terminal
CN109032576A (en) * 2018-06-26 2018-12-18 珠海宏桥高科技有限公司 A kind of cross-platform generation method and device based on configuration
CN111949251A (en) * 2020-07-21 2020-11-17 广州钢铁侠信息科技有限公司 Method for realizing software development and operation across platforms

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110078678A1 (en) * 2009-09-30 2011-03-31 Open Kernel Labs Methods and apparatus for producing cross-platform software applications
CN102945169A (en) * 2012-12-05 2013-02-27 江苏鸿信系统集成有限公司 Native APP fused Web APP development system based on Android
CN104461575A (en) * 2014-12-26 2015-03-25 北京华电万通科技有限公司 Device and method for JavaScript native interface calling conducted by crossing mobile operating system platform
CN104572042A (en) * 2013-10-15 2015-04-29 航天信息股份有限公司 Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment
CN104636139A (en) * 2015-01-26 2015-05-20 北京邮电大学 Visualized cross-platform mobile application development and generation system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110078678A1 (en) * 2009-09-30 2011-03-31 Open Kernel Labs Methods and apparatus for producing cross-platform software applications
CN102945169A (en) * 2012-12-05 2013-02-27 江苏鸿信系统集成有限公司 Native APP fused Web APP development system based on Android
CN104572042A (en) * 2013-10-15 2015-04-29 航天信息股份有限公司 Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment
CN104461575A (en) * 2014-12-26 2015-03-25 北京华电万通科技有限公司 Device and method for JavaScript native interface calling conducted by crossing mobile operating system platform
CN104636139A (en) * 2015-01-26 2015-05-20 北京邮电大学 Visualized cross-platform mobile application development and generation system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657035A (en) * 2016-02-02 2016-06-08 四川长虹电器股份有限公司 Multi-mode access method of mobile application
CN105955833A (en) * 2016-06-06 2016-09-21 腾讯科技(深圳)有限公司 Engine calling method and device
CN107888694A (en) * 2017-11-22 2018-04-06 重庆人人生活家科技发展有限公司 The accurate self-service supplying system of cross-terminal
CN109032576A (en) * 2018-06-26 2018-12-18 珠海宏桥高科技有限公司 A kind of cross-platform generation method and device based on configuration
CN111949251A (en) * 2020-07-21 2020-11-17 广州钢铁侠信息科技有限公司 Method for realizing software development and operation across platforms

Similar Documents

Publication Publication Date Title
CN105138399A (en) Cross-platform mobile Web application runtime engine
CN108563517B (en) Calling method and device of system interface
US11016716B2 (en) Picture interface display method and apparatus according to jump protocol
CN102209111B (en) Open cross-platform system for cloud computing mobile network terminal equipment
CN110502222B (en) AAR method, apparatus, medium, and device for outbound dependency on internal base repository
CN109460233B (en) Method, device, terminal equipment and medium for updating native interface display of page
CN105718313A (en) Application operation method and device
CN108304205A (en) A kind of update method of application program, terminal and computer readable storage medium
CN102819452B (en) Method for acquiring data from android system
CN111338623B (en) Method, device, medium and electronic equipment for developing user interface
CN106301885A (en) The method and system of uniform traffic management
CN111580879A (en) Applet running method and device, electronic equipment and computer storage medium
CN102323882A (en) Data processing device and method applied to Web3D
CN110417766A (en) A kind of method and apparatus of protocol analysis
US20150169600A1 (en) Interface display method and system for home gateway applicable to various display types
CN110442327A (en) A kind of application builds method, apparatus, server
CN111581555B (en) Document loading method, device, equipment and storage medium
CN104572099B (en) Lower coupling frame data processing method and system based on component and middleware
US9247293B2 (en) System and method for multi-standard browser for digital devices
CN102622217B (en) A kind of method and system running application across screen
CN107402792B (en) Integration method, device, equipment and storage medium of application software installation package
CN108804082A (en) A kind of implementation method of plug-in unit JSBridge
CN108833500B (en) Service calling method, service providing method, data transmission method and server
CN111324347B (en) Component construction method, device and system, page generation method, device and medium
CN103019748A (en) Method and system for embedding local application program into desktop window in Linux

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151209

RJ01 Rejection of invention patent application after publication