CN103617064A - Improved method for updating mobile client product - Google Patents

Improved method for updating mobile client product Download PDF

Info

Publication number
CN103617064A
CN103617064A CN201310666240.0A CN201310666240A CN103617064A CN 103617064 A CN103617064 A CN 103617064A CN 201310666240 A CN201310666240 A CN 201310666240A CN 103617064 A CN103617064 A CN 103617064A
Authority
CN
China
Prior art keywords
template
module
mobile client
interface
container
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
CN201310666240.0A
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 58 Information Technology Co Ltd
Original Assignee
Beijing 58 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 Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201310666240.0A priority Critical patent/CN103617064A/en
Publication of CN103617064A publication Critical patent/CN103617064A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an improved method for updating a mobile client product. A mobile client comprises a template pulling module, a template analyzing module and an interface module. The improved method for updating the mobile client product comprises the following steps that (1) the template pulling module pulls a template from a server according to service types; (2) the template analyzing module carries out analysis operation on the pulled template on the mobile client to accomplish interface building operation, container addition operation and interface initialization operation, wherein the analysis operation includes that a form item of the template is analyzed in a recursion mode, traversal is carried out on components in a container, the style, attributes and an initial value are set, and event monitoring is set; (3) the mobile client which is analyzed and updated is displayed on a user interface through the interface module. According to the improved method for updating the mobile client product, the problem that service adjustment and the changes of the UI are frequent can be well solved by a mobile APP, and therefore automatic update, without manual upgrade of a user, of the service of the mobile App client and the UI can be achieved.

Description

