CN105045567A - Method of development based on mixed-mode cross-platform mobile application - Google Patents

Method of development based on mixed-mode cross-platform mobile application Download PDF

Info

Publication number
CN105045567A
CN105045567A CN201510151022.2A CN201510151022A CN105045567A CN 105045567 A CN105045567 A CN 105045567A CN 201510151022 A CN201510151022 A CN 201510151022A CN 105045567 A CN105045567 A CN 105045567A
Authority
CN
China
Prior art keywords
mobile
platform
data
storehouse
page
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
CN201510151022.2A
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.)
GUIZHOU GUANGSI INFORMATION NETWORK CO., LTD.
Information Center of Guizhou Power Grid Co Ltd
Original Assignee
Information & Communication Branch Of Guizhou Grid Co
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 Information & Communication Branch Of Guizhou Grid Co filed Critical Information & Communication Branch Of Guizhou Grid Co
Priority to CN201510151022.2A priority Critical patent/CN105045567A/en
Publication of CN105045567A publication Critical patent/CN105045567A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method of development based on a mixed-mode cross-platform mobile application. The method comprises setting a JS database between a mobile application layer and a mobile platform when the mobile application layer acquires remote page information from different mobile platforms, to make a page interact with the mobile application layer. According to the method, a remote page is creatively split into a page structure and data, the JS database provides assemblies and a layout method needed by the page structure, so the mobile application layer only needs to acquire data without the page structure when acquiring the remote page information, the needed data bulk when a system operates can be greatly reduced, and the mobile application layer can acquire remote pages through different mobile platforms because different engines corresponding to different mobile platforms are configured. The method of development based on a mixed-mode cross-platform mobile application is simple in principle, and operation frequency in a system and needed data can be greatly reduced.

Description

