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 interaction
interaction interface
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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

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

Method, device, server and terminal for updating user interaction interface
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method for updating a user interaction interface, an apparatus for updating a user interaction interface, a server, a terminal, and a computer-readable storage medium.
Background
With the continuous development of the application programs, the user interaction interfaces corresponding to different application programs present diversified forms. In order to provide a more attractive and easy-to-operate user interaction interface for users, operators can continuously update the user interaction interface of the same application program.
In the prior art, an operator usually updates the user interaction interface by pushing out a new version of the application program, but the update period of the version of the application program is long, so that the update time of the corresponding user interaction interface is also long. Therefore, the method for updating the user interaction interface in the prior art has the disadvantages of long updating period and low updating efficiency.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device and electronic equipment for updating a user interaction interface, so as to shorten the updating period of the user interaction interface and improve the updating efficiency of the user interaction interface. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for updating a user interaction interface, which is applied to a server, and the method includes:
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.
Optionally, the generating an interface layout rule file carrying the interface information includes:
and generating a plug-in through a preset file, and generating an interface layout rule file in a preset format and carrying the interface information.
Optionally, the generating a plug-in through a preset file to generate an interface layout rule file in a preset format and carrying the interface information includes:
and generating an interface layout rule file in a Json format and carrying the interface information by Python analysis through a preset Adobe After Effects plug-in.
Optionally, the sending the interface layout rule file to the client includes:
and receiving a sending instruction for sending the interface layout rule file, and sending the interface layout rule file to the client indicated by the sending instruction.
In a second aspect, an embodiment of the present invention provides a method for updating a user interaction interface, which is applied to a client, and the method includes:
receiving an interface layout rule file sent by a server, wherein the interface layout rule file carries interface information of a new user interaction interface, and 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;
analyzing the interface layout rule file to obtain the interface information;
and updating the user interaction interface according to the interface information.
Optionally, the updating the user interaction interface according to the interface information includes:
generating a new user interaction interface containing the interface information, and updating the user interaction interface of the client by using the generated new user interaction interface;
or,
and generating a native layout interface containing the interface information, and updating the user interaction interface of the client by using the generated native layout interface.
In a third aspect, an embodiment of the present invention provides an apparatus for updating a user interaction interface, where the apparatus is applied to a server, and the apparatus includes:
the acquisition module is used for acquiring a new user interaction interface applied to the client;
a first analyzing module, configured to analyze the new user interaction interface to obtain interface information of the new user interaction interface, where the interface information includes: the nodes forming the new user interaction interface, the node attributes of each node and the position relationship among the nodes;
the generating module is used for generating an interface layout rule file carrying the interface information;
and the sending module is used for 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.
Optionally, the generating module is specifically configured to:
and generating a plug-in through a preset file, and generating an interface layout rule file in a preset format and carrying the interface information.
Optionally, the generating module is specifically configured to:
and generating an interface layout rule file in a Json format and carrying the interface information by Python analysis through a preset Adobe After Effects plug-in.
Optionally, the sending module is specifically configured to:
and receiving a sending instruction for sending the interface layout rule file, and sending the interface layout rule file to the client indicated by the sending instruction.
In a fourth aspect, an embodiment of the present invention provides an apparatus for updating a user interaction interface, where the apparatus is applied to a client, and the apparatus includes:
the receiving module is configured to receive an interface layout rule file sent by a server, where the interface layout rule file carries interface information of a new user interaction interface, and the interface information includes: the nodes forming the new user interaction interface, the node attributes of each node and the position relationship among the nodes;
the second analysis module is used for analyzing the interface layout rule file to obtain the interface information;
and the updating module is used for updating the user interaction interface according to the interface information.
Optionally, the update module is specifically configured to:
generating a new user interaction interface containing the interface information, and updating the user interaction interface of the client by using the generated new user interaction interface;
or,
and generating a native layout interface containing the interface information, and updating the user interaction interface of the client by using the generated native layout interface.
In a fifth aspect, an embodiment of the present invention further provides a server, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
a processor, configured to implement, when executing the program stored in the memory, the method steps of any of the first aspect, applied to the server, for updating the user interaction interface.
In a sixth aspect, an embodiment of the present invention further provides a terminal, where the terminal is installed with a client, and the terminal includes: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the method steps of the second aspect applied to the client for updating the user interaction interface when executing the program stored in the memory.
In a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps applied to the server for updating the user interaction interface according to any one of the first aspect are provided.
In an eighth aspect, the embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of any one of the second aspects applied to the client for updating the user interaction interface.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, after a user interaction interface designer designs a new user interaction interface, the server obtains the new user interaction interface and analyzes the new user interaction interface to obtain interface information of the new user interaction interface; and then generating an interface layout rule file carrying the interface information, and finally sending the interface layout rule file to the client, so that the client can obtain the interface information of the new user interaction interface by analyzing the interface layout rule file, and generate the new user interaction interface capable of being displayed by the client according to the interface information, namely achieving the purpose of updating the user interaction interface. Instead of updating the user interaction interface by updating the version of the application program as in the prior art. Therefore, the technical scheme provided by the embodiment of the invention can shorten the updating period of the user interactive interface and improve the updating efficiency of the user interactive interface.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for updating a user interaction interface applied to a server according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a user interface according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for updating a user interaction interface applied to a terminal according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an apparatus for updating a user interaction interface applied to a server according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for updating a user interaction interface applied to a terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the technical problems of long update period and low update efficiency of a user interaction interface in the prior art, embodiments of the present invention provide a method, an apparatus, a server and a terminal for updating a user interaction interface.
In a first aspect, a method for updating a user interaction interface provided by an embodiment of the present invention is first described below.
As shown in fig. 1, the method for updating a user interaction interface provided by the embodiment of the present invention is applied to a server, which may be understood as a server for providing a service to the client. The method comprises the following steps:
s101, acquiring a new user interaction interface applied to a client;
in order to provide a more attractive and easy-to-operate user interaction interface for a user, a user interaction interface designer of each client continuously designs a user interaction interface which can better meet the requirements of the user, that is, the user interaction interface designer of each client continuously designs a new user interaction interface.
In order to facilitate the user to experience the new user interaction interface in time, the user interaction interface designer can submit the new user interaction interface designed by the user interaction interface designer to the server, so that the server can send the interface layout rule file corresponding to the new user interaction interface to the client in time in the subsequent steps, the period of updating the user interaction interface by the client is shortened, and the efficiency of updating the user interaction interface by the client is improved.
It should be noted that the new user interaction interface may be a completely new user interaction interface designed by a user interface designer, or a user interaction interface obtained after the user interface designer updates an original user interaction interface, which is reasonable.
S102, 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;
for a user interaction interface, the user interaction interface can be understood to be composed of a plurality of nodes, wherein the nodes can be understood to be the most basic units for constituting the user interaction interface; and nodes typically have node attributes, which may include, for example: location of the node, size of the node, storage path of the image contained in the node, and the like.
In one implementation, the user interaction interface may be understood to be composed of multiple view interfaces, e.g., including an underlying view interface and various icon view interfaces; each icon view interface is positioned above the bottom view interface, namely, the position relation of the view interfaces is determined; moreover, each view interface has information such as position, size, icon, name, etc. In this case, each view interface may be referred to as each node of the user interaction interface; and the information of the position, the size, the icon, the name and the like of the view interface is called as the node attribute of the node corresponding to the view interface.
For example, as shown in fig. 2, the user interaction interface includes a bottom view interface, and a plurality of icon view interfaces, such as time, date, calendar, weather, security center, WeChat, QQ, fish account, Baidu map, Paibao, settings, photo album, camera, file management, phone call, SMS, contact, browser, located on the bottom view interface, where the bottom view interface and each icon view interface are nodes of the user interaction interface.
Further, taking two nodes of QQ and WeChat as an example, the position of WeChat is the fourth in the first row, and the position of QQ is the first in the second row, and the positions of the two are different. If the positions of the two nodes are the same, the two nodes cannot be normally displayed, and each node needs to have a certain position and is generally different from the positions of other nodes.
Further, the icon shape of the WeChat is different from that of the QQ, and if the icon shapes are the same, it may cause a user to perform an erroneous operation, and it is seen that each node has its own determined icon shape. Thus, each node has certain node attributes such as location, icon shape, name, etc.
In summary, the user interaction interface is composed of nodes, each node has a certain position relationship, and each node has a node attribute. That is, after the nodes, the attributes of each node, and the position relationship between the nodes of the user interactive interface are obtained, the user interactive interface can be determined. Of course, the user interaction interface is exemplarily illustrated only by taking the user interaction interface of fig. 2 as an example, and the user interaction interface is not specifically limited in the embodiment of the present invention.
Therefore, after acquiring the new user interaction interface, the server analyzes the new user interaction interface to obtain interface information such as nodes of the new user interaction interface, node attributes of each node, and position relations of each node.
S103, generating an interface layout rule file carrying the interface information;
after the server analyzes the interface information of the user interaction interface, an interface layout rule file carrying the interface information is generated, so that in the subsequent steps, the server sends the interface information to the client in the form of the interface layout rule file.
Wherein, the interface layout rule file can be understood as: the file with the predetermined format and carrying the interface information of the user interaction interface may be, for example, a file with a Json format and carrying the interface information of the user interaction interface.
Optionally, generating an interface layout rule file carrying the interface information includes:
and generating a plug-in through a preset file, and generating an interface layout rule file in a preset format and carrying the interface information.
After the server obtains the interface information, the interface information can be exported to be an interface layout rule file. Specifically, the server may generate an interface layout rule file carrying interface information through a preset file generation plug-in, for example, the file generation plug-in may be an Adobe After Effects plug-in.
It should be noted that the file format of the interface layout rule file generated by the Adobe After Effects plugin is determined by the type of the Adobe After Effects plugin, and the interface layout rule file is a basic file, that is, the interface layout rule file does not carry information such as its own version and its applicable operating environment. In order to enable the server to accurately send the interface layout rule file to the client capable of analyzing the interface layout rule file, the interface layout rule file should carry information such as its own version and applicable operating environment.
One implementation is as follows: after generating an interface layout rule file by using an Adobe After Effects plugin, generating the interface layout rule file in a Json format through Python analysis, wherein the interface layout rule file in the Json format carries information such as a version of the interface layout rule file and an applicable operating environment. After the server generates the interface layout rule file in the Json format, the interface layout rule file in the Json format is sent to the client side capable of analyzing the interface layout rule file, and therefore the client side updates the user interaction interface of the client side according to the interface layout rule file in the Json format.
It should be noted that, the embodiment of the present invention does not specifically limit the type of the file generation plug-in and the format of the interface layout rule file, where all the plug-ins capable of generating files may be the file generation plug-ins in the embodiment of the present invention; the files that can be parsed by the client can be the interface layout rule files.
And S104, sending the interface layout rule file to the client so that the client updates the user interaction interface according to the interface layout rule file.
When the client receives the interface layout rule file, the client can analyze the interface layout rule file to obtain the interface information carried by the interface layout rule file, and generate the user interaction interface according to the interface information obtained by analysis.
Therefore, in order to enable the client to update the user interaction interface of the client to a new user interaction interface in time, the server generates an interface layout rule file carrying the interface information, wherein the interface information is the interface information of the new user interaction interface; the interface layout rule file is sent to the client, so that the client can obtain the interface information of the new user interaction interface by analyzing the interface layout rule file without version updating, and update the user interaction interface of the client according to the interface information of the new user interaction interface, thereby shortening the updating period of the user interaction interface and improving the updating efficiency of the user interaction interface.
Optionally, sending the interface layout rule file to the client includes:
and receiving a sending instruction for sending the interface layout rule file, and sending the interface layout rule file to the client indicated by the sending instruction.
The server may send the new user interaction interface to each client, where each client is a client to which an old user interaction interface corresponding to the new user interaction interface has been applied before the new user interaction interface is designed.
However, the server may send the new ui only to a specific client due to different areas where the clients are located, different levels of the clients, and the like.
For example, assume that a user interaction interface designer only wants to allow a client in china to use a new user interaction interface and does not want a client in the united states to use the new user interaction interface when designing the new user interaction interface, at this time, the user interaction interface designer sends a corresponding sending instruction, and when receiving the sending instruction, the server sends the new user interaction interface to the client in china.
For another example, the user interaction interface designer only allows the client with the level higher than the preset level to use the new user interaction interface, at this time, the user interaction interface designer also sends a corresponding sending instruction, and the server sends the new user interaction interface to the client with the level higher than the preset level when receiving the sending instruction.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, after a user interaction interface designer designs a new user interaction interface, the server obtains the new user interaction interface and analyzes the new user interaction interface to obtain interface information of the new user interaction interface; and then generating an interface layout rule file carrying the interface information, and finally sending the interface layout rule file to the client, so that the client can obtain the interface information of the new user interaction interface by analyzing the interface layout rule file, and generate the new user interaction interface capable of being displayed by the client according to the interface information, namely achieving the purpose of updating the user interaction interface. Unlike the prior art, the updating of the user interaction interface can be realized only by updating the version of the application program, so that the updating period of the user interaction interface can be shortened and the updating efficiency of the user interaction interface can be improved by the technical scheme provided by the embodiment of the invention.
As shown in fig. 3, the method for updating a user interaction interface provided in the embodiment of the present invention is applied to a client, and includes the following steps:
s301, receiving an interface layout rule file sent by a server, wherein the interface layout rule file carries interface information of a new user interaction interface, and 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;
after the server generates the interface layout rule file carrying the interface information of the new user interaction interface, the server sends the interface layout rule file to the client in order to enable the client to update the user interaction interface information of the client in time.
S302, analyzing the interface layout rule file to obtain the interface information;
after receiving the interface layout rule file sent by the server, the client analyzes the interface layout rule file to obtain the interface information of the interface layout rule file. Because the interface information comprises the nodes of the new user interactive interface, the node information of each node and the position relation among the nodes, the new user interactive interface can be uniquely determined through the interface information.
And S303, updating the user interaction interface according to the interface information.
Optionally, updating the user interaction interface according to the interface information includes:
generating a new user interaction interface containing the interface information, and updating the user interaction interface of the client by using the generated new user interaction interface;
or,
and generating a native layout interface containing the interface information, and updating the user interaction interface of the client by using the generated native layout interface.
After the client analyzes the interface information of the new user interaction interface, the client can directly generate the new user interaction interface according to the interface information, and the user interaction interface of the client is updated by the new user interaction interface.
However, in order to not break through the usage habit of the user or prevent the client from being unable to normally display the new user interaction interface, the client may generate the user interaction interface supported by the local operating system of the client, that is, the native layout interface, according to the interface information after analyzing the interface information of the new user interaction interface. And updating the user interaction interface of the client by the native layout interface.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, the client receives the interface layout rule file sent by the server, wherein the interface layout rule file carries the interface information of the new user interaction interface, and the interface layout rule file is analyzed to obtain the interface information; the user interaction interface may be updated according to the interface information. Unlike the prior art, the updating of the user interaction interface can be realized only by updating the version of the application program, so that the updating period of the user interaction interface can be shortened and the updating efficiency of the user interaction interface can be improved by the technical scheme provided by the embodiment of the invention.
In a second aspect, an apparatus for updating a user interaction interface provided by an embodiment of the present invention is described below.
As shown in fig. 4, an apparatus for updating a user interaction interface provided in an embodiment of the present invention is applied to a server, and the apparatus includes:
an obtaining module 401, configured to obtain a new user interaction interface applied to a client;
an analyzing module 402, configured to analyze the new user interaction interface to obtain interface information of the new user interaction interface, where the interface information includes: the nodes forming the new user interaction interface, the node attributes of each node and the position relationship among the nodes;
a generating module 403, configured to generate an interface layout rule file carrying the interface information;
a sending module 404, configured to send the interface layout rule file to the client, so that the client updates the user interaction interface according to the interface layout rule file.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, after a user interaction interface designer designs a new user interaction interface, the server obtains the new user interaction interface and analyzes the new user interaction interface to obtain interface information of the new user interaction interface; and then generating an interface layout rule file carrying the interface information, and finally sending the interface layout rule file to the client, so that the client can obtain the interface information of the new user interaction interface by analyzing the interface layout rule file, and generate the new user interaction interface capable of being displayed by the client according to the interface information, namely achieving the purpose of updating the user interaction interface. Instead of updating the user interaction interface by updating the version of the application program as in the prior art. Therefore, the technical scheme provided by the embodiment of the invention can shorten the updating period of the user interactive interface and improve the updating efficiency of the user interactive interface.
Optionally, the generating module is specifically configured to:
and generating a plug-in through a preset file, and generating an interface layout rule file in a preset format and carrying the interface information.
Optionally, the generating module is specifically configured to:
and generating an interface layout rule file in a Json format and carrying the interface information by Python analysis through a preset Adobe After Effects plug-in.
Optionally, the sending module is specifically configured to:
and receiving a sending instruction for sending the interface layout rule file, and sending the interface layout rule file to the client indicated by the sending instruction.
As shown in fig. 5, an apparatus for updating a user interaction interface provided in an embodiment of the present invention is applied to a client, and the apparatus includes:
a receiving module 510, configured to receive an interface layout rule file sent by a server, where the interface layout rule file carries interface information of a new user interaction interface, and the interface information includes: the nodes forming the new user interaction interface, the node attributes of each node and the position relationship among the nodes;
the analysis module 520 is configured to analyze the interface layout rule file to obtain the interface information;
and an updating module 530, configured to update the user interaction interface according to the interface information.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, the client receives the interface layout rule file sent by the server, wherein the interface layout rule file carries the interface information of the new user interaction interface, and the interface layout rule file is analyzed to obtain the interface information; the user interaction interface may be updated according to the interface information. Unlike the prior art, the updating of the user interaction interface can be realized only by updating the version of the application program, so that the updating period of the user interaction interface can be shortened and the updating efficiency of the user interaction interface can be improved by the technical scheme provided by the embodiment of the invention.
Optionally, the update module is specifically configured to:
generating a new user interaction interface containing the interface information, and updating the user interaction interface of the client by using the generated new user interaction interface;
or,
and generating a native layout interface containing the interface information, and updating the user interaction interface of the client by using the generated native layout interface.
In a third aspect, an embodiment of the present invention further provides a server, including a processor 601, a communication interface 602, a memory 603, and a communication bus 604, where the processor 601, the communication interface 602, and the memory 603 complete mutual communication through the communication bus 604;
a memory 603 for storing a computer program;
the processor 601 is configured to implement any method for updating the user interaction interface applied to the server according to the above-mentioned method embodiments when executing the program stored in the memory 603.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, after a user interaction interface designer designs a new user interaction interface, the server obtains the new user interaction interface and analyzes the new user interaction interface to obtain interface information of the new user interaction interface; and then generating an interface layout rule file carrying the interface information, and finally sending the interface layout rule file to the client, so that the client can obtain the interface information of the new user interaction interface by analyzing the interface layout rule file, and generate the new user interaction interface capable of being displayed by the client according to the interface information, namely achieving the purpose of updating the user interaction interface. Instead of updating the user interaction interface by updating the version of the application program as in the prior art. Therefore, the technical scheme provided by the embodiment of the invention can shorten the updating period of the user interactive interface and improve the updating efficiency of the user interactive interface.
In a fourth aspect, an embodiment of the present invention further provides a terminal, where the terminal is installed with a client, and the terminal includes a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 complete mutual communication through the communication bus 704;
a memory 703 for storing a computer program;
the processor 701 is configured to implement any method for updating the user interaction interface applied to the client according to the foregoing method embodiment when executing the program stored in the memory.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, the client receives the interface layout rule file sent by the server, wherein the interface layout rule file carries the interface information of the new user interaction interface, and the interface layout rule file is analyzed to obtain the interface information; the user interaction interface may be updated according to the interface information. Unlike the prior art, the updating of the user interaction interface can be realized only by updating the version of the application program, so that the updating period of the user interaction interface can be shortened and the updating efficiency of the user interaction interface can be improved by the technical scheme provided by the embodiment of the invention.
In a fifth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements any method for updating a user interaction interface applied to a server, according to the above-mentioned method embodiment.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, after a user interaction interface designer designs a new user interaction interface, the server obtains the new user interaction interface and analyzes the new user interaction interface to obtain interface information of the new user interaction interface; and then generating an interface layout rule file carrying the interface information, and finally sending the interface layout rule file to the client, so that the client can obtain the interface information of the new user interaction interface by analyzing the interface layout rule file, and generate the new user interaction interface capable of being displayed by the client according to the interface information, namely achieving the purpose of updating the user interaction interface. Instead of updating the user interaction interface by updating the version of the application program as in the prior art. Therefore, the technical scheme provided by the embodiment of the invention can shorten the updating period of the user interactive interface and improve the updating efficiency of the user interactive interface.
In a sixth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements any method for updating a user interaction interface applied to a client according to the foregoing method embodiment.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, the client receives the interface layout rule file sent by the server, wherein the interface layout rule file carries the interface information of the new user interaction interface, and the interface layout rule file is analyzed to obtain the interface information; the user interaction interface may be updated according to the interface information. Unlike the prior art, the updating of the user interaction interface can be realized only by updating the version of the application program, so that the updating period of the user interaction interface can be shortened and the updating efficiency of the user interaction interface can be improved by the technical scheme provided by the embodiment of the invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the embodiments of the apparatus, the server, the terminal, and the readable storage medium, since they are substantially similar to the embodiments of the method, the description is simple, and in relation to the above, reference may be made to the partial description of the embodiments of the method.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method for updating a user interaction interface, which is applied to a server, the method comprising:
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.
2. The method according to claim 1, wherein the generating an interface layout rule file carrying the interface information comprises:
and generating a plug-in through a preset file, and generating an interface layout rule file in a preset format and carrying the interface information.
3. The method according to claim 2, wherein the generating of the plug-in through the preset file to generate the interface layout rule file carrying the interface information in the preset format comprises:
and generating an interface layout rule file in a Json format and carrying the interface information by Python analysis through a preset Adobe After Effects plug-in.
4. The method of claim 1, wherein sending the interface layout rule file to a client comprises:
and receiving a sending instruction for sending the interface layout rule file, and sending the interface layout rule file to the client indicated by the sending instruction.
5. A method for updating a user interaction interface, applied to a client, the method comprising:
receiving an interface layout rule file sent by a server, wherein the interface layout rule file carries interface information of a new user interaction interface, and 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;
analyzing the interface layout rule file to obtain the interface information;
and updating the user interaction interface according to the interface information.
6. The method of claim 5, wherein updating the user interaction interface based on the interface information comprises:
generating a new user interaction interface containing the interface information, and updating the user interaction interface of the client by using the generated new user interaction interface;
or,
and generating a native layout interface containing the interface information, and updating the user interaction interface of the client by using the generated native layout interface.
7. An apparatus for updating a user interaction interface, applied to a server, the apparatus comprising:
the acquisition module is used for acquiring a new user interaction interface applied to the client;
a first analyzing module, configured to analyze the new user interaction interface to obtain interface information of the new user interaction interface, where the interface information includes: the nodes forming the new user interaction interface, the node attributes of each node and the position relationship among the nodes;
the generating module is used for generating an interface layout rule file carrying the interface information;
and the sending module is used for 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.
8. An apparatus for updating a user interaction interface, applied to a client, the apparatus comprising:
the receiving module is configured to receive an interface layout rule file sent by a server, where the interface layout rule file carries interface information of a new user interaction interface, and the interface information includes: the nodes forming the new user interaction interface, the node attributes of each node and the position relationship among the nodes;
the second analysis module is used for analyzing the interface layout rule file to obtain the interface information;
and the updating module is used for updating the user interaction interface according to the interface information.
9. A server is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of updating a user interaction interface applied to a server as claimed in any one of claims 1 to 4 when executing a program stored in the memory.
10. The utility model provides a terminal, the terminal installation has the customer end, its characterized in that, the terminal includes: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of updating a user interaction interface for application to a client according to any one of claims 5 to 6 when executing a program stored in the memory.
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
CN108363602B (en) Intelligent UI (user interface) layout method and device, terminal equipment and storage medium
EP3531257A1 (en) Application interface management method and apparatus
CN110688598B (en) Service parameter acquisition method and device, computer equipment and storage medium
WO2016192488A1 (en) Rolling release assessment method, device, and system
CN108399072B (en) Application page updating method and device
CN107992275B (en) Document printing method and device, computer equipment and storage medium
CN113094136A (en) Page display control method and device, storage medium and electronic equipment
CN109194714B (en) File pushing method and device, terminal device and storage medium
CN112612452B (en) API platform realization method, device, equipment and storage medium
CN111130987A (en) Automatic acquisition method and device for AWR report, electronic equipment and storage medium
CN108023918A (en) A kind of information on services acquisition methods, apparatus and system
CN111045653B (en) System generation method and device, computer readable medium and electronic equipment
CN108279882B (en) Framework generation method, device, equipment and computer readable medium
CN103313289A (en) Wap system automatic test system and method
US20200019299A1 (en) Iterative Detection of Forms-Usage Patterns
CN113268260A (en) Routing method and device for web front end
CN110543450A (en) Electronic document generation method and device, computer equipment and storage medium
WO2024165011A1 (en) Plug-in adding method and apparatus, electronic device, and storage medium
CN107948242A (en) More service number template message sending methods and system
CN109800378A (en) Content processing method, device and electronic equipment based on custom browser
CN113254014A (en) Sketch plug-in-based interface development method, device and system
CN111078219B (en) Page display method, device and system, electronic equipment and storage medium
CN109542542A (en) Method, device, server and terminal for updating user interaction interface
CN107544785A (en) A kind of application program update method and device
CN116069227A (en) Interface interaction method, device, equipment and storage medium

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