A kind of method that improved mobile client product upgrades
Technical field
The present invention relates to the client software technical field of mobile Internet, a kind of method that particularly mobile client product upgrades.
Background technology
Mobile APP is to the business of internet or wireless network card business and the application program of developing for this mobile link of mobile phone.Only as the cooperation forms of a kind of third party application, participate in and go in internet business activity at the beginning, but along with internet Opening more and more, in addition mobile APP has the carry-on property at any time based on mobile phone, interactive feature, and mobile App can integrate the new technologies such as LBS, QR, AR, so can bring unprecedented user to experience to user.And along with constantly exploding of smart phone user quantity, the development of mobile App is obvious to all.
For current mobile App, mobile terminal APP product with flash air technological development, for the App product of traditional web client and mobile web technology, need solution too frequent for interface changes in demand, business demand changes the frequent upgrade problem of product that too serious two aspects are brought.At present, for the upgrading of mobile App, be mainly to point out user to upgrade by software supplier, user downloads and updating client voluntarily.To user, be not only the thing of trouble, and it is chaotic easily to cause version to distribute, and brings larger maintenance cost.And renewal exploitation code each time, all may make client product produce other unknown BUG, causes user to experience decline.
Therefore, need a kind of method that solves mobile client mobile requirement, reduce the trouble that the frequent upgrading due to mobile terminal product brings to user, in the renewal without guaranteeing mobile terminal product when making the frequent updating client software of user, thereby realize the automatic renewal of manually upgrading without user to the business of mobile App client and UI, reduce user's use complexity, improve user's experience.
Summary of the invention
The object of this invention is to provide a kind of method that improved mobile client product upgrades.
According to an aspect of the present invention, a kind of method that provides improved mobile client product to upgrade, described mobile client comprises that template pulls module, template parsing module and interface module, described method comprises the steps:
A) described template pulls module and from server, pulls template according to type of service;
B) described template parsing module carries out parse operation to the described template pulling in described mobile client, completing interface builds, container adds, and the initialized operation in interface, wherein said parse operation comprises: the form item of template described in recursion resolution, travel through the assembly in described container, pattern, attribute, initial value are set, and action listener is set;
C) by described interface module, the mobile client after the renewal after resolving is shown in user interface.
Preferably, in described step a), when user starts corresponding business module, described template pulls the module pair described template corresponding with this business module and pulls.
Preferably, described form item comprises described container, by described container, the size of described assembly and position is changed.
Preferably, the described assembly in described container comprises at least one in text input frame, button, picture.
Preferably, described pattern is the controllable appearance of described assembly, comprises background colour, transparency and back gauge.
Preferably, the content of described attribute comprises: the x of described assembly, y coordinate, represents whether described assembly can be clicked and editable information whether.
Preferably, described initial value represents the acquiescence displaying contents in described assembly.
Preferably, the described action listener that arranges is the method that builds event handling, and described action listener is for responding the specific partly or entirely triggering of event, includes but not limited to user's button click, clicks input frame, revises word and gesture operation.
The present invention can make mobile APP well solve frequent business reorganization and UI variation issue, thereby can realize the automatic renewal of manually upgrading without user to the business of mobile App client and UI.
Accompanying drawing explanation
With reference to the accompanying drawing of enclosing, the more object of the present invention, function and advantage are illustrated the following description by embodiment of the present invention, wherein:
Fig. 1 has schematically shown and has utilized system chart of the present invention.
Fig. 2 has schematically shown the method flow diagram of the mobile client product renewal of a modification of the present invention.
Embodiment
By reference to one exemplary embodiment, object of the present invention and function and will be illustrated for realizing the method for these objects and function.Yet the present invention is not limited to following disclosed one exemplary embodiment; Can to it, be realized by multi-form.The essence of instructions is only to help various equivalent modifications Integrated Understanding detail of the present invention.
Hereinafter, embodiments of the invention will be described with reference to the drawings.In the accompanying drawings, identical Reference numeral represents same or similar parts, or same or similar step.
Fig. 1 has schematically shown the system chart that moves mobile client update method of the present invention.As shown in Figure 1:
Utilize the system 100 of mobile client update method of the present invention to comprise mobile client 110, network 120 and server 130.Wherein, mobile client comprises that template pulls module 111, template parsing module 112, and interface module 113.
Mobile client 110 can be through carrying out two-way communication between the network 120 of any type and server 130.Described network 120 for example comprises LAN (Local Area Network) (" LAN ") and the wide area network such as internet (" WAN ") such as Intranet.Network 120 can be configured to support to utilize various protocols that the transmission of the information of form is set.In addition, network 120 can be public network, dedicated network or its combination.Network 120 can also utilize any or polytype physical medium to realize, comprising the wired communication path and the wireless communications path that are associated with a plurality of service providers.Communication is WiFi or WLAN, GPRS, cellular network, for example GSM network, 3G network, LTE network or cdma network etc. for example.
Mobile client 110 preferably operates in the computer hardware terminal with mobile and computing function in the mode of mobile APP software.Described mobile APP is to the business of internet or wireless network card business and the application program of developing for this mobile link of mobile terminal.Described computer hardware terminal can be desk-top computer, laptop computer, smart phone, personal digital assistant (PDA), panel computer, game machine, Multi-featured Mobile Terminal or comprise computing function and any other equipment of its communication ability.
Template pulls module 111 and from server 130, pulls new template for client 110.Template content is such as comprising service fields, field attribute, interface layout information, interface chamber, interface chamber event information etc.And template pulls module 111 and pulls template according to type of service.Type of service is for example: house property, used car, Yellow Page, rent a house, second-hand house, factory building, office building, retail shop etc.When user starts corresponding business module, template pulls module 111 can pull the template corresponding with this business module.For example, if user wishes to issue the information of renting a house, and clicked " renting a house " module, triggering business pulls module 111 and from the template base 131 of server 130, pulls the template of " renting a house " module.
Template parsing module 112 is for the masterplate newly pulling is resolved, and build at the interface that can complete the mobile client to upgrading by resolving, and container adds, and interface initialization, action listener etc.
The client shows of the renewal that interface module 113 can obtain parsing is in user interface.
Server 130 comprises template library 131, stores the masterplate that relates to different update business pulling for mobile client 110 in template library, and template base 131 is according to level (corresponding to the level of the type of service) storing template of business classification and masterplate.The method according to this invention, the masterplate that operating personnel only need upgrade in template library 131 can complete the renewal process to mobile client 110.
The template comprising in template library 131 is divided into two kinds, and the first is service template, and each business masterplate only has a unique masterplate file with it with city; The second is the issue template of concrete business, has how many business classification just to have how many issue templates, and each business classification is all one to one with its issue mould plate.For example, " renting a house " issuing function of using for user, three types that can comprise according to the business of renting a house in template library, " whole rent ", " sharing " and " second-hand house " provide three different service distribution masterplates, corresponding one by one with this issuing function.
Preferably, each service template and concrete service distribution template are stored with following structure in server 130:
A. business masterplate
Category: corresponding business classification;
Cname: the display name of business;
Cid: be that this business is issued template numbering one to one;
Cversion: be the latest edition this shop in contrast issue template.
B. service distribution masterplate
Version: be the latest edition this shop in contrast service template, in order to guarantee that file is up-to-date;
Forms: the beginning label of resolution interface can be resolved as father container in resolving code;
Form: can be resolved in resolving code as lateral container;
Item: sub-component;
Type: the class title of sub-component;
Pro: the attribute of sub-component;
Event: the event of sub-component;
Style: the pattern of sub-component.
Fig. 2 has schematically shown the method flow diagram that a kind of mobile client according to the present invention is upgraded.As shown in Figure 2:
Step 210, template pulls module 111 and from server 130, pulls template according to type of service.When user starts corresponding business module, template pulls module 111 can pull the template corresponding with this business module.
Step 220, template parsing module 112 is resolved the template newly pulling in mobile client 110, completes interface and builds, and container adds, and the operation such as interface initialization.Concrete steps are as follows:
A) recursion resolution template table individual event.Template parsing module 112, by resolving the form item in template, can upgrade interface layout and the navigation of mobile client 110.Form item comprises container, and container provides a kind of hierarchical structure mechanism that can flexible topology's assembly, by container, can change the size of assembly and position.
For example, under the Flex development platform based on Adobe Macromedia Flash, conventionally there is the container of two kinds of forms: layout and navigation.Layout container is used for layout container and other container, such as: Panel, Group, Form, FormItem, Box, Canvas, Tile etc.; Navigation container is used for controlling the navigation of sub-container, such as: Accordion, TabNavigator, ViewStack, TabBar, LinkBar etc.
B) assembly in traversal container.Template parsing module 112 is resolved one by one and is upgraded each assembly in container in template.For example, under the Flex development platform based on Adobe Macromedia Flash, can obtain container by [flash.utils.getDefinitionByName (type)] mode.Assembly is exactly interface visualized container, such as in text input frame, button, picture at least one etc.
C) pattern, attribute, initial value are set.
By resolving the style information in template, come more background colour, the transparency of New Parent, the controllable appearances such as back gauge.Resolve the assignment mode of the style information in template, for example, Flex assembly pattern [key]=value;
By resolving the attribute information in template, adjust the x of assembly, y coordinate, whether width, highly, can click, editor etc., resolves the assignment mode of the attribute information in template, for example, Flex component property [key]=value;
By resolving the initial default value information in template, carry out more existing displaying contents in New Parent.For example, while upgrading showing interface existing displaying contents in text input frame.Resolve the assignment mode of the initial default value information in template, for example, Flex assembly default value [key]=value.And, for the initial default value of resolving in template, can be by using textInput.text mode directly to arrange.
D) action listener is set.By action listener is set, can be according to the event listening to, the operation responding.Action listener is to be the method that builds event handling for responding the specific partly or entirely triggering of event, action listener being set.Described event includes but not limited to user's button click, clicks input frame, revises word, gesture operation (as page turning, slip screen) etc.For example, under the Flex development platform based on Adobe Macromedia Flash, the listening mode of action listener for example, the peculiar event addEventListener of Flex assembly.
Step 230, is shown to the mobile client after the renewal after resolving in user interface by interface module 113.
The present invention can make mobile APP well solve frequent business reorganization and UI variation issue, thereby can realize the automatic renewal of manually upgrading without user to the business of mobile App client and UI.
In conjunction with the explanation of the present invention and the practice that disclose here, other embodiment of the present invention are easy to expect and understand for those skilled in the art.Illustrate with embodiment and be only considered to exemplary, true scope of the present invention and purport limit by claim.

