CN106843861A - Application interface layout updates method and device - Google Patents

Application interface layout updates method and device Download PDF

Info

Publication number
CN106843861A
CN106843861A CN201710008468.9A CN201710008468A CN106843861A CN 106843861 A CN106843861 A CN 106843861A CN 201710008468 A CN201710008468 A CN 201710008468A CN 106843861 A CN106843861 A CN 106843861A
Authority
CN
China
Prior art keywords
application interface
information
interface
topology file
layout
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
CN201710008468.9A
Other languages
Chinese (zh)
Inventor
绂瑰嘲
禹峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen City Love Lifeng Technology Co Ltd
Original Assignee
Shenzhen City Love Lifeng Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen City Love Lifeng Technology Co Ltd filed Critical Shenzhen City Love Lifeng Technology Co Ltd
Priority to CN201710008468.9A priority Critical patent/CN106843861A/en
Publication of CN106843861A publication Critical patent/CN106843861A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The present invention relates to application interface layout field, more particularly to a kind of application interface layout updates method and device.The application interface layout updates method that the present invention is provided is comprised the following steps:Obtain the topology file corresponding to application interface layout;Parse the topology file;According to analysis result, corresponding interface content is downloaded, and be showed in the application interface;The application interface layout updates method that the present invention is provided includes:Acquiring unit, for obtaining the topology file corresponding to application interface layout;Resolution unit, for parsing the topology file;Display unit, according to analysis result, downloads corresponding interface content, and be showed in the application interface.It is an advantage of the invention that apply in application interface layout updates, the topology file being analyzed and acquired by, and download correspondence interface content and be showed in application interface, application is updated without user, lift Consumer's Experience.

Description

