CN104123127A - Mobile software development universal platform - Google Patents

Mobile software development universal platform Download PDF

Info

Publication number
CN104123127A
CN104123127A CN201310151393.1A CN201310151393A CN104123127A CN 104123127 A CN104123127 A CN 104123127A CN 201310151393 A CN201310151393 A CN 201310151393A CN 104123127 A CN104123127 A CN 104123127A
Authority
CN
China
Prior art keywords
cell phone
platform
tree
phone software
software exploitation
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
CN201310151393.1A
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.)
BEIJING YUHE YONGTAI NETWORK TECHNOLOGY Co Ltd
Original Assignee
BEIJING YUHE YONGTAI NETWORK 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 BEIJING YUHE YONGTAI NETWORK TECHNOLOGY Co Ltd filed Critical BEIJING YUHE YONGTAI NETWORK TECHNOLOGY Co Ltd
Priority to CN201310151393.1A priority Critical patent/CN104123127A/en
Publication of CN104123127A publication Critical patent/CN104123127A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to the technical field of software development techniques, in particular to a mobile software development universal platform. A client responds to user operation requests, the mobile software development universal platform reads xml files with unified format standards in the requests, the xml files are analyzed, a tree structure is generated through the analyzed xml files, then traversal processing is carried out on each tree node in the tree structure, and a corresponding control is generated according to types and attributes of the tree nodes when traversal processing is carried out on the tree nodes; according to father, son and brother relations, child nodes are controlled by father nodes, and typesetting of brother nodes is achieved; a program interface is generated through the tree structure after traversal processing is conducted; finally the program interface is displayed to a mobile phone window of the client. According to the mobile software development universal platform, real local programs can be quickly developed; users can work out simple programs wanted by themselves on line; complicated interfaces and complicated logic can be achieved, and high efficiency is achieved.

Description