Based on the development approach of the cross-platform Mobile solution of mixed mode
Technical field
The present invention relates to a kind of development approach based on the cross-platform Mobile solution of mixed mode, belong to technical field of virtualization.
Background technology
Along with the development of mobile Internet, the intelligent mobile terminal such as mobile phone, panel computer becomes the important carrier of information, and under the trend of mobile, traditional business starts progressively to mobile service expansion, and the demand of enterprise application system mobile is also thereupon growing.
At present, man-to-man Development control area pattern is all located in electrical network business mobile application and development, result in the present situation that the mobile platform of enterprise's existence is little, many, assorted.
Man-to-man Development control area pattern, because producer is different, result in Technical Architecture and the complete disunity of standard, centralized management difficulty is large, there is greater risk in information security, and construction cycle length can be made, there is serious overlapping development problem, cause construction investment to be wasted greatly.
The unified management and control means of each operation system Mobile solution construction disappearance, information security and managing risk high.
Summary of the invention
The object of the invention is: provide a kind of development approach based on the cross-platform Mobile solution of mixed mode, the resource that can realize between different mobile platform and Mobile solution layer is mutual, to solve current existing technical matters.
Technical scheme of the present invention
Based on a development approach for the cross-platform Mobile solution of mixed mode, when Mobile solution layer obtains remote pages information by different mobile platform, adopt and a JS storehouse is set between Mobile solution layer and mobile platform, realize the page and Mobile solution layer is mutual.
In the aforesaid development approach based on the cross-platform Mobile solution of mixed mode, specific implementation process is: remote pages is split as data and page structure, page structure provides assembly needed for page structure and layout method by JS storehouse, and the ability of visit data, then in JS storehouse, the engine corresponding with mobile platform is set with between mobile platform, the browser corresponding with mobile platform and public function module is provided with in engine, when Mobile solution layer is wanted to obtain remote pages information, JS storehouse receives instruction and is passed in engine by instruction, the mobile platform corresponding with engine only obtains the data of long-range page, and data to be turned back in JS storehouse by former road and together with page structure corresponding with data in JS storehouse, show in Mobile solution layer.
In the aforesaid development approach based on the cross-platform Mobile solution of mixed mode, mobile platform comprises IOS, Androld and WindowsPhone.
Owing to have employed technique scheme, compared with prior art, the invention remote pages is split as page structure and data, and JS storehouse provides assembly needed for page structure and layout method, make Mobile solution layer when obtaining remote pages information, only need obtain data and without the need to obtaining page structure, greatly reduce system cloud gray model desired data amount, again by arranging for engine corresponding to different mobile platform, realize Mobile solution layer and moved the ability obtaining remote pages by different platform, the principle of the invention is simple, greatly reduce running frequency and the desired data of internal system.
Accompanying drawing explanation
Accompanying drawing 1 is principle of the invention schematic diagram.
Embodiment
Embodiments of the invention: a kind of development approach based on the cross-platform Mobile solution of mixed mode, as shown in drawings, when Mobile solution layer obtains remote pages information by different mobile platform, adopt and a JS storehouse is set between Mobile solution layer and mobile platform, realize the page and Mobile solution layer mutual, this Mobile solution layer is the mixed mode applications layer based on HTML5JSCSS3.
Specific implementation process is: remote pages is split as data and page structure, page structure provides assembly needed for page structure and layout method by JS storehouse, and the ability of visit data, then in JS storehouse, the engine corresponding with mobile platform is set with between mobile platform, the browser corresponding with mobile platform and public function module is provided with in engine, when Mobile solution layer is wanted to obtain remote pages information, JS storehouse receives instruction and is passed in engine by instruction, the mobile platform corresponding with engine only obtains the data of long-range page, and data to be turned back in JS storehouse by former road and together with page structure corresponding with data in JS storehouse, show in Mobile solution layer, wherein mobile platform comprises IOS, Androld and WindowsPhone.
It may be noted that, in the present embodiment, Mobile solution layer is the mixed mode applications layer based on HTML5JSCSS3;
JS storehouse provides assembly needed for page structure and layout method for JS storehouse, and the ability of visit data, wherein assembly is the basic configuration module (i.e. page structure) of remote pages, this JS of visit data ability storehouse itself has ability, and namely those skilled in the art complete the exploitation in JS storehouse after by the thinking of the present embodiment by prior art.
The engine corresponding from different mobile platform, the browser comprised in engine is the browser that different mobile platform is corresponding, this is prior art, the general module corresponding from different mobile platform is also prior art, and its both organic unities above-mentioned are just got up to realize the maintenance of greatly saving manpower and later stage in later stage programming by the present embodiment.
The present embodiment specific implementation process, if Mobile solution layer needs to obtain personal information by remote pages, first personal information is divided into personal information structure and personal information data, as shown in fig. 1 by means of arrows, Mobile solution layer sends instruction and penetrates in JS storehouse, extract in JS storehouse personal information structure assembly (namely in personal information as name, height, the arrangement mode of the data such as age in the page and the universal coding of itself), and simultaneously by personal information request of data by (in the present embodiment, mobile platform can comprise IOS from different mobile platform, Androld and WindowsPhone) in corresponding engine, arrange browser corresponding to different mobile platform and general module in engine, if be obtain remote pages information by this IOS mobile platform when obtaining personal information, then (in this engine, the browser corresponding with IOS mobile platform and general module are set by the engine corresponding with IOS, command signal first passes through browser by JS system, pass to general module again), then IOS mobile platform is entered, then IOS mobile platform completes and obtains personal information data Bing Anyuan road from remote pages and return and enter JS storehouse, and the personal information textural association corresponding with JS storehouse showing in Mobile solution layer, same principle, Mobile solution layer completes same operation by Androld and WindowsPhone mobile platform, thus complete the cross-platform Mobile solution of Mobile solution layer.
Same principle, the present embodiment also can realize Mobile solution layer obtains local resource ability by different Mobile solution platform, and its principle is consistent with acquisition remote pages information.

Claims (3)

1. the development approach based on the cross-platform Mobile solution of mixed mode, it is characterized in that: when Mobile solution layer obtains remote pages information by different mobile platform, adopt and a JS storehouse is set between Mobile solution layer and mobile platform, realize the page and Mobile solution layer is mutual.
2. the development approach based on the cross-platform Mobile solution of mixed mode according to claim 1, it is characterized in that: specific implementation process is: remote pages is split as data and page structure, page structure provides assembly needed for page structure and layout method by JS storehouse, and the ability of visit data, then in JS storehouse, the engine corresponding with mobile platform is set with between mobile platform, the browser corresponding with mobile platform and public function module is provided with in engine, when Mobile solution layer is wanted to obtain remote pages information, JS storehouse receives instruction and is passed in engine by instruction, the mobile platform corresponding with engine only obtains the data of long-range page, and data to be turned back in JS storehouse by former road and together with page structure corresponding with data in JS storehouse, show in Mobile solution layer.
3. the development approach based on the cross-platform Mobile solution of mixed mode according to claim 1, is characterized in that: mobile platform comprises IOS, Androld and WindowsPhone.
CN201510151022.2A 2015-04-01 2015-04-01 Method of development based on mixed-mode cross-platform mobile application Pending CN105045567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510151022.2A CN105045567A (en) 2015-04-01 2015-04-01 Method of development based on mixed-mode cross-platform mobile application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510151022.2A CN105045567A (en) 2015-04-01 2015-04-01 Method of development based on mixed-mode cross-platform mobile application