Application interface layout updates method and device
Technical field
The present invention relates to application interface layout field, more particularly to a kind of application interface layout updates method and device.
Background technology
With the continuous progress of science and technology, digital product has become an indispensable part in people's life, and number is produced Various novel applications are also increasingly enriched in product, in order to be able to be won in fierce industry competition, just it is necessary to have more preferable Consumer's Experience.The application interface of existing application is combined together with software function, and in adjustment, user is accomplished by right application interface Using being updated, cause poor user experience.
The content of the invention
The main object of the present invention to provide a kind of application interface layout updates method and device, apply and applying boundary by solution During the layout updates of face, the topology file being analyzed and acquired by, and download correspondence interface content be showed in application interface, without to application The problem being updated, lifts Consumer's Experience.
The present invention proposes a kind of application interface layout updates method, comprises the following steps:
Obtain the topology file corresponding to application interface layout;Parse the topology file;According to analysis result, it is right to download The interface content answered, and it is showed in the application interface.
Further, the topology file is parsed, the recommendation position information in the topology file, recommendation position letter is obtained Breath only includes an interface element, and the interface element includes picture, video, the application interface according to recommending position acquisition of information The corresponding width information of interface element, elevation information, page presentation positional information and message bit pattern;
Or, the topology file is parsed, the recommendation position information in the topology file is obtained, and download and recommend position letter Corresponding Json files are ceased, recommendation position information includes multiple interface elements, and the interface element includes picture, video, Parse the corresponding width information of interface element, elevation information, the page presentation position letter of the Json file acquisitions application interface Breath and message bit pattern.
Further, it is described according to analysis result, corresponding interface content is downloaded, and be showed in the step of the application interface Suddenly include:The width information of the interface element according to the application interface for getting, elevation information, page presentation positional information and position Figure information, downloads corresponding with the width information of the interface element, elevation information, page presentation positional information and message bit pattern Bitmap;The bitmap display that will be downloaded is on the application interface.
Further, the step of topology file that the acquisition is laid out corresponding to application interface, includes:Prestored from server Topology file template in download corresponding to application interface layout topology file.
Further, the step of topology file that the acquisition is laid out corresponding to application interface, includes:Create and apply boundary The layout of the corresponding xml forms in face;The layout of the xml forms is generated into apk, and is compressed into .zip formatted files;Decompression The .zip formatted files, obtain topology file.
The present invention proposes a kind of application interface layout updates device, including:
Acquiring unit, for obtaining the topology file corresponding to application interface layout;
Resolution unit, for parsing the topology file;
Display unit, for according to analysis result, downloading corresponding interface content, and be showed in the application interface.
Further, the resolution unit specifically for:
The topology file is parsed, the recommendation position information in the topology file is obtained, recommendation position information is only included One interface element, the interface element includes picture, video, the Interface Element of application interface according to recommending position acquisition of information The corresponding width information of element, elevation information, page presentation positional information and message bit pattern;
Or, the topology file is parsed, the recommendation position information in the topology file is obtained, and download and recommend position letter Corresponding Json files are ceased, recommendation position information includes multiple interface elements, and the interface element includes picture, video, Parse the corresponding width information of interface element, elevation information, the page presentation position letter of the Json file acquisitions application interface Breath and message bit pattern.
Further, the display unit includes:
Lower subelements, for width information, elevation information, the page according to the interface element for parsing the interface that is applied Display location information and message bit pattern, download width information, elevation information, the page presentation positional information with the interface element And the corresponding bitmap of message bit pattern;
Displaying subelement, for will download bitmap display in the application interface.
Further, the acquiring unit specifically for:Downloaded in the topology file template prestored from server and corresponded to The topology file of application interface layout.
Further, the acquiring unit includes:
Subelement is created, the layout for creating the xml form corresponding with application interface;
Conversion subunit, for the layout of the xml forms to be generated into apk, and is compressed into .zip formatted files;
Decompression subelement, for decompressing the .zip formatted files, obtains topology file.
The application interface layout updates method and device provided in the present invention, the software function that will be applied and application interface point Open up and put;User, using the topology file obtained corresponding to application interface layout, then parses the cloth of acquisition when startup is applied Office file, according to analysis result, downloads corresponding interface content, and be showed in above-mentioned application interface;In application interface content more When new, the staff of maintenance application writes the corresponding topology file of application interface content after updating, the application of user terminal The topology file for corresponding to the application interface layout after updating is obtained on startup, then parses the text of the layout after the renewal of acquisition Part, according to analysis result, downloads the interface content after corresponding renewal, and is showed in above-mentioned application interface, manual without user Interface content information after updating application with regard to that can be updated, lifts Consumer's Experience.
Brief description of the drawings
Fig. 1 is the application interface layout updates method and step figure in one embodiment of the invention;
Fig. 2 is the structural representation of the application interface layout updates device in one embodiment of the invention;
Fig. 3 is the structural representation of the display unit in one embodiment of the invention;
Fig. 4 is the structural representation of the acquiring unit in one embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Reference picture 1, is the application interface layout updates method and step figure in one embodiment of the invention.Including:
Step S1, obtains the topology file corresponding to application interface layout;
Step S2, parses above-mentioned topology file;
Step S3, according to analysis result, downloads corresponding interface content, and be showed in above-mentioned application interface.
With application interface be combined together software function by existing application, and above-mentioned application interface is the user terminal of application Operation interface, the interface content at aforesaid operations interface includes newest program request matchmaker official communication, most popular direct broadcast band, advertisement pushing.On State interface content according to demand can continuous updating change, when application interface content update after, the version of application also updates therewith, Because could obtain the interface content after updating after the version updating of application, user is needing to obtain new interface content When, it is always necessary to the version of application is updated, the version of continual renewal application can influence user to using the good opinion for using Degree.
With application interface be provided separately software function by the application interface layout updates method provided in the present embodiment;User When startup is applied, using the topology file obtained corresponding to application interface layout, the topology file of acquisition is then parsed, according to Analysis result, downloads corresponding interface content, and be showed in above-mentioned application interface.In application interface content update, safeguarding should Staff writes the corresponding topology file of application interface content after updating, and the application of user terminal is obtained on startup Corresponding to the topology file of the application interface layout after renewal, the topology file after the renewal of acquisition is then parsed, according to parsing As a result, the interface content after corresponding renewal is downloaded, and is showed in above-mentioned application interface, updated manually using with regard to energy without user Interface content information after being updated, lifts Consumer's Experience.
Further, the corresponding layout text of interface content that the application interface of application will be obtained when starting first time is applied Part, applies during the topology file of acquisition can be buffered in while topology file is obtained using the CACHE DIRECTORY specified, under During one-shot, directly topology file can be obtained from specified CACHE DIRECTORY.
In the present embodiment, the step of above-mentioned application obtains the topology file corresponding to application interface layout S1 is specifically wrapped Include:
The topology file corresponding to application interface layout is downloaded in the topology file template prestored from server.
Specifically, can be obtained by number of ways using the topology file for needing to obtain on startup, can be from invention Downloaded in the corresponding official website server of company of application and obtained, it is also possible to which direct access is needed in the CACHE DIRECTORY specified from application The topology file wanted, can also download from the webserver and obtain topology file;The staff of maintenance application is according to applying boundary The interface content in face writes topology file, and the topology file that will can be write is uploaded to using the corresponding official website server of company Go up or be uploaded on the webserver in the template of storage layout's file;When application starts, can be corresponding from application company Downloaded on the server of official website and obtain topology file, it is also possible to downloaded from the template of webserver storage topology file is uploaded to The topology file for needing is obtained, the caching mesh for the topology file of acquisition being buffered in while topology file is obtained being specified is applied In record, if in the specified CACHE DIRECTORY it is buffered change before file, the file after change overrides change automatically Preceding file, when starting next time, can directly obtain the topology file of caching, it is not necessary to from server from CACHE DIRECTORY Middle download, saves flow;Software is parsed to the topology file for obtaining, and according to the result of parsing, software download is corresponding should With the interface content information at interface and it is illustrated on application interface, topology file is obtained by the webserver, makes full use of net Network resource.
Further, the step of above-mentioned acquisition corresponds to the topology file of application interface layout also includes:
Create the layout of the xml form corresponding with application interface;
The layout of the xml forms is generated into apk, and is compressed into .zip formatted files;
The .zip formatted files are decompressed, topology file is obtained.
Using needing first to obtain the corresponding topology file of layout of application interface in the present embodiment, interface content determines boundary The layout in face.The staff of maintenance application writes topology file according to the interface content of application interface, with specific reference to application The width information of the interface element at interface, elevation information, page presentation positional information and message bit pattern create corresponding xml forms Layout, while the layout of corresponding xml forms is generated as into apk, by corresponding xml format compressions while apk is generated Into .zip formatted files, above-mentioned .zip formatted files are obtained, decompression .zip formatted files are applied the specific interface letter at interface Corresponding topology file is ceased, can be uploaded to topology file using the corresponding official website service of company by the staff of maintenance application In device, it is also possible to be uploaded in the template of storage layout's file of the webserver, user terminal when startup is applied, using can be with Downloaded in official website server or the webserver and obtain above-mentioned topology file.
In the present embodiment, the step of above-mentioned parsing above-mentioned topology file S2 is specifically included:
The topology file is parsed, the recommendation position information in the topology file is obtained, recommendation position information is only included One interface element, the interface element includes picture, video, the Interface Element of application interface according to recommending position acquisition of information The corresponding width information of element, elevation information, page presentation positional information and message bit pattern;
Or, the topology file is parsed, the recommendation position information in the topology file is obtained, and download and recommend position letter Corresponding Json files are ceased, recommendation position information includes multiple interface elements, and the interface element includes picture, video, Parse the corresponding width information of interface element, elevation information, the page presentation position letter of the Json file acquisitions application interface Breath and message bit pattern.
Specifically, the application interface that application will be obtained when starting first time is applied to be laid out corresponding topology file, layout The interface content of file determines the interface layout of application, using will to obtain topology file parse, topology file Interface content mainly includes recommending position information;Above-mentioned recommendation position information includes all information of all different recommendation positions, each Recommending the information of position includes the information of interface element, and interface element is picture or video, and each recommends the Interface Element in position Element can be one or multiple.
When parsing topology file obtains recommending position information, recommend all information that position information is several recommendation positions;When wherein An interface element, i.e. only one of which picture or only one of which video, the direct access interface are only included in the information for recommending position The width information of element, elevation information, page presentation positional information and message bit pattern;Include multiple when the information of position is recommended During interface element, Json files corresponding with the information of this recommendation position are first downloaded, Json files include institute in recommendation position The information of some interface elements, the corresponding width information of the parsing all interface elements of Json file acquisitions, elevation information, page exhibition Show positional information and message bit pattern.
Using will be parsed to the topology file for obtaining, all information of interface content are obtained by parsing, included The corresponding width information of all interface elements, elevation information, page presentation positional information and the corresponding bitmap of message bit pattern Picture;The corresponding width information of upper bit map images, elevation information and page presentation positional information, determine bit map images The size that position and bitmap images on application interface are taken up space in application interface, message bit pattern be bitmap images in itself Attribute information, bitmap images attribute information in itself determines the uniqueness of bitmap images.
The step of application interface layout updates method in the present embodiment, S3 included:According to the boundary for parsing the interface that is applied The width information of surface element, elevation information, page presentation positional information and message bit pattern, download the width with the interface element Information, elevation information, page presentation positional information and the corresponding bitmap of message bit pattern;The bitmap display that will be downloaded is answered described With on interface.
Specifically, using the corresponding bitmap images according to parsing, corresponding all of bitmap images are downloaded, and according to institute Width information, elevation information and the page presentation positional information for having bitmap images are illustrated on the application interface of application.Pass through Above three step is realized using by obtaining topology file, parses the topology file of above-mentioned acquisition, according to analysis result, under Corresponding interface content is carried, is showed on the application interface.Because the function and interface layout of the software of application are provided separately, When the application interface layout of application is changed, in the interface of the staff of maintenance application according to the application interface after change Appearance information writes topology file again, and user terminal starts application, using the topology file obtained after changing, obtains topology file The topology file of acquisition can be buffered in the CACHE DIRECTORY specified simultaneously, if buffered in specified CACHE DIRECTORY File before change, the file after change overrides the file before changing automatically, using the topology file after the change to obtaining Parsed, according to the result of parsing, using the interface content information for downloading the application interface after corresponding change and be illustrated in On application interface.
Reference picture 2 to Fig. 4, the application interface layout updates device in the present embodiment, including:
Acquiring unit 10, for obtaining the topology file corresponding to application interface layout;
Resolution unit 20, for parsing the topology file;
Display unit 30, for according to analysis result, downloading corresponding interface content, and be showed in the application interface.
With application interface be combined together software function by existing application, and above-mentioned application interface is the user terminal of application Operation interface, the interface content at aforesaid operations interface includes newest program request matchmaker official communication, most popular direct broadcast band, advertisement pushing.On State interface content according to demand can continuous updating change, when application interface content update after, the version of application also updates therewith, Because could obtain the interface content after updating after the version updating of application, user is needing to obtain new interface content When, it is always necessary to the version of application is updated, the version of continual renewal application can influence user to using the good opinion for using Degree.
With application interface be provided separately software function by the application interface layout updates device provided in the present embodiment;User When startup is applied, the acquiring unit 10 in obtains topology file corresponding with the interface content of application interface, Ran Houying The topology file that the parsing of resolution unit 20 in is obtained, the display unit 30 in is downloaded corresponding according to analysis result Interface content, and it is showed in above-mentioned application interface.In application interface content update, the staff of maintenance application writes renewal The corresponding topology file of application interface content afterwards, the application of user terminal is obtained by acquiring unit 10 correspond on startup The topology file of the application interface layout after renewal, the topology file that then parsing of resolution unit 20 is obtained, display unit 30 According to analysis result, the interface content after corresponding renewal is downloaded, and be showed in above-mentioned application interface, being updated manually without user should With just can be updated after interface content information, lifting Consumer's Experience.
Further, the application interface for applying the acquiring unit 10 when starting first time to obtain application is laid out corresponding cloth Office file, topology file determines the interface content of application, and the interface content of application includes the information of all surface elements in boundary, application Interface content width information corresponding with all of interface element of application interface, elevation information, page presentation positional information And message bit pattern carries out correspondence, applying can be buffered in using specified the topology file of acquisition while topology file is obtained CACHE DIRECTORY in, when starting next time, acquiring unit 10 directly can obtain topology file from specified CACHE DIRECTORY.
In the present embodiment, above-mentioned acquiring unit 10 obtains the specific bag of the topology file corresponding to application interface layout Include:
The topology file corresponding to application interface layout is downloaded in the topology file template prestored from server.
Specifically, can be obtained by number of ways using the topology file for needing to obtain on startup, acquiring unit 10 Can be downloaded from the corresponding official website server of company of invention application and obtained, it is also possible in the CACHE DIRECTORY specified from application The topology file that direct access needs, can also download from the webserver and obtain topology file;The staff of maintenance application Interface content according to application interface writes topology file, and the topology file that will can be write is uploaded to corresponding using company On the server of official website or it is uploaded on the webserver in the template of storage layout's file;When application starts, acquiring unit 10 can download from the corresponding official website server of application company and obtain topology file, it is also possible to from being uploaded to webserver storage The topology file for obtaining and needing is downloaded in the template of topology file, the layout text that will be obtained while topology file is obtained is applied Part is buffered in the CACHE DIRECTORY specified, if in the specified CACHE DIRECTORY it is buffered change before file, after change File override automatically change before file, when starting next time, the cloth of caching can be directly obtained from CACHE DIRECTORY Office file, it is not necessary to downloaded from server, saves flow;The topology file of 20 pairs of acquisitions of resolution unit of application is solved Analysis, the display unit 30 of application is downloaded the interface content information of corresponding application interface and is illustrated in and answer according to the result of parsing With on interface, topology file is obtained by the webserver, make full use of Internet resources.
Further, being applied in the present embodiment needs to first pass through the corresponding layout of the acquisition application interface layout of acquiring unit 10 File, above-mentioned acquiring unit 10 is specifically included:
Subelement 110 is created, the layout for creating the xml form corresponding with application interface;
Conversion subunit 120, for the layout of the xml forms to be generated into apk, and is compressed into .zip formatted files;
Decompression subelement 130, for decompressing the .zip formatted files, obtains topology file.
Specifically, acquiring unit 10 specifically include staff for maintenance application according to the interface layout of application interface come Topology file is write, interface content determines the layout at interface.Go to write topology file in the establishment subelement 110 of application, have Body creates right according to the width information of the interface element of application interface, elevation information, page presentation positional information and message bit pattern The layout of corresponding xml forms is generated as apk by the layout of the xml forms answered, the conversion subunit 120 of application, in generation apk While by corresponding xml format compressions into .zip formatted files, obtain above-mentioned .zip formatted files, the decompression subelement of application 130 decompression .zip formatted files are applied the corresponding topology file of particular content information at interface, and topology file can be gone up In reaching using the corresponding official website server of company, it is also possible to be uploaded in the template of storage layout's file of the webserver, When startup is applied, the acquiring unit 10 of application can be downloaded and obtained user terminal in official website server or the webserver State topology file.
In the present embodiment, above-mentioned resolution unit parse 20 above-mentioned topology files specifically for:
The topology file is parsed, the recommendation position information in the topology file is obtained, recommendation position information is only included One interface element, the interface element includes picture, video, the Interface Element of application interface according to recommending position acquisition of information The corresponding width information of element, elevation information, page presentation positional information and message bit pattern;
Or, the topology file is parsed, the recommendation position information in the topology file is obtained, and download and recommend position letter Corresponding Json files are ceased, recommendation position information includes multiple interface elements, and the interface element includes picture, video, Parse the corresponding width information of interface element, elevation information, the page presentation position letter of the Json file acquisitions application interface Breath and message bit pattern.
Specifically, apply the resolution unit 20 pairs when starting first time to obtain topology file to parse, topology file Interface content determines the interface layout of application, and the interface content of topology file mainly includes recommending position information;Above-mentioned recommendation position Information includes all information of all different recommendation positions, and the information of each recommendation position includes the information of interface element, interface Element is picture or video, and it can be one or multiple that each recommends the interface element in position.
When the parsing topology file of resolution unit 20 of application obtains recommending position information, it is several recommendation positions to recommend position information All information;When wherein recommend position information in only include an interface element, i.e. only one of which picture or only one of which video, The width information of the direct access interface element, elevation information, page presentation positional information and message bit pattern;When recommendation position When information includes multiple interface elements, Json files corresponding with the information of this recommendation position are first downloaded, Json files include The information of all of interface element in recommendation position, the parsing Json file acquisitions all interface elements of resolution unit 20 of application Corresponding width information, elevation information, page presentation positional information and message bit pattern.
The resolution unit 20 of application will be parsed to the topology file for obtaining, and all of interface content are obtained by parsing Information, includes the corresponding width information of all interface elements, elevation information, page presentation positional information and message bit pattern pair The bitmap images answered;The corresponding width information of upper bit map images, elevation information and page presentation positional information, determine The size that position and bitmap images of the bit map images on application interface are taken up space in application interface, message bit pattern is position Figure image attribute information, bitmap images attribute information in itself in itself determines the uniqueness of bitmap images.
The above-mentioned display unit 30 of the application interface layout updates device in the present embodiment is specifically included:
Lower subelements 310, for according to parsing be applied the width information of interface element at interface, elevation information, Page presentation positional information and message bit pattern, download width information, elevation information, the page presentation position with the interface element Information and the corresponding bitmap of message bit pattern;
Displaying subelement 320, for will download bitmap display in the application interface.
Specifically, the lower subelements 310 of application download corresponding all of position according to the corresponding bitmap images of parsing Figure image, all bitmap images that displaying subelement 320 will be downloaded are according to the width information of bitmap images, elevation information and page Face display location information is illustrated on the application interface of application.Acquiring unit 10 by application, should by obtaining topology file Resolution unit 20 parses the topology file of above-mentioned acquisition, and the lower subelements 310 of application download correspondence according to analysis result Interface content, displaying subelement 320 interface content of download is showed on above-mentioned application interface.Due to software function and boundary Face layout is provided separately, when the application interface layout of application is changed, after the staff of maintenance application is according to change The interface content information of application interface writes topology file again, and user terminal starts application, using the layout text obtained after changing , can be buffered in the topology file of acquisition in the CACHE DIRECTORY specified while obtaining topology file by part, if delayed in specified Deposit in catalogue it is buffered change before file, the file after change overrides the file before changing automatically, using to obtaining Change after topology file parsed, according to the result of parsing, using the boundary for downloading the application interface after corresponding change Face content information is simultaneously illustrated on application interface.
In sum, it is the application interface layout updates method and device of offer in the embodiment of the present invention, it is soft by what is applied Part function is provided separately with application interface;User is literary corresponding to the layout of application interface layout using obtaining when startup is applied Part, then parses the topology file of acquisition, according to analysis result, downloads corresponding interface content, and be showed in above-mentioned application circle Face.In application interface content update, the staff of maintenance application writes the corresponding cloth of application interface content after updating Office file, the application of user terminal obtains the topology file corresponding to the application interface layout after updating on startup, then parses Topology file after the renewal of acquisition, according to analysis result, downloads the interface content after corresponding renewal, and be showed in above-mentioned answering With interface, updated manually without user using the interface content information after just being updated, lift Consumer's Experience.
The preferred embodiments of the present invention are the foregoing is only, the scope of the claims of the invention, every utilization is not thereby limited Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