Cell phone software exploitation general-purpose platform
Technical field
The present invention relates to software development technique field, especially relate to cell phone software exploitation general-purpose platform.
Background technology
PhoneGap be one based on HTML, CSS and JavaScript, create the quick development platform of mobile cross-platform mobile applications.It makes developer can utilize iPhone, Android, Palm, Symbian, WP7, the Core Feature of Bada and Rlackberry smart mobile phone---comprise geo-location, accelerator, contact person, sound and vibration etc., PhoneGap has abundant plug-in unit in addition, can expand unlimited function with this.PhoneGap is free, but the Add-ons that it needs particular platform to provide, the iPhone SDK of for example iPhone, the Android SDK of Android etc., also can with the supporting exploitation of DW5.5.Use PhoneGap only slightly better than setting up respectively application program for each platform, although because basic code is the same, there is the defect that still needs to compile respectively for each platform application program.
Titanium is a web application running environment, and it supports different system platform (Windows, Linux, Mac), and supports the access of web application to local APIs.On based on Titanium platform, user can fast Development and disposing application program easily, and these application programs can be used local APIs to realize function and characteristic that many common web applications cannot complete.
WebApp refers to system and the application based on Web, and its effect is to issue a complex set of content and function to vast final user.From a simple webpage that helps consumer to calculate automobile rates, to the large complicated WEB website that a complete set of tourist service is provided for commercial staff and holiday maker, be all WebApp.It comprises the dedicated functions of some complete WEB websites, WEB website and the application of the information processing on Internet, Intranet or ExtraNet.WebApp framework is a kind of web application framework of simple and WSGI compatibility, can be used in conjunction with App Engine.Needn't use WebApp in order to use App Engine: the webserver is supported the Python application program of any use CGI.WebApp provides a kind of simple mode to start the developing application for App Engine.The difference of mobile terminal WebApp and WAP is exactly mainly functional plane.WAP more stresses to use web technologies to do and show in mobile terminal, comprises word, media file etc.And WebApp more stresses " function ", be the App that uses web technologies to realize.Generally speaking, WebApp runs on network and standard browser exactly, and based on web technologies, exploitation realizes the application of specific function.
WAP (Wireless Application Protocol) is WAP (wireless application protocol), is a global network communication protocol.WAP makes mobile Internet have a current standard, and its target is that the abundant information of Internet and advanced business are incorporated among the wireless terminals such as mobile phone.WAP defines platform that can be general, the information of the current online html language of Internet is converted to the information of describing with WML (Wireless Markup Language), is presented on the display screen of mobile phone.WAP only requires the support of mobile phone and WAP Proxy Server, and does not require that existing mobile communication network protocol does any change, thereby can be widely used in the multiple network such as GSM, CDMA, TDMA, 3G.
HTML (Hypertext Markup Language), html (Hypertext Markup Language), is a kind of markup language for describing web document.
Prior art cell phone software development platform mainly contains PhoneGap, Titanium and WebApp, and their ultimate principle is to utilize the web page browsing web browsing view control of mobile phone itself to show the interface designing, and is the same with the essence that shows the html page.Because the essence of prior art is to use the web page browsing web browsing view control of mobile phone itself to go to presentation program interface, is exactly display web page in fact, therefore can not realize complicated interface, complicated logic and higher efficiency.Also there is no at present effective solution.
Summary of the invention
Technical matters solved by the invention is to provide cell phone software exploitation general-purpose platform, xml file is converted to handset program interface by the present invention, or generation handset program, by the effect of the final program interface of form control of xml file, as long as deviser is familiar with the file of xml form, be familiar with predefined label, just can be as the design html page, the interface of designing program, by js script service control logic.
In order to solve the problems of the technologies described above, the invention provides cell phone software exploitation general-purpose platform, comprising:
Step 1: client end response user operation requests;
Step 2: cell phone software exploitation general-purpose platform receives the described request of described client;
Step 3: described cell phone software exploitation general-purpose platform reads the unified xml file of format standard in described request;
Step 4: described cell phone software exploitation general-purpose platform is resolved described xml file;
Step 5: described cell phone software exploitation general-purpose platform is by the tree-like structure of described xml file generated after resolving;
Step 6: each tree node described in described cell phone software exploitation general-purpose platform traversal processing in tree structure; Described in traversal processing, when tree node, described cell phone software exploitation general-purpose platform produces a corresponding control according to the type of described tree node and attribute; And described cell phone software exploitation general-purpose platform, according to father and son's brotherhood of described tree node, is realized the control of father node to child node, the typesetting between the brotgher of node;
Step 7: described cell phone software exploitation general-purpose platform is by the described tree structure generator program interface after traversal processing;
Step 8: described cell phone software exploitation general-purpose platform is shown to described program interface the mobile phone window of described client.
Preferably, between described tree node and described control by the static table of comparisons as conversion foundation.
More preferably, described traversal processing is called the whole described tree structure of read tree traversal, and then what described traversal processing first entered tree node described in stack top from the described tree node of root starts circulation.
More preferably, when described circulation starts, first eject tree node described in stack top, generate and browse view according to tree node described in stack top, then call the read current in described read tree, tree node described in stack top is all stacked.
More preferably, after browsing view described in generating, call the read parent in described read tree, the described view of browsing is joined to corresponding father and browse in view.
More preferably, according to the difference of cell phone platform, described cell phone software exploitation general-purpose platform provides different platform development bags.
More preferably, described cell phone platform comprises Android, Windows Phone and iPhone OS, but is not limited to this.
More preferably, described platform development handbag is drawn together Android platform development bag, Windows Phone platform development bag and iPhone OS platform development bag, but is not limited to this.
The difference of the present invention and prior art be program interface show principle different, the present invention show program interface be primary local program, utilization be the control of mobile phone self, be not simple html web displaying.Therefore can design complicated interface, complicated service logic, and there is the efficiency the same with local program.
Wherein, described xml is extend markup language (Extensible Markup Language), make it have structural markup language for electroactive marker son file, can be used for flag data, definition data type, be the source language that a kind of user of permission defines the markup language of oneself.XML is the subset of standard generalized markup language (SGML), is applicable to very much Web transmission.
Described Android is a kind of freedom based on Linux and the operating system of open source code, is mainly used in mobile device, as smart mobile phone and panel computer, by Google company and the open mobile phone leader of alliance and exploitation.Not yet have unified Chinese, the more people in CONTINENTAL AREA OF CHINA uses " Android " or " peace causes ".Android operating system is developed by Andy Rubin at first, mainly supports mobile phone.Registered capital in August, 2005 by Google purchase.In November, 2007, Google and 84 hardware manufacturer, software developer and telecommunications operators are set up open mobile phone alliance and are are jointly researched and developed improvement Android system.Google, with the increase income authorization of licence of Apache, has issued the source code of Android subsequently.First Android smart mobile phone is published in October, 2008.Described Android expands on panel computer and other field gradually, as TV, digital camera, game machine etc.
Described Windows Phone has the operating experience that desktop customizes, icon pulls, slides a series of fashions such as control.Its main screen, by providing the experience of similar instrumentation dish to show new Email, note, missed call, calendar appointment etc., allows people upgrade the important Information preservation moment.It also comprises the touch screen interface of an enhancing, more convenient finger manipulation; And the IE Mobile browser of a latest edition---this browser, in third party's investigation of being supported by Microsoft, is compared with mobile phone with other browser that participates in investigation, and the ratio that can carry out appointed task exceedes up to 48%.Be easy to the effort of finding out that Microsoft makes on user's operating experience, also represent and Steve-Bauer is silent: " brand-new Windows mobile phone rolls into one the advantage of network, PC and mobile phone, allows people can enjoy the experience of wanting whenever and wherever possible.
Described iPhone OS is to be the operating system of iPhone exploitation by Apple.It is mainly to use to iPhone and iPod touch.Just as its based on Mac OS X operating system, it also taking Darwin as basis.The system architecture of iPhone OS is divided into four levels: kernel operating system layer (the Core OS layer), kernel service layer (the Core Services layer), Media layer (the Media layer), can touch layer (the Cocoa Touch layer).System operation takies the storage space of general 512MB.
Described stack is as a kind of data structure, is a kind of can only at one end insertion and the Special Linear table of deletion action.It is according to the principle storage data that last in, first out, and at the bottom of the data that are introduced into are pressed into stack, last data, in stack top, start to eject data (last data is read out by first) from stack top when needing read data.Stack has memory effect, in insertion and deletion action to stack, does not need to change bottom of stack pointer.Stack is to allow to insert in same one end and the Special Linear table of deletion action.Allow to insert and one end of deletion action is called stack top (top), the other end is (bottom) at the bottom of stack; At the bottom of stack, fix, and stack top is floated; In stack, element number is to be called empty stack at 1 o'clock.Insertion is commonly referred to as push on (PUSH), deletes to be called and moves back stack (POP).Stack is also referred to as last-in first-out list.Stack could be used for store breakpoint in function call, while doing recurrence, will use stack!
The present invention compared with prior art, has following beneficial effect:
The invention provides cell phone software exploitation general-purpose platform, this Platform Designing goes out a set of xml specification and shows that xml becomes the engine of program interface, can send the local handset program that is not web displaying by fast open, but real local program; Can allow online user design the simple program of oneself wanting; Can realize the logic of complicated interface, complexity and there is higher efficiency.
Brief description of the drawings
Fig. 1 exemplarily shows cell phone software exploitation general-purpose platform process flow diagram.
Embodiment
For the technical scheme of understanding better technical matters solved by the invention, providing, below in conjunction with drawings and Examples, the present invention is further elaborated.Specific embodiment described herein is only in order to explain enforcement of the present invention, but is not intended to limit the present invention.
In a preferred embodiment, Fig. 1 exemplarily shows cell phone software exploitation general-purpose platform flow process;
S1: client end response user operation requests;
S2: cell phone software exploitation general-purpose platform receives the described request of described client;
S3: described cell phone software exploitation general-purpose platform reads the unified xml file of format standard in described request;
S4: described cell phone software exploitation general-purpose platform is resolved described xml file;
S5: described cell phone software exploitation general-purpose platform is by the tree-like structure of described xml file generated after resolving;
S6: each tree node described in described cell phone software exploitation general-purpose platform traversal processing in tree structure; Described in traversal processing, when tree node, described cell phone software exploitation general-purpose platform produces a corresponding control according to the type of described tree node and attribute; And described cell phone software exploitation general-purpose platform, according to father and son's brotherhood of described tree node, is realized the control of father node to child node, the typesetting between the brotgher of node;
S7: described cell phone software exploitation general-purpose platform is by the described tree structure generator program interface after traversal processing;
S8: described cell phone software exploitation general-purpose platform is shown to described program interface the mobile phone window of described client.
In the embodiment being more preferably, between described tree node and described control by the static table of comparisons as conversion foundation.
In the embodiment being more preferably, described traversal processing is called the whole described tree structure of read tree traversal, and then what described traversal processing first entered tree node described in stack top from the described tree node of root starts circulation.
In the embodiment being more preferably, when described circulation starts, first eject tree node described in stack top, generate and browse view according to tree node described in stack top, then call the read current in described read tree, tree node described in stack top is all stacked.
In the embodiment being more preferably, after browsing view described in generating, call the read parent in described read tree, the described view of browsing is joined to corresponding father and browse in view.
In the embodiment being more preferably, according to the difference of cell phone platform, described cell phone software exploitation general-purpose platform provides different platform development bags, when developer uses, only need to simply quote different described platform development bags.
In the embodiment being more preferably, described cell phone platform comprises Android, Windows Phone and iPhone OS, but is not limited to this.
In the embodiment being more preferably, described platform development handbag is drawn together Android platform development bag, Windows Phone platform development bag and iPhone OS platform development bag, but is not limited to this.
More than by the detailed description of preferred embodiment the present invention; but those skilled in the art should be understood that; the present invention is not limited to the above embodiment; all within ultimate principle of the present invention; any amendment of doing, combine and be equal to replacement etc., within being all included in protection scope of the present invention.