Claims (8)

1. the method that improved mobile client product upgrades, described mobile client comprises that template pulls module, template parsing module and interface module, described method comprises the steps:
A) described template pulls module and from server, pulls template according to type of service;
B) described template parsing module carries out parse operation to the described template pulling in described mobile client, completing interface builds, container adds, and the initialized operation in interface, wherein said parse operation comprises: the form item of template described in recursion resolution, travel through the assembly in described container, pattern, attribute, initial value are set, and action listener is set;
C) by described interface module, the mobile client after the renewal after resolving is shown in user interface.
2. method according to claim 1, is characterized in that, in described step a), when user starts corresponding business module, described template pulls the module pair described template corresponding with this business module and pulls.
3. method according to claim 1, is characterized in that, described form item comprises described container, by described container, the size of described assembly and position is changed.
4. method according to claim 1, is characterized in that, the described assembly in described container comprises at least one in text input frame, button, picture.
5. method according to claim 1, is characterized in that, described pattern is the controllable appearance of described assembly, comprises background colour, transparency and back gauge.
6. method according to claim 1, is characterized in that, the content of described attribute comprises: the x of described assembly, y coordinate, represents whether described assembly can be clicked and editable information whether.
7. method according to claim 1, is characterized in that, described initial value represents the acquiescence displaying contents in described assembly.
8. method according to claim 1, it is characterized in that, the described action listener that arranges is the method that builds event handling, described action listener is for responding the specific partly or entirely triggering of event, includes but not limited to user's button click, clicks input frame, revises word and gesture operation.
CN201310666240.0A 2013-12-09 2013-12-09 Improved method for updating mobile client product Pending CN103617064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310666240.0A CN103617064A (en) 2013-12-09 2013-12-09 Improved method for updating mobile client product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310666240.0A CN103617064A (en) 2013-12-09 2013-12-09 Improved method for updating mobile client product

