CN113094139A - UI style updating method and device - Google Patents

UI style updating method and device Download PDF

Info

Publication number
CN113094139A
CN113094139A CN202110426280.2A CN202110426280A CN113094139A CN 113094139 A CN113094139 A CN 113094139A CN 202110426280 A CN202110426280 A CN 202110426280A CN 113094139 A CN113094139 A CN 113094139A
Authority
CN
China
Prior art keywords
incremental data
style
updated
gateway
data set
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.)
Granted
Application number
CN202110426280.2A
Other languages
Chinese (zh)
Other versions
CN113094139B (en
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 Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202110426280.2A priority Critical patent/CN113094139B/en
Publication of CN113094139A publication Critical patent/CN113094139A/en
Application granted granted Critical
Publication of CN113094139B publication Critical patent/CN113094139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

The application discloses a UI style updating method and device, and relates to the technical field of system front ends. One embodiment of the method comprises: receiving a request sent by a client, wherein the request comprises related information of a UI style to be updated; based on the gateway, searching target incremental data matched with the relevant information of the UI style to be updated in an incremental data set which is pre-stored in a gateway configuration platform corresponding to the gateway, wherein the incremental data is pre-pushed to the gateway configuration platform by a server and is used for updating the UI style; in response to determining that the target delta data exists, sending the target delta data to the client based on the gateway to update the UI style to be updated. The implementation mode reduces the interface pressure of the server and improves the timeliness of updating the UI style.

Description

UI style updating method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to the field of system front-end technologies, and in particular, to a UI style updating method and apparatus.
Background
When a certain commodity scene is displayed with problems, the configured UI (User Interface) code can be dynamically changed, so that the online style can be updated without version.
In the prior art, an interaction scheme between a client and a server is as follows: the client actively calls the server interface to obtain the corresponding UI codes, and caches the UI codes at the client so as to directly render and display the UI codes when the same commodity scene appears next time, thereby reducing the calling of the server. Therefore, even if the UI code is modified by the server, the client cannot update the pattern at a certain time due to the cache, and further a problem of poor user experience may occur. Meanwhile, a part of schemes are adopted, the client side continuously calls the server side interface to compare UI code data in a timing polling mode, data updating is achieved as fast as possible, and the mode wastes resources greatly for the server side and the client side.
Disclosure of Invention
The embodiment of the application provides a UI style updating method, a device, equipment and a storage medium.
According to a first aspect, an embodiment of the present application provides a UI style updating method, including: receiving a request sent by a client, wherein the request comprises related information of a UI style to be updated; based on the gateway, searching target incremental data matched with the relevant information of the UI style to be updated in an incremental data set which is pre-stored in a gateway configuration platform corresponding to the gateway, wherein the incremental data is pre-pushed to the gateway configuration platform by a server and is used for updating the UI style; in response to determining that the target delta data exists, sending the target delta data to the client based on the gateway to update the UI style to be updated.
In some embodiments, the method further comprises: and responding to the received incremental data sent by the server, updating the incremental data set based on the gateway configuration platform, and taking the updated incremental data set as an incremental data set which is stored in advance on the gateway configuration platform corresponding to the gateway.
In some embodiments, the incremental data set is updated based on a gateway configuration platform: updating the incremental data to an incremental data set through the gateway configuration platform, and caching the incremental data to obtain an updated incremental data set.
In some embodiments, the delta data includes information related to UI styles, including: the data identifier and the version number, and the target incremental data matched with the relevant information of the UI style to be updated are searched, and the method comprises the following steps: and searching target incremental data matched with the relevant information of the UI style to be updated according to the data identifier and the version number index which are created for the incremental data set in advance.
In some embodiments, the request further comprises: irrelevant information of the UI style to be updated.
According to a second aspect, an embodiment of the present application provides a UI style updating apparatus, including: the receiving module is configured to receive a request sent by a client, and the request comprises related information of a UI style to be updated; the searching module is configured to search target incremental data matched with the relevant information of the UI style to be updated in an incremental data set which is stored in a gateway configuration platform corresponding to the gateway in advance based on the gateway, the incremental data is pushed to the gateway configuration platform by a server side in advance, and the incremental data is used for updating the UI style; a sending module configured to send the target incremental data to the client based on the gateway to update the UI style to be updated in response to determining that the target incremental data exists.
In some embodiments, the apparatus further comprises: and the updating module is configured to respond to the received incremental data sent by the server, update the incremental data set based on the gateway configuration platform, and take the updated incremental data set as an incremental data set which is stored in advance on the gateway configuration platform corresponding to the gateway.
In some embodiments, the update module is further configured to: updating incremental data to the incremental data set through a gateway configuration platform, and caching the incremental data to obtain an updated incremental data set.
In some embodiments, the delta data includes information related to UI styles, including: the data identifier and version number, and the lookup module is further configured to: and searching target incremental data matched with the relevant information of the UI style to be updated according to the data identifier and the version number index which are created for the incremental data set in advance.
In some embodiments, the request further comprises: irrelevant information of the UI style to be updated.
According to a third aspect, embodiments of the present application provide an electronic device, which includes one or more processors; a storage device having one or more programs stored thereon, which when executed by the one or more processors, cause the one or more processors to implement the UI style update method as any one of the embodiments of the first aspect.
According to a fourth aspect, embodiments of the present application provide a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the UI style updating method according to any of the embodiments of the first aspect.
The method comprises the steps that a request sent by a client is received, and the request comprises relevant information of a UI style to be updated; based on the gateway, searching target incremental data matched with the relevant information of the UI style to be updated in an incremental data set which is pre-stored in a gateway configuration platform corresponding to the gateway, wherein the incremental data is pre-pushed to the gateway configuration platform by a server and is used for updating the UI style; and responding to the determination that the target incremental data exists, sending the target incremental data to the client based on the gateway to update the UI style to be updated, namely, storing the updated data (incremental data) of the UI style to a gateway configuration platform in advance by the server, judging whether the target incremental data exists after the gateway acquires the relevant information of the UI style to be updated, and sending the target incremental data to the client to update the UI style to be updated if the target incremental data exists, so that frequent access to a server interface is avoided, the interface pressure of the server is increased, the fluency of the user using the application program is improved, and the timeliness of updating the UI style is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a UI style update method according to the application;
FIG. 3 is a schematic diagram of an application scenario of a UI style update method according to the application;
FIG. 4 is a flow diagram of another embodiment of a UI style update method according to the present application;
FIG. 5 is a schematic diagram of one embodiment of a UI style update apparatus according to the present application;
FIG. 6 is a schematic block diagram of a computer system suitable for use in implementing a server according to embodiments of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
FIG. 1 illustrates an exemplary system architecture 100 to which embodiments of the UI style update methods of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 101, 102, 103 interact with a server 105 via a network 104 to receive or send messages or the like. Various communication client applications, such as shopping applications, communication applications, etc., may be installed on the terminal devices 101, 102, 103.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen, including but not limited to a mobile phone and a notebook computer. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as a plurality of software or software modules (for example, to provide a UI style update service), or as a single software or software module. And is not particularly limited herein.
The server 105 may be a server that provides various services, for example, receives a request sent by a client, the request including relevant information of a UI style to be updated; based on the gateway, searching target incremental data matched with the relevant information of the UI style to be updated in an incremental data set which is pre-stored in a gateway configuration platform corresponding to the gateway, wherein the incremental data is pre-pushed to the gateway configuration platform by a server and is used for updating the UI style; in response to determining that the target delta data exists, sending the target delta data to the client based on the gateway to update the UI style to be updated.
The server 105 may be hardware or software. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (for example, to provide a UI style update service), or may be implemented as a single software or software module. And is not particularly limited herein.
It should be noted that the UI style updating method provided by the embodiment of the present disclosure may be executed by the server 105, or may be executed by the terminal devices 101, 102, and 103, or may be executed by the server 105 and the terminal devices 101, 102, and 103 in cooperation with each other. Accordingly, each part (for example, each unit, sub-unit, module, sub-module) included in the UI style updating apparatus may be provided entirely in the server 105, may be provided entirely in the terminal devices 101, 102, and 103, and may be provided in the server 105 and the terminal devices 101, 102, and 103, respectively.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 shows a flowchart 200 of an embodiment of a UI style update method that may be applied to the present application. In this embodiment, the UI style updating method includes the following steps:
step 201, receiving a request sent by a client.
In this embodiment, the execution agent (such as the server 105 or the terminal devices 101, 102, 103 shown in fig. 1) may be provided with a gateway and a gateway configuration platform corresponding to the gateway, and may communicate with the client and the server.
After receiving a request sent by a client, an execution main body analyzes the request to obtain relevant information of the UI style to be updated, wherein the relevant information is included in the request.
Here, the related information of the UI style to be updated may include: data identifier, version number, etc. The data identifier is used to identify a source of the UI style information to be updated of the client, such as the corresponding interface information of the server, and the version number is used to identify the version number of the UI style to be updated of the client.
It should be noted that the request may be a UI style update request that only includes information related to a UI style to be updated, or may be any non-UI style update request that includes information related to a UI style to be updated, as well as information unrelated to a UI style to be updated, that is, information related to a UI style to be updated, such as a request for an order, a search, and the like generated by a user operating normally on a client, which is not limited in this application.
In some optional ways, the request further includes: irrelevant information of the UI style to be updated.
In the implementation manner, the request further includes both the relevant information of the UI style to be updated and the irrelevant information of the UI style to be updated, so that the updating of the UI style to be updated by the client is not limited to the UI style updating request, and may be any HTTP (Hypertext Transfer Protocol) request, thereby increasing the timeliness of updating the UI style, and avoiding the problem that in the prior art, the UI style code is pulled again only when the UI style cached by the client is expired, which affects the experience of the client.
Step 202, based on the gateway, searching for target incremental data matched with the relevant information of the UI style to be updated in an incremental data set pre-stored on a gateway configuration platform corresponding to the gateway.
In this embodiment, the execution subject searches, based on the gateway, target incremental data matched with the relevant information of the UI style to be updated in multiple ways in an incremental data set pre-stored on a gateway configuration platform corresponding to the gateway.
Here, the incremental data is data for updating the UI style, and the incremental data may include information related to the UI style and corresponding modification data.
And the target incremental data is incremental data used for updating the UI style to be updated. The target delta data may include information related to the target UI style and corresponding modification data. The information related to the target UI style may include a target data identifier and a target version number. The target data identifier is the same as the data identifier in the information related to the UI style to be updated, and the target version number is greater than the version number in the information related to the UI style to be updated.
Specifically, the executing main body is based on the gateway, and in an incremental data set pre-stored on a gateway configuration platform corresponding to the gateway, the target incremental data may be searched in a manner that first incremental data matched with a data identifier is searched according to the data identifier in the relevant information of the UI style to be updated, the data identifier of the first incremental data is the same as the data identifier, then second incremental data matched with the version number is searched in the first incremental data according to the version number, the second incremental data is larger than the version number, and the searched second incremental data is used as the target incremental data; the target incremental data may also be searched in the incremental data set according to the data identifier and the version number, which is not limited in the present application.
Here, incremental data in the incremental data set is pushed to the gateway configuration platform in advance by the server. The gateway configuration platform can provide a plurality of API interfaces for the service end to use.
It should be noted that the target incremental data may be one incremental data or a plurality of incremental data, which is not limited in this application.
Specifically, the UI style related information is (data identifier is a, version number is 1.2), the target incremental data is incremental data B: UI style related information (data identifier is a, version number is 1.3), and corresponding modified data, incremental data B: UI style related information (data identifier is a, version number is 1.4) and corresponding incremental data.
In addition, it should be noted that, when the client starts up for the first time, the UI style code may be directly obtained from the server through the data identifier and cached at the client.
In some optional manners, finding target incremental data that matches the information related to the UI style to be updated includes: and searching target incremental data matched with the relevant information of the UI style to be updated according to the data identifier and the version number index which are created for the incremental data set in advance.
In this implementation, the incremental data includes information related to the UI style, which includes a data identifier and a version number. The execution subject may search for target incremental data that matches the relevant information of the UI style to be updated according to the data identifier and version number index created for the incremental data set when the incremental data set is stored in the database.
According to the implementation mode, the target incremental data matched with the relevant information of the UI style to be updated is searched according to the data identifier and the version number index which are created for the incremental data set in advance, so that the searching rate of the target incremental data is effectively increased.
Step 203, in response to determining that the target incremental data exists, sending the target incremental data to the client based on the gateway to update the UI style.
In this embodiment, after determining that the target incremental data exists in the incremental data set, the execution subject sends the target incremental data to the client through the gateway.
After receiving the target incremental data, the client can directly update the UI style and also can update the cache of the UI style.
It should be noted that, if the request is a non-UI style update request including information related to a UI style, service data and target incremental data corresponding to the request need to be packaged into integrated data, and the integrated data is sent to the client.
After receiving the integrated data, the client can firstly judge whether the integrated data has target incremental data, if so, the UI style is updated, and the business data normally executes the original logic without interfering with the updating of the style data.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the UI style updating method according to the present embodiment.
In the application scenario of fig. 3, the execution body 301 is provided with a gateway and a gateway configuration platform corresponding to the gateway. The execution body 301 receives a request sent by the client 302, such as a UI style update request, and parses the request to obtain relevant information 303 of the UI style to be updated, for example, a data identifier a, a version number 2.1. Based on the gateway, searching for target incremental data 305, such as a data identifier a, a version number 2.2 and corresponding modified data, which match with relevant information of the UI style to be updated, in an incremental data set 304 pre-stored in a gateway configuration platform corresponding to the gateway. The incremental data is pushed to the gateway configuration platform in advance by the server 306, and is used for updating the UI style. In response to determining that the target delta data 305 exists, the target delta data 305 is sent to the client 302 based on the gateway to update the UI style to be updated.
According to the UI style updating method, the request sent by the client is received, and the request comprises the relevant information of the UI style to be updated; based on the gateway, searching target incremental data matched with the relevant information of the UI style to be updated in an incremental data set which is pre-stored in a gateway configuration platform corresponding to the gateway, wherein the incremental data is pre-pushed to the gateway configuration platform by a server and is used for updating the UI style; and in response to the determination that the target incremental data exists, the target incremental data is sent to the client based on the gateway to update the UI style to be updated, so that the interface pressure of the server is reduced, and the timeliness of updating the UI style is improved.
With further reference to FIG. 4, a flow 400 of yet another embodiment of a UI style update method is shown. The flow 400 of the UI style updating method of the embodiment may include the following steps:
step 401, receiving a request sent by a client.
In this embodiment, details of implementation and technical effects of step 401 may refer to the description of step 201, and are not described herein again.
Step 402, based on the gateway, searching target incremental data matched with the UI style related information in an incremental data set pre-stored on a gateway configuration platform corresponding to the gateway.
In this embodiment, reference may be made to the description of step 202 for details of implementation and technical effects of step 402, which are not described herein again.
In response to determining that the target incremental data exists, sending the target incremental data to the client based on the gateway to update the UI style, step 403.
In this embodiment, reference may be made to the description of step 203 for details of implementation and technical effects of step 403, which are not described herein again.
Step 404, in response to receiving the incremental data sent by the server, updating the incremental data set based on the gateway configuration platform, and using the updated incremental data set as an incremental data set pre-stored on the gateway configuration platform corresponding to the gateway.
In this embodiment, after receiving the incremental data sent by the server, the executing entity may directly add the incremental data to the incremental data set according to the gateway configuration platform to update the incremental data set, or may store the incremental data to the incremental data set by referring to a data identifier, a version number, and the like to update the incremental data set, and use the updated incremental data set as the incremental data set that is stored in advance on the gateway configuration platform corresponding to the gateway.
Here, the incremental data sent by the server may be incremental data sent periodically by the server, or may be incremental data sent by the server in response to detecting a code for developing a user to modify a UI style.
Specifically, the server detects that a development user modifies the UI style code for a specific scene, integrates the modified data, the version number and the data identifier into incremental data, and pushes the incremental data to the gateway configuration platform.
In some optional manners, updating the incremental data set based on the gateway configuration platform includes: updating the incremental data to an incremental data set through the gateway configuration platform, and caching the incremental data to obtain an updated incremental data set.
In this implementation manner, after the execution subject updates the incremental data to the incremental data set through the gateway configuration platform, the execution subject may further write the incremental data into the cache server to obtain the updated incremental data set.
According to the method, the incremental data are stored to the incremental data set through the gateway configuration platform and cached to obtain the updated incremental data set, so that the query efficiency of the target incremental data is improved, and the updating efficiency of the UI style is further improved.
Compared with the embodiment corresponding to fig. 2, the process 400 of the UI style updating method in this embodiment reflects that, in response to receiving incremental data sent by a server, an incremental data set is updated based on a gateway configuration platform, and the updated incremental data set is used as an incremental data set pre-stored on the gateway configuration platform corresponding to the gateway, so that the incremental data set is timely and effectively updated, and the timeliness of updating the UI style is further improved.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of a UI style updating apparatus, which corresponds to the embodiment of the method shown in fig. 1, and which is particularly applicable to various electronic devices.
As shown in fig. 5, the UI style updating apparatus 500 of the present embodiment includes: a receiving module 501, a searching module 502 and a sending module 503.
The receiving module 501 may be configured to receive a request sent by a client, where the request includes information about a UI style to be updated.
The searching module 502 may be configured to search, based on the gateway, for target incremental data that matches the information related to the UI style to be updated in an incremental data set that is pre-stored in a gateway configuration platform corresponding to the gateway.
The sending module 503 may be configured to send the target delta data to the client based on the gateway to update the UI style to be updated in response to determining that the target delta data exists.
In some optional manners of this embodiment, the apparatus further includes: and the updating module is configured to respond to the received incremental data sent by the server, update the incremental data set based on the gateway configuration platform, and take the updated incremental data set as an incremental data set which is stored in advance on the gateway configuration platform corresponding to the gateway.
In some alternatives of this embodiment, the update module is further configured to: updating incremental data to the incremental data set through a gateway configuration platform, and caching the incremental data to obtain an updated incremental data set.
In some optional manners of this embodiment, the incremental data includes information related to the UI style, and the information related to the UI style includes: the data identifier and version number, and the lookup module is further configured to: and searching target incremental data matched with the relevant information of the UI style to be updated according to the data identifier and the version number index which are created for the incremental data set in advance.
In some optional manners of this embodiment, the request further includes: irrelevant information of the UI style to be updated.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 6, it is a block diagram of an electronic device according to a UI style update method of an embodiment of the present application.
600 is a block diagram of an electronic device according to a UI style update method of an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 601, memory 602, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor 601 is taken as an example.
The memory 602 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by at least one processor to cause the at least one processor to perform the UI style update method provided herein. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the UI style update method provided by the present application.
The memory 602, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules (e.g., the receiving module 501, the searching module 502, and the sending module 503 shown in fig. 5) corresponding to the UI style updating method in the embodiment of the present application. The processor 601 executes various functional applications of the server and data processing, i.e., implements the UI style update method in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 602.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by use of the electronic device for UI style update, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 602 may optionally include memory remotely located from the processor 601, and these remote memories may be connected over a network to the UI style updating electronic device. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the UI style updating method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The input device 603 may receive input numeric or character information, such as an input device like a touch screen, keypad, mouse, track pad, touch pad, pointer, one or more mouse buttons, track ball, joystick, etc. The output devices 604 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the interface pressure of the server is reduced, and the timeliness of updating the UI style is improved.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A UI style update method, the method comprising:
receiving a request sent by a client, wherein the request comprises related information of a UI style to be updated;
based on the gateway, searching target incremental data matched with the relevant information of the UI style to be updated in an incremental data set which is pre-stored in a gateway configuration platform corresponding to the gateway, wherein the incremental data is pre-pushed to the gateway configuration platform by a server and is used for updating the UI style;
in response to determining that the target incremental data exists, sending the target incremental data to a client based on a gateway to update the UI style to be updated.
2. The method of claim 1, further comprising:
and responding to the received incremental data sent by the server, updating the incremental data set based on the gateway configuration platform, and taking the updated incremental data set as the incremental data set which is stored in advance on the gateway configuration platform corresponding to the gateway.
3. The method of claim 2, wherein the gateway configuration platform based update of the incremental data set:
updating incremental data to the incremental data set through a gateway configuration platform, and caching the incremental data to obtain an updated incremental data set.
4. The method of claim 1, wherein the delta data comprises information related to a UI style, the information related to a UI style comprising: the searching for the target incremental data matched with the relevant information of the UI style to be updated comprises the following steps:
and searching target incremental data matched with the relevant information of the UI style to be updated according to the data identifier and the version number index which are created for the incremental data set in advance.
5. The method of claim 1, wherein the requesting further comprises: irrelevant information of the UI style to be updated.
6. A UI style update apparatus, the apparatus comprising:
the receiving module is configured to receive a request sent by a client, wherein the request comprises relevant information of a UI style to be updated;
the searching module is configured to search target incremental data matched with the relevant information of the UI style to be updated in an incremental data set which is stored in a gateway configuration platform corresponding to the gateway in advance based on the gateway, the incremental data is pushed to the gateway configuration platform by a server side in advance, and the incremental data is used for updating the UI style;
a sending module configured to send, based on a gateway, target incremental data to a client to update the UI style to be updated in response to determining that the target incremental data exists.
7. The apparatus of claim 6, wherein the apparatus further comprises:
and the updating module is configured to respond to the received incremental data sent by the server, update the incremental data set based on the gateway configuration platform, and take the updated incremental data set as the incremental data set which is pre-stored on the gateway configuration platform corresponding to the gateway.
8. The apparatus of claim 7, wherein the update module is further configured to:
updating incremental data to the incremental data set through a gateway configuration platform, and caching the incremental data to obtain an updated incremental data set.
9. The apparatus of claim 6, wherein the delta data comprises information related to a UI style, the information related to a UI style comprising: a data identifier and a version number, and the lookup module is further configured to:
and searching target incremental data matched with the relevant information of the UI style to be updated according to the data identifier and the version number index which are created for the incremental data set in advance.
10. The apparatus of claim 6, wherein the request further comprises: irrelevant information of the UI style to be updated.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory is stored with instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN202110426280.2A 2021-04-20 2021-04-20 UI style updating method and device Active CN113094139B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110426280.2A CN113094139B (en) 2021-04-20 2021-04-20 UI style updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110426280.2A CN113094139B (en) 2021-04-20 2021-04-20 UI style updating method and device

Publications (2)

Publication Number Publication Date
CN113094139A true CN113094139A (en) 2021-07-09
CN113094139B CN113094139B (en) 2024-04-19

Family

ID=76679370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110426280.2A Active CN113094139B (en) 2021-04-20 2021-04-20 UI style updating method and device

Country Status (1)

Country Link
CN (1) CN113094139B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500281A (en) * 2022-01-13 2022-05-13 上海钧正网络科技有限公司 System, method and device for configuring mobile terminal

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216765A (en) * 2008-01-21 2008-07-09 中兴通讯股份有限公司 Mobile terminal topic style dynamic altering method
US20150039682A1 (en) * 2013-08-05 2015-02-05 Salesforce.Com, Inc. Providing an improved web user interface framework for building web applications
CN104850428A (en) * 2015-04-23 2015-08-19 百度在线网络技术(北京)有限公司 Method and device for updating user interface of mobile client
CN106990949A (en) * 2016-12-31 2017-07-28 深圳大宇无限科技有限公司 Five application page display methods and device
CN108234171A (en) * 2016-12-15 2018-06-29 腾讯科技(深圳)有限公司 A kind of data processing method, system and device
US20200052976A1 (en) * 2018-08-08 2020-02-13 Servicenow, Inc. Offline Updates for Native Mobile Applications
CN111934840A (en) * 2020-06-29 2020-11-13 北京百度网讯科技有限公司 Communication method of client and server, gateway, electronic equipment and storage medium
CN112114913A (en) * 2020-07-27 2020-12-22 广东太平洋互联网信息服务有限公司 Application program interface updating method and device, computer equipment and storage medium
CN112230891A (en) * 2020-10-12 2021-01-15 中国民航信息网络股份有限公司 Interface document integration method and device, server and computer storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216765A (en) * 2008-01-21 2008-07-09 中兴通讯股份有限公司 Mobile terminal topic style dynamic altering method
US20150039682A1 (en) * 2013-08-05 2015-02-05 Salesforce.Com, Inc. Providing an improved web user interface framework for building web applications
CN104850428A (en) * 2015-04-23 2015-08-19 百度在线网络技术(北京)有限公司 Method and device for updating user interface of mobile client
CN108234171A (en) * 2016-12-15 2018-06-29 腾讯科技(深圳)有限公司 A kind of data processing method, system and device
CN106990949A (en) * 2016-12-31 2017-07-28 深圳大宇无限科技有限公司 Five application page display methods and device
US20200052976A1 (en) * 2018-08-08 2020-02-13 Servicenow, Inc. Offline Updates for Native Mobile Applications
CN111934840A (en) * 2020-06-29 2020-11-13 北京百度网讯科技有限公司 Communication method of client and server, gateway, electronic equipment and storage medium
CN112114913A (en) * 2020-07-27 2020-12-22 广东太平洋互联网信息服务有限公司 Application program interface updating method and device, computer equipment and storage medium
CN112230891A (en) * 2020-10-12 2021-01-15 中国民航信息网络股份有限公司 Interface document integration method and device, server and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李进军: "关于AJAX技术的网络应用研究与分析", 电脑知识与技术, no. 36, 25 December 2014 (2014-12-25) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500281A (en) * 2022-01-13 2022-05-13 上海钧正网络科技有限公司 System, method and device for configuring mobile terminal

Also Published As

Publication number Publication date
CN113094139B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
US11403117B2 (en) Methods for processing mini program, and related devices
CN111767069B (en) Applet processing method, server, device and storage medium
CN111666585A (en) Method and device for accessing sub-application, electronic equipment and readable storage medium
CN112000394B (en) Method, apparatus, device and storage medium for accessing applet
CN112073994A (en) Method and device for over-the-air upgrading, electronic equipment and readable storage medium
CN111770161B (en) https sniffing jump method and device
JP7087121B2 (en) Landing page processing methods, equipment, equipment and media
US11831735B2 (en) Method and device for processing mini program data
CN111510466B (en) Data updating method and device for client, electronic equipment and readable medium
CN111666293A (en) Database access method and device
CN111782254A (en) Method, device, equipment and storage medium for upgrading object
CN111752960B (en) Data processing method and device
KR20220015323A (en) Compiling optimization method and device for hosting application, electronic equipment and readable storage medium
CN113094139B (en) UI style updating method and device
CN108777632B (en) Data processing method, client, service platform and configuration platform
CN112565356B (en) Data storage method and device and electronic equipment
CN112069137A (en) Method and device for generating information, electronic equipment and computer readable storage medium
WO2023169193A1 (en) Method and device for generating smart contract
US20130151945A1 (en) Processing Published and Subscribed Events
CN111767442A (en) Data updating method and device, search server, terminal and storage medium
CN111339187A (en) Data processing method, device, equipment and storage medium based on intelligent contract
US20230368083A1 (en) Method and apparatus for determining reservation information
CN111432011B (en) Block chain network communication method and equipment
CN113157722A (en) Data processing method, device, server, system and storage medium
JP7322194B2 (en) DATA UPDATE METHOD, DEVICE, SEARCH SERVER, TERMINAL 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
GR01 Patent grant
GR01 Patent grant