Claims (8)

1. cell phone software exploitation general-purpose platform, is characterized in that, comprising:
Step 1: client end response user operation requests;
Step 2: cell phone software exploitation general-purpose platform receives the described request of described client;
Step 3: described cell phone software exploitation general-purpose platform reads the unified xml file of format standard in described request;
Step 4: described cell phone software exploitation general-purpose platform is resolved described xml file;
Step 5: described cell phone software exploitation general-purpose platform is by the tree-like structure of described xml file generated after resolving;
Step 6: each tree node described in described cell phone software exploitation general-purpose platform traversal processing in tree structure; Described in traversal processing, when tree node, described cell phone software exploitation general-purpose platform produces a corresponding control according to the type of described tree node and attribute; And described cell phone software exploitation general-purpose platform, according to father and son's brotherhood of described tree node, is realized the control of father node to child node, the typesetting between the brotgher of node;
Step 7: described cell phone software exploitation general-purpose platform is by the described tree structure generator program interface after traversal processing;
Step 8: described cell phone software exploitation general-purpose platform is shown to described program interface the mobile phone window of described client.
2. cell phone software according to claim 1 exploitation general-purpose platform, is characterized in that, between described tree node and described control by the static table of comparisons as the foundation of changing.
3. cell phone software exploitation general-purpose platform according to claim 1, it is characterized in that, described traversal processing is called the whole described tree structure of read tree traversal, and then what described traversal processing first entered tree node described in stack top from the described tree node of root starts circulation.
4. cell phone software exploitation general-purpose platform according to claim 3, it is characterized in that, when described circulation starts, first eject tree node described in stack top, generate and browse view according to tree node described in stack top, then call the read current in described read tree, tree node described in stack top is all stacked.
5. cell phone software exploitation general-purpose platform according to claim 4, is characterized in that, after browsing view described in generating, calls the read parent in described read tree, the described view of browsing is joined to corresponding father and browse in view.
6. cell phone software exploitation general-purpose platform according to claim 1, is characterized in that, according to the difference of cell phone platform, described cell phone software exploitation general-purpose platform provides different platform development bags.
7. cell phone software exploitation general-purpose platform according to claim 6, is characterized in that, described cell phone platform comprises Android, Windows Phone and iPhone OS.
8. cell phone software exploitation general-purpose platform according to claim 6, is characterized in that, described platform development handbag is drawn together Android platform development bag, Windows Phone platform development bag and iPhone OS platform development bag.
CN201310151393.1A 2013-04-27 2013-04-27 Mobile software development universal platform Pending CN104123127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310151393.1A CN104123127A (en) 2013-04-27 2013-04-27 Mobile software development universal platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310151393.1A CN104123127A (en) 2013-04-27 2013-04-27 Mobile software development universal platform

