CN109542542A - Method, device, server and terminal for updating user interaction interface - Google Patents

Method, device, server and terminal for updating user interaction interface Download PDF

Info

Publication number
CN109542542A
CN109542542A CN201710859095.6A CN201710859095A CN109542542A CN 109542542 A CN109542542 A CN 109542542A CN 201710859095 A CN201710859095 A CN 201710859095A CN 109542542 A CN109542542 A CN 109542542A
Authority
CN
China
Prior art keywords
interface
user interface
client
rule file
layout rule
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
CN201710859095.6A
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 Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201710859095.6A priority Critical patent/CN109542542A/en
Publication of CN109542542A publication Critical patent/CN109542542A/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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Abstract

The embodiment of the invention provides a method, a device, a server and a terminal for updating a user interaction interface, wherein the method comprises the following steps: acquiring a new user interaction interface applied to a client; analyzing the new user interaction interface to obtain interface information of the new user interaction interface, wherein the interface information comprises: the nodes forming the new user interaction interface, the node attributes of each node and the position relationship among the nodes; generating an interface layout rule file carrying the interface information; and sending the interface layout rule file to a client so that the client updates the user interaction interface according to the interface layout rule file. The scheme provided by the embodiment of the invention can shorten the updating period of the user interaction interface and improve the updating efficiency of the user interaction interface.

Description