Publications (1)

Publication Number Publication Date
CN103617064A true CN103617064A (en) 2014-03-05

Family

ID=50167767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310666240.0A Pending CN103617064A (en) 2013-12-09 2013-12-09 Improved method for updating mobile client product

Country Status (1)

Country Link
CN (1) CN103617064A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023086A (en) * 2014-06-25 2014-09-03 北京奇艺世纪科技有限公司 WEB cluster code updating method, device and system
CN106686200A (en) * 2015-11-09 2017-05-17 五八同城信息技术有限公司 Mobile application program updating method, mobile terminal and updating system
CN106775836A (en) * 2016-11-29 2017-05-31 腾讯科技(深圳)有限公司 Interface display method and interface display apparatus
CN107172218A (en) * 2017-07-19 2017-09-15 荷花科技(北京)有限公司 The integrated approach of artificial intelligence program, device and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1487446A (en) * 2003-06-24 2004-04-07 深圳市华磊网络技术有限公司 Method for the server and to supply user's interface for Internet explorer client end
CN101877716A (en) * 2010-03-10 2010-11-03 艾默生网络能源有限公司 Customization method for configuration template, display method for configuration template and server
CN102096715A (en) * 2011-02-11 2011-06-15 深圳市同洲电子股份有限公司 Method and system for acquiring webpage template, and method and system for generating single website
CN101420453B (en) * 2008-12-10 2011-08-10 中国电信股份有限公司 Customer terminal webpage representation implementing method used for enterprise information push application
CN102455903A (en) * 2010-10-29 2012-05-16 卓望数码技术(深圳)有限公司 Method for generating user application interface
CN102855142A (en) * 2012-09-24 2013-01-02 广东华大集成技术有限责任公司 Client architecture based on RIA (rich internet applications) and implementation method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1487446A (en) * 2003-06-24 2004-04-07 深圳市华磊网络技术有限公司 Method for the server and to supply user's interface for Internet explorer client end
CN101420453B (en) * 2008-12-10 2011-08-10 中国电信股份有限公司 Customer terminal webpage representation implementing method used for enterprise information push application
CN101877716A (en) * 2010-03-10 2010-11-03 艾默生网络能源有限公司 Customization method for configuration template, display method for configuration template and server
CN102455903A (en) * 2010-10-29 2012-05-16 卓望数码技术(深圳)有限公司 Method for generating user application interface
CN102096715A (en) * 2011-02-11 2011-06-15 深圳市同洲电子股份有限公司 Method and system for acquiring webpage template, and method and system for generating single website
CN102855142A (en) * 2012-09-24 2013-01-02 广东华大集成技术有限责任公司 Client architecture based on RIA (rich internet applications) and implementation method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023086A (en) * 2014-06-25 2014-09-03 北京奇艺世纪科技有限公司 WEB cluster code updating method, device and system
CN104023086B (en) * 2014-06-25 2017-08-25 北京奇艺世纪科技有限公司 A kind of WEB cluster codes update method, apparatus and system
CN106686200A (en) * 2015-11-09 2017-05-17 五八同城信息技术有限公司 Mobile application program updating method, mobile terminal and updating system
CN106686200B (en) * 2015-11-09 2020-01-31 五八同城信息技术有限公司 Mobile application program updating method, mobile terminal and updating system
CN106775836A (en) * 2016-11-29 2017-05-31 腾讯科技(深圳)有限公司 Interface display method and interface display apparatus
CN106775836B (en) * 2016-11-29 2020-01-10 腾讯科技(深圳)有限公司 Interface display method and interface display device
CN107172218A (en) * 2017-07-19 2017-09-15 荷花科技(北京)有限公司 The integrated approach of artificial intelligence program, device and system

Similar Documents

Publication Publication Date Title
CN103543993B (en) Application builds method and system
CN102541527B (en) Hovertip system and method
US10565293B2 (en) Synchronizing DOM element references
CN107391134B (en) Method and device for automatically generating and dynamically transforming universal mobile application interactive interface
CN105528418B (en) A kind of design documentation generation method and device
US9400856B2 (en) System and method for generating a lighting plan
CN103617064A (en) Improved method for updating mobile client product
US20160103568A1 (en) E-menu service method using web editor and system therefor
WO2014045826A1 (en) Web server system, dictionary system, dictionary call method, screen control display method, and demonstration application generation method
CN102970657A (en) Systems and methods for sharing group status within a social network
CN103412748A (en) Display control method, device and system for user interface of embedded platform
CN106354490A (en) Dynamic layout method for EPG page
CN103646023A (en) Page and control increasing method based on WEB
CN104951311A (en) Page making method and device
CN103810292A (en) Method and device for configuring graphical interface
US20160275299A1 (en) Verification and access control for industry-specific solution package
CN114327458A (en) Method and system for quickly building enterprise informatization system
CN105573769B (en) A kind of manufacture of cement remotely monitors visual configuration method and apparatus
US20180004374A1 (en) Process visualization toolkit
CN113515275A (en) WYSIWYG cloud industrial configuration software system and development method thereof
US8635525B2 (en) Systems, methods and computer readable media for creating and updating electronic documents
CN102096715A (en) Method and system for acquiring webpage template, and method and system for generating single website
CN109086042B (en) Business interface development method based on operator and control
JP6304433B2 (en) Information processing apparatus, server, processing method thereof, and program
CN105373310A (en) Method and device for updating pages in real time based on user operations

Legal Events

Date Code Title Description
PB01 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: 20140305

RJ01 Rejection of invention patent application after publication