Publications (1)

Publication Number Publication Date
CN104123127A true CN104123127A (en) 2014-10-29

Family

ID=51768553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310151393.1A Pending CN104123127A (en) 2013-04-27 2013-04-27 Mobile software development universal platform

Country Status (1)

Country Link
CN (1) CN104123127A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577509A (en) * 2017-08-28 2018-01-12 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable recording medium for loading application interface
CN110597512A (en) * 2019-08-23 2019-12-20 华为技术有限公司 Method for displaying user interface and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334728A (en) * 2008-07-28 2008-12-31 北京航空航天大学 Interface creating method and platform based on XML document description
CN101887370A (en) * 2010-07-23 2010-11-17 北京数码大方科技有限公司 Method and device for creating system user interface
CN102375733A (en) * 2010-08-24 2012-03-14 北大方正集团有限公司 Convenient and quick interface arrangement method
CN102654833A (en) * 2012-02-01 2012-09-05 中兴通讯(香港)有限公司 Mobile phone application development method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334728A (en) * 2008-07-28 2008-12-31 北京航空航天大学 Interface creating method and platform based on XML document description
CN101887370A (en) * 2010-07-23 2010-11-17 北京数码大方科技有限公司 Method and device for creating system user interface
CN102375733A (en) * 2010-08-24 2012-03-14 北大方正集团有限公司 Convenient and quick interface arrangement method
CN102654833A (en) * 2012-02-01 2012-09-05 中兴通讯(香港)有限公司 Mobile phone application development method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577509A (en) * 2017-08-28 2018-01-12 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable recording medium for loading application interface
CN110597512A (en) * 2019-08-23 2019-12-20 华为技术有限公司 Method for displaying user interface and electronic equipment
CN110597512B (en) * 2019-08-23 2022-04-08 荣耀终端有限公司 Method for displaying user interface and electronic equipment