A kind of method, apparatus, server and terminal updating user interface
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method for updating user interface, Yi Zhonggeng Device, a kind of server, a kind of terminal, a kind of computer readable storage medium of new user interface.
Background technique
With the continuous development of application program, user interface corresponding to different application presents diversification Form.And in order to provide more beautiful, maneuverable user interface for user, operator can constantly update same answer With the user interface of program.
In the prior art, operator would generally update its user interface by releasing the new version of application program, But since the application version update cycle is longer, so as to cause the renewal time of corresponding user interface It is longer.Therefore, this mode for updating user interface in the prior art is longer there are the update cycle, it is lower to update efficiency The shortcomings that.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of method, apparatus and electronic equipment for updating user interface, To shorten the update cycle of user interface, improve the update efficiency of user interface.Specific technical solution is as follows:
In a first aspect, being applied to server, institute the embodiment of the invention provides a kind of method for updating user interface The method of stating includes:
Obtain the new user interface for being applied to client;
The new user interface is parsed, obtains the interface information of the new user interface, wherein the interface Information includes: to constitute between the node of the new user interface, the nodal community of each node and each node Positional relationship;
Generate the interface layout rule file for carrying the interface information;
The interface layout rule file is sent to client, so that client is according to the interface layout rule text Part updates user interface.
It is optionally, described to generate the interface layout rule file for carrying the interface information, comprising:
By preset file generated plug-in unit, preset format, the carrying interface information interface layout rule is generated File.
Optionally, described by preset file generated plug-in unit, generate preset format, the carrying interface information boundary Face placement rule file, comprising:
By preset Adobe After Effects plug-in unit, is parsed and generated described in Json format, carrying using Python The interface layout rule file of interface information.
It is optionally, described that the interface layout rule file is sent to client, comprising:
The transmission instruction for sending the interface layout rule file is received, the interface layout rule file is sent to institute It states and sends the indicated client of instruction.
Second aspect, the embodiment of the invention provides a kind of methods for updating user interface, are applied to client, institute The method of stating includes:
Receive the interface layout rule file that server is sent, wherein the interface layout rule file carries new user The interface information of interactive interface, the interface information include: the node for constituting the new user interface, the section of each node Positional relationship between point attribute and each node;
The interface layout rule file is parsed, the interface information is obtained;
User interface is updated according to the interface information.
It is optionally, described that user interface is updated according to the interface information, comprising:
The new user interface comprising the interface information is generated, described in new user interface update generated The user interface of client;
Alternatively,
The primary layout interface comprising the interface information is generated, updates the client with primary layout interface generated The user interface at end.
The third aspect, the embodiment of the invention provides a kind of devices for updating user interface, are applied to server, institute Stating device includes:
Module is obtained, for obtaining the new user interface for being applied to client;
First parsing module obtains the interface of the new user interface for parsing the new user interface Information, wherein the interface information include: the node for constituting the new user interface, the nodal community of each node with And the positional relationship between each node;
Generation module, for generating the interface layout rule file for carrying the interface information;
Sending module, for the interface layout rule file to be sent to client, so that client is according to Interface layout rule file updates user interface.
Optionally, the generation module, is specifically used for:
By preset file generated plug-in unit, preset format, the carrying interface information interface layout rule is generated File.
Optionally, the generation module, is specifically used for:
By preset Adobe After Effects plug-in unit, is parsed and generated described in Json format, carrying using Python The interface layout rule file of interface information.
Optionally, the sending module, is specifically used for:
The transmission instruction for sending the interface layout rule file is received, the interface layout rule file is sent to institute It states and sends the indicated client of instruction.
Fourth aspect, the embodiment of the invention provides a kind of devices for updating user interface, are applied to client, institute Stating device includes:
Receiving module, for receiving the interface layout rule file of server transmission, wherein the interface layout rule text Part carries the interface information of new user interface, the interface information include: the node for constituting the new user interface, Positional relationship between the nodal community of each node and each node;
Second parsing module obtains the interface information for parsing the interface layout rule file;
Update module, for updating user interface according to the interface information.
Optionally, the update module, is specifically used for:
The new user interface comprising the interface information is generated, described in new user interface update generated The user interface of client;
Alternatively,
The primary layout interface comprising the interface information is generated, updates the client with primary layout interface generated The user interface at end.
5th aspect, the embodiment of the invention also provides a kind of server, including processor, communication interface, memory and Communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizing that first aspect is any and described being applied to clothes The method and step of the update user interface of business device.
6th aspect, the embodiment of the invention also provides a kind of terminal, the terminal is equipped with client, the terminal packet It includes: processor, communication interface, memory and communication bus, wherein processor, communication interface, memory are complete by communication bus At mutual communication;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizing that second aspect is any and described being applied to visitor The method and step of the update user interface at family end.
7th aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored in storage media, first aspect is any described when the computer program is executed by processor is applied to The method and step of the update user interface of server.
Eighth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium It is stored with computer program in storage media, realizes that second aspect is any described when the computer program is executed by processor and answers The method and step of update user interface for client.
Compared with prior art, technical solution provided in an embodiment of the present invention, user interface designer design newly After user interface, server obtains the new user interface, and parses to the new user interface, is somebody's turn to do The interface information of new user interface;Then the interface layout rule file for carrying the interface information is generated, finally by the boundary Face placement rule file is sent to client, so that client can newly be used by parsing the interface layout rule file The interface information of family interactive interface, and its own new user interface that can be shown is generated according to interface information, that is, it reaches To the purpose for updating user interface.And do not have to as the prior art, it is necessary to pass through the version of more new application, ability Realize the update of user interface.Therefore, the technical solution provided through the embodiment of the present invention can shorten user's interaction circle The update cycle in face, the update efficiency for improving user interface.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of stream of the method for the update user interface applied to server provided by the embodiment of the present invention Journey schematic diagram;
Fig. 2 is a kind of user interface schematic diagram provided by the embodiment of the present invention;
Fig. 3 is a kind of process of the method for the update user interface applied to terminal provided by the embodiment of the present invention Schematic diagram;
Fig. 4 is a kind of knot of the device of the update user interface applied to server provided by the embodiment of the present invention Structure schematic diagram;
Fig. 5 is a kind of structure of the device of the update user interface applied to terminal provided by the embodiment of the present invention Schematic diagram;
Fig. 6 is a kind of structural schematic diagram of server provided by the embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of terminal provided by the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Update cycle in order to solve user interface existing in the prior art is longer, updates the lower technology of efficiency Problem, the embodiment of the invention provides a kind of method, apparatus, server and terminals for updating user interface.
In a first aspect, the method for being provided for the embodiments of the invention update user interface first below is situated between It continues.
As shown in Figure 1, a kind of method for updating user interface provided by the embodiment of the present invention, is applied to service Device, the server can be understood as providing the server of service for above-mentioned client.Include the following steps:
S101 obtains the new user interface for being applied to client;
In order to provide more beautiful, maneuverable user interface, user's interaction circle of each client for user Face designer constantly designs the user interface for being more able to satisfy user demand, that is to say, that the user of each client Interactive interface designing teacher can constantly design new user interface.
New user interface can be experienced in time for the ease of user, and user interface designer can be set The new user interface of meter is committed to server, so that server is corresponding by new user interface in the next steps Interface layout rule file is sent to client in time, and the period of user interface is updated so as to shorten client, improves The efficiency of client update user interface.
It should be noted that the completely new user that above-mentioned new user interface can be user-interface design's teacher design hands over The user interface obtained behind mutual interface or the original user interface of user-interface design Shi Gengxin, this is all to close Reason.
S102 parses the new user interface, obtains the interface information of the new user interface, wherein the interface Information includes: the position constituted between the node of the new user interface, the nodal community and each node of each node Relationship;
For a user interface, it can be understood as be to be made of multiple nodes, wherein node can be managed Solution is to constitute the most basic unit of user interface;And node usually has nodal community, for example, nodal community can wrap It includes: the position of node, size of node, the store path of image included in node etc..
In a kind of implementation, what user interface can be understood as being made of multiple view interfaces, it may for example comprise Bottom level view interface and each icon view interface;And each icon view interface is respectively positioned on bottom level view interface, That is the positional relationship of multiple view interfaces is determining;Moreover, each view interface all have position, size, icon, The information such as title.In this case, each view interface can be known as to each node of user interface;By view interface The information such as possessed position, size, icon, title are known as the nodal community of node corresponding to the view interface.
For example, user interface as shown in Figure 2, the user interface include bottom level view interface, and Time, date, calendar, weather, security centre, wechat, QQ on bottom level view interface, have fish book keeping operation, Baidu map, Multiple icon view interfaces such as Alipay, setting, photograph album, camera, file management, phone, short message, contact person, browser, these Bottom level view interface and each icon view interface are the node of the user interface.
Further, by taking QQ and wechat the two nodes as an example, the position of wechat ranked fourth first, and the position of QQ At second row first, the position of the two is different.Assuming that the position of the two is identical, then both cannot normally it show, it is seen then that every A node need to have determining position, and generally different from the position of other nodes.
Moreover, the icon shape of wechat and the icon shape of QQ are also different, it is assumed that the icon shape of the two is identical, then It may cause the maloperation of user, it is seen then that each node all has the icon shape of itself determination.Therefore, each node has There are the nodal communities such as determining position, icon shape, title.
Shown in sum up, user interface is made of node, has determining positional relationship between each node, and each A node all has nodal community.That is, obtaining between the node of user interface, each nodal community and node Positional relationship after, so that it may determine the user interface.Certainly, the embodiment of the present invention is to be handed over the user of Fig. 2 User interface is illustratively elaborated for mutual interface, and the embodiment of the present invention does not do specific limit to user interface It is fixed.
Therefore, server parses the new user interface, is somebody's turn to do after getting new user interface The interface informations such as the positional relationship of the new node of user interface, the nodal community of each node and each node.
S103 generates the interface layout rule file for carrying the interface information;
After server parses to obtain the interface information of user interface, the interface cloth for carrying the interface information is generated Office's rule file, so that in the next steps, which is sent to by server in the form of interface layout rule file Client.
Wherein, interface layout rule file is it is to be understood that predetermined format, the boundary that carries user interface The file of face information, for example, can be a Json format, the file for the interface information for carrying user interface.
Optionally, the interface layout rule file for carrying the interface information is generated, comprising:
By preset file generated plug-in unit, preset format, the carrying interface information interface layout rule is generated File.
The interface information can be exported as an interface layout rule file after obtaining interface information by server.Tool Body, server can generate the interface layout rule file for carrying interface information by preset file generated plug-in unit, For example, it can be Adobe After Effects plug-in unit that this document, which generates plug-in unit,.
It should be noted that the file of the interface layout rule file generated by Adobe After Effects plug-in unit Format is to be determined by Adobe After Effects package types, and the interface layout rule file is a basis text Part, that is to say, that the letter such as its own version and its applicable running environment is not carried in the interface layout rule file Breath.In order to enable interface layout rule file can be accurately sent to by server can parse the interface layout rule file Client, interface layout rule file should carry its own version and the information such as applicable running environment.
A kind of implementation are as follows: after generating interface layout rule file using Adobe After Effects plug-in unit, lead to Python parsing is crossed to generate the interface layout rule file of Json format, is taken in the interface layout rule file of the Json format With the information such as the version of its own and applicable running environment.The interface layout rule of the Json format is generated in server After file, the interface layout rule file of the Json format is sent to the client that can parse the interface layout rule file End, so that client updates the user interface of its own according to the interface layout rule file of the Json format.
It should be noted that the type to file generated plug-in unit and interface layout rule be not literary for the embodiment of the present invention The format of part is specifically limited, wherein the plug-in unit for producing file all can be file generated plug-in unit in the embodiment of the present invention; The interface layout rule file can may each be by the file that client parses.
The interface layout rule file is sent to client by S104, so that client is according to interface layout rule File updates user interface.
Since client is when receiving interface layout rule file, interface layout rule file can be parsed, Interface information entrained by interface layout rule file is obtained, and generates user's interaction circle according to the interface information that parsing obtains Face.
Therefore, in order to enable its user interface can be updated to new user interface in time by client, service Device generates after the interface layout rule file for carrying above-mentioned interface information, wherein the above-mentioned interface information is new user friendship The interface information at mutual interface;The interface layout rule file is sent to client, so that client does not need to carry out version more Newly, so that it may by parsing the interface layout rule file, obtain the interface information of new user interface, and according to new user The interface information of interactive interface updates its own user interface, shortens the update cycle of user interface, mentions The high update efficiency of user interface.
Optionally, which is sent to client, comprising:
The transmission instruction for sending the interface layout rule file is received, which is sent to the transmission The indicated client of instruction.
New user interface can be sent to each client by server, wherein each client, which refers to, to be set Before counting new user interface, the client of old user interface corresponding to the new user interface has been applied.
But as where client from different places or the reasons such as the grade difference of client, server can will New user interface is only sent to specific client.
For example, it is assumed that user interface designer merely desires to allow China when designing new user interface Client use the new user interface, and do not want to allow the client in the U.S. using the new user interface, at this point, with Family Interactive interface designing teacher issues corresponding send and instructs, when server receives transmission instruction, by new user's interaction circle Face is sent to the client of China.
For another example the client that user interface designer only allows grade to be higher than predetermined level is handed over using the new user Mutual interface instructs at this point, user interface designer also issues corresponding send, when server receives transmission instruction, The new user interface is sent to the client that grade is higher than predetermined grade.
Compared with prior art, technical solution provided in an embodiment of the present invention, user interface designer design newly After user interface, server obtains the new user interface, and parses to the new user interface, is somebody's turn to do The interface information of new user interface;Then the interface layout rule file for carrying the interface information is generated, finally by the boundary Face placement rule file is sent to client, so that client can newly be used by parsing the interface layout rule file The interface information of family interactive interface, and its own new user interface that can be shown is generated according to interface information, that is, it reaches To the purpose for updating user interface.And do not have to as the prior art, it is necessary to pass through the version of more new application, ability Realize the update of user interface, therefore, the technical solution provided through the embodiment of the present invention can shorten user's interaction circle The update cycle in face, the update efficiency for improving user interface.
As shown in figure 3, a kind of method for updating user interface provided by the embodiment of the present invention, is applied to client End, includes the following steps:
S301 receives the interface layout rule file that server is sent, wherein the interface layout rule file carries new use The interface information of family interactive interface, the interface information include: the node for constituting the new user interface, the node of each node Positional relationship between attribute and each node;
Server is after the interface layout rule file for generating the interface information for carrying new user interface, in order to make The user interface information of its own can be updated in time by obtaining client, and server sends the interface layout rule file To client.
S302 parses the interface layout rule file, obtains the interface information;
Client parses the interface layout rule file after the interface layout rule file for receiving server transmission, Obtain the interface information of the interface layout rule file.Since the interface information includes the node, each of new user interface Positional relationship between the nodal information of node and each node can uniquely determine out new user by these interface informations Interactive interface.
S303 updates user interface according to the interface information.
Optionally, user interface is updated according to the interface information, comprising:
The new user interface comprising the interface information is generated, updates the client with new user interface generated The user interface at end;
Alternatively,
The primary layout interface comprising the interface information is generated, updates the client with primary layout interface generated User interface.
Client parses after obtaining the interface information of new user interface, can directly be generated according to the interface information new User interface, the user interface for updating its own with the new user interface.
But in order not to breaking the use habit of user, or prevent client from cannot normally show new user's interaction circle It is local can to generate client according to the interface information after the interface information for being resolved to new user interface for face, client The user interface that operating system is supported, i.e., primary layout interface.And the user of client is updated with the primary layout interface Interactive interface.
Compared with prior art, technical solution provided in an embodiment of the present invention, client receive the boundary of server transmission Face placement rule file, wherein the interface layout rule file carries the interface information of new user interface, parses the interface Placement rule file obtains the interface information;User interface can be updated according to the interface information.And do not have to as existing skill Art is such, it is necessary to by the version of more new application, just be able to achieve the update of user interface, therefore, through the invention The technical solution that embodiment provides, the update effect that the update cycle of user interface can be shortened, improve user interface Rate.
Second aspect, the device for being provided for the embodiments of the invention update user interface below are introduced.
As shown in figure 4, a kind of device for updating user interface provided by the embodiment of the present invention, is applied to service Device, described device include:
Module 401 is obtained, for obtaining the new user interface for being applied to client;
Parsing module 402 obtains the interface letter of the new user interface for parsing the new user interface Breath, wherein the interface information include: constitute the node of the new user interface, the nodal community of each node and Positional relationship between each node;
Generation module 403, for generating the interface layout rule file for carrying the interface information;
Sending module 404, for the interface layout rule file to be sent to client, so that client is according to institute It states interface layout rule file and updates user interface.
Compared with prior art, technical solution provided in an embodiment of the present invention, user interface designer design newly After user interface, server obtains the new user interface, and parses to the new user interface, is somebody's turn to do The interface information of new user interface;Then the interface layout rule file for carrying the interface information is generated, finally by the boundary Face placement rule file is sent to client, so that client can newly be used by parsing the interface layout rule file The interface information of family interactive interface, and its own new user interface that can be shown is generated according to interface information, that is, it reaches To the purpose for updating user interface.And do not have to as the prior art, it is necessary to pass through the version of more new application, ability Realize the update of user interface.Therefore, the technical solution provided through the embodiment of the present invention can shorten user's interaction circle The update cycle in face, the update efficiency for improving user interface.
Optionally, the generation module, is specifically used for:
By preset file generated plug-in unit, preset format, the carrying interface information interface layout rule is generated File.
Optionally, the generation module, is specifically used for:
By preset Adobe After Effects plug-in unit, is parsed and generated described in Json format, carrying using Python The interface layout rule file of interface information.
Optionally, the sending module, is specifically used for:
The transmission instruction for sending the interface layout rule file is received, the interface layout rule file is sent to institute It states and sends the indicated client of instruction.
As shown in figure 5, a kind of device for updating user interface provided by the embodiment of the present invention, is applied to client End, described device include:
Receiving module 510, for receiving the interface layout rule file of server transmission, wherein the interface layout rule Then file carries the interface information of new user interface, and the interface information includes: to constitute the new user interface Node, each node nodal community and each node between positional relationship;
Parsing module 520 obtains the interface information for parsing the interface layout rule file;
Update module 530, for updating user interface according to the interface information.
Compared with prior art, technical solution provided in an embodiment of the present invention, client receive the boundary of server transmission Face placement rule file, wherein the interface layout rule file carries the interface information of new user interface, parses the interface Placement rule file obtains the interface information;User interface can be updated according to the interface information.And do not have to as existing skill Art is such, it is necessary to by the version of more new application, just be able to achieve the update of user interface, therefore, through the invention The technical solution that embodiment provides, the update effect that the update cycle of user interface can be shortened, improve user interface Rate.
Optionally, the update module, is specifically used for:
The new user interface comprising the interface information is generated, described in new user interface update generated The user interface of client;
Alternatively,
The primary layout interface comprising the interface information is generated, updates the client with primary layout interface generated The user interface at end.
The third aspect the embodiment of the invention also provides a kind of server, including processor 601, communication interface 602, is deposited Reservoir 603 and communication bus 604, wherein processor 601, communication interface 602, memory 603 are completed by communication bus 604 Mutual communication;
Memory 603, for storing computer program;
Processor 601 when for executing the program stored on memory 603, is realized described in above method embodiment The method of any update user interface applied to server.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
Compared with prior art, technical solution provided in an embodiment of the present invention, user interface designer design newly After user interface, server obtains the new user interface, and parses to the new user interface, is somebody's turn to do The interface information of new user interface;Then the interface layout rule file for carrying the interface information is generated, finally by the boundary Face placement rule file is sent to client, so that client can newly be used by parsing the interface layout rule file The interface information of family interactive interface, and its own new user interface that can be shown is generated according to interface information, that is, it reaches To the purpose for updating user interface.And do not have to as the prior art, it is necessary to pass through the version of more new application, ability Realize the update of user interface.Therefore, the technical solution provided through the embodiment of the present invention can shorten user's interaction circle The update cycle in face, the update efficiency for improving user interface.
Fourth aspect, the embodiment of the invention also provides a kind of terminal, which is equipped with client, and the terminal includes Processor 701, communication interface 702, memory 703 and communication bus 704, wherein processor 701, communication interface 702, storage Device 703 completes mutual communication by communication bus 704;
Memory 703, for storing computer program;
Processor 701 when for executing the program stored on memory, realizes any described in above method embodiment The method of update user interface applied to client.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
Compared with prior art, technical solution provided in an embodiment of the present invention, client receive the boundary of server transmission Face placement rule file, wherein the interface layout rule file carries the interface information of new user interface, parses the interface Placement rule file obtains the interface information;User interface can be updated according to the interface information.And do not have to as existing skill Art is such, it is necessary to by the version of more new application, just be able to achieve the update of user interface, therefore, through the invention The technical solution that embodiment provides, the update effect that the update cycle of user interface can be shortened, improve user interface Rate.
5th aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium It is stored with computer program in storage media, is realized described in above method embodiment when the computer program is executed by processor The method of any update user interface applied to server.
Compared with prior art, technical solution provided in an embodiment of the present invention, user interface designer design newly After user interface, server obtains the new user interface, and parses to the new user interface, is somebody's turn to do The interface information of new user interface;Then the interface layout rule file for carrying the interface information is generated, finally by the boundary Face placement rule file is sent to client, so that client can newly be used by parsing the interface layout rule file The interface information of family interactive interface, and its own new user interface that can be shown is generated according to interface information, that is, it reaches To the purpose for updating user interface.And do not have to as the prior art, it is necessary to pass through the version of more new application, ability Realize the update of user interface.Therefore, the technical solution provided through the embodiment of the present invention can shorten user's interaction circle The update cycle in face, the update efficiency for improving user interface.
6th aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium It is stored with computer program in storage media, is realized described in above method embodiment when the computer program is executed by processor The method of any update user interface applied to client.
Compared with prior art, technical solution provided in an embodiment of the present invention, client receive the boundary of server transmission Face placement rule file, wherein the interface layout rule file carries the interface information of new user interface, parses the interface Placement rule file obtains the interface information;User interface can be updated according to the interface information.And do not have to as existing skill Art is such, it is necessary to by the version of more new application, just be able to achieve the update of user interface, therefore, through the invention The technical solution that embodiment provides, the update effect that the update cycle of user interface can be shortened, improve user interface Rate.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For server, terminal, readable storage medium storing program for executing embodiment, since it is substantially similar to the method embodiment, so the comparison of description Simply, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of method for updating user interface, which is characterized in that be applied to server, which comprises
Obtain the new user interface for being applied to client;
The new user interface is parsed, obtains the interface information of the new user interface, wherein the interface information It include: the position constituted between the node of the new user interface, the nodal community of each node and each node Set relationship;
Generate the interface layout rule file for carrying the interface information;
The interface layout rule file is sent to client so that client according to the interface layout rule file more New user interface.
2. the method according to claim 1, wherein described generate the interface layout rule for carrying the interface information Then file, comprising:
By preset file generated plug-in unit, preset format, the carrying interface information interface layout rule file is generated.
3. according to the method described in claim 2, generation is default it is characterized in that, described by preset file generated plug-in unit Format, carrying interface information interface layout rule file, comprising:
By preset Adobe After Effects plug-in unit, is parsed using Python and generate Json format, carry the interface The interface layout rule file of information.
4. the method according to claim 1, wherein described be sent to client for the interface layout rule file End, comprising:
The transmission instruction for sending the interface layout rule file is received, the interface layout rule file is sent to the hair The client for sending instruction indicated.
5. a kind of method for updating user interface, which is characterized in that be applied to client, which comprises
Receive the interface layout rule file that server is sent, wherein the interface layout rule file carries new user's interaction The interface information at interface, the interface information include: the node for constituting the new user interface, the node category of each node Positional relationship between property and each node;
The interface layout rule file is parsed, the interface information is obtained;
User interface is updated according to the interface information.
6. according to the method described in claim 5, it is characterized in that, described update user's interaction circle according to the interface information Face, comprising:
The new user interface comprising the interface information is generated, updates the client with new user interface generated The user interface at end;
Alternatively,
The primary layout interface comprising the interface information is generated, updates the client with primary layout interface generated User interface.
7. a kind of device for updating user interface, which is characterized in that be applied to server, described device includes:
Module is obtained, for obtaining the new user interface for being applied to client;
First parsing module obtains the interface information of the new user interface for parsing the new user interface, Wherein, the interface information includes: to constitute the node of the new user interface, the nodal community of each node and described Positional relationship between each node;
Generation module, for generating the interface layout rule file for carrying the interface information;
Sending module, for the interface layout rule file to be sent to client, so that client is according to the interface Placement rule file updates user interface.
8. a kind of device for updating user interface, which is characterized in that be applied to client, described device includes:
Receiving module, for receiving the interface layout rule file of server transmission, wherein the interface layout rule file is taken Interface information with new user interface, the interface information includes: the node for constituting the new user interface, each Positional relationship between the nodal community of node and each node;
Second parsing module obtains the interface information for parsing the interface layout rule file;
Update module, for updating user interface according to the interface information.
9. a kind of server, which is characterized in that including processor, communication interface, memory and communication bus, wherein processor, Communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizing that claim 1-4 is any and described being applied to service The method and step of the update user interface of device.
10. a kind of terminal, the terminal is equipped with client, which is characterized in that the terminal include: processor, communication interface, Memory and communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizing that claim 5-6 is any and described being applied to client The method and step of the update user interface at end.
CN201710859095.6A 2017-09-21 2017-09-21 Method, device, server and terminal for updating user interaction interface Pending CN109542542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710859095.6A CN109542542A (en) 2017-09-21 2017-09-21 Method, device, server and terminal for updating user interaction interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710859095.6A CN109542542A (en) 2017-09-21 2017-09-21 Method, device, server and terminal for updating user interaction interface