Publications (1)

Publication Number Publication Date
CN105045567A true CN105045567A (en) 2015-11-11

Family

ID=54452133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510151022.2A Pending CN105045567A (en) 2015-04-01 2015-04-01 Method of development based on mixed-mode cross-platform mobile application

Country Status (1)

Country Link
CN (1) CN105045567A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744652A (en) * 2013-12-19 2014-04-23 深圳市迈桥科技有限公司 Hybrid APP development method and device across mobile terminals

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744652A (en) * 2013-12-19 2014-04-23 深圳市迈桥科技有限公司 Hybrid APP development method and device across mobile terminals

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
孟凡宁等: "移动互联网应用跨平台开发研究", 《移动通信》 *
张露: "移动多平台跨平台开发工具集的设计与实现", 《中国优秀硕士学位论文全文数据库》 *
杨勇等: "移动互联网终端应用开发技术", 《中兴通讯技术》 *
潘志宏等: "基于HTML5跨平台移动应用的研究与实践", 《电脑知识与技术》 *

Similar Documents

Publication Publication Date Title
CN103164333B (en) Embedded device system WEB adjusting, measuring method and system, WEB server
CN105205105A (en) Data ETL (Extract Transform Load) system based on storm and treatment method based on storm
CN103985271A (en) Intelligent parking guiding system based on cloud internet of things
CN101853274A (en) Method for realizing interconnection of heterogeneous databases
CN106598620A (en) Code generation method and code generator
CN104915262A (en) Calibration system and method based on EXCEL data structure
CN102495730A (en) Dynamic and extendable web interface method
CN105447647A (en) Shield intelligent maintenance management system
CN105760272A (en) Monitoring background service customization method based on plug-in and system based on method
CN106909386A (en) A kind of cloud platform code continuous integrating method and system
CN102739447B (en) Method and system for configuring physical port of intelligent device of digitalized substation
CN102289745A (en) Method for realizing visual operation interface of ERP (Enterprise Resource Planning) system of power system
CN104750493A (en) Development method based on mixed mode cross-platform application
CN104750548A (en) Asynchronous request method based on mixed mode cross-platform application
CN105912723A (en) Storage method of custom field
CN103455662A (en) Distributed rendering system and distributed rendering method for dirty area graphs of power grids
CN105045567A (en) Method of development based on mixed-mode cross-platform mobile application
CN103235723A (en) Application software code extraction method based on abstract syntax tree and software product features
CN105677384A (en) System supporting information synchronization of organizations and users between different application systems
CN105487850A (en) Fully automatic module integration system and method based on component factory
CN104933658A (en) Public service system under mass data
CN103854138A (en) County region resource and environment information sharing and sustainable development decision making system based on SOA
CN103065218A (en) Method for achieving intelligentialized exhibition management system
CN103179203A (en) System for sharing data among heterogeneous autonomous systems in real time
CN105391789A (en) JSP template-based dynamic service realization method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160714

Address after: 550002 Guizhou Province, Guiyang city Nanming District Xinhua Road grand Vista C building 703

Applicant after: INFORMATION CENTER, GUIZHOU POWER GRID CO., LTD.

Applicant after: GUIZHOU GUANGSI INFORMATION NETWORK CO., LTD.

Address before: 550001 No. 38 South Ruijin Road, Yunyan District, Guizhou, Guiyang

Applicant before: INFORMATION & COMMUNICATION BRANCH OF GUIZHOU GRID COMPANY

RJ01 Rejection of invention patent application after publication

Application publication date: 20151111

RJ01 Rejection of invention patent application after publication