Similar Documents

Publication Publication Date Title
US10726195B2 (en) Filtered stylesheets
US10091628B2 (en) Message based application state and card sharing methods for user devices
US20220237717A1 (en) Property management method and property management system and machine using the same
US11249734B2 (en) Tri-affinity model driven method and platform for authoring, realizing, and analyzing a cross-platform application
US8627204B2 (en) Custom optimization of web pages
US10088980B2 (en) Method and system for providing menu data for mobile applications
US9645989B2 (en) Techniques to generate custom electronic forms using custom content
CN105335132B (en) Method, device and system for customizing application program function
CN107258072B (en) Method and system for managing conversation content of chat software and recording medium
CN106533926B (en) Webpage information spreading method and device
CN102253986A (en) Method and device for improving webpage displaying effect in multiple terminals
US20120233560A1 (en) Method for managing widgets in an electronic device to improve the user experience of the device
CN115309470A (en) Method, device and equipment for loading widgets and storage medium
CN103150172A (en) Method and equipment for realizing individual scene
CN104123127A (en) Mobile software development universal platform
CN107918552B (en) Light application calling method and device, client device and electronic equipment
CA2945505C (en) Electronic device and method of searching data records
CN105989046A (en) Website display method and system and user terminal
CN103970513A (en) Source data information access method and platform
CN113961279A (en) Page rendering method, device, server and storage medium
CN113608737A (en) Page generation method, device, equipment and medium
Rachovski et al. Conceptual model of an application for automated generation of webpage mobile versions
CN113778386B (en) Component generation method and device, storage medium and electronic equipment
CN114020309B (en) Method, device and storage medium for constructing multi-page application through webpack
Hu et al. Location-Based Services Design and Implementation Using Android Platforms

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: 20141029

RJ01 Rejection of invention patent application after publication