Publications (1)

Publication Number Publication Date
CN109542542A true CN109542542A (en) 2019-03-29

Family

ID=65828232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710859095.6A Pending CN109542542A (en) 2017-09-21 2017-09-21 Method, device, server and terminal for updating user interaction interface

Country Status (1)

Country Link
CN (1) CN109542542A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007946A (en) * 2019-04-15 2019-07-12 重庆天蓬网络有限公司 A kind of update method of algorithm model, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573773A (en) * 2014-10-17 2016-05-11 Tcl集团股份有限公司 User interface laying method, apparatus and system
CN106210918A (en) * 2015-05-07 2016-12-07 Tcl集团股份有限公司 The update method of a kind of user interface and system
US20160378289A1 (en) * 2015-06-29 2016-12-29 International Business Machines Corporation Reconfiguring a user interface according to interface device deterioration
CN106354490A (en) * 2016-08-19 2017-01-25 成都卓影科技股份有限公司 Dynamic layout method for EPG page
CN106383723A (en) * 2016-10-21 2017-02-08 济南浪潮高新科技投资发展有限公司 Method for dynamically modifying mobile App installed by user

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573773A (en) * 2014-10-17 2016-05-11 Tcl集团股份有限公司 User interface laying method, apparatus and system
CN106210918A (en) * 2015-05-07 2016-12-07 Tcl集团股份有限公司 The update method of a kind of user interface and system
US20160378289A1 (en) * 2015-06-29 2016-12-29 International Business Machines Corporation Reconfiguring a user interface according to interface device deterioration
CN106354490A (en) * 2016-08-19 2017-01-25 成都卓影科技股份有限公司 Dynamic layout method for EPG page
CN106383723A (en) * 2016-10-21 2017-02-08 济南浪潮高新科技投资发展有限公司 Method for dynamically modifying mobile App installed by user

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007946A (en) * 2019-04-15 2019-07-12 重庆天蓬网络有限公司 A kind of update method of algorithm model, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN109634598A (en) A kind of page display method, device, equipment and storage medium
US20170140048A1 (en) Information processing method, apparatus, terminal and server
CN106796526A (en) JSON Stylesheet Language Transformations
TWI661349B (en) Method and system for generating conversational user interface
CN110378593A (en) Communications status about the application for closing rule policy update
CN110401844A (en) Generation method, device, equipment and the readable medium of net cast strategy
CN101588392A (en) Messaging device, information processing method and program
CN109408751A (en) A kind of data processing method, terminal, server and storage medium
CN105205072B (en) The methods of exhibiting and system of webpage information
US9760552B2 (en) Document renewal and translation
CN108023918A (en) A kind of information on services acquisition methods, apparatus and system
CN106844065A (en) message display method, device and intelligent terminal
CN108259547A (en) Information push method, equipment and programmable device
CN106210033B (en) Task method for pushing, apparatus and system
CN108306851A (en) Information acquisition method, providing method, apparatus and system
CN107948242A (en) More service number template message sending methods and system
CN109542542A (en) Method, device, server and terminal for updating user interaction interface
Potts Diagramming with actor network theory: A method for modeling holistic experience
CN109032693A (en) Method and device for loading display information, electronic equipment and readable storage medium
CN110413367A (en) Task creation method, apparatus, storage medium and electronic equipment
CN107957909B (en) Information processing method, terminal equipment and server
JP2006254051A (en) Method and device for presenting resource usage information, and terminal
CN103326892B (en) The operating method and device of web interface
CN106998350B (en) Method and system for using frame based on function item of cross-user message
CN108804088A (en) Protocol processes method and apparatus

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190329