CN102945169A - Native APP fused Web APP development system based on Android - Google Patents
Native APP fused Web APP development system based on Android Download PDFInfo
- Publication number
- CN102945169A CN102945169A CN 201210512675 CN201210512675A CN102945169A CN 102945169 A CN102945169 A CN 102945169A CN 201210512675 CN201210512675 CN 201210512675 CN 201210512675 A CN201210512675 A CN 201210512675A CN 102945169 A CN102945169 A CN 102945169A
- Authority
- CN
- China
- Prior art keywords
- app
- web
- native
- module
- request
- Prior art date
Links
- 229920001276 Ammonium polyphosphate Polymers 0.000 title claims abstract description 119
- 238000004891 communication Methods 0.000 claims abstract description 32
- 238000000034 methods Methods 0.000 claims abstract description 18
- 238000005538 encapsulation Methods 0.000 claims description 4
- 230000003993 interaction Effects 0.000 claims description 4
- 230000000977 initiatory Effects 0.000 claims 1
- 230000001808 coupling Effects 0.000 abstract description 5
- 238000010168 coupling process Methods 0.000 abstract description 5
- 238000005859 coupling reactions Methods 0.000 abstract description 5
- 230000000875 corresponding Effects 0.000 description 8
- 239000010410 layers Substances 0.000 description 4
- 238000005516 engineering processes Methods 0.000 description 3
- 230000003044 adaptive Effects 0.000 description 2
- 238000010586 diagrams Methods 0.000 description 2
- 230000002452 interceptive Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
Abstract
Description
Technical field
The invention belongs to mobile internet technical field.Especially a kind of application development framework, specifically a kind of Native APP merges the Development Framework of Web APP.
Background technology
At present, along with the fast development of internet and telecommunication technology, mobile communication and the Internet converged become mobile Internet.Be the optimization of satisfying the industry and enterprise operation flow and the lifting demand of management quality, the sector application of movement-based Internet technology is arisen at the historic moment, help industry and enterprise to reach the targets such as mobile office, mobile working workflow management, thereby promote its work efficiency and the performance of enterprises, promote management level.
The mobile Internet sector application can be divided into two kinds, a kind of APP that is based on the operation of local operation system, i.e. Native APP; A kind of browser execution Web APP that is based on intelligent terminal.The Adaption efficiency that Native APP is faced with different intelligent terminal type is low, the relatively poor problem of new experience more, simultaneously owing to using and the R﹠D process that the development amount is large, the cycle is long can't cross-platformly occur.Web APP have cost of development lower, upgrade advantage simple, the cross-platform cross terminal, affect user's experience but its travelling speed depends on network speed, and can not carry out off-line operation and make the user expend a large amount of surfing flows.In order to address the above problem, Native APP and Web APP need to be merged, the Development Framework of a kind of cross-platform cross terminal, minimizing sector application and intelligent terminal coupling degree, raising efficiency of research and development is provided, sector application is freed from the link of adaptive different terminals type and different operating system, make the research staff be absorbed in the realization of service logic and the optimization of operation flow, shorten the R﹠D cycle, improve the efficiency of research and development of sector application.
?
Summary of the invention
The objective of the invention is for the problems referred to above, propose a kind of Native APP based on Android and merge Web APP development system.Its objective is that Native APP development scheme and Web APP with the sector application research and development merge, and provide Web to use common template, for the research and development of new sector application provide general easily Development Framework, reduce the coupling of using terminal and platform, improve the code reusability, promote efficiency of research and development.
Technical scheme of the present invention is:
A kind of Native APP based on Android merges Web APP development system, described system is arranged between client and the sector application platform, and it comprises communication interface API module and the process communication administration module of communication protocol interface module, Native APP and server of api interface module, Native APP and Web APP of api interface module, the Native APP of Web APP;
The api interface module of described Web APP and the api interface module of Native APP are respectively applied to receive Web APP request and the Native APP request of client;
The communication protocol interface module of described Native APP and Web APP comprises Web APP request package interface, instruction parsing interface and Native APP control display interface, and above-mentioned interface is used for realizing that Native APP is to processing and the feedback of Web APP request;
The communication interface API module of described Native APP and server comprises request of data interface, local resource access interface, web service access interface for the treatment of data and the operation requests of client to server; Above-mentioned interface be responsible for processing Web APP to local resource call and with the information interaction of server;
Described process communication administration module comprises management of process module, message queue administration module, shared-memory management module and internal storage access control module; Described process communication administration module helps Web APP to realize access control and the management of process of shared drive by Native APP, realizes the interaction between Web APP process, for the access that realizes using to system resource.
Development system of the present invention also comprises Web general utility functions module, the sector application function that described Web general utility functions module package is commonly used, comprise that user's login/publish, tabulate displaying, details show, take pictures and thumbnail shows and the GPS locating information is obtained, encapsulate as the standard feature of sector application.
Among the present invention, when client is initiated operational motion, if moving, this is Native APP request, then the api interface module of Native APP encapsulates event request, to move, submit to Native APP key-course after the object encapsulation, Native APP resolves by instruction, judges that Native APP is request of data or resource request, initiates respective request by processing logic to local operation system or server;
If moving, this is Web APP request, then the api interface module of Web APP is resolved action, communication protocol interface module by Native APP and Web APP sends event request to the api interface module of Native APP, the communication protocol interface module of Native APP and Web APP encapsulates event request, to move, submit to Native APP key-course after the object encapsulation, Native APP resolves by instruction, judge that Web APP is request of data or resource request, initiate respective request by processing logic to local operation system or server.
Local resource access interface of the present invention is used for connecting USB interface, address list, network and taking pictures.
Beneficial effect of the present invention:
The Native APP Development Framework of existing Android client application, existence can not adaptive different intelligent types, the user more during relatively poor, the cross-platform exploitation of new experience code the deficiency such as can't reuse.The Web APP Development Framework of existing Android client application, there is the cross-platform advantage of cross-terminal, depends on network speed but use travelling speed, can not carry out off-line operation, all by similar asynchronous processing the such as ajax, user experience is not all right alternately for all and backstage.Existing Native generally adopts the interactive mode that transmits the Html file between Web and Native in conjunction with the Development Framework of Web APP, makes to use to consume a large amount of surfing flows, is not suitable for sector application.Known another kind of implementation employing Native control Web initiates the interactive mode with server request, and poor user experience is not suitable for sector application.And the Native based on Android that the present invention adopts merges Web APP Development Framework, and comparatively good performance is being arranged aspect cross-platform cross terminal, the user's experience, can reduce sector application to the degree of coupling of terminal and platform, promotes efficiency of research and development.
Adopt WebView to communicate by letter between Native APP and the Web APP, should be used for loading data by native, show by web, realize the combination of two kinds of development schemes by the communication protocol of formulating both, so that Native can be absorbed in the design of Service control logic, Web can be absorbed in the design of user interface view, the degree of coupling that can effectively reduce operation layer and presentation layer of separating of view and control.
Web general utility functions module provided by the invention has encapsulated the common function of sector application, is actually standardized, as to be applicable to a numerous industries common template.Use when being transplanted to the IPhone platform in the new sector application of exploitation or with Android, this partial code substantially can be multiplexing, only needs exploitation Extraordinary function to get final product.
Description of drawings
Fig. 1 is enforcing location figure of the present invention
Fig. 2 is system assumption diagram of the present invention
Fig. 3 is modular structure figure of the present invention
Fig. 4 is system flow sequential chart of the present invention
Embodiment
The present invention is further illustrated below in conjunction with drawings and Examples.
As shown in Figure 1, be the deployed position schematic diagram that is applied in the system of the present invention, architecture of the present invention comprises that Web uses the general utility functions module, the api interface module, Native-Web communication protocol interface module, Native-server communication protocol interface module, process communication administration module, message queue administration module of unified call is provided, the api interface module of unified call is provided for Native APP for upper layer application as shown in Figure 2.It is in the application framework layer of Android system architecture, as the program frame of sector application newly developed, generates the new APP of issue.
Modular structure of the present invention as shown in Figure 3, the mutual sequential chart of Development Framework provided by the invention and external system as shown in Figure 4, when Web APP needs login system, can submit logging request to Native APP by sending logging request, the Native-Web communication protocol interface carries out the request instruction parsing after receiving message, Native App is submitted in instruction, call corresponding web service interface by Native APP this logging request is sent to server.Server end carries out then sending feedback message to the Native-server communications behind the verifying logic correct judgment to landing request information, will login feedback message by the message queue in the interface module and send to Native App, and then be submitted to Web App.
When the Web end needs reported data, Web App sends reported data to the Native-Web communication protocol interface, interface resolves to the agreement appointment data with request of data, submits these data by the web service interface of Native App to server end and reports request.Return corresponding message after the complete data of server process report request, by the Native-Web communication protocol interface message of corresponding format is sent to Web App, Web App carries out corresponding showing interface accordingly.
When Web end needed downloading data, Web App sent and downloads request to the Native-Web communication protocol interface, and interface resolves to agreement agreement form with request of data, and the web service interface by Native App is to server end data delivery download request.After reporting request, the complete data of server process return corresponding data, memory management module in the calling process administration module is split as data the packet of agreement agreement, by the Native-Web communication protocol interface message of corresponding format is sent to Web App, Web App carries out accordingly corresponding interface information and loads.
When Web uses when need to withdraw from, then to send login and withdraw from request to the Native-Web communication protocol interface, communication protocol interface is resolved instruction and also is submitted to Native, and the web service interface that calls Native is submitted request to platform side.Platform side carries out returning feedback message to Native after the respective handling, by Native feedback message is sent to Web APP and carries out corresponding showing interface.
The part that the present invention does not relate to all prior art that maybe can adopt same as the prior art is realized.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201210512675 CN102945169A (en) | 2012-12-05 | 2012-12-05 | Native APP fused Web APP development system based on Android |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201210512675 CN102945169A (en) | 2012-12-05 | 2012-12-05 | Native APP fused Web APP development system based on Android |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102945169A true CN102945169A (en) | 2013-02-27 |
Family
ID=47728118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201210512675 CN102945169A (en) | 2012-12-05 | 2012-12-05 | Native APP fused Web APP development system based on Android |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102945169A (en) |
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103780627A (en) * | 2014-01-30 | 2014-05-07 | 吴锦洲 | Native APP, Web APP and Wechat-similar APP information synchronization system |
CN103823697A (en) * | 2014-02-27 | 2014-05-28 | 百度在线网络技术(北京)有限公司 | Cross-platform implementing method of application, system and plug-in manager |
CN104035778A (en) * | 2014-06-26 | 2014-09-10 | 上海斐讯数据通信技术有限公司 | Android application program development method |
WO2015027695A1 (en) * | 2013-08-27 | 2015-03-05 | 上海司南卫星导航技术有限公司 | Satellite positioning receiver integrated with high-precision positioning application system |
CN104426967A (en) * | 2013-08-30 | 2015-03-18 | 中国石油天然气股份有限公司 | Cross-platform and cross-equipment mobile application construction method |
CN104579751A (en) * | 2014-12-11 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Function scheduling protocol managing method, device and equipment of application |
CN104683407A (en) * | 2013-11-29 | 2015-06-03 | 中国移动通信集团公司 | Transmission method and equipment for page data and application data |
CN104750487A (en) * | 2015-03-25 | 2015-07-01 | 广州市悦智计算机有限公司 | Development method and starting method for mobile terminal APP |
CN104902464A (en) * | 2014-03-05 | 2015-09-09 | 中国移动通信集团江西有限公司 | Method and device for recognizing user behavior |
CN105138399A (en) * | 2015-10-20 | 2015-12-09 | 深圳天源迪科信息技术股份有限公司 | Cross-platform mobile Web application runtime engine |
CN105138340A (en) * | 2015-09-15 | 2015-12-09 | 北京齐尔布莱特科技有限公司 | Interaction method and system for Native and Web pages |
CN105187455A (en) * | 2015-10-23 | 2015-12-23 | 北京农信互联科技有限公司 | Web service method and system based on loose framework |
CN105450731A (en) * | 2015-11-05 | 2016-03-30 | 珠海多玩信息技术有限公司 | Method and apparatus for realizing communication between web layer and native layer |
CN105786530A (en) * | 2016-05-31 | 2016-07-20 | 上海电机学院 | Cross-platform APP design method and system |
CN105808248A (en) * | 2016-03-03 | 2016-07-27 | 北京旷视科技有限公司 | Method and device for generating interface of application |
CN105868312A (en) * | 2016-03-25 | 2016-08-17 | 四川长虹电器股份有限公司 | Equipment management method and device based on browser |
CN106034134A (en) * | 2015-03-19 | 2016-10-19 | 腾讯科技(深圳)有限公司 | Method and device and auxiliary method and device for implementing identity authentication request in webpage application |
WO2017071565A1 (en) * | 2015-10-28 | 2017-05-04 | 中兴通讯股份有限公司 | Method and device for implementing digital television service |
CN106775768A (en) * | 2017-01-13 | 2017-05-31 | 深圳市路通网络技术有限公司 | Native code calls system, method and APP mixed developing systems |
WO2017167125A1 (en) * | 2016-03-31 | 2017-10-05 | 阿里巴巴集团控股有限公司 | Graphic composition method, information interaction method, and system |
CN107402749A (en) * | 2017-04-14 | 2017-11-28 | 阿里巴巴集团控股有限公司 | Realize the method and device in picture loading storehouse |
CN108874554A (en) * | 2017-05-09 | 2018-11-23 | 腾讯科技(深圳)有限公司 | Information communicating method and device |
CN109062626A (en) * | 2018-07-09 | 2018-12-21 | 北京奇艺世纪科技有限公司 | Exchange method, device and the equipment of Web page component and Native component |
-
2012
- 2012-12-05 CN CN 201210512675 patent/CN102945169A/en not_active Application Discontinuation
Cited By (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015027695A1 (en) * | 2013-08-27 | 2015-03-05 | 上海司南卫星导航技术有限公司 | Satellite positioning receiver integrated with high-precision positioning application system |
CN104426967A (en) * | 2013-08-30 | 2015-03-18 | 中国石油天然气股份有限公司 | Cross-platform and cross-equipment mobile application construction method |
CN104683407A (en) * | 2013-11-29 | 2015-06-03 | 中国移动通信集团公司 | Transmission method and equipment for page data and application data |
CN104683407B (en) * | 2013-11-29 | 2019-03-26 | 中国移动通信集团公司 | A kind of transmission method and equipment of page data and application data |
CN103780627A (en) * | 2014-01-30 | 2014-05-07 | 吴锦洲 | Native APP, Web APP and Wechat-similar APP information synchronization system |
CN103823697A (en) * | 2014-02-27 | 2014-05-28 | 百度在线网络技术(北京)有限公司 | Cross-platform implementing method of application, system and plug-in manager |
CN103823697B (en) * | 2014-02-27 | 2018-06-05 | 百度在线网络技术(北京)有限公司 | Cross-platform implementation method, system and the plugin manager of application |
CN104902464A (en) * | 2014-03-05 | 2015-09-09 | 中国移动通信集团江西有限公司 | Method and device for recognizing user behavior |
CN104902464B (en) * | 2014-03-05 | 2018-10-26 | 中国移动通信集团江西有限公司 | A kind of user behavior recognition method and apparatus |
CN104035778A (en) * | 2014-06-26 | 2014-09-10 | 上海斐讯数据通信技术有限公司 | Android application program development method |
CN104579751A (en) * | 2014-12-11 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Function scheduling protocol managing method, device and equipment of application |
CN106034134A (en) * | 2015-03-19 | 2016-10-19 | 腾讯科技(深圳)有限公司 | Method and device and auxiliary method and device for implementing identity authentication request in webpage application |
CN106034134B (en) * | 2015-03-19 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Method, auxiliary method and device for carrying out identity authentication request in webpage application program |
CN104750487B (en) * | 2015-03-25 | 2019-06-28 | 广州市悦智计算机有限公司 | A kind of development approach and starting method of mobile terminal APP |
CN104750487A (en) * | 2015-03-25 | 2015-07-01 | 广州市悦智计算机有限公司 | Development method and starting method for mobile terminal APP |
CN105138340B (en) * | 2015-09-15 | 2019-04-02 | 北京齐尔布莱特科技有限公司 | A kind of exchange method and system of Native and Web page |
CN105138340A (en) * | 2015-09-15 | 2015-12-09 | 北京齐尔布莱特科技有限公司 | Interaction method and system for Native and Web pages |
CN105138399A (en) * | 2015-10-20 | 2015-12-09 | 深圳天源迪科信息技术股份有限公司 | Cross-platform mobile Web application runtime engine |
CN105187455A (en) * | 2015-10-23 | 2015-12-23 | 北京农信互联科技有限公司 | Web service method and system based on loose framework |
CN106658189A (en) * | 2015-10-28 | 2017-05-10 | 中兴通讯股份有限公司 | Digital television business implementation method and device |
WO2017071565A1 (en) * | 2015-10-28 | 2017-05-04 | 中兴通讯股份有限公司 | Method and device for implementing digital television service |
CN105450731A (en) * | 2015-11-05 | 2016-03-30 | 珠海多玩信息技术有限公司 | Method and apparatus for realizing communication between web layer and native layer |
CN105808248A (en) * | 2016-03-03 | 2016-07-27 | 北京旷视科技有限公司 | Method and device for generating interface of application |
CN105868312A (en) * | 2016-03-25 | 2016-08-17 | 四川长虹电器股份有限公司 | Equipment management method and device based on browser |
CN105868312B (en) * | 2016-03-25 | 2019-09-10 | 四川长虹电器股份有限公司 | A kind of device management method and device based on browser |
WO2017167125A1 (en) * | 2016-03-31 | 2017-10-05 | 阿里巴巴集团控股有限公司 | Graphic composition method, information interaction method, and system |
CN107291561A (en) * | 2016-03-31 | 2017-10-24 | 阿里巴巴集团控股有限公司 | A kind of figure synthetic method, information interacting method and system |
CN107291561B (en) * | 2016-03-31 | 2020-11-24 | 阿里巴巴集团控股有限公司 | Graph synthesis method, information interaction method and system |
CN105786530A (en) * | 2016-05-31 | 2016-07-20 | 上海电机学院 | Cross-platform APP design method and system |
CN106775768A (en) * | 2017-01-13 | 2017-05-31 | 深圳市路通网络技术有限公司 | Native code calls system, method and APP mixed developing systems |
CN107402749A (en) * | 2017-04-14 | 2017-11-28 | 阿里巴巴集团控股有限公司 | Realize the method and device in picture loading storehouse |
CN107402749B (en) * | 2017-04-14 | 2020-07-07 | 阿里巴巴集团控股有限公司 | Method and device for realizing picture loading library |
CN108874554A (en) * | 2017-05-09 | 2018-11-23 | 腾讯科技(深圳)有限公司 | Information communicating method and device |
CN109062626A (en) * | 2018-07-09 | 2018-12-21 | 北京奇艺世纪科技有限公司 | Exchange method, device and the equipment of Web page component and Native component |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9924409B2 (en) | Method and system for group communication, group server, and group member device | |
CN102710554B (en) | The service state detection method of distributed information system and distributed information system | |
CN102710534B (en) | A kind of network communication method across application and equipment | |
US7725577B2 (en) | Method and system to adaptively manage the quality of service of interactions between smart item networks and enterprise applications | |
CN102098808B (en) | Data card and data card networking method | |
CN201146538Y (en) | Apparatus for protocol conversion | |
CN105487882A (en) | Application software trial use system, method, server and user device | |
CN101917326B (en) | Distributed trans-coding system and task scheduling method thereof | |
CN101567816B (en) | Monitoring server and monitoring method | |
CN100496015C (en) | Method for realizing clipboard sharing in multinode intelligent network application service system | |
EP3343364A1 (en) | Accelerator virtualization method and apparatus, and centralized resource manager | |
CN103685269B (en) | A kind of web browser carries out the method and system of both-way communication with server | |
CN102591724B (en) | Method and device for information interaction | |
TWI513257B (en) | Graphic sharing method, system and terminal | |
CN103460670A (en) | Methods and systems for a remote desktop session utilizing a http handler and a remote desktop client common interface | |
CN106464535A (en) | Methods and systems for managing capacity in a virtualized network | |
WO2011137788A1 (en) | Device management method, middleware, and machine-to-machine communication platform, device and system | |
CN103139039A (en) | Virtual network capable of achieving flow isolation control and construction method | |
CN101388903B (en) | Mobile enterprise IT standardization management platform | |
CN102209111B (en) | Open cross-platform system for cloud computing mobile network terminal equipment | |
CN103179027A (en) | Method and system for realizing compatibility of electrical appliance, and universal peripheral access gateway | |
JP2010231759A (en) | Mobile terminal device including mobile cloud platform | |
CN102469023A (en) | Dispatching method, unit and system based on cloud computing | |
CN103096271A (en) | Information pushing system and information pushing method | |
CN102316129B (en) | Method of data exchange between embedded device and remote database |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130227 |