1. a kind of application interface layout updates method, it is characterised in that comprise the following steps:
Obtain the topology file corresponding to application interface layout;
Parse the topology file;
According to analysis result, corresponding interface content is downloaded, and be showed in the application interface.
2. application interface layout updates method according to claim 1, it is characterised in that the parsing topology file The step of include:
The topology file is parsed, the recommendation position information in the topology file is obtained, recommendation position information only includes one Interface element, the interface element includes picture, video, the interface element pair of application interface according to recommending position acquisition of information Width information, elevation information, page presentation positional information and the message bit pattern answered;
Or, the topology file is parsed, the recommendation position information in the topology file is obtained, and download and recommend position information pair The Json files answered, recommendation position information includes multiple interface elements, and the interface element includes picture, video, parsing The corresponding width information of interface element of the Json file acquisitions application interface, elevation information, page presentation positional information with And message bit pattern.
3. application interface layout updates method according to claim 2, it is characterised in that described according to analysis result, under The step of carrying corresponding interface content, and be showed in the application interface includes:
The width information of the interface element according to the application interface for getting, elevation information, page presentation positional information and bitmap Information, downloads corresponding with the width information of the interface element, elevation information, page presentation positional information and message bit pattern Bitmap;
The bitmap display that will be downloaded is on the application interface.
4. application interface layout updates method according to claim 1, it is characterised in that boundary is applied in the acquisition The step of topology file of face layout, includes:
The topology file corresponding to application interface layout is downloaded in the topology file template prestored from server.
5. application interface layout updates method according to claim 1, it is characterised in that boundary is applied in the acquisition The step of topology file of face layout, includes:
Create the layout of the xml form corresponding with application interface;
The layout of the xml forms is generated into apk, and is compressed into .zip formatted files;
The .zip formatted files are decompressed, topology file is obtained.
6. a kind of application interface layout updates device, it is characterised in that including:
Acquiring unit, for obtaining the topology file corresponding to application interface layout;
Resolution unit, for parsing the topology file;
Display unit, for according to analysis result, downloading corresponding interface content, and be showed in the application interface.
7. application interface layout updates device according to claim 6, it is characterised in that the resolution unit is specifically used In:
The topology file is parsed, the recommendation position information in the topology file is obtained, recommendation position information only includes one Interface element, the interface element includes picture, video, the interface element pair of application interface according to recommending position acquisition of information Width information, elevation information, page presentation positional information and the message bit pattern answered;
Or, the topology file is parsed, the recommendation position information in the topology file is obtained, and download and recommend position information pair The Json files answered, recommendation position information includes multiple interface elements, and the interface element includes picture, video, parsing The corresponding width information of interface element of the Json file acquisitions application interface, elevation information, page presentation positional information with And message bit pattern.
8. application interface layout updates device according to claim 6, it is characterised in that the display unit includes:
Lower subelements, for width information, elevation information, the page presentation of the interface element according to the application interface for getting Positional information and message bit pattern, download with the width information of the interface element, elevation information, page presentation positional information and The corresponding bitmap of message bit pattern;
Displaying subelement, for will download bitmap display in the application interface.
9. application interface layout updates device according to claim 6, it is characterised in that the acquiring unit is specifically used In:
The topology file corresponding to application interface layout is downloaded in the topology file template prestored from server.
10. application interface layout updates device according to claim 6, it is characterised in that the acquiring unit includes:
Subelement is created, the layout for creating the xml form corresponding with application interface;
Conversion subunit, for the layout of the xml forms to be generated into apk, and is compressed into .zip formatted files;
Decompression subelement, for decompressing the .zip formatted files, obtains topology file.
CN201710008468.9A 2017-01-05 2017-01-05 Application interface layout updates method and device Pending CN106843861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710008468.9A CN106843861A (en) 2017-01-05 2017-01-05 Application interface layout updates method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710008468.9A CN106843861A (en) 2017-01-05 2017-01-05 Application interface layout updates method and device

Publications (1)

Publication Number Publication Date
CN106843861A true CN106843861A (en) 2017-06-13

Family

ID=59117868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710008468.9A Pending CN106843861A (en) 2017-01-05 2017-01-05 Application interface layout updates method and device

Country Status (1)

Country Link
CN (1) CN106843861A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506431A (en) * 2017-08-22 2017-12-22 广州创维平面显示科技有限公司 By method, storage medium and the terminal of XML file generation html file
CN109284154A (en) * 2017-07-21 2019-01-29 中兴通讯股份有限公司 Desktop starter template renewal method and device, server and storage medium
CN109408086A (en) * 2018-09-28 2019-03-01 平安普惠企业管理有限公司 Interface updating method, device, computer equipment and the storage medium of APP
CN112083852A (en) * 2020-08-12 2020-12-15 深圳市华曦达科技股份有限公司 Recommendation bit layout method, device, equipment and medium for video application
CN112188292A (en) * 2020-08-28 2021-01-05 福州智象信息技术有限公司 Television desktop construction method based on android operating system
CN112527351A (en) * 2020-12-07 2021-03-19 深圳创维-Rgb电子有限公司 Method, system, equipment and storage medium for remotely updating terminal application interface layout
US11869195B2 (en) 2020-09-07 2024-01-09 Beijing Bytedance Network Technology Co., Ltd. Target object controlling method, apparatus, electronic device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105242937A (en) * 2014-06-27 2016-01-13 中兴通讯股份有限公司 Method for dynamically updating application interface, terminal and system
CN105487889A (en) * 2015-11-26 2016-04-13 小米科技有限责任公司 Application interface updating method and device
CN105573773A (en) * 2014-10-17 2016-05-11 Tcl集团股份有限公司 User interface laying method, apparatus and system
US9400660B1 (en) * 2013-03-12 2016-07-26 Intuit Inc. Customizing user interfaces of native applications for portable electronic devices
CN105843613A (en) * 2016-03-21 2016-08-10 乐视网信息技术(北京)股份有限公司 Method and apparatus for updating user interface layout of application
CN106201458A (en) * 2016-06-27 2016-12-07 上海波汇科技股份有限公司 A kind of interface creating method can joined flexibly and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9400660B1 (en) * 2013-03-12 2016-07-26 Intuit Inc. Customizing user interfaces of native applications for portable electronic devices
CN105242937A (en) * 2014-06-27 2016-01-13 中兴通讯股份有限公司 Method for dynamically updating application interface, terminal and system
CN105573773A (en) * 2014-10-17 2016-05-11 Tcl集团股份有限公司 User interface laying method, apparatus and system
CN105487889A (en) * 2015-11-26 2016-04-13 小米科技有限责任公司 Application interface updating method and device
CN105843613A (en) * 2016-03-21 2016-08-10 乐视网信息技术(北京)股份有限公司 Method and apparatus for updating user interface layout of application
CN106201458A (en) * 2016-06-27 2016-12-07 上海波汇科技股份有限公司 A kind of interface creating method can joined flexibly and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284154A (en) * 2017-07-21 2019-01-29 中兴通讯股份有限公司 Desktop starter template renewal method and device, server and storage medium
CN107506431A (en) * 2017-08-22 2017-12-22 广州创维平面显示科技有限公司 By method, storage medium and the terminal of XML file generation html file
CN109408086A (en) * 2018-09-28 2019-03-01 平安普惠企业管理有限公司 Interface updating method, device, computer equipment and the storage medium of APP
CN112083852A (en) * 2020-08-12 2020-12-15 深圳市华曦达科技股份有限公司 Recommendation bit layout method, device, equipment and medium for video application
CN112083852B (en) * 2020-08-12 2022-09-27 深圳市华曦达科技股份有限公司 Recommendation bit layout method, device, equipment and medium for video application
CN112188292A (en) * 2020-08-28 2021-01-05 福州智象信息技术有限公司 Television desktop construction method based on android operating system
CN112188292B (en) * 2020-08-28 2022-11-18 福州智象信息技术有限公司 Television desktop construction method based on android operating system
US11869195B2 (en) 2020-09-07 2024-01-09 Beijing Bytedance Network Technology Co., Ltd. Target object controlling method, apparatus, electronic device, and storage medium
CN112527351A (en) * 2020-12-07 2021-03-19 深圳创维-Rgb电子有限公司 Method, system, equipment and storage medium for remotely updating terminal application interface layout

Similar Documents

Publication Publication Date Title
CN106843861A (en) Application interface layout updates method and device
CN108089878B (en) Page information display and generation method, device and system
CN107066273B (en) Page style updating method and device
CN107066272B (en) Page updating method and device
CN106791936B (en) Virtual gift display method and device
CN101068235B (en) Video frequency program prebrowsing method and system
CN108573032A (en) Video recommendation method and device
CN109698807A (en) A kind of living broadcast interactive method, apparatus and system
CN103975603A (en) Network tv and method for operating same
CN104618788B (en) A kind of method and device of display video information
CN103123581B (en) A kind of application interface replacing options of mobile terminal and device and mobile terminal
CN109697093A (en) Card generation method, card generating means, mobile terminal and readable storage medium storing program for executing
WO2016150388A1 (en) Interface processing method, apparatus, and system
CN104035953B (en) Method and system for the seamless delivery of content navigation across different device
KR101215175B1 (en) System and method for providing multi-idle screen
CN107818490A (en) Equipment choosing guidance method, device, computer-readable recording medium and terminal
CN108960988A (en) Personalized wallpaper recommendation method and device, terminal device and storage medium
CN107147806A (en) application resource providing method, device and system
CN109951728A (en) A kind of advertisement distributing system and method
CN106131309B (en) Skin changing method, skin changing device and skin changing system
CN104156240B (en) Skin template replacing method, device, client and the electronic equipment of client
CN105824517A (en) Implementation method and apparatus of desktop
CN110286924A (en) Generate and update the method and system of mobile process advertising creative code
JP2004266575A (en) Image distribution system, image distribution apparatus, terminal, and control methods and program therefor
CN103428205A (en) Information broadcasting system and method based on